How to install Ubuntu Server 9.04 Linux Operating System - step by step Instructions and Network Interface Setup

Ubuntu Server 9.04 Installation Guide

So before we start the installation make sure that you have your Harddrive formatted and Ready or a blank Virtual Machine Ready.

Now go and download the Ubuntu Server 9.04 Edition from

http://www.ubuntu.com/getubuntu/download-server

It is compatible with both AMD and INTEL, the only option you need to look as is whether you want to run a 32 bit or 64 bit version, most likely it will be 32bit and I will be going through the steps for the 32 bit version.

So apart from downloading ubuntu you can get it sent to you for FREE or buy the DVD, it can take up to 4 weeks for the FREE version to reach you.

Starting the Installation

New Machine

So for a setup on a new machine simply burn the .ISO image to a CD or DVD and insert it into your DVD drive.

Now when your computer starts up you'll want to press F8, F10, or F11 depending on your motherboard do enter the boot options. Alternatively you can enter your BIOS using DEL or F1 and configure boot options to use the CD-ROM drive as your First Boot Priority.

Virtual Machine

Installing on a Virtual Machine is a lot simpler , just install DAEMON tools or an image mounting software and mount the image on a virtual drive, and start up your blank virtual machine.

Select your Desired Language for your Operating System
Select your Desired Language for your Operating System
Here you can Test your Memory , check the disc for defects or continue with the Installation "Install Ubuntu Server"
Here you can Test your Memory , check the disc for defects or continue with the Installation "Install Ubuntu Server"
Once again Select your Desired Language
Once again Select your Desired Language
Select your Country
Select your Country

Ubuntu Installer Main Meny - Detect Keyboard Layout

Now its time to detect your keyboard layout , you can choose no if you know exactly what type of keyboard you have (as in layout of keys to specific country requirements) . Its easier to go through the keyboard layout test and hit yes or no if the letter appears on your keyboard

It will then go through the process of configuring basic network settings, and peripheral devices
It will then go through the process of configuring basic network settings, and peripheral devices

Configure the Network - Hostname

Now its time to choose a hostname , you can make up anything you want its recommended to keep it nice and short so its easier to access through a command line only interface. Here I just chose the default name ubuntu

Setting up CLOCK

Now it will go through the process of contacting the world clock server, and may ask you to select your time Zone from a list
Now it will go through the process of contacting the world clock server, and may ask you to select your time Zone from a list
Select from a Worldwide list , if that makes it easier
Select from a Worldwide list , if that makes it easier
The Disk partitioner will then scan through your Disk drives
The Disk partitioner will then scan through your Disk drives

Logical Volume Management

So now we are up to partitioning options, We can select to use the guided method or setup things manually, here I will just choose Guided

You can also choose to use LVM , which stands for logical volume management. LVM role is to basically allow the server administrator to have full control over there partitions and create logical volume's from physical drives.

This is very useful for a server that may require modification of partitions, its very common to find you have made a partition too small and need to expand it and this is possible with basic partitioning programs like gparted but usually require your server be restarted LVM allows you to resize your paritions and keep your server up.

Here I will use entire disk with LVM, if your not so worried about running out of room on your partitions then use entire disk would be an acceptable option.

Here I select my disk I wish to install ubuntu onto.
Here I select my disk I wish to install ubuntu onto.
Apply changes to your Partition to Continue, REMEMBER writing the changes will erase anything else currently on that partition
Apply changes to your Partition to Continue, REMEMBER writing the changes will erase anything else currently on that partition
select partition size
select partition size
Once partitioning has been setup it will start to install main components of the ubuntu operating system
Once partitioning has been setup it will start to install main components of the ubuntu operating system

Username and Passwords

Now choose your full name for the user, its simply your name not your actual login one just your full name or anything you want to use instead
Now choose your full name for the user, its simply your name not your actual login one just your full name or anything you want to use instead
Now enter your username, this will be the username you log into the server with
Now enter your username, this will be the username you log into the server with
Enter your password for your username to login with
Enter your password for your username to login with
You can choose to encrypt your home directory for security reasons but generally it is not necessary
You can choose to encrypt your home directory for security reasons but generally it is not necessary

Configuring APT

Now Ubuntu goes through the process of configuring APT (advanced packaging tool) this tool allows you to download and install updates for your server. example get openssh apt-get -y install openssh

Freezes? - Some users may notice some freezing or sometimes the installation appears to stop completely this is usually due to the Ubuntu server being busy and your computer unable to contact it, if this occurs it may be necessary to try again later or just leave it for a while.

