Ubuntu (Hardy): Install Apache 2 Server

Setting up Apache 2 server on Ubuntu Hardy is pretty easy.

sudo aptitude install apache2 apache2.2-common apache2-mpm-prefork apache2-utils libexpat1 ssl-cert

Note:
I choose apache2-mpm-prefork (single thread) over apache2-mpm-worker (multi-threaded requests). This is because mod_rails may work with apache2-mpm-worker, but is only currently tested to work with apache2-mpm-prefork.
ServerName
Edit your apache configuration file:

$ vim /etc/apache2/apache2.conf

At the end of the [...]

Ubuntu: Disable That Annoying Touchpad Click

In my opinion, one of the worse inventions since “PC”, is the annoying (and I’m been respectful) Touchpad. Not only it takes you out of your home row (keyboard), or the fact that you need like two passes for reaching corners. But because it really &*^#$%^*$ annoys me when typing accidentally make a click.
Lucky me… [...]

Ubuntu (Gutsy): Installing Texinfo

Pretty easy do, simply run the following command from command line and you’re on the go:

$ sudo apt-get install texinfo texi2html tetex-bin

Now, use your favorite editor (gedit, vi, vim, emacs or texmacs) to start writing.

Ubuntu (Gutsy): Change Default Keyring Password

I changed my user password in Ubuntu, everything was OK until the next time I booted my Linux box. Keyring Manager was asking me for a password (as my wireless connection needed stored WPA password), immediately figured out that this was caused by the password change.
The problem is that Gnome Keyring manager doesn’t have an [...]

Ubuntu (Gutsy): DynDNS Client Setup

Hello again, this time we’re going to setup a DynDNS client so your computer/server can be reached from anywhere.
Step 1
First, you need to create an account with DynDNS to do so follow this howto: https://www.dyndns.com/services/dns/dyndns/howto.html.
Step 2
First we’ll install ssh and ssh-socket so we can send our DynDNS user and password encrypted instead clear text:

$ sudo [...]

Linux: Configuring a Server for Static IP

This mini HOWTO explains the required configuration for a static IP.
Before proceed we must know the following configuration of our network:

The IP Address to be used for our server;
Netmask of our network;
Broadcast IP address; and
The gateway IP address.

First, we must open for edit the file /etc/network/interfaces:

$ sudo vim /etc/network/interfaces

Once there, we must find the network [...]