This might not be for all of you but for those Linuxers out there, here’s an example of how to setup your mirror:
(Mirror is a way of replicating one server to another btw if you didn’t know.)
To download the mirrors I use this script:
<script sync_mirror.sh>
#!/bin/bash
OPTIONS="--nosource --progress --postcleanup --ignore-release-gpg --ignore-small-errors --pdiff=none ...
Posts Tagged ‘root root’
Well, I have been struggling with one of my dedicated servers and just found this cool script that will auto-restart the Apache httpd server if it goes out.
Save the following as restart.sh:
#!/bin/bash
# Apache Process Monitor
# Restart Apache Web Server When It Goes Down
# -------------------------------------------------------------------------
# Copyright (c) 2003 nixCraft project & ...





















































