Archive for Articles
How to enable gzip compression in cPanel server via mod_deflate and Apache
This small tutorial will help you to enable mod_deflate gzip compression in your cPanel server. You may need to do the following procedure. 1) Do easyapache and enable mod_deflate in your apache. After finishing it create a file named /usr/local/apache/conf/deflate.conf with the following content #———————- <IfModule mod_deflate.c> SetOutputFilter DEFLATE </IfModule> DeflateCompressionLevel 9 AddOutputFilterByType DEFLATE text/html [...]
Nginx : accept() failed (24: Too many open files)
This solutions is application to cpnginx and danginx plugins and bare nginx server configurations. Edit the file /etc/sysctl.conf and increase the openfile limits. Add the following line, fs.file-max = 700000 Edit /etc/security/limits.conf and add the following lines, nobody soft nofile 100000 nobody hard nofile 500000 Now apply the sysctl configuration using the following command . [...]
DRBD – Heartbeat ( Active/Passive High Availability Cluster )
Overview Software Requirements Pre configuration DRDB installation Heartbeat Installation Testing Conclusion Overview: DRBD – Heartbeat cluster a good Active / Passive cluster solution for small scale applications using two servers in active and passive mode. This means , only one server will work at a time while keeping the other server as a backup with [...]