← General Tutorials
How To Install Nginx On Kloxo
Updated 12 Oct 2026 · 59,529 views
# update system yum update # update kloxo - repeat until version 6.1.10 when running 'sh /script/version' sh /script/upcp # download the code mkdir /tmp/kloxo-test cd /tmp/kloxo-test rm -rf index* ### wget 'http://forum.lxcenter.org/index.php?t=getfile&id=1587' ### wget 'http://forum.lxcenter.org/index.php?t=getfile&id=1588' ### wget 'http://forum.lxcenter.org/index.php?t=getfile&id=1591' ### wget 'http://forum.lxcenter.org/index.php?t=getfile&id=1592' ### wget 'http://forum.lxcenter.org/index.php?t=getfile&id=1593' wget 'http://forum.lxcenter.org/index.php?t=getfile&id=1596' mv index* kloxo.zip unzip kloxo.zip # backup original kloxo yes | cp -rf /usr/local/lxlabs/kloxo /usr/local/lxlabs/kloxo.bck # overrite the code yes | cp -rf ./kloxo /usr/local/lxlabs # fix the code sh /script/cleanup # create custom repo (based-on centalt) because nginx and rpaf taken from here echo '[centalt]' > /etc/yum.repos.d/kloxo-centalt.repo echo 'name=centalt - $basearch' >> /etc/yum.repos.d/kloxo-centalt.repo echo 'baseurl=http://centos.alt.ru/repository/centos/5/$basearch/' >> /etc/yum.repos.d/kloxo-centalt.repo echo 'enabled=1' >> /etc/yum.repos.d/kloxo-centalt.repo echo 'gpgcheck=0' >> /etc/yum.repos.d/kloxo-centalt.repo echo 'includepkgs=nginx mod_rpaf' >> /etc/yum.repos.d/kloxo-centalt.repo sh /script/fix-chownchmod reboot
Unfinish job:
1. Swith program not automaticly fix config. Need run 'sh /script/fixweb' when switch (say it) apache to nginx-proxy- fixed
2. select fastcgi for lighttpd/nginx and suphp for apache not work. Need more times for fixed this issues - fixed
3. Add domain will be appear options for fastcgi. This is wrong. Need more times for fixed this issues
4. fixed wildcards subdomains on lighttpd
Advices:
1. don't use on production server
2. select 'mod_php_ruid2' for apache when testing nginx/lighttpd-proxy
3. select 'optimize' on 'webserver config' when select apache and nginx/lighttpd-proxy. Different setting for 'pure' apache and proxy.
Did this answer your question?
Thank you. % of readers found this helpful.
Related
Setting up a Linux Streaming Server
How to Install LiteSpeed on a WHM/cPanel Server
Change the default SSH port
Using VI Text Editor
Reset a MySQL root password
Still stuck?
Open a ticket