Open main menu

CDOT Wiki β

Changes

OPS235 Lab 1 - CentOS7

242 bytes added, 15:15, 31 March 2015
no edit summary
#Issue the command <b><code><span style="color:#3366CC;font-size:1.3em;">su </span></code></b> Issue the '''pwd''' and '''whoami''' commands to confirm your directory pathname. When finished logout of this account.
#Issue the command <b><code><span style="color:#3366CC;font-size:1.3em;">su - </span></code></b> Issue the '''pwd''' and '''whoami''' commands to confirm your directory pathname. Remain in this account for the remainder of this lab.
# An installation log file called <b><code><span style="color:#3366CC;font-size:1.2em;">/var/log/anaconda/anaconda.packaging.log</span></code></b> has been created to record the installation of your c7host machine. This file is an ASCII file which can be viewed with the <b><code>'''<span style="color:#3366CC;font-size:1.2em;">more'''</span></code></b> command.
# You can make use of this file to determine how many packages have been installed: complete the following command to count the number of packages that are labelled "Installing" in the installation log file:
:: <b><code><span style="color:#3366CC;font-size:1.2em;">grep ________________ ________________ | wc -l'''</span></code></b>
# Make certain to log out of your root account and remain as a regular user.
# Open a Shell terminal and use a text editor (such as '''<b><code><span style="color:#3366CC;font-size:1.2em;">vi''' </span></code></b> or '''<b><code><span style="color:#3366CC;font-size:1.2em;">nano'''</span></code></b>) to create a Bash Shell script called: '''<span style="color:#3366CC;font-size:1.2em;">report.bash''' </span></code></b> in your current directory.
# Enter the following text content into your text-editing session:
13,420
edits