FEDERAL TECHNICAL & VOCATIONAL EDUCATION & TRAINING INSTITUTE
(TVETI) ADDIS ABABA, ETHIOPIA
MASTER OF SCIENCE IN ICT TEACHERS EDUCATION
Operation Sheet 1.2 :
Installing Ubuntu Linux
Server and configure
network interfaces
DR. PATRICK D. CERNA
2017
[Type text] Page 1
ICT 543 – SERVER ADMINISTRATION LEARNING GUIDE 1
Learning Objectives: After the end of the activity, the students will be able to:
Learn the step by step instruction on Ubuntu Linux Server Installation
Login using root account
Configure network interfaces
PART I: Installing Ubuntu Linux Server using VMWare
1. Open VMWare Player 12 once it is installed, click Create a New Virtual Machine
2. Choose installer Disc Image File, choose the ubuntu linux server image
Operation Sheet 1.2: Installing Ubuntu linux Server by: Dr. Patrick D. Cerna Page 2
3. Choose Linux and Ubuntu
Operation Sheet 1.2: Installing Ubuntu linux Server by: Dr. Patrick D. Cerna Page 3
4. Enter your full name, username and password and hit next
5. Give your virtual machine a name
Operation Sheet 1.2: Installing Ubuntu linux Server by: Dr. Patrick D. Cerna Page 4
6. Select the “Split virtual disk into multiple files” option. Hit next when you’re happy with the
settings.
Operation Sheet 1.2: Installing Ubuntu linux Server by: Dr. Patrick D. Cerna Page 5
7. This brings you to the confirmation page. Click “Customize Hardware”
Operation Sheet 1.2: Installing Ubuntu linux Server by: Dr. Patrick D. Cerna Page 6
8. In the hardware options section select the amount of memory you want the VM to use.
Operation Sheet 1.2: Installing Ubuntu linux Server by: Dr. Patrick D. Cerna Page 7
9. This brings you back to the confirmation page. Click Finish this time. Ubuntu Server Installation will
proceed.
PART II: Configure Network Interfaces (IP Addressing)
1. Now Login on the shell on the server as user your created during installation. The username may
differ if you have chosen a different name during setup.
Operation Sheet 1.2: Installing Ubuntu linux Server by: Dr. Patrick D. Cerna Page 8
2. Get root Privileges
After the reboot, you can log in with your previously created username (e.g. user). Because we must run all the steps from
this tutorial with root privileges, we can either prepend all commands in this tutorial with the string sudo, or we become root
right now by typing:
sudo su
Type the password:e.g. ubuntu
sudo passwd root
And giving root a password. You can then directly log in as root, but this is frowned upon by the Ubuntu developers and
community for various reasons.
3. Configure the Network
Open the network configuration file with nano:
Operation Sheet 1.2: Installing Ubuntu linux Server by: Dr. Patrick D. Cerna Page 9
Sudo nano /etc/network/interfaces
The server is using DHCP right after the install; the interfaces file will look like this:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto ens33
iface ens33 inet dhcp
To use a static IP address 10.0.4.136, I will change the file so that it looks like this afterward:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto ens33
iface ens33 inet static
address 10.0.4.136
netmask 255.255.255.0
network 10.0.4.0
broadcast 10.0.4.255
gateway 10.0.4.1
dns-nameservers 8.8.8.8 8.8.4.4
4. Then restart your network to apply the changes:
Sudo service networking restart
Operation Sheet 1.2: Installing Ubuntu linux Server by: Dr. Patrick D. Cerna Page 10
Or
Sudo /etc/init.d/networking restart
5. Reboot and Shutdown the Linux Server
Reboot
Sudo reboot
shutdown
Sudo shutdown –h now
Or
Sudo poweroff
5. Test the network connection
Start up Windows 7 workstation / client computer. Open command prompt and write the command “ping
10.0.4.36”
Operation Sheet 1.2: Installing Ubuntu linux Server by: Dr. Patrick D. Cerna Page 11
Operation Sheet 1.2: Installing Ubuntu linux Server by: Dr. Patrick D. Cerna Page 12
Operation Sheet 1.2: Installing Ubuntu linux Server by: Dr. Patrick D. Cerna Page 13