Authentication (Linux) through htaccess: Authentication through Htaccess #Shell> vi .htaccess AuthUserFile /public_html/private/.htpasswd AuthName "Secret Stuff" AuthType Basic require valid-user Authentication for Single File access on Apache (Linux) through htaccess Edit httpd.conf file and add … Continue Reading →
Resizing Root Partition on Linux in Amazon EC2
Resizing Root Partition on Linux in Amazon EC2 Anthony James — May 7, 2012 Changing the partition size for a root partition or any other partition is just a little bit … Continue Reading →
(D)dos Deflates
About (D)DoS Deflate is a lightweight bash shell script designed to assist in the process of blocking a denial of service attack. It utilizes the command below to create a list … Continue Reading →
Install mod_pagespeed on CentOS with DirectAdmin installed
From the Google website: “mod_pagespeed speeds up your site and reduces page load time. This open-source Apache HTTP server module automatically applies web performance best practices to pages, and associated … Continue Reading →
Adding Swap Space
Adding Swap Space Sometimes it is necessary to add more swap space after installation. For example, you may upgrade the amount of RAM in your system from 128 MB to … Continue Reading →
Linux Commands
Watch commands: To check Mysql in watch command watch -n1 “mysql -uUseranme -pPassword -e ‘show full processlist’; ” The above command will show processlist per second To check Apache server … Continue Reading →