Changes

Jump to: navigation, search

OPS235 Lab 2 - CentOS7 - SSD

13 bytes added, 15:45, 19 June 2016
no edit summary
# In the Virtual Machine Manger, click on the icon to '''Create a Virtual Machine''' in the upper-left corner:
# A window will appear with the title '''New VM'''. There are several steps to be completed:<ol type="a"><li>Select '''Local install media''' and click '''Forward'''.</li><li>Select '''Use ISO Image''', followed by the '''Browse''' button, and then the '''Browse Local''' button. Navigate to the location of the downloaded Centos7 LIVE CD image, select the image file and click '''Open'''. When finished, click '''Forward''' to proceed.</li><li>Set the memory to '''2048 MB''' and the number of CPUs to '''1'''</li><li>You will then be prompted to enter a size for the virtual machine's disk drive. Select a size of '''10 GB''' and then click '''Forward''' to proceed.</li><li>Enter the virtual machine name: '''centos1'''. Review the VM information, and click '''Finish'''.</li></ol>
<ol><li value="4">The virtual machine will boot as a '''Live User'''. This means that the Linux OS is just running temporarily. In order to install the LInux OS on your VM, double-click on the icon labelled:'''Install to Hard Drive'''.</li><li>Start timing this install.</li><li>The installation program, similar to the one used when installing CentOS in Lab 1, will appear. You basically perform the same installation operations for this VM including for '''Date & Time''', '''Network & Hostname''', and '''Installation Destination'''. Make certain to use the '''hostname''': '''<u>centos1</u>''' as opposed to ''c7host'') for this installation. (with a few slight differences).</li><li><span style="background-color:yellow;">For '''Installation Destination''', select the destination option: '''I will configure partitioning''' and then click '''Done'''. Make certain that the '''Partition Scheme''' is set to '''LVM''' and then click on the link: '''Click to Create Automatically'''. '''Done'''. Check to make certain that the root partition has file system type: '''ext4'''.</span></li><li>Accept the changes and then click '''Begin Installation'''.<ol type="a"><li>You will be required to make selections very similar to what you did in lab1.</li><li>While the system is installing, take a few minutes to record your observations (including slight differences with centos1 install as opposed to c7host install).</li><li>When the installation process is complete, note the time required to install this system and record in the installation comparison chart of your lab2 logbook.<br><br></li></ol></li><li>Power-off your Centos7 LIVE system.</li><li>You should notice that the Centos7 boot menu appears. Either press '''ENTER''' to start or wait for it to start automatically.</li><li>Finish the final steps in the setup process (like you did in lab1).</li><li>#You may want to turn off the screen-saver (like you did in Lab1): [http://zenit.senecac.on.ca/wiki/index.php/OPS235_Lab_1_-_CentOS7#Customizing_Your_Account How to Turn-off Screen Saver (lab1)]</li>
<li>Enable SSH access to your virtual machine with these commands (semi-colon allows commands to be run in sequence):<br /> <b><code><span style="color:#3366CC;font-size:1.2em;">service sshd start; chkconfig sshd on</span></code></b></li>
<li>Find out the IP address of your virtual machine and the name of your Ethernet network adaptor: <b><code><span style="color:#3366CC;font-size:1.2em;">ifconfig</span></code></b> </li>
13,420
edits

Navigation menu