Highlights
Prepare your Ubuntu Server for your labs Login to the server remotely: While you login to your Ubuntu server on VM, it will be local login (TTY access). It will be very small and unfriendly to use for most people.
We can connect to the server remotely via SSH connection.
The server already has an SSH server (we installed it via Ubuntu Server installation). Login locally (via VM) and use the following commands to update the meta database and find the server’s IP addresses:
Now you can connect to your VM using a remote terminal. Use the second IP address that was displayed by the hostname -I command on the console of your VM. If you get asked to confirm connecting to the server for the first time, enter yes. Now you have a remote connection to your server. Software update and repository setup.
For the updated version of the packages and up-to-date installed packages, use the following commands:
Now install the following packages to make your server be ready for the following labs sudo apt install sysstat memstat sl fortune cowsay tree glances htop.
Ubuntu user creation Make ready the user creation Set up the default home directory contents for new users that get created on this server. Make the following directories in /etc/skel:
Create a User
We will create a personal account to use in our labs. This personal account is your Firstname. Your account (first name) must be all lowercase as your full name can be mixed case. Use the following command to create an account:
Sudo adduser [first name, lowercase]
We need to give to created account root privilege, so we must add this account to sudo group as a member. Use the following command to do it: VM Network Connection to the Host machine In Lab 0 , you already set two virtual network cards for your Ubuntu Server. Now we will set one static connection with some VLAN interfaces.
Required Software
Install the ethtool, cockpit, nmap, ufw, and traceroute packages. You may find some of these are preinstalled on your distro.
Questions
Why do VLAN Interfaces have the same MAC address as 2nd interface?
Find out about -T and -p options.
What is ss command and “tap” option?
This COMP1071 – IT and Computer Science has been solved by our PHD Experts at My Uni Paper.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.