If I’m using a Linux box as a development machine, I usually like to have Apache installed with userdir enabled, even if I’m not necessarily doing web-development, just in case I need to play with something webby/internety.
Enabling the userdir module on Unbuntu and its derivatives is usually something like:
sudo a2enmod userdir
If required, further tweaking of userdir configuration can be done by editing:
Then restart apache:
sudo /etc/init.d …