Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 Linux Ecosystem and Virtual Machines ( 3 0 % ) 1 . Install on your computer one of the two virtual machine hypervisors: Oracle
Linux Ecosystem and Virtual Machines
Install on your computer one of the two virtual machine hypervisors: Oracle Virtual Box or VMware Fusion Player if you have an Apple MMM computer install VMware Fusion Player or UTM
Download an Ubuntu Server LTS iso image if you have Apple MMM computer you might need to download an Ubuntu Server LTS ARM image
Create a Linux virtual machine on the installed hypervisor with the following specifications: cores, GiB of RAM, GB virtual disk, a custom NAT network interface and a hostonly network interface. The custom NAT network interface will be used for Internet communication, while the hostonly will be used to connect the host computer to the virtual machine.
Install Ubuntu Server on the new virtual machine and configure a username and password.
Turn on the firewall, enable SSH access to the virtual machine with passwordbased authentication and open the SSH port on the firewall. Log in from a terminal, opened on the host machine, to the virtual machine using SSH
Create a publicprivate key pair on your host computer not on the virtual machine and enable passwordless authentication from the host.
Answer the following questions in your report:
Give an example of one or more commands that you can use to retrieve the total number of cores, the total amount of RAM and the total amount of disk storage on a Linux operating system. Add screenshots to the report, showing the output of the commands run inside the virtual machine that you created.
What commands did you use to enable SSH access to the virtual machine? Provide screenshots of the commands used and the output.
What commands did you use to turn on the firewall and to open the SSH port on the firewall? Provide screenshots of the commands used and the output.
What is an IP Internet Protocol address? What is a TCPUDP port? What port does SSH use by default? What IP address does your virtual machine have? What commands did you use to retrieve the IP address of your virtual machine? Provide screenshots of the commands used to retrieve the IP address of your virtual machine and the output.
What command did you use to generate a privatepublic key pair? Provide screenshots of the command used and the output.
Give an example of a set of commands that you can use to enable passwordless authentication from the host to the virtual machine. Include in the response screenshots of the commands used, the output and proof that you can log in without entering a password.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started