Category: Linux

How To Increase Page Load Speed with Apache mod_deflate

Apache’s mod_deflate is an Apache module that will compress output from your server before it is sent to the client. If you have newer version of Apache the mod_deflate module is probably loaded by default, but it may not be turned on. To check if compression is enabled on your site, first verify that the […]

How To Set Up mod_security with Apache on Debian/Ubuntu

Installing mod_security Modsecurity is available in the Debian/Ubuntu repository: apt-get install libapache2-modsecurity Verify if the mod_security module was loaded. apachectl -M | grep –color security You should see a module named security2_module (shared) which indicates that the module was loaded. Modsecurity’s installation includes a recommended configuration file which has to be renamed: mv /etc/modsecurity/modsecurity.conf{-recommended,} Reload Apache service […]

How To Use MySQL Query Profiling

What is the MySQL slow query log? The MySQL slow query log is a log that MySQL sends slow, potentially problematic queries to. This logging functionality comes with MySQL but is turned off by default. What queries are logged is determined by customizable server variables that allow for query profiling based on an application’s performance […]

How To Use Nginx As Reverse Proxy Server

Nginx is an open source Web server and a reverse proxy server. You can use nginx for a load balancing and/or as a proxy solution to run services from inside those machines through your host’s single public IP address such as 202.54.1.1. In this post, I will explain how to install nginx as reverse proxy […]

Back to top