Docsity

ULSA-Lab2_Tmai .docx, Summaries of Network Programming

Toggle sidebar
bg1
Unix/ Linux Administration Lab 2 – Some Basic Configurations
Introduction:
Your virtual machine is a basic install of Linux. In this lab will apply a few basic
configuration settings to your VM while understanding the purpose for making these
configurations. This lab will provide very useful information if you are interested in
using this environment for your vocation.
Instructions (20 points)
Gathering information on the file system. (Please grab a screenshot of each
command listed for inclusion in your lab report)
1) The df command shows the mounted file systems and how much disk space
is free.
pf3
pf4
pf5

Partial preview of the text

Download ULSA-Lab2_Tmai .docx and more Summaries Network Programming in PDF only on Docsity!

Unix/ Linux Administration Lab 2 – Some Basic Configurations Introduction: Your virtual machine is a basic install of Linux. In this lab will apply a few basic configuration settings to your VM while understanding the purpose for making these configurations. This lab will provide very useful information if you are interested in using this environment for your vocation. Instructions (20 points) Gathering information on the file system. ( Please grab a screenshot of each command listed for inclusion in your lab report )

  1. The df command shows the mounted file systems and how much disk space is free.

2) The mount command also shows the mounted file systems including some virtual filesystems. You may need to use |more to create a complete screen capture.

4) You are now going to take a screenshot of your hosts file. It is in the /etc directory. List the commands used to navigate to that directory, followed by a screenshot of your hosts file. To test this, do the following:

  1. Navigate your terminal to the /etc directory.
  2. To edit the hosts file your need to use root access. So use sudo vi hosts, then enter your password.
  3. Below the lines associated with IPV6 add the following: 0.0.0.0 www.cnn.com
  4. Save your work and exit to the command line.
  5. Ping the following: www.weather.com and take a screenshot. The hosts file is responsible for allowance and blockage of incoming and outgoing traffic. If you do not have entries within the hosts file, traffic will be handled by the DNS servers associated with an IP or domain name. Generally, this is fine, however there are instances where a hijack may occur and a domain resolves to a malicious site. It is also here where you can block users from websites that are counterproductive to the overarching goals of the company that you
  1. Ping the following: www.cnn.com and take a screenshot. Remember, you may always use the man command to view information about system commands! Questions (5 points each) Must be in complete sentences.
  2. In our editing of the hosts files we didn’t touch upon the IPV6 entries. In your own words provide a reason for this. If you don’t know about it, don’t try to touch it
  3. Through the lens of a system administrator, explain the usefulness of the df command. Also run the command du and provide an explanation for why the du command may be more helpful when negotiating storage upgrades to the system.
  • Use the df command to display information about total space and available space on a file system.
  • The du command shows the estimated disk space used by files and directories.