≡ Menu

Kloxo with Nginx or Nginx-Proxy

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

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.

# 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.

kloxo mr nginx proxy

TIPS: To ‘save’ memory if you use Kloxo-MR

  1. Convert mysql to MyISAM engine by running ‘sh /script/mysql-convert –engine=myisam’
  2. Select php-fpm_event on php-type in ‘webserver config’ and can also be enabled on the ‘secondary php’
  3. Select php53u on ‘php branch’ in ‘webserver config’ as php-fpm is problematic with php52
  4. Keep a minimum amount of ‘customer’ and if it might be enough ‘admin’ alone
  5. remove clamav with ‘yum remove * freshclam clamav *’

ref: http://forum.lxcenter.org/index.php?t=msg&th=18842

{ 0 comments… add one }

Leave a Comment

*