If you love Kloxo as your Web Control Panel and want to running Nginx as Webserver or want to running Nginx as Proxy, you can Install Kloxo-MR (aka ‘Kloxo for by Mustafa Ramadhan’).
How to install:
1. pre-install — better for fresh install
1 2 3 4 5 6 7 8 9 |
cd / # update centos to latest version yum update -y # install some packages like package-cleanup, etc yum install yum-utils yum-priorities vim-minimal subversion curl zip unzip -y yum install telnet -y setenforce 0 echo 'SELINUX=disabled' > /etc/selinux/config |
2. Install/reinstall/upgrade — data not destroyed with this fork – for existing kloxo (6.1.x), run ‘sh /script/update’ first.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# delete if exist rm -rf /tmp/kloxo # create kloxo temp dir mkdir /tmp/kloxo ; cd /tmp/kloxo # get kloxo packer from github wget https://github.com/mustafaramadhan/kloxo/raw/dev/kloxo-install/kloxo-packer.sh --no-check-certificate # get kloxo fork from github sh kloxo-packer.sh --fork=mustafaramadhan --branch=dev # install kloxo sh kloxo-installer.sh --type=master # better reboot reboot |
To switch from Apache to be Nginx Webserver just login into kloxo and find Switch Program at Home.
TIPS: To ‘save’ memory if you use Kloxo-MR
- Convert mysql to MyISAM engine by running ‘sh /script/mysql-convert –engine=myisam’
- Select php-fpm_event on php-type in ‘webserver config’ and can also be enabled on the ‘secondary php’
- Select php53u on ‘php branch’ in ‘webserver config’ as php-fpm is problematic with php52
- Keep a minimum amount of ‘customer’ and if it might be enough ‘admin’ alone
- remove clamav with ‘yum remove * freshclam clamav *’
ref: http://forum.lxcenter.org/index.php?t=msg&th=18842