OPS335 Installation Lab

From CDOT Wiki
Revision as of 13:04, 4 January 2012 by Paul.W (talk | contribs) (Instructions)
Jump to: navigation, search

Installation of Fedora 16

Objectives

  • Install Fedora 16
  • Prepare for lab exercises.

Required materials

  • Fedora 13 Live CD
  • One SATA hard disk in a removable drive tray (minimum 160GB)
  • Recommended - USB drive (8 GB+) for creating and storing backups (Virtual Machines, configuration files)

Instructions

  1. Download a copy of Fedora 16 Live CD 64 bit edition from FedoraProject.Org web site or burn the CD using Seneca's Freedom Toaster which is located in the Open Lab on the 2nd floor of the TEL building. Note: we'll be using the 64 bit version of Fedora otherwise known as x86_64 Fedora because all of our lab computers are equiped with Intel 64 bit mainboards and CPUs. Also, we'll be using the Live CD for installation because it's much simpiler and quicker to install a basic Fedora Linux system on a hard drive. Finally, if you're going to burn your CD using the Freedom Toaster then be sure to use a blank CD-R disk. For some reason CD+R disks sometimes fail to burn successfully.
  1. Purchase a SATA (Serial Advanced Technology Attachment) removable HDD (Hard Disk Drive) with a minimum of 160 GB capacity from Seneca's bookstore located on the first floor of the SEQ building. I strongly recommend you use this disk drive exclusively for this course. If another course requires a similar HDD you should purchase a separate one and not attempt to use one disk drive for both courses.
  2. Insert your HDD into the docking bay of a PC in the lab and boot the computer using your Fedora Live CD. If possible try to use the same PC for this course for the rest of the semester. Some PCs may be configured with slight hardware variations from others which may cause problems when moving your HDD from one system to another.
  3. Once Fedora has loaded, start Firefox and ensure the network is functioning. You will need to authenticate yourself with your LEARN user name and password before Internet access is allowed to the outside world.
  4. Open a terminal window, switch to root using 'su' and use the 'ifconfig' command to view your assigned IP address.
  5. Still in the terminal window use the 'fdisk -l' command to ensure your HDD is available for use.
  6. If you're satisfied that your Fedora Live system is functioning properly, double click on the INSTALL icon to begin the installation of Fedora 16 onto your HDD. --#Perform your installation following these guidelines:
    • wherever possible select the default options
    • set Toronto as your time zone
    • let Fedora configure your whole disk
    • set the root password
    • create a user named with your learn ID
  7. After completing phase I of the installation, remove the Live CD and reboot from your HDD to complete phase II of the installation.
  8. Login as the user you created and open a terminal window. Then use 'su' to become root and run the 'yum update' command. Logout when done. Note, you may have to reboot after all updates have completed. Now that your system is up to date, again login using your learnid and do the following:
    • Verify that your system date and time are correct. If not then set the correct system date and time.
    • Verify that your network is functioning.
    • Run and record the output of the 'df -hT' command.
    • Run and record the output of the 'cat /etc/fstab' command.
    • Run and record the output of the 'cat /etc/issue' command.
    • Run and record the output of the 'uname -a' command.

At this point you have a basic Fedora 16 installed and updated. All the rest of our labs will assume you have this basic system running. If, for any reason, your system becomes corrupted during the semester, you'll have to redo this lab to be able to continue with the remaining uncompleted labs. You are responsible for YOUR system. If you do not perform back-ups you have taken this risk on yourself. Poor planning on your part does not constitute and emergency for anyone else.

Important.png
Live disc installations and system-config-network
The fedora host was installed from Live CD. It is missing the GUI Network Configuration tool we will be using.
Important.png
Unbind your MAC address
Before moving your disk pack to another system, unbind your MAC address.
Important.png
Disable SELinux
It is often recommended that you disable SELinux for this lab and future labs.

vi /etc/selinux/config

Edit SELINUX= to show disabled

Restart your machine.

Completing the Lab

Answer the following questions and and email them to your teacher in ASCII text format. Be sure to follow your teacher's guidelines for submitting labs. These guidelines are posted on his web page.

  1. What is your full name and nine digit Seneca student ID?
  2. What is the code name of this Fedora Linux system?
  3. What kernel release is your system running?
  4. What is the UUID (Universally Unique Identifier) of your root file system?
  5. What is the size and type of your /boot file system?