COMP1071 - Linux Network Administration Assignment

Download Solution Order New Solution

Assignment Task 

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.

  • Windows: you can use CMD or PowerShell. Run the ssh client and login into the server:
  • MacOS: use the macOS terminal and use the same ssh client command in above You can find the terminal app on the Mac “Utilities” menu when you click on the Applications launcher. We will be using it a lot during the semester, so you might want to choose Options->Keep In Dock from the right-click menu on the app icon in the dock.

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:

  • Sudo apt update
  • Hostname -I

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:

  • Sudo apt update
  • Sudo apt upgrade

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:

  • Bin
  • Documents
  • Downloads
  • Pictures
  • Public_html

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.

  • Sudo apt update
  • Sudo apt install ethtool cockpit nmap ufw traceroute

Questions

  1. Why do VLAN Interfaces have the same MAC address as 2nd interface?

  2. Find out about -T and -p options.

  3. What is ss command and “tap” option?

This COMP1071IT and Computer Science has been solved by our PHD Experts at My Uni Paper.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.