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 →
Crontab in Linux with 20 Useful Examples to Schedule Jobs
Linux crontab is similar to windows task schedulers. Crontab are very useful for routine tasks like scheduling system scanning, daily backups etc. Crontab executes jobs automatically in backend on specified time interval. … Continue Reading →
kipmi0 using 100% CPU
Seeing 1.00 average server load – 100% of a single core used by kipmi0. Resolved by executing from shell, as root – echo 100 > /sys/module/ipmi_si/parameters/kipmid_max_busy_us Another note: On CentOS/RHEL, … Continue Reading →
How To Set Up a Postfix E-Mail Server with Dovecot On Ubuntu
Postfix Introduction This tutorial will tell you how to setup a basic mail server and teach you a bit about the Postfix MTA (Mail Transfer Agent) in the process. Postfix … Continue Reading →
Shell Scripts
1. Script to take backup of mysql, ##############Start script################### #!/bin/bash tdate=`date +%d-%b-%Y-%H-%M` DIR=/backup/2hours_backup/mysql ##Mention Folder where backup should be done DIR1=/backup/2hours_backup/ ## Mention Folder where final backup should be moved … Continue Reading →
Installation of Varnish on Linux
Download the Varnish through YUM, If you have redhat based distribution follow this link to install. https://www.varnish-cache.org/installation/redhat Follow this to configure varnish. http://ocaoimh.ie/2011/08/09/speed-up-wordpress-with-apache-and-varnish/ Proxy Cache Purge This plugin can help … Continue Reading →