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 →
Fine tuning a Linux Apache MySQL PHP (LAMP) server
I started to write this post many weeks ago and finally publish it even if it’s not totally finish. It is just a little feedback about tuning a full LAMP … Continue Reading →
Ethtool Command to Increase/ Decrease speed of Network card in Linux
1. List Ethernet Device Properties When you execute ethtool command with a device name, it displays the following information about the ethernet device. # ethtool eth0 Settings for eth0: Supported … Continue Reading →
Install Redis On Centos
Install Redis on CentOS 6.4 MAY 27 We’re provisioning production machines today! This means that I’m finding a lot of things that I did previously to make my life easier. … Continue Reading →
Sendmail with attachment from Shell Script
Create a .sh file and add below code cd /var/log/httpd/ tar -zcvf error_log.tar.gz error_log echo “Message in Mail Body” | mutt -a “/var/log/httpd/error_log.tar.gz” -s “Error Logs Subject Line” — [email protected] … Continue Reading →
ARP Watch
How to: Detect ARP Spoofing with “arpwatch” under Linux Posted by tournasdimitrios1 in Linux admin tools. trackback My previous article outlined the ARP protocol , so I assume that you already know the … Continue Reading →