Fli
11-04-2014, 10:08 AM
NginxCP homepage: http://www.nginxcp.com/
INSTALL
1. cd /usr/local/src;wget http://nginxcp.com/latest/nginxadmin.tar
2. tar xf nginxadmin.tar;rm -rf nginxadmin.tar;cd publicnginx;./nginxinstaller install
Installation can take some minutes..
3. service httpd restart
4. check if websites working. If not loading or Error 504, check if you are running CSF firewall. Try first:
Add "exe:/usr/local/sbin/nginx" line into file: /etc/csf/csf.pignore
If still not working after "service httpd nginx restart", try checking /etc/csf/csf.conf
and at the approx. third page, add 8081 port to the allowed ports of "TCP_IN" and "TCP_OUT"
refresh webpage or service nginx restart, service httpd restart. if websites do not load with error, try "tail /var/log/nginx/error.log", googling or contacting support: http://www.nginxcp.com/forums/Thread-install-ok-but-504-gateway-time-out?highlight=504
5. Reload the page of WHM control panel to see Nginx Admin menu entry in Plugins section.
UNINSTALL
1. cd /usr/local/src;wget http://nginxcp.com/latest/nginxadmin.tar
2. tar xf nginxadmin.tar;rm -rf nginxadmin.tar;cd publicnginx;./nginxinstaller uninstall
----
RESULTS
i think im experiencing 50% less load average on my WHM webserver, and may 80% less apache threads thanks to nginx? (that is amateur guess)
INSTALL
1. cd /usr/local/src;wget http://nginxcp.com/latest/nginxadmin.tar
2. tar xf nginxadmin.tar;rm -rf nginxadmin.tar;cd publicnginx;./nginxinstaller install
Installation can take some minutes..
3. service httpd restart
4. check if websites working. If not loading or Error 504, check if you are running CSF firewall. Try first:
Add "exe:/usr/local/sbin/nginx" line into file: /etc/csf/csf.pignore
If still not working after "service httpd nginx restart", try checking /etc/csf/csf.conf
and at the approx. third page, add 8081 port to the allowed ports of "TCP_IN" and "TCP_OUT"
refresh webpage or service nginx restart, service httpd restart. if websites do not load with error, try "tail /var/log/nginx/error.log", googling or contacting support: http://www.nginxcp.com/forums/Thread-install-ok-but-504-gateway-time-out?highlight=504
5. Reload the page of WHM control panel to see Nginx Admin menu entry in Plugins section.
UNINSTALL
1. cd /usr/local/src;wget http://nginxcp.com/latest/nginxadmin.tar
2. tar xf nginxadmin.tar;rm -rf nginxadmin.tar;cd publicnginx;./nginxinstaller uninstall
----
RESULTS
i think im experiencing 50% less load average on my WHM webserver, and may 80% less apache threads thanks to nginx? (that is amateur guess)