Your stats

Ubuntu KVM Tutorial  Includes gui, vnc, firewalling host and guests.

Firehol Tutorial  A great way to firewall your server. Simplifies iptable rules.


Backup script:
Restore script:

Example file: rsync_backup_homeserv.shBacks up my home server to usb
Example file:  Keeps a website updated

These scripts allow for live backup and alternatively restoring to the same machine or a machine with totally different hardware.

Click here for instructions or view the quick-notes below

For a Hot-Clone:

On source machine:
Download script
chmod 755
Edit the top of the script with your values
Run the rsync_backup_local on the source machine
Shutdown services like mysql and postfix etc.. (Alternatively do a mysql dump)
Run it again (runs really fast this time)

On target machine:
Install a base system with a "alternate cd" on the new machine
At boot, type in "cli" this will choose no software, and finish the installation.
Edit rsync_restore_local to your values
Run the rsync_restore_local on the new machine
When done reboot the machine. It's that easy..
NOTE: You may have to run dpkg-reconfigure xserver-xorg on the new machine.

Note:     These are working scripts. You MUST edit to your specifications.

Note:     I use the rsync_backup_local to upload this web pages and files. I first     copied the script and gave it the name rsync_backup_upload, edit it, then set a cron job for it. Of course, you could run the scripts in a cron one right after the other by doing this.  /bin/ && /bin/ && /bin/ .  Notice the && sign..

Note:    To backup our home server, I copied rsync_backup_local and gave it the name rsync_backup_homeserv. Edited the top of the script and set a cron job.. We find the backup script simple and very handy.


This script is meant to be run after installation of Ubuntu or Debian. It will install packages like zip, arj, dnsutils, etc.   Post_Install will also write a decent .bashrc and .vimrc file for the root user, set config-tools to numlock-on etc..  Creates a sample  /etc/network/interfaces.tweak. Adds a line /etc/profile to send an email alert of shell  access to root@localhost (which should be alias to the proper user).  Backs up all files it touchs with a .tweak extension so you don't lose your old settings..

Post_Install will also ask if you'd like to download the current and If those files exist, it will NOT replace them. You'll have to manually remove or rename them first.

 Edit to your liking..  

Keymaker  (From the commandline install by using dpkg -i keymaker-0.1-all.deb)

Easy install from command line as root
dpkg -i keymaker-0.1-all.deb

Get tired of trying to remember the commands to create ssh keys and upload them to another linux machine?
The "keymaker" program creates your keys if they do not exist.
Then, will upload the keys to the destination using any connection details you may need to give it.

        (include user on destination)


keymaker -p 1111
    (specifies port 1111)

Keymaker is a simple script installed to /usr/sbin/keymaker
You may customize it to your liking if you wish.

Version  (From the commandline install by using dpkg -i version-0.1-all.deb)

Easy install from command line as root
dpkg -i version-0.1-all.deb

After all  these years, linux still lacks a "version" command.
This command makes it simple.

To find your ubuntu version:
version "distro"

version ubuntu
version debian

To find a package version:
version "packagename"

version postfix

To find kernel version and if you are running 32 or 64 bit
version kernel


Junkwatcher for Windows

Junkwatcher.ini - Needs to be in same directory

This program watches a directory specified and alerts you if any directory under that directory exceeds the age specified and offers to delete it.

We use this program at work to keep an eye on a large directory we use for temporary backups. We often forget to delete them later. Junkwatcher helps us keep it cleaned out.   Just edit the .ini file. There is no install. It's portable.

Proxy Changer

Utility to quickly change proxy settings on a local machine or the entire network.
proxy.exe also alerts any open instances of Internet Explorer the proxy has changed.
ieproxychanger.ini - Needs to be in same directory

Tested operating systems: Winxp


Edit the .ini file to your specifications.
The simply click on the proxy.exe program.

Command line:

Proxy.exe accepts these command line parameters and no GUI is displayed.

proxy name (as specified in the .ini file)
off/OFF to turn the existing proxy setting in Internet Explorer off.
proxy.exe homeserv
proxy.exe off

Use on an individual machine to quickly change your proxy settings.
Use on a network from a netlogon script to turn on or off a proxy on the entire network.

RCR Shutdown Utility for windows

This utility puts two little icons in the quicklauch tray. One to shutdown, one to restart. Includes an un-installer.


The following comes from here and here.

  1. sudo apt-get install libasound2-plugins libao-pulse gstreamer0.10-pulseaudio
    sudo sed -i.backup -e's/default_driver=alsa/default_driver=pulse/g' /etc/libao.conf
    printf "pcm.pulse { type pulse }\nctl.pulse { type pulse }\npcm.\041default { type pulse }\nctl.\041default { type pulse }\n" | sudo tee -a /etc/asound.conf
    gconftool -t string --set /system/gstreamer/0.10/default/audiosink pulsesink
    gconftool -t string --set /system/gstreamer/0.10/default/musicaudiosink pulsesink
    gconftool -t string --set /system/gstreamer/0.10/default/chataudiosink pulsesink
    gconftool -t string --set /system/gstreamer/0.10/default/audiosrc pulsesrc
  2. Reboot.