Installing a Ubuntu 6.06 LAMP Server

This tutorial is going to highlight the installation of a Linux, Apache, MySQL and PHP (LAMP) server. A LAMP server will be the basis of a few other projects I intend to write tutorials about so what better place to start? At the end of this tutorial we will have a server running Ubuntu 6.06 Linux capable of hosting a website. Pretty basic, I know, but it will be invaluable in the future.


I chose the Ubuntu Linux distribution for a few reasons. First, it is built off the very popular community-driven debian distribution. Second, it has an extremely active community where help is just a few clicks away. Last, it’s just plain easy to use. Not the most compelling reasons, I know, but you wouldn’t be reading this article if you weren’t already interested in Ubuntu anyway.

Before we get started we first need to obtain the installation media. You can download the latest Ubuntu iso’s from www.ubuntu.com/products/GetUbuntu/download. Make sure you download the server version. In this article we are installing Ubuntu 6.06. You don’t have to use the same version that I’m using but some of the screenshots and steps may not align with different versions. Also, it is beyond the scope of this article to describe the process of creating the bootable CD media from the downloaded iso.

Now, on with the show…

The first step for us is to boot off of the installation disk. You may need to change to device boot order in your BIOS setup options. Once you have booted from the CD you should be greeted with the Ubuntu CD boot menu.

Since we are installing a LAMP server, we need to select to the “Install a LAMP Server” option.

installing_a_ubuntu_60.png

The next screen(s) we are prompted to choose the language for our system.

installing_a_ubuntu_61.png

installing_a_ubuntu_62.png

Next, the system will try to auto-detect the keyboard type. If detection fails we will have to option of choosing a keyboard type manually.

installing_a_ubuntu_63.png

Next, the system will try to activate it’s NIC and request an IP address from a DHCP server. If you don’t have a DHCP server, or aren’t connected to a network yet you will be given the option to retry detection or manually enter your IP settings by hand. I don’t have a DHCP server, in fact I’d rather have a static IP address on this server so I chose to configure the network manually.

installing_a_ubuntu_64.png

installing_a_ubuntu_65.png

In the following screens we will be asked to enter an IP address, subnet mask, gateway of last resort, and a DNS server address. Your IP settings will need to fit the scheme of your network. In my case I choose an IP address that was in the same subnet as my Internet firewall. I used the address of my firewall for my gateway. I also used it for the name server address because it does DNS caching for my network.

installing_a_ubuntu_66.png

installing_a_ubuntu_67.png

installing_a_ubuntu_68.png

installing_a_ubuntu_69.png

Next, we will be asked to give your server a host name. This can be a name of your choosing, but it’s a good idea to keep it a single word.

installing_a_ubuntu_610.png

Next, we will be asked to provide partition information for the installation. If you are dual-booting and another operating system shares the hard drive you will need to manually edit the partition table. In this article, I want to dedicate the entire drive to Ubuntu so we will choose to let it use the entire disk.

installing_a_ubuntu_611.png

The installer will ask us to confirm the partitioning scheme once its determined.

installing_a_ubuntu_612.png

Next, we need to choose the timezone for our server.

installing_a_ubuntu_613.png

Next, we are asked if our system clock uses UTC. I always select yes since it is the recommended option and it just makes life simpler in the future.

installing_a_ubuntu_614.png

Next, we are asked to create a user account for the new server.

installing_a_ubuntu_615.png

installing_a_ubuntu_616.png

installing_a_ubuntu_617.png

installing_a_ubuntu_618.png

Almost done, now the system has enough information to carry out the installation. Now is a good time to grab something to drink and wait for the installation process to finish.

installing_a_ubuntu_619.png

Once the installation is complete, the system will prompt us to remove the installation media and select continue to reboot.

installing_a_ubuntu_620.png

If all went according to plan, after reboot we will be sitting at the login prompt of our freshly install LAMP server. You can now login with your username and password and start exploring.

installing_a_ubuntu_621.png

Tags: , , , , , ,

1 Comment so far »

  1. Nagios 2.6 Installation on Ubuntu 6.06 Linux Server « NukeSilo.com said,

    Wrote on March 28, 2007 @ 2:41 pm

    […] Some assumptions are that you have basic Linux skills, and you have a freshly installed Ubuntu 6.06 LAMP server. Even though I’m going to give you a step-by-step walk through, a foundation of basic Linux knowledge would be preferred. If you need help installing Ubuntu Linux, take a look at my tutorial “Installing a Ubuntu 6.06 LAMP Server.” […]

Comment RSS · TrackBack URI

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment: