INSTALLING UBUNTU 7.10 SERVER

(MULTI-BOOT)

 

 

Created by Leslie Men Chall Chong

 

This is an example installation for Ubuntu 7.10 Server.  You can use it to prepare for Linux Camp III or a similar one for learning purposes.

 

Test computer:  Dell P4 2GHz, 1 GB RAM,  120 GB IDE hard drive with existing Windows XP Professional and SUSE 10.1 Linux.  Windows takes a primary 10GB partition, SUSE an extended 5 GB partition, rest free space - plenty of room.

 

Notes and preparation:

 

a)-You need the Ubuntu 7.10 Server Edition CD for the x86 Architecture, and you must have Internet connection.

 

b)-This installation allows you to multi-boot to Ubuntu, SUSE or Windows.  Normally, you would not multi-boot a production server.

 

c)-If your existing partitions do not have names (volume labels), I suggest you name them now for easier identification later.

 

d)-Before proceeding, back up your critical data if any.

 

e)-Depending on your network connection, the behaviour you encounter may not be identical to the one described here.

 

f)-If the current multi-booting manager is GRUB, use the install to re-write GRUB to add Ubuntu to the booting menu.

 

 

 1-Set the computer to boot to the CD-ROM drive and reboot the computer with the Ubuntu 7.10 Server Edition CD.

 

 2-Choose to install to hard disk.

 

 3-Choose the language.  It defaults to English.  Press Enter.

 

 4-Choose the location.  It defaults to United States.  Press Enter.

 

 5-At the next screen (Ubuntu installer main menu), select <No> to “Detect keyboard layout?”and press Enter.

 

 6-Hit Enter at the next 2 screens for the default U.S. English for keyboard origin and layout.

 

 7-There will be some action by the installer

 

 8-The installer will configure for the connected network using DHCP.

(You need to assign a fixed IP address for your server later.)

 

 9-Give your server a hostname (e.g. server007).  Type it in, tab to <Continue> and press Enter.

 

10- Partitioning disks screen:  Here, we want to use part of the free space to create a new small partition and install Ubuntu there.

Select Manual.  Choose the FREE SPACE to create a new partition.  Use about 15GB (arbitrary, I chose 10% of the free space, as it was about 135 GB) and <Continue>.  Make it a primary partition.  Choose to create the new partition at the beginning of the free space.  [The Ubuntu installer recognized the SUSE swap partition.  Normally, you need to create a swap partition.]  Agree to the ext 3 format and suggested structure by choosing Done setting up the partition.

 

11-Press Enter to “Finish partitioning and write changes to disk”.  Click <Yes> to write the changes to disk.

 

12-Configure time zone: Choose Pacific and press Enter.

 

13-If asked to Configure the clock to UTC, pick <No> and press Enter.

 

14-Type in a user’s full name (e.g. Charles John) and username (charles).  Type and verify the user’s password.  Record it down somewhere.

[This user account can run sudo, that is, use the root account to do tasks in Linux.]

 

15-Installation of the base system starts.

 

16-Configure the package manager.  At the Software selection page, select DNS server, LAMP server, Mail server and OpenSSH server and <Continue>.

 

17-Respond when asked for a new password for MySQL “root” user password.  (This is not the Linux root password.).  Record it down.

 

18-Postfix configuration:  Choose the default “Internet Site” and for the system mail name enter a fictitious domain name of your choice (a domain that is not on the Internet) and <Continue>.

 

19-There is a message about installing GRUB.  Continue and click <Yes> to install GRUB to the master boot record.

 

20-On completion, the CD ejects.  Remove it, and click <Continue> to finish the installation.

 

21-The computer reboots and you will be presented with a multiboot screen.  Select Ubuntu 7.10 (top of the menu).

 

22-You will be booted to Ubuntu and presented with the Linux prompt.

 

23-Login with the userid you created.

 

This completes the basic server installation.  Proceed to the post-installation steps and configuration.

 

 

Date:  30 October 2007