how to install kloxo control panel on CentOS

Kloxo is an another open source control panel for web servers to manage websites. here are some simple steps to install kloxo on CentOS server.

Firs of all disable SELinux on server by editing /etc/sysconfig/selinux .This will keep SELinux from being enabled on your server next boot.
Run the following command as root to disable SELinux:

[root@server]# su - root
[root@server]# setenforce 0

Reboot the server to reflect new changes.

# reboot

If you are doing installation on fresh server which don’t have MySQL,then you need to install MySQL. To do so, issue the following commands.

# yum update
# yum install mysql-server

Now, run the MySQL secure installation script to Secure your MySQL installation

# /usr/bin/mysql_secure_installation

Now, Download the latest Kloxo installer script with “wget” command and set execute permission.Make sure to replace “mypassword” with your MySQL root password.

# yum install -y wget
# wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh
# chmod +x kloxo-installer.sh
# sh ./kloxo-installer.sh --db-rootpassword=mypassword

Go through the installation instructions on the screen to finish the installation properly. Once installation completes, you can access your new Kloxo admin at:

http://IPaddress:7778
https://IPaddress:7777

Some times the port for kloxo admin panel is blocked in server firewall which cause problem with accessing panel. Check ports are opened in your server firewall with the command:

‘iptables -L -nv –line-number’

If ports are not open,you can open those particular ports on your firewall. To do so, run the following iptables rules to open it.

iptables -A INPUT -p tcp -m tcp –dport 7777 -j ACCEPT
iptables -A INPUT -p tcp -m tcp –dport 7778 -j ACCEPT
/etc/init.d/iptables restart

That’s it.