Debian – Recover lost root password
This might come in handy sometime. I had to use this method earlier today, after changing permissions and cleaning up some users. Accidentally changed the root password,…
Debian – Autostart programs on boot
For the Debian system, we have a directory called /etc/init.d/ where the scripts that the init process runs during startup. And shutdown. So If it your own…
Debian Wheezy- Gnome won’t start automatically
If you have messed up or removed the Desktop Manager, your system won’t start automaticly into Gnome login screen. You will have to type startx after you…
Debian – Install Webmin
Webmin is a great little tool for admin your server from a web interface. And it’s really easy to install. To download the package (version…
SSH Server (OpenSSH) – Change listening port
Many reasons for changing the listening port of your SSH server. You only have 1 public IP, and a bunch of virtual machines on a virtual network,…
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…
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…