Win Xp – Create Service manually

With the latest versions of Visual Studio, the “built-in” install creator isn’t “built-in” anymore. And you are offered a free version of Installshield LE instead. I have…

Iptables – Port forwarding

Simple trick to use iptables for port forwarding. I use Debian as my OS, but should work on most Linux systems with iptables. Lets assume we have…

Debian – Install package proxy using apt-cacher

When dealing with lots of Debian installs (or a Debian network), using a package proxy can save you a lot of bandwidth and time. Apt-cacher is a…

Apache – Add domain

Apache can easily host more than one domain. And here is how. We assume the new domain is called example.com. First we create the needed directories. mkdir…

Ftp Uploader Tool

Here is a tool that can upload files to a ftp host with interval ranging from 1 second to almost infinite. It will not run on Win…

Minecraft server – Debian variants

Minecraft have become unbelievable popular. Simple graphics in a huge sandbox with total freedom seems to do the tricks. We will assume the server is about empty…

VirtualBox – Creating & controlling virtual machines in headless mode

Create… Create the virtual machine, named MySQL in this example: VBoxManage createvm –name “MySQL” –register We give it 512MB ram, enable acpi, boot on dvd and a…

Debian – Installing headless VirtualBox

I find Virtualbox easy to work with, and usually stable. For performance I would check out KVM or XEN HVM instead. Update! The larger Linux distros are…

Apache – Custom 404 pages

The standard 404 (Page not found) is enough for telling someone the page they are looking for is not there. However, you can use that 404 traffic…

Debian/Ubuntu – Simple trick to free memory

To free up some memory claimed by pagefile, dentries and inodes. Pagefile is virtual memory. Dentries and inodes are used for your hard drive files. This should…