You are on page 1of 3

System Administration (CMPD393) – Lab 1 (Revise)

Name:MUHAMMAD FIRDAUS BIN ARIFFIN ID:DC98793 Section: 01B

Topics: VirtualBox, Ubuntu Server Installation.

Log on to one of the machines in the lab. Use your student-ID. Remember the machine and perform
your future labs on this same machine. We will install the latest version of the server system software
of Ubuntu (http://www.ubuntu.com/server) in VirtualBox, which is a virtual PC. The following describes
how this will be done.

Open your web browser and download the Ubuntu Server 20.04.2 from
http://metalab.uniten.edu.my/~surizal/System%20Administration/
Start VirtualBox.
Select 'New', press 'Next' and give it a name of your liking {your_name-server}
Select to save the VM to the “Desktop”
Select 'Type : Linux' and 'Version : Ubuntu (64 bit)'; then 'Next'
Choose 4096 MB of RAM ('Memory'); then 'Next'
In Hard Drive Menu, tick the ‘Create a virtual hard drive now’. Clicks create.
Tick ‘VDI(Virtual Disk Image)’ and click Next.
Tick ‘Dynamically Allocated’. Click Next
Use 50 GB and press 'Next'.
Read the summary and click 'Finish'. Check all the Details and click 'Finish'
Now you see a new virtual machine with the name chosen by you earlier.
The machine has been created and the hard disk is set up. Next we need to inform it, that there is a
(virtual) install-CD in its (virtual) CD drive. It is currently empty.

Click 'Storage': The `Controller : IDE` is noted as "Empty". Click the 'Empty'
At 'Optical Drive : IDE Secondary Device 0', click the cd icon and select “Choose a Disk
File"
Now select your downloaded iso file. (File you download from metalab).
Click OK.

IDE-controller
ubuntu-20.4.2-liveserver-amd64.iso (1.13 GB) [This is the install CD]
SATA controller
{your_name}-server.vdi (Normal 50.00GB) [This is the virtual hard disk]

Now you can press the 'Start'-icon on your virtual machine.

Click off all other warnings. The installation starts the screen to select the installation language.

Select 'English'. Press Enter


For the keyboard layout, select English (US) and Variant also English (US). Select Done and
Enter
Select the default network connection. Press Enter
Leave the ‘Proxy address’ as empty. Press Enter
Select the default Mirror address (http://my.archive.ubuntu.com/ubuntu). Press Enter
Under the storage configuration, select “Use an entire disk”. Make sure the size of disk is similar
with the disk size you create before (50GB). Select “Set up this disk as an LVM group” and go
to Done and press Enter.

Page 1
CCI-FDS February 2023
System Administration (CMPD393) – Lab 1 (Revise)

The partition will be created automatically together with the size of every partition. You can edit
the size as you want but for this time, we do not want to change anything. Go to Done and press
Enter.
Select “Continue” to format the current disk so that the new OS can be installed.

Now we want to create the system administrator account.


Insert the information as follow:
Your Name: {Put your full name}
Your server’s name: {put your ID-server (example: DC99999-server}
Pick a username: {
}
Choose a password: 123456
Confirm a password: 123456

You can put the other password as well but if you lost the password, you need to troubleshoot by
yourself to recover the password.

Go to Done and press Enter.

Select the Install . Press space bar to select/tick it. Import SSH identity: No. Go to Done and
press Enter.

These services allowed you to remote your server from the different location.

At the “Featured Server Snaps” do not select anything. We will install the services later. Done
and press Enter.

Now you operating system are currently in progress to be installed and doing some updates. Please be
patient.

If everything has been done correctly, the system reboots, and the newly installed server starts!
Congratulations! We have not installed any GUI yet, so you get the normal prompt:

<your_id>-server login:
[enter your username that you selected earlier] [enter your password]
Then you see a command prompt in front of you: <username>}@<your_id>-server:~$
Well done!

You have successfully installed a virtual machine in your Virtual Box!

Page 2
CCI-FDS February 2023
System Administration (CMPD393) – Lab 1 (Revise)

FOR SUBMISSION

• Try the basic command as below and screenshot your output:-

Command OUTPUT
date

whoa

whoami

• Type poweroff and see what happens

• Next, type in sudo poweroff


• Confirm your earlier password and see what happens~!

Page 3
CCI-FDS February 2023

You might also like