In this tutorial will show you how to 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).
VPS or Dedicated server with a clean install of CentOS 7
Log in to your server via SSH:
# ssh [email protected]_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)
2. 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
3. Install LAMP
Now install Apache, PHP, MariaDB and some the most 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.
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/
Recommended Reading: How to Install Nagios on CentOS 7
4. Continue Froxlor installation via a web browser
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
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.
5. Configure a database for Froxlor
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 the password for the panel, your server hostname and the webserver 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.
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.