Categories Tutorials

Install Froxlor on CentOS 7

In this article, we will install Froxlor on a CentOS 7 VPS.

Froxlor is a lightweight control panel that can be used for managing multi-user or shared servers. With Froxlor you can manage domain names, FTP accounts, email accounts, support tickets and customers that are associated with them.

The control panel does not come with preinstalled LAMP or LEMP so in this tutorial we will also install LAMP (Linux Apache, MariaDB & PHP).


We will be using our SSD 1 Linux VPS hosting plan for this tutorial.

Log in to your server via SSH:

# ssh root@server_ip

Before starting, enter the command below to check whether you have the proper version of CentOS installed on your machine:

# cat /etc/redhat-release

which should give you the underneath output:

CentOS Linux release 7.2.1511 (Core)

Update the system

Make sure your server is fully up to date:

# yum update

Once the updates are finished, install the EPEL and Webtatic repositories so you can install PHP 5.6 on your server. Froxlor requires PHP 5.4 or higher, but PHP 5.6 is recommended. Install the repos with the below commands:

# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

Update the package index:

# yum update

Install LAMP

Now install Apache, PHP, MariaDB and some much needed php packages:

# yum install httpd mod_ssl openssl mariadb mariadb-server php56w php56w-opcache php56w-common php56w-cli php56w-mysql php56w-pdo php56w-mbstring php56w-bcmath

With the above command, the LAMP stack will be installed with its basic settings. For further tweaks, you can check our tutorial on how to install LAMP on CentOS 7.

Start Apache and MariaDB and then enable them to start on boot using:

# systemctl start mariadb

# systemctl start httpd

# systemctl enable mariadb

# systemctl enable httpd

Now navigate to your Apache web server default document root (/var/www/html/).

# cd /var/www/html/

Download the latest Froxlor version:

# wget http://files.froxlor.org/releases/froxlor-latest.tar.gz

Unpack the archive:

# tar xvfz froxlor-latest.tar.gz

Remove the tar.gz file:

# rm froxlor-latest.tar.gz

Assign the proper file/directories ownership for Froxlor.

# chown apache: -R froxlor/

Now finish the Froxlor installation. Open your favorite web browser and navigate to http://your_server_IP/froxlor/. You will be welcomed by a page as shown in the underneath image:

Click on “Start install”. In the next window, the system requirements will be checked. If everything is OK you should get the green light that all requirements are satisfied.


Next is the configuration page where you can configure a database for Froxlor (since you didn’t create a database for Froxlor, the installer itself will create it. You just need to set the password for the database user), the administrator account and it’s password for the panel, your server hostname and the web server type (you should choose Apache).

Once you’ve configured everything, click on “Click here to continue” to finish the Froxlor installation. Once that is done, you can click on “Click here to login” and you will be taken to the login page for Froxlor as shown in the below image.

Congratulations, you have successfully installed Froxlor on your CentOS 7 VPS. Now, log in with the administrator user that you configured and start managing your server.

Of course, you don’t have to do any of this if you use one of our Control Panel VPS Hosting services, in which case you can simply ask our expert Linux admins to install this for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

View Comments

  • I managed to satisfy all installation requirements and went on to the configuration page. I entered the MariaDB root username and root password (double checked it to make sure i'm not wrong with the password) but i keep getting a message "There seems to be a problem with the database-connection. Cannot continue. Please go back and check your credentials." Any thoughts what might be the problem?

    • Hi Noam, Please make sure that all information in the 'lib/userdata.inc.php' file is correct and try to change 'localhost' with ''.

  • Hi admin, Thank you for your reply. I managed to work it out by enabling the queries log file in MariaDB and checking for the queries from Froxlor. I noticed no queries are going in so i went to check the firewall rules and these were ok. Finally i found that SELinux was blocking the queries from Froxlor for a reason i don't understand yet. I disabled SELinux with # setenforce 0 and now it works but i would like to make it work while SELinux is enabled.