Thursday, 24 May 2012
 Home arrow Articles arrow linux arrow Installing Ubuntu Server 9.0.4 also same for previous ones
   
Main Menu
Home
News
Blog
Links
Search
FAQs
Spider
Articles
@intrenet
Free Softwares
Break for fun
Friends VIdeos
Techno videos
Contact Us
Disclaimer
Guest Book
Speed test
V.E.C. Calculator
IPv4 Subnet Calc
IPv6 Subnet Calc
Byte Converter
Converter
GMT/UTC Time
Bandwidth Calc
Allinone Calc
IANA Port Numbers
Country Call Codes
Pk Postal Codes
Surf Anonumously
Visitors Counter
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday198
mod_vvisit_counterYesterday302
mod_vvisit_counterThis week760
mod_vvisit_counterThis month5309
mod_vvisit_counterAll125985
 
 
 
 


Installing Ubuntu Server 9.0.4 also same for previous ones PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Amanatullah khalil   
Wednesday, 17 June 2009

Installing Ubuntu Server 9.0.4 also same for previous ones

 This tutorial will guide you through all the steps necessary to have a working install of Ubuntu, all posts made further to this will be demonstrated on a computer using the setup process shown below.This example will be performed using the latest available version of Ubuntu Server at the time of writing, 9.0.4 jaunty, although should apply for most previous versions.

 

This will be installed on a Machine with the following specifications:

  • 128 Mb of RAM
  • 1 Processor
  • 8 Gb IDE Hard Drive

You will need to start by downloading an ISO fromhttp://www.ubuntu.com/getubuntu/download. Select Ubuntu 9.0.4 from under the Server Edition header, then below choose the architecture which you want it for, and finally choose a mirror to download it from. The total size of the CD image is approximately 500Mb. Once downloaded you will need to burn the ISO image to a CD using software such as CDBurnerXP from http://cdburnerxp.se/. Then insert the disc you have just created into the computer you wish to install Ubuntu Server onto (It would be a good idea to label it first, just so you don’t loose it). Since Ubuntu is open source the disc can be used for every computer you wish to install onto, and since it is free there are no Serial Numbers, or annoying product activation steps to go through. When you start up the computer it may or may not boot from the CD, if it does then a boot screen will appear (Figure 1 - below), if not then you will need to configure the computer’s BIOS to boot from the CD, refer to your motherboard’s manual for instructions on how to do this.

1) The first thing that you will see is a boot options menu, giving you a variety of tasks to choose from

  1. Select “Install to the Hard Disk”
    ubnuntu_server_16.png
  2. Select your language
    ubnuntu_server_21.png

  3. Select your location
    ubnuntu_server_31.png
  4. Ubuntu Server can try and detect your keyboard layout. For the most people will be using US English. Select No and chose your layout yourself.
    ubnuntu_server_41.png

    Go through the options for your keyboard. The installation will then detect your hardware.
  5. Enter ubuntuLamp or what ever you want to call your Server
    ubnuntu_server_51.png
  6. The installer will detect your Hard Drive. Select “Guided – use entire disk”
    ubnuntu_server_61.png
  7. When you receive the screen title “[!!] Partion Disks” select <Yes> and hit enter
    ubnuntu_server_71.png
  8. Select <Yes> when presented about the system clock
    ubnuntu_server_81.png
  9. Enter in administration for your name

    ubnuntu_server_91.png
  10. Enter in administrator for your username

    ubnuntu_server_101.png
  11. Enter in a secure password (here is a great article on coming up with a secure password that you can remember)
    ubnuntu_server_111.png
  12. When you are presented with the screen [!] Software selection press the down arrow till the “* is in the “LAMP server” box and press space bar. As were also going to be using SSH I also select “OpenSSH server”

    ubnuntu_server_121.png
  13. You’ll be presented with the option to change the MySQL root password. This is highly recommended as the standard password is blank

    ubnuntu_server_131.png
  14. You’re done! Remove the CD from the CD drive and reboot

    ubnuntu_server_141.png
  15. You server is now installed.

    ubnuntu_server_151.png

Next I configure a Static IP.

Log into your server using the details you entered during install. I’m using 192.168.0.150 as my example IP)

Type

sudo su

and enter your password again

Then Type

nano /etc/network/interfaces

If you have typed it out correctly you’ll Also you will see the following:

# 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 dhcp

Replace the last 3 lines with the following:

# The primary network interface
auto eth0
iface eth0 inet static
address 172.19.0.10
netmask 255.255.255.0
network 172.19.0.0

Try Ctrl+O to write the file and then press enter

Type Ctrl+X to exit

To set your Nameservers, type

nano /etc/resolv.conf

Enter in your nameservers as required “nameserver xxx.xxx.xxx.xxx”

Type Ctrl+O to write the file and then press enter

Type Ctrl+X to exit

Now you need to restart your network service. Type the following

/etc/init.d/networking restart

You’ve now configured your network interface.

Checking Connection

When computer restart everything get applied, checking internet connection is main thing to do :

$ sudo su

[sudo] password for alamsyah:

Enter same password as user ‘alamsyah’ to get into root session.

Checking if internet connected using ping :

# ping yahoo.com

PING yahoo.com (69.147.114.224) 56(84) bytes of data.
64 bytes from b1.www.vip.re3.yahoo.com (69.147.114.224): icmp_seq=1 ttl=48 time=447 ms
64 bytes from b1.www.vip.re3.yahoo.com (69.147.114.224): icmp_seq=2 ttl=48 time=369 ms
64 bytes from b1.www.vip.re3.yahoo.com (69.147.114.224): icmp_seq=3 ttl=48 time=365 ms
^C
— yahoo.com ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2100ms
rtt min/avg/max/mdev = 365.620/394.291/447.984/37.999 ms
#

