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> […]

The better way to install LAMP on Ubuntu Karmic 9.10

All this comes from here: 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 […]

My Current Local Developement Environment

Here’s my setup: 13″ Macbook 2-1 with 4GB Ram and 2.16mhz Dual Core processor 24″ Samsung HD flatscreen external monitor Ubuntu Jaunty Jackalope 9.04 Firefox 3.x with Firebug, YSLow, and CodeBurner XAMPP for PHP, MySQL, and Apache VirtualBox with 4 virtual machines: Windows XP with IE 6, 7,  and 8, plus OSX running Safari Gimp […]