Ok, here I'm going to show benchmark result of 2 servers, once installed with Nginx reverse proxy on Apache, and other with ApacheBooster plugin in cpanel. Installing Nginx proxy on Apache Installing ApacheBooster, Apache, Nginx and Varnish cache More readings:- How to install Nginx,MySQL,PHP using LNMP-Nginx Autoinstaller How to upgrade Nginx to latest version How to upgrade php to latest version PhpMyAdmin with Nginx... [ Continue reading... ]
Archive for "apache"
Kloxo (Lxadmin) is one of the free control panel which I love to use on low end boxes. But it use good amount of ram, however kloxo's support claims that kloxo use only 33MB of ram, but for me it is alway 240MB+ even in idle state. Therefore it is best practice to get rid of Apache and use lighttp. Kloxo comes with light http installed by default and if you have apache installed then it is really easy to convert from apache to... [ Continue reading... ]
Apache work on port 80 by default and https work on 443. If you are running some applications which are using these ports already, then apache will give error and will not start.. (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs (OS 10048)Only one usage of each socket... [ Continue reading... ]
There are 2 important scripts to optimize apache,php and mysql very easily. They are MySQLTuner (Perl) and MySQL Performance Tuning Primer (shell) They can help diagnose MySQL database performance issues, and provide recommendations on how to solve them. # Download MySQLTuner and MySQL Performance Tuning Primer to ~/scripts. # To avoid having to invoke Perl/SH each time, make both files executable. chmod +x... [ Continue reading... ]
You just have to login to your server via ssh. Navigate to /usr/local/apache/htdocs
# cd /usr/local/apache/htdocsAnd finaly edit the file index.html
# nano index.htmlIf you list the content of /usr/local/apache/htdocs you will see that you can also modify the content of other error pages that cpanel’s apache outputs. End you are done :) [ Continue reading... ]