Open main menu

CDOT Wiki β

Changes

OPS235 Lab 1 - CentOS7

196 bytes removed, 20:30, 24 March 2015
no edit summary
'''Answer the Investigation 2 observations / questions in your lab log book.'''
==Part3: Obtaining Network Information and Performing Software Updates==
# Your system may not be automatically connected to Seneca's network. Locate the network icon (on top right-hand panel). Click on that icon, and select: '''system eth0'''
#* '''The default gateway'''
#* '''The DNS nameserver'''
#View the section below to learn about and perform an update on your fresh 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'''.#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 return to your web-browser, load a page, and when prompted, login to SeneNET. #Open a terminal and type <b><code>su</code></b> to start a shell as root. Enter the command <b><code>yum update</code></b> 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 CentOS packages, on a local web server).
'''Answer the Investigation 3 observations / questions in your lab log book.'''
= INVESTIGATION 3: LOOKING AHEAD =
==Part 1: Disable SELinuxand Perform Software Updates==
{{Admon/important|SELinuxcellpadding="15" width="100%"|SELinux stands for '''Security-Enhanced Linux'''. It is a component that helps to better secure the system to protect against intrusion (hackers). SELinux is enabled upon the default install of CentOS. SELinux can be a good thing, if you take care of it and know how it works. For this course it is strongly recommended that you '''disable SELinux by default''' because we won't have the time to reconfigure it every time the labs make it necessary.}}valign="top" |
# Disabling SELinux is quite simple, just edit the file '''/etc/selinux/config''' and set SELINUX to disabled.
#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 return to your web-browser, load a page, and when prompted, login to SeneNET.
#Open a terminal and type <b><code>su</code></b> to start a shell as root. Enter the command <b><code>yum update</code></b> 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 CentOS packages, on a local web server).
 
|width="40%" |{{Admon/important|SELinux|SELinux stands for '''Security-Enhanced Linux'''. It is a component that helps to better secure the system to protect against intrusion (hackers). SELinux is enabled upon the default install of CentOS. SELinux can be a good thing, if you take care of it and know how it works. For this course it is strongly recommended that you '''disable SELinux by default''' because we won't have the time to reconfigure it every time the labs make it necessary.}}
|}
==Part 2: Automating Routine Tasks (Shell Scripting)==
13,420
edits