Building LAMP on Ubuntu Part 1
Posted on 17. Aug, 2009 by joshhrob in Database, Server, Web Servers
This build document outlines the installation and setup of a basic LAMP (Linux Apache MySQL PHP) web server using Ubuntu 9.04. Please note we have updated this doc for Ubuntu 10.10 here: Installing Ubuntu 10.10 Server 64-bit (General Purpose LAMP/Web Server)
This build will be broken up into 3 parts:
Part 1: Installing Ubuntu Operating System
Part 2: Basic Server Configuration
Part 3: Working with Ubuntu LAMP
In this build we will be using ubuntu-9.04-server-amd64.iso, which can be downloaded via BitTorrent or from the Ubuntu website.
After downloading the iso file, you must either burn it to a CD or if this is a virtual machine you may mount the iso file to your VM’s CD-rom drive.
To begin installation, insert CD and boot server. When installer boots, select English.

At Ubuntu welcome screen, select Install Ubuntu Server and press Enter

Select English and press Enter

Select Country and press Enter

Select No to skip keyboard detection

Select Country / keyboard layout

Install begins and runs for a few minutes

Enter a hostname for your server

Select Timezone

Choose disk partition method. In this build we will select guided – use entire disk and setup LVM (Logical Volume Manager). If you wish to setup a custom partitioning scheme choose Manual.

Select your hard drive / disk

Select Yes to write changes to the disk

Verify you want to use the entire disk, press Enter to continue

Select Yes to write changes

Install continues

Enter your username

Enter your password (and once again to confirm)

When asked to encrypt home directory select No

Enter proxy server if any (in this build we leave blank)

Install continues

Select install security updates automatically

Select Software to install. Use up/down arrows and space bar to select. Select LAMP server, mail server and openssh server. Press Enter

Enter root password for MySQL database (and type again to confirm)

For mail configuration, select Internet Site and press Enter

Enter hostname/domain name for mail server

Last of install files get installed

When done, press Enter to finish. System will reboot. Make sure to remove CD-rom

Next Section: Ubuntu Server Configuration
If you have questions or problems with this build please leave a comment below.
Print This Post
|









Leave a reply