Open main menu

CDOT Wiki β

Changes

OPS235 Lab 1 - CentOS6

No change in size, 14:09, 30 December 2013
no edit summary
==Investigation 2: How many file packages and files are installed on the system?==
For the rest of the tasks in this lab, you must login to your installed Fedora CentOS system using your regular user account (not root), open a terminal and execute the following listed Linux commands to obtain information for your lab-logbook (lab1). If you get a Permission Denied message when trying to execute a command, then switch to the '''superuser''' account by running the command '''su -''' and type in your password for "root" (which you know since you are the main administrator for your system). Once the intended command is executed, type "exit" to exit from the superuser account and return to your regular user account.
{{Admon/important|Using Superuser Privilege|Throughout this course, you may need to execute commands using the privileges of the the administrative user (username "root", also called the "superuser"). To switch from your account to the root account, type the command: <code>su</code>
Navigate through your Graphical Fedora CentOS system, '''locate and run a terminal program (in order to issue Linux commands). Issue and record the commands used and the output generated in each of the following steps:'''
# The name of the installation log file is <code>'''/root/install.log'''</code> -- It is an ASCII file (how can you be sure?) which can be viewed with the <code>'''less'''</code> command.
<ol>
<li value="13">Copy the installation log file <code>'''/root/install.log'''</code> and the file '''ps.lst''' to a USB memory key, or '''scp''' to your matrix account as a backup.</li>
<li>View the section below to learn about and perform an update on your fresh Fedora CentOS install (you may have to find spare time to perform this install if you are running short on lab time). '''Do <u>not</u> proceed to Investigation 3 without performing an update'''.</li><li>The CentOS software is updated frequently to add features, fix bugs, and upgrade security. Perform a system update to get the latest versions of the packages installed: Start the Firefox web browser, turn off popup window blocking (select ''Edit>Preferences'', then select the Content tab and uncheck the box to Block Popups), then login to SeneNET. Open a terminal and type <code>su</code> to start a shell as root. Enter the command <code>yum update</code> This will download and install all of the packages that have been updated since the installation DVD image was created. If you complete this command at Seneca it should run quite fast as Seneca College hosts a CentOS Repository mirror (a copy of all of the current fedora CentOS packages, on a local web server).</li>
</ol>
'''Check off the following items before asking your instructor to check your lab:'''
* '''Task 1''' - Install Linux Workstation using Fedora CentOS
* '''Task 2''' - Collect system information after installation.
* '''Task 3''' - Update CentOS