Serve web pages from your home directory in Ubuntu 10.04

This guide assumes that you have lamp installed already (which is super easy in Ubuntu). Enable the userdir mod $ cd /etc/apache2/mods-enabled $ sudo ln -s ../mods-available/userdir.conf $ sudo ln -s ../mods-available/userdir.load Enable php parsing from a user directory $ sudo nano /etc/apache2/mods-available/php5.conf Comment out this code: <IfModule mod_userdir.c> <Directory /home/*/public_html> php_admin_value engine Off </Directory> […]

Browser testing with cloned virtual machines

I’ve tried browser testing seven ways to Sunday and it has always proven to be the biggest pain in the ass. Until recently, I had a separate computer running Windows XP (bought and paid for), which in turn ran two or three “Microsoft Windows Compatibility Images” (Windows virtual machines that Microsoft distributes free for web […]

Ubuntu Anecdote

So the other day my boss brought over a computer for me to fix. Turns out he never partitioned this new hard drive he had installed. I fixed it but we didn’t have a copy of Windows around, so I went ahead and installed Ubuntu 9.10 on it. After years of subtle lobbying I’m switching […]

Ubuntu Lucid Lynx is coming!

You can get the beta right now; I’ve played with it and it’s completely sweet. There’s some really bold design choices they’ve made with this version (window controls on the left!?) that I’m excited to explore. Ubuntu is Important You know, along with Ubuntu, I use Windows XP, Windows Vista, and Mac OSX every day. […]

The better way to install LAMP on Ubuntu Karmic 9.10

All this comes from here: https://help.ubuntu.com/community/ApacheMySQLPHP In the teminal: $ sudo tasksel install lamp-server $ sudo apt-get install phpmyadmin $ sudo gedit /etc/apache2/apache2.conf Add the following to the end of this file:  “Include /etc/phpmyadmin/apache.conf” Edit the /etc/php5/apache2/php.ini file and increase the memory_limit value. I used 64M, but that may be overkill.

Use your user’s public_html directory to serve webpages

Using a public_html file in your home directory is much more convenient than /var/www for a local website development environment. The following commands create a file called public_html in your home directory and enable the UserDir module in Apache. From the command line, enter: $ mkdir ~/public_html $ cd /etc/apache2/mods-enabled $ sudo ln -s ../mods-available/userdir.conf […]