How to install Froxlor in CentOS
To install Froxlor in CentOS
Froxlor is a lightweight server management application which is used for managing multi-user or shared servers. It lets the users to manage domain names, FTP accounts, email accounts, support tickets and customers that are associated with them. This tutorial will guide you through the installation of Froxlor on CentOS.
If you want to know about the installation of Froxlor on Ubuntu refere the link: https://www.linuxhelp.com/how-to-install-froxlor-in-ubuntu/
To install Froxlor
Froxlor requires prior installation of the EPEL and Webtatic repositories. So, use the following command for the same purpose.
[root@linuxhelp1 Desktop]# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm warning: /var/tmp/rpm-tmp.nIlHxD: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY Preparing... ################################# [100%] Updating / installing... 1:epel-release-7-8 ################################# [100%] [root@linuxhelp1 Desktop]# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm Retrieving https://mirror.webtatic.com/yum/el7/webtatic-release.rpm warning: /var/tmp/rpm-tmp.1sN3cO: Header V4 RSA/SHA1 Signature, key ID 62e74ca5: NOKEY Preparing... ################################# [100%] Updating / installing... 1:webtatic-release-7-3 ################################# [100%]
Once the required repositories are installed, install Apache, PHP, MariaDB and some much needed php packages by invoking the following command.
[root@linuxhelp1 Desktop]# yum install httpd mod_ssl openssl mariadb mariadb-server php56w php56w-opcache php56w-common php56w-cli php56w-mysql php56w-pdo php56w-mbstring php56w-bcmath
Loaded plugins: fastestmirror, langpacks
epel/x86_64/metalink | 5.2 kB 00:00:00
&hellip
&hellip
&hellip
Installed:
mod_ssl.x86_64 1:2.4.6-40.el7.centos.4 php56w.x86_64 0:5.6.28-1.w7 php56w-bcmath.x86_64 0:5.6.28-1.w7
php56w-cli.x86_64 0:5.6.28-1.w7 php56w-common.x86_64 0:5.6.28-1.w7 php56w-mbstring.x86_64 0:5.6.28-1.w7
php56w-mysql.x86_64 0:5.6.28-1.w7 php56w-opcache.x86_64 0:5.6.28-1.w7 php56w-pdo.x86_64 0:5.6.28-1.w7
Updated:
openssl.x86_64 1:1.0.1e-51.el7_2.7
Dependency Updated:
openssl-libs.x86_64 1:1.0.1e-51.el7_2.7
Complete!
Once Apache and MariaDB are installed, enable them to start on boot. Run the following commands for the same purpose.
[root@linuxhelp1 Desktop]# systemctl start mariadb
[root@linuxhelp1 Desktop]# systemctl start httpd
[root@linuxhelp1 Desktop]# systemctl enable mariadb
[root@linuxhelp1 Desktop]# systemctl enable httpd
Now change directory to your /var/www/html/ which is the Apache web server default document root. Use the following command to do it.
[root@linuxhelp1 Desktop]# cd /var/www/html/
Download the latest Froxlor Package by triggering the following command.
[root@linuxhelp1 html]# wget http://files.froxlor.org/releases/froxlor-latest.tar.gz
--2016-12-05 04:05:14-- http://files.froxlor.org/releases/froxlor-latest.tar.gz
Resolving files.froxlor.org (files.froxlor.org)... 82.149.225.211, 2a01:440:1:12:82:149:225:211
Connecting to files.froxlor.org (files.froxlor.org)|82.149.225.211|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1202141 (1.1M) [application/octet-stream]
Saving to: ‘ froxlor-latest.tar.gz’
100%[========================================================================> ] 1,202,141 353KB/s in 3.3s
2016-12-05 04:05:18 (353 KB/s) - ‘ froxlor-latest.tar.gz’ saved [1202141/1202141]
Extract the downloaded package as tar package.
[root@linuxhelp1 html]# tar xvfz froxlor-latest.tar.gz
froxlor/
froxlor/.gitignore
froxlor/COPYING
froxlor/README.md
&hellip
&hellip
&hellip
froxlor/templates/misc/awstats/index.html
froxlor/templates/misc/awstats/nav.html
froxlor/templates/misc/standardcustomer/
froxlor/templates/misc/standardcustomer/index.html
Remove the downloaded tar.gz file with the help of the following command.
[root@linuxhelp1 html]# rm -rf froxlor-latest.tar.gz
After the tar.gz file is removed, change ownership for Froxlor directory as follows.
[root@linuxhelp1 html]# chown apache: -R froxlor/
Once it is done, restart the Apache web server as follows.
[root@linuxhelp1 html]# systemctl restart httpd
Now open the web browser and navigate to http://192.168.5.238/froxlor/index.php. The Froxlor installation page appears on your screen as follows. Click on Start Install.
Here the PHP posix extension is not installed as certain requirements are not met. Let us fix it.
Use the following command to install PHP posix extension.
[root@linuxhelp1 html]# yum install php-posix
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.fibergrid.in
&hellip
..
Installed:
php56w-process.x86_64 0:5.6.28-1.w7
Complete!
Once the needed extension is installed, restart the Apache web server.
[root@linuxhelp1 html]# systemctl restart httpd
Now check again. All the requirements are satisfied. Click on " Click here to continue"
Froxlor Installation Setup
Enter the database server information, admin account details and server details and proceed to Click here to continue
Installation has been completed. Click on " Click here to login"
Froxlor login page appears. Enter your login credentials.
Froxlor Dashboard appears on your screen.
Add your customers by choosing the option on the left panel.
You can also add your domains.
View the SSL certificates of Domains by choosing the option from the left panel.
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
install Apache, PHP, MariaDB and some much-needed php packages
# systemctl start mariadb
#systemctl start httpd
#systemctl enable mariadb
# systemctl enable httpd
# cd /var/www/html/