Here you can choose whether or not to allow automatic updates, its recommended to get security updates automatically otherwise choose no automatic updates and manually update security features as patches come out
Here you can choose whether or not to allow automatic updates, its recommended to get security updates automatically otherwise choose no automatic updates and manually update security features as patches come out
here you can choose software needed for your server, you can always skip this an install components needed later on using APT
here you can choose software needed for your server, you can always skip this an install components needed later on using APT
login and off you go:)
login and off you go:)

Almost Finished

Now once you've selected the software you want for your server, ubuntu will finishing installing all the needed software.

Starting Ubuntu Server 9.04

So once you've completed the installation select CONTINUE and your system will reboot , remember to remove the CD or unmount the image at this point.

Now once it loads up simply log in with your username and password. :) that's it for the basic installation instructions. let me know if you have any questions

Basic Setup - Root Mode , Configure Network

So now you've logged into your server there a few more basic things you need to know.

First to log into the ROOT priveledged mode use

sudo su

then enter your password for your user

Configuring Network Interfaces in Ubuntu

vi /etc/network/interfaces

the above command will allow you to edit the network configuration file , to start editing the file press insert and start to input your network settings.

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1

So above we have the network setup with auto ethernet interface 0, 
setup with a static ip address, you can also use dhcp by replacing 
static with dynamic. 

Once you have entered all your values follow the steps to write the 
changes

1. Press ESC
2. Hold Shift and press ";" Key
3. Now write wq , to write then quit
4. use q! to exit without making changes


More walkthroughs can be found at Random Technology Walkthroughs

More by this Author


Comments 20 comments

Hammerj profile image

Hammerj 7 years ago from Cebu City

hello Thanks for the tips..very informative topic..i have an linux software xandros can i ask is it the same flavor in ubuntu..how can i install a new software if i will install the ubuntu..can i install microsoft programs in ubuntu?thanks...


expectus profile image

expectus 7 years ago from Land Downunder Author

hi thanks for the comment:) , i belive its very similar but I am not totally sure about installing microsoft software maybe a few applications that are supported but there is a software package manager in ubuntu which lets you find and install programs easily.

I usually use all open source free software with linux like postgresSQL


Matrixkavi profile image

Matrixkavi 7 years ago from India

Hi.. Nice hub... please help me out of this problem.. I've mandriva 2008 grub in my pc and i want to install ubuntu 9.04 linux in my system after uninstalling mandriva... please tell me how i can do it.. thanks in advance


Matrixkavi profile image

Matrixkavi 7 years ago from India

Hi.. Nice hub... please help me out of this problem.. I've mandriva 2008 grub in my pc and i want to install ubuntu 9.04 linux in my system after uninstalling mandriva... please tell me how i can do it.. thanks in advance


expectus profile image

expectus 7 years ago from Land Downunder Author

hi matrixkavi, you don't really need to unistall madriva , you can just go through the setup and when your creating your paritions and pointing the installation to where ubuntu will be installed you will naturally erase all the files on the harddrive if thats ok? goodluck :) let me know if you want to know more or if i didnt aswer the question:P


Adel Qalieh 6 years ago

Yes, you can get the same flavors throughout Linux software.


miftar 6 years ago

can install Asterik in ubuntu server to create voip server

br

Miftar


expectus profile image

expectus 6 years ago from Land Downunder Author

yes you can install asterisk on ubuntu, either asterisknow or regular asterisk

some instructions

http://hubpages.com/technology/How-to-Install-Aste...


ciidoctor profile image

ciidoctor 6 years ago

thnx alot


Ashif 6 years ago

hi this is a Ashif and i am using win2003 on my file server..i want to install Ubuntu.should i insatall graphical version for ubuntu which is for laptop or desktop or i have to install which is above?i am not user friendly with linux commands...


expectus profile image

expectus 6 years ago from Land Downunder Author

I would recommend ubuntu server, linux commands are very simply to understand and its a valuable skill to pickup


ebrimapapi 6 years ago

this tutorial helps me alot thanks


Sarmad 6 years ago

Thank you for this very good quick guide for installing Ubuntu server. Are there Dreamweaver, WS-FTP and MS office for Ubuntu server. I very much appreciate your reply.


expectus profile image

expectus 6 years ago from Land Downunder Author

well ubuntu server is purely command line system so there is no visual way to do word processing or dreamweaver type stuff, use the desktop version of ubuntu if you want to use these types of applications.

you can still do ftp over command line though


Dez 6 years ago

Wow!!! Thanks


joseph 6 years ago

i nid to know more about firt time interview


Chris 5 years ago

Very helpful... thanks


Gopal 4 years ago

Thank you for this very good quick guide for installing Ubuntu server. Are there Dreamweaver, WS-FTP and MS office for Ubuntu server. I very much appreciate your reply.


pradeep 4 years ago

i want to test ubuntu server on my laptop

is it possible ?


gh 4 years ago

thanks of all your services

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working