Update Ubuntu Server

apt-get update is our best friend :-)

# apt-get update

Hit http://us.archive.ubuntu.com jaunty Release.gpg
Ign http://us.archive.ubuntu.com jaunty/main Translation-en_US
Get:1 http://security.ubuntu.com jaunty-security Release.gpg [189B]
Ign http://security.ubuntu.com jaunty-security/main Translation-en_US
Ign http://us.archive.ubuntu.com jaunty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com jaunty/universe Translation-en_US
Ign http://us.archive.ubuntu.com jaunty/multiverse Translation-en_US
Get:2 http://us.archive.ubuntu.com jaunty-updates Release.gpg [189B]
Ign http://us.archive.ubuntu.com jaunty-updates/main Translation-en_US
Ign http://security.ubuntu.com jaunty-security/restricted Translation-en_US
Ign http://security.ubuntu.com jaunty-security/universe Translation-en_US
Ign http://security.ubuntu.com jaunty-security/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-updates/multiverse Translation-en_US
Get:3 http://security.ubuntu.com jaunty-security Release [49.6kB]
Hit http://us.archive.ubuntu.com jaunty Release
Get:4 http://us.archive.ubuntu.com jaunty-updates Release [49.6kB]
Hit http://us.archive.ubuntu.com jaunty/main Packages
Hit http://us.archive.ubuntu.com jaunty/restricted Packages
Hit http://us.archive.ubuntu.com jaunty/main Sources
Hit http://us.archive.ubuntu.com jaunty/restricted Sources
Hit http://us.archive.ubuntu.com jaunty/universe Packages
Hit http://us.archive.ubuntu.com jaunty/universe Sources
Hit http://us.archive.ubuntu.com jaunty/multiverse Packages
Hit http://us.archive.ubuntu.com jaunty/multiverse Sources
Get:5 http://us.archive.ubuntu.com jaunty-updates/main Packages [16.8kB]
Get:6 http://security.ubuntu.com jaunty-security/main Packages [11.6kB]
Get:7 http://us.archive.ubuntu.com jaunty-updates/restricted Packages [14B]
Get:8 http://us.archive.ubuntu.com jaunty-updates/main Sources [4756B]
Get:9 http://us.archive.ubuntu.com jaunty-updates/restricted Sources [14B]
Get:10 http://us.archive.ubuntu.com jaunty-updates/universe Packages [6078B]
Get:11 http://us.archive.ubuntu.com jaunty-updates/universe Sources [14B]
Get:12 http://us.archive.ubuntu.com jaunty-updates/multiverse Packages [14B]
Get:13 http://us.archive.ubuntu.com jaunty-updates/multiverse Sources [14B]
Get:14 http://security.ubuntu.com jaunty-security/restricted Packages [14B]
Get:15 http://security.ubuntu.com jaunty-security/main Sources [3370B]
Get:16 http://security.ubuntu.com jaunty-security/restricted Sources [14B]
Get:17 http://security.ubuntu.com jaunty-security/universe Packages [4143B]
Get:18 http://security.ubuntu.com jaunty-security/universe Sources [14B]
Get:19 http://security.ubuntu.com jaunty-security/multiverse Packages [14B]
Get:20 http://security.ubuntu.com jaunty-security/multiverse Sources [14B]
Fetched 147kB in 10s (14.6kB/s)
Reading package lists… Done

Upgrade package or software installed

# apt-get upgrade

  also wanted to also install Webmin to manage my server remotely as well as SSH but I found that the install instructions on the above site just didn’t work for me. So here is how I installed Webmin on my Ubuntu Server.

You will need to enable the universe and universe and multiverse repositories in the /etc/apt/sources.list (https://wiki.ubuntu.com/AddingRepositoriesCliHowto)

This is also where I started to use Putty and SSH (http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe)

sudo su
mkdir /opt/Webmin
cd /opt/Webmin
wget http://easynews.dl.sourceforge.net/sourceforge/webadmin/Webmin-1.390.tar.gz
gzip -cd Webmin-1.390.tar.gz | tar xvf -
sudo apt-get install libauthen-pam-perl libnet-ssleay-perl libpam-runtime openssl perl perl-modules

Note I had heaps of problems with this command and it was to do with my sources.list file. No matter what I uncommented it just didn’t seam to work. I had to generate a new sources.list file from this site (http://www.ubuntu-nl.org/source-o-matic/) and past that into /etc/apt/sources.list then run sudo apt-get update before the above command would run

 cd Webmin*
./setup.sh

Basically just hit enter and choose SSL and the auto start the service at boot. Use these settings (or change as requried)

Web server port (default 10000): (Feel Free to change this) Login name (default admin): Login password: AReallyGoodONE Password again: AReallyGoodONE Use SSL (y/n): y Start Webmin at boot time (y/n): y

So, there you go, a nice clean Ubuntu Server install.

There’ll be more tutorials coming up, so that your server can have a role rather than just sitting there looking good.

Thanks for reading, and check back soon for more tutorials.

 

 

 
< Prev   Next >
 
 
 
csatpk Newsflash
Statistics
OS: Linux h
PHP: 5.2.17
MySQL: 5.1.63-community-log
Time: 03:26
Caching: Disabled
GZIP: Disabled
Members: 3
News: 368
Web Links: 5
Visitors: 266607
Popular