Changes

Jump to: navigation, search

OPS235 Lab 2 19

3,395 bytes added, 12:30, 24 September 2018
no edit summary
[[Category:OPS235]][[Category:OPS235 Labs]]
{{Admon/caution|THIS IS AN OLD VERSION OF THE LAB|'''This is an archived version. Do not use this in your OPS235 course.'''}}
 
= Fedora 19 Installation Methods (on Virtual Machines: fedora1, fedora2, fedora3) =
<ol>
<li value="11">When you have completed your installation, click the '''Quit''' button. You should return to the Fedora Live desktop. </li>
<li>Shutdown the Fedora Live session by clicking on the '''Live User''' button (at the top right-hand corner) and select '''Power Off''', and confirm that you want to power-off.It is a good idea to be patient! Sometimes it may take a few minutes for shut-down!</li>
</ol>
{{Admon/tip|Virtual Machine Fails to Shutdown.| You should shut down the VM normally as you would shutdown any operating system. If your VM does NOT shutdown normally, you can select from the Virtual Machine Manager window: '''Virtual Machine''' -> '''Shutdown''' -> '''Force ShutdownOff'''.|
}}
<li value="23">Make certain that you remove your Fedora19 Live DVD from your DVD drive. From your ''Virtual Machine Manager'' window, start your '''fedora1''' virtual machine (remember to press the '''Play''' button to start the VM).</li>
<li>Log into your '''fedora1''' VM as a regular user (you created during the installation process).</li>
<li>Upon first log-in, set your Gnome preferences (you are NOT required to set-up a cloud account for this course).</li>
<li>Open a terminal (shell), and log into '''root'''.</li>
<li>Change your '''host name''' to '''fedora1''' (refer to your [[OPS235 Lab 1]] notes).</li>
<li>Compare the installation time to the amount of time it took to do this type of installation. Record this information in the '''table contained in Investigation 4'''.</li>
 
</ol>
 
