Changes

Jump to: navigation, search

OPS335 Installation Lab

731 bytes removed, 16:12, 8 January 2019
m
Replacing deprecated command with current one.
# In the current version of CentOS the first time you boot your system a graphical licence prompt comes up.<br><br>
{{Admon/important |License Prompt for Older Centos7 versions|It is recommended that you use the current Centos7 version (links provided in this lab). Older Centos7 versions may require a user to accept the license agreement from a shell prompt. Below is the following instructions to enter from the command prompt:<br>'''1''' ''ENTER''<br>'''2''' ''ENTER''<br>'''c''' ''ENTER''<br>'''c''' ''ENTER''}}
<ol><li value="2">Log in and check that you have access to the internet. If you don't - you need to get the network interface to come up on boot. Edit '''/etc/sysconfig/network-scripts/ifcfg-eno1''' (the name of the interface may be different) and change '''onboot''' to '''yes'''.<ul><li>You can then use the '''ifup'''/'''ifdown''' commands to reset your network configuration or you can just reboot.</li></ul></li><li>Make certain that '''SELinux''' is '''enforcing''' for security reasons (this should be the default). To make it ''enforcing'', simply edit the '''/etc/selinux/config''' file and follow the instructions inside.</li><li>Install all updates using the '''yum update''' command.</li></ol>
<br>
 
{{Admon/important |Yum Update Hangs|If you experience yum update "hanging" around item 689 of over 1200 packages, issue the following commands:<br><source>pkill systemctl
yum clean all
yum update
</source>'''NOTE:''' Do NOT press '''&lt;ctrl&gt;c''' since it may cause your machine to cause a kernel panic when you restart your machine.}}
===Using iptables===
First, It is a good idea to make certain that your host machine has been set up correctly prior to creating your first virtual machine:
#Open a separate terminal and issue the '''ifconfigip address show''' command on your host machine to know your physical network and your virtual network. Note this information for the next few steps.
#Issue the following command to download Bash shell script to check your host machine's set-up prior to proceeding with this lab:<br>'''wget http://matrix.senecac.on.ca/~murray.saul/ops335/labcheck_install.sh'''<br>
#Assign execute permissions, and run the script to check your work:<br>
'''labcheck_install.sh'''
<ol><li value="4">Use the information from the '''ifconfigip address show''' command to correctly specify the '''physical network interface''' and the '''virtual network interface'''.</li></ol>
932
edits

Navigation menu