Bash scripts | MyLiteratureTechLife.COM

You are here:
Home » Archive for the " Bash scripts " Category

Archive for "Bash scripts"

Installing Apache with Nginx autoinstaller to use Nginx as reverse proxy

Posted by 0 Responses

Installing Apache with Nginx autoinstaller to use Nginx as reverse proxy Although Nginx is a light webserver as compare to Apache, however some time we need apache to use as webserver because Nginx lack some features them apache, a big example is Mod_rewrite. Therefore we use apache, however to speed using websites we use Nginx as Reverse proxy. Nginx Autoinstaller-LNMP provides this option as well, that we can install apache and use Nginx as reverse proxy. Must read:- How to install Nginx,MySQL,PHP using... [ Continue reading... ]

MD5 change detection script

Posted by 0 Responses

MD5 change detection script Irongeek.com wrote a script to detect MD5 change in the files in your hosting account. Actually Irongeek.com was hacked few months before and therefore they wrote this script and I believe this script is very helpful for webadmins. You can download this script in text file by clicking here.   #!/bin/bash # Irongeek"s crappy change detection script. ver. 0.1 # The purpose of this script is to detect file changes. We will make... [ Continue reading... ]

Shell script to monitor current disk space and getting alert on thresh hold level

Posted by 0 Responses

Shell script to monitor current disk space and getting alert on thresh hold level Yesterday I wrote a post when I found a script to monitor disk space in a server and getting alert on thresh hold level. However that script just send a notification when disk space is on thresh hold, but I wanted to get disk usage on daily basis therefore I made some modifications in script. #!/bin/sh # Shell script to monitor or watch the disk space # It will send an email to $ADMIN, if the (free avilable) percentage # of space is >=... [ Continue reading... ]

Monitoring your disk space with shell script

Posted by 0 Responses

Monitoring your disk space with shell script If you are running a busy server with several customers, uploading alot of file then there is a chance that you get out of space without knowing. I was about to write a script for my server but then found it on a famous website. #!/bin/sh # Shell script to monitor or watch the disk space # It will send an email to $ADMIN, if the (free avilable) percentage # of space is >= 90% #... [ Continue reading... ]