Now that I have my load balances etc all installed and running (aka proxy), and the box for general websites is running smoothly, it is time to setup a LAMP server that I can customize for the My Book It software. What I want to be able to do is from a website provision a sub domain without having to use any command line.

So first I installed Apache

Once Apache was installed I pointed my browser to the IP of my website to ensure it was working correctly.

Originally it says It Works, But what works?!?

Originally it says It Works, But what works?!?

Next up was PHP 5.

Run the following

Once complete I created a phpinfo page by typing

Went into insert mode and added the following to the page.

saved that page and loaded it in a browser by going to http://<<ip address>>\phpinfo.php

Bit more descriptive then It Works

Bit more descriptive then It Works

Next I need MySQL

I followed the wizard and entered a root password when asked.

Once this was complete I also installed PHPMyAdmin to help manage the databases

Once installed you can get to it via http://<<ip address>>/phpmyadmin

Root Login without password = Bad!

Root Login without password = Bad!

You should test to ensure you can’t log in without a password.

I also installed ProFTPD to allow me to get files onto the box quickly.

Once installed I granted my account permissions to upload files to the /var/www folder and created a link in my home directory for easy access.

LAMP = Complete