Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - CentOS7

116 bytes removed, 15:58, 4 May 2015
no edit summary
# Use the <b><code><span style="color:#3366CC;font-size:1.2em;">hostname</span></code></b> and <b><code><span style="color:#3366CC;font-size:1.2em;">ifconfig</span></code></b> commands on your c7host machine and all of your 3 VM's to gather the information needed to configure the '''/etc/hosts''' file on all of your Linux systems.
# Edit the '''/etc/hosts''' file on <u>each</u> of the '''virtual machines and host machine'''. Refer to the table below for information to enter in the '''/etc/hosts''' file.
  {|class="collapsible" style="background#:: #c0c0c0" width="50%"!Sample /etc/hosts file|-|<pre># hostname centos1 added to /etc/hosts by anaconda#::127.0.0.1 localhost.localdomain localhost centos1#::1 &#59 localhost6.localdomain6 localhost6 centos1<br><br> #::192.168.235.1 c6hostc7host#::192.168.235.11 centos1#::192.168.235.12 centos2#::192.168.235.13 centos3</pre>|}  <ol> <li value="4">#Confirm that each host can ping all three of the other hosts by name.</li></ol>
'''Answer Part 1 observations / questions in your lab log book.'''
13,420
edits