{{Admon/note|Network / Service Considerations|Please perform the tasks below in order allow these Fedora systems to be able to communicate with each other. '''Failure to properly perform these operations can cause problems in future labs'''.|
* '''Boot media:''' Network installation
* '''Installation source:''' http://belmont.senecac.on.ca/fedora/releases/19/Fedora/x86_64/os/
* '''Memory:''' 768MB1024MB* '''Disk space:''' 15GB20GB
* '''CPUs:''' 1
# Create the VM (called '''fedora2''') as you did with the ''fedora1'' virtual machine, except:
#* In '''step 1 of 5''', set the installation type to '''Network Install (HTTP, FTP, or NFS)'''.
#* In '''step 2 of 5''', provide the location of the software source by providing the URL http://belmont.senecac.on.ca/fedora/releases/19/Fedora/x86_64/os/. Select the system to automatically detect OS type and version. Did it work? If it didn't work, you can move backwards to a previous screen and then manually select the appropriate OS type and Linux version.#* In '''step 2 3 of 5''', set select the appropriate RAM.#* In ''OS Type'step 4 of 5''' , set the hard-drive space to '''Linux20GB'''(<u>NOT</u> 15 GB!)#* In '' and 'step 5 of 5'Version'' to , review the settings, and click '''Fedora 19Finish'''.
# Observe the boot process. How is it different from booting from an optical disc (DVD)?
# Start the installation process (make certain to use information in the ''VM Details'' section above).
# When Complete the '''Installation Summary''' sections (Date and Time, Installation Destinatation) like you get to did in the fedora1 install, except in the disk '''partitioning ''' step, select '''Use All Space''' and enable the checkbox labelled '''Review and modify partition layout'''.If an dialog box displays a permissions problemAllow the installation program to automatically create the partitions, then click yes but we will be making changes to proceedthe partition sizes. # On the next screen, change the logical volumes as follows:#* Reduce Select the logical volume (partition) '''root''' (i.e. '''/''' ), and reduce the size of the root LV to '''8000 MB10 GB''', then click '''Update Settings'''.#* Click the '''plus sign''' (i.e. '''Add +''') to <u>add</u> a logical volume with a size of 2000 MB and a mountpoint of called '''/home''' (you can name it whatever you want, and use with a size of '''ext42 GB''' . Note that you can make changes to other items (such as the file-system typelike ext4), but you are not required to do this for this lab.# On Review your changes, click '''Done''', click '''Accept Changes''' to return to the software selection screen, select '''Graphical DesktopInstallation Summary'''.# Make certain that Software Selection is set to '''Gnome Desktop'''On .# Complete the same screeninstallation, select the "Fedora 19 - x86_64" and the "Fedora 19 - x86_64 - Updates". Leave "Installation Repo" selected. set a ''root password'DO NOT'and at least ' enable the "Test Updates" repository'one regular user''account.# Complete Click '''Reboot''' to restart the system. Note: be patient for the installationreboot process! (Force a Virtual Machine shutdown only if absolutely necessary). # Record the time taken to install, and compare this to the time taken by the previous installations.# What was different with your fedora2 install (upon completion) that was different than your fedora1 install? What was similar?# Record this information in the '''table contained in Investigation 4'''.  {{Admon/tip|Adding Repositories|Repositories are online resources that contain operating system programs, application programs, was well as updates (patches). Although you have the basic repositories for Fedora19, you can add other repositories as well for "cutting-edge" programs or special applications that may not be available via the regular repositories.|}} <ol><li value="13">Turn the screen lock feature of in your fedora2 VM by selecting '''Activities''', typing '''settings''', and clicking the system settings icon. Click the Privacy icon, and switch '''lock screen''' from '''ON''' to '''OFF'''. After changing the settings, close the system settings window.</li><li>To add the RPM FUSION repository issue the following command (you can copy and paste to a shell in your fedora2 VM):<br />su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'</li><li>You will be required to enter your root password.</li> </ol><ol><li value="16">Proceed to Investigation 3.</li></ol> 
'''Answer the Investigation 2 observations / questions in your lab log book.'''
* '''Boot media:''' Network installation
* '''Installation source:''' http://belmont.senecac.on.ca/fedora/releases/19/Fedora/x86_64/os/
* '''Kickstart location:''' http://wwwmatrix.drivehqsenecac.com/fileon.ca/df~murray.aspx/shareID10606286/fileID1269952040saul/Fedora19murray-kickstart.cfg* '''Memory:''' 768MB1024MB* '''Disk space:''' 10GB15GB
* '''CPUs:''' 1
==== Steps ====
# Create the VM as you did with the ''<u>'''fedora2'' virtual machine, specifying a network install as before, except:'</u>'' Virtual Machine.#* In '''step 2 of 5''', after entering use the same URL for the installation source, click on ''Installation Source''. Click to expand the '''URL Options''' control.#* Enter and enter the '''Kickstart ''' URL: http://wwwmatrix.drivehqsenecac.on.com/fileca/df~murray.aspx/shareID10606286/fileID1269952040saul/Fedora19murray-kickstart.cfg . Make certain to select the option for the kick-start file to determine the OS type and version and click '''Forward'''.# Specify the RAM amount (1024 MB) and Hard Disk space (15GB) and proceed to next screen.# Verify the installation settings, and then click '''Finish'''.# Observe the installation. Accept default questions, and ignore errors (such as user account error). How is it different from booting from an optical disc (DVD)? What is the purpose of the '''kickstart''' file?
# Complete the installation. Record the time taken to install, and compare this to the time taken by the previous installations.
# What happens when the installation is finished?# '''If installation is finished, but nothing happens when you click the "reboot" button, then force a shutdown'''.# Take a look at the '''kickstart ''' file by clicking on the link in a web-browser (using the URL you entered) and search for "'''password'''" (you may have to <u>determine</u> search for this pattern a couple of times). Determine the '''root password ''' as well as the name '''regular username and password ''' for the first user account'''.# Boot the virtual machine and log in (use the user ID and password information from the previous step). Compare the experience to the first time you booted the other virtual machines.# You can shutdown your text-based fedora3 VM by issuing the following Linux command (as root): <code>'''shutdown'''</code> or <code>'''halt'''</code>. Try to wait a least 2 minutes to see if the VM complete shuts-down. Only force a shutdown if absolutely necessary.# Why do you think you have installed both graphical and text-based VMs for this course?# Record this information in the '''table contained in Investigation 4'''.
'''Answer the Investigation 3 observations / questions in your lab log book.'''

Navigation menu