Install Ubuntu Server

Take backup of your data.

Make tar file:

# tar -cvzf maketarfile.tar.gz ./*

To know about tar more, try “man tar” in your command window.

./* use to give path of directory of which you make tar file. 
. is current directory
/ current directory inside
* consider everything

Copy to USB media:

# cp -r maketarfile.tar.gz /media/media_name

Unmount media after copied tar files:

umount mount point
ex : unmount /dev/sdb1

Install Ubuntu Server

Get USB media either bootable CD or pendrive of Ubuntu Server.
Insert USB in USB port.
Press favourable function key to enter boot menu.
Language setting : English US
Detect keyboard layout : NO, in our case. 
Keyboar layout setting : US

After loading additional components
hostname- Define hostname example abc.local
Creating manual partitions :
delete primary and logical partitions if exist.

  • create a new partition for home
  • Mount point /home
  • create a new partition for var 
  • Mount point /var
  • create a new partition for boot
  • Mount point /boot
  • Create a new partition for root
  • Mount point /

Done with disk patitioning.

Manage upgrades:
Softare Default Install Server
Install SSH Server
Install the GRUB boot loader to the master boot record

Finish Installation

Network Configuration for static IP

Open the /etc/network/interfaces file. I have used vi, but you can choose a different editor.

# vi /etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1

you can customize this to your network.

Set DNS nameserver either Open DNS and Google DNS:

Open DNS
208.67.222.222
208.67.220.220
Google DNS
8.8.8.8
4.4.4.4

# vim /etc/resolv.conf
nameserver xxx.xxx.xxx.xxx

Now you will just need to restart the networking components

# /etc/init.d/networking restart

Reboot you system

# sudo reboot

Leave a Reply

Your email address will not be published. Required fields are marked *