How to Install FASTPANEL on CentOS 7

Introduction

FASTPANEL is an amazing and most importantly modern open-source website hosting/management control panel that makes it very easy for common tasks like creating websites, emails and databases, uploading files, installing PHP versions, extensions and more through a simple web interface.

In this guide, we’ll discuss how to install FASTPANEL on Cent OS 7.

Prerequisites

Before you begin this guide, you’ll need to do the following:

  • New Fresh Cent OS 7 Server with root access.
  • Update using sudo yum update

Hardware

RAM: 1GB
Free Disk Space: 5GB
CPU: 1 core, 1 Ghz

Step 1 – Install FASTPANEL

Run the following commands to begin the installation of FastPanel

Connect to the server through SSH with root user

Now update the server sudo yum update and set hostname sudo hostnamectl set-hostname YOUR_HOSTNAME (Replace “YOUR_HOSTNAME” with your hostname)

Now we need to install the required/recommended packages into the server – Wget and Screen

Run the following command to install wget package. (Learn about wget)

sudo yum install wget -y

Run the following command to install screen package. (Learn about screen)

sudo yum install screen -y

Now, Run the following command to enter into screen. (It is suggested to use screen, as the installation will take up to 10-15 minutes and in case of network disconnect with SSH connection, the installation will not stop, and you can reconnect to the SSH connection.)

screen

Now, Run the following command to install the FASTPANEL

wget http://repo.fastpanel.direct/install_fastpanel.sh -O - | bash -

Here’s the output overview:

Greetings user!

Now I will install the best control panel for you!

Start pre-installation checks
OS: Ubuntu 20.04.3 LTS

Installing FASTPANEL package.
[Success]
Installing MySQL 8.0 from Oracle APT Repository.
[Success]
Installing web service: nginx, apache, php.
[Success]
Installing ftp service: proftpd.
[Success]
Installing mail service: exim, dovecot.
[Success]
Installing recommended software: roundcube, phpmyadmin, etc, etc...
[Success]

Installation process of FASTPANEL will take up to 10-15 minutes to complete. Once it’s installed, you will see the login details – username (fastuser) and password to access the FASTPANEL.

Congratulations! FASTPANEL® successfully installed and available for you at https://1.2.3.4:8888 
Login: fastuser
Password: password

Note: Save the login details.

Step 2 – Setup FASTPANEL

Now, we need to allow 8888 port in the firewall to use FASTPANEL

firewall-cmd --zone=public --add-port=8888/tcp --permanent

Run the following command to reload firewall config to reflect the changes.

firewall-cmd --reload

Now, open the URL on browser – http://SERVER_IP:8888 OR http://domain.com:8888

After opening the URL, it will show “Your connection is not private” Click on Advanced and proceed.

Now, it will show a popup “License issue” to activate the license (free). Type your email address and you will receive the verification email from FASTPANEL, verify it and refresh the login URL, login screen will appear, enter the login details which we get at the time of installation, after that accept the license agreement.

Now, we need to Install the important services like DNS, PHP

First, Install DNS service > Under Settings > Applications > Install "bind9"

Install PHP and other services

That’s it. You can now use FASTPANEL.

Conclusion

In this guide, we have successfully installed FASTPANEL on Cent OS 7 server. We have made all the necessary configurations to use FASTPANEL smoothly.


Leave a Reply

Your email address will not be published. Required fields are marked *