How to: Redirect Apache’s Default www or public_html Folder to a Directory in Your Home Folder

Purpose: The default installation of Apache (from a Ubuntu-Server installation) sets the base directory for the web documents as /var/www (on Ubuntu’s installation — this may be different if you are running Apache on another machine); this may not be where you want it, in the end, and certainly isn’t as easily accessible from a remote machine. One option is to change where it is Apache searches for its web documents folder in Apache’s configuration file; another way, which I chose, is to create a symbolic link in the default location’s place and have it point to a directory in my user’s home folder.

Read the rest of this entry »

How To: Install a LAMP Server (Linux, Apache, Mysql, PHP) on Older Laptop with Ubuntu

The Purpose: Install a LAMP server (Linux, Apache, Mysql, PHP) on an older laptop to be accessed and maintained remotely (becasue the laptop has a broken monitor and unreliable video-output connections). Then, transfer web projects from the server on my PowerMac to the new linux server and free up my beast!

Read the rest of this entry »