ModSecurity Installation With Apache On CentOS
ModSecurity is an open source monitoring system for web applications. It has powerful rule sets that allow you to protect applications from attacks. View the project for more details. It provides a ton of features such as: More than 16,000 specific rules, broken out into the following attack categories: * SQL injection * Cross-site Scripting (XSS) […]
mod_auth_token Installation In Apache
mod_auth_token is a apache module that can be used to sign URLs, using this it can create time based urls that expire after a certain amount of time. It will prevent hot linking as the URLs will expire. This is particularly useful with video and image sharing. To get started you will need to have […]
Compile Apache 2.4 From Source
Compiling Apache 2.4 from source is easy and allows for more customization later on. It also allows for control over where it is installed Install some required depedencies: yum install -y wget pcre-devel openssl openssl-devel expat-devel First get the latest version, at the time of writing this it is 2.4.25. The link to download the […]
Virsh KVM Commands For Management
Virsh is a command line executable to control existing virtual machines. It includes a number of commands to help manage KVM(kernel-based virtual machine) instances. It allows for easy command line management often remotely of virtual machines through SSH access. To enter the command shell over ssh just type the following: virsh From there you can type […]
Hot Clone A CentOS Server With Rsync
Hot Clone is the term used to describe to completely clone a Linux server using r-sync across the network. This is useful in situations which you would like to create a clone with little to no downtime that would be typical of taking the original server offline. You can use this to perhaps move a single […]
MySQL Replication Master Slave Setup
MySQL Replication allows you to synchronize slave copies of a MySQL server. You can then use the slave to perform backups and a recovery option if the master should go offline for any reason. MySQL needs to be installed on both servers. Install MySQL on both servers: yum install -y mysql-server mysql-client mysql-devel Edit /etc/my.cnf […]
PHP-FPM With PHP7 From Source
PHP 7 has great performance benefits and combining that with Nginx when using php-fpm you can get seriously impressive load times! Compiling from source offers more control over where packages are installed and what modules are enabled. If you would like to read more about php-fpm, you can visit the project page Download the dependencies […]
Most Commented