Preparing for Lab 1
Thinking Ahead
Bring Required Materials to Class
- Come prepared for labs:
- Removable SATA Drive ( min 250 GB )
- USB Stick ( min 8 GB )
- CENTOS 7 Full INSTALL DVD
- Lab 1 Logbook (Instructor can't sign-off lab without seeing lab-book notes)
- Access to Lab Instructions: printout, notebook, netbook, smartphone
Notes / Warnings
- Failure to properly following lab instructions may result in re-doing lab again!
- Hard Disk partitions are simply smaller logical storage units (containers) within a hard disk
- Advantages of Hard Disk Partitions
- Separation of operating system files from data (easier recovery)
- Allows for booting multiple operating systems
- Separation of Data for efficient access and sharing
- Make certain to create the correct partitions (Have instructor or lab monitor confirm before proceeding with install):
- Primary Partitions (ext4):
- 30GB for / (i.e. "root")
- 40GB for /home
- 100GB for /var/lib/libvirt/images (need to manually enter this "mount-point")
- Swap Partition:
- 16GB (Note: "swap" must be selected from the drop down menu)
- NOTE: Remember that the sizes are recorded in MB (eg. 30 GB = 30000 MB) and you should multiply GB by a factor of 1024 to get the correct size.
(eg. 30 GB x 1024 = 30720 MB)
- NOTE: Remember that the sizes are recorded in MB (eg. 30 GB = 30000 MB) and you should multiply GB by a factor of 1024 to get the correct size.
Preparing for Lab Sign-Off
- In order to properly complete your lab and move to the next lab, you must have your instructor "sign-off" on your lab
- Each "signed-off" lab (before due date) is worth 1% of your final grade.
- Signing-off on labs help to spot errors that can cause problems with future labs.
- Do you ask the instructor what to check for! Read at the bottom of the lab the requirements, and have all proof available for instructor to view at same time.
- Failing to be prepared and asking instructor what to check when assignment is mark will result in deduct of marks!
- For example, open multiple terminals with command results. If properly set-up ahead of sign-off, the process should only take instructor approx 20 seconds to sign-off your lab.
- If you do not have your lab-logbook, you MUST show your work and your lab log-book to your instructor for sign-off in the next class. This may cause a late penalty if past the required due date.
Lab 1 Debrief
- How many packages were installed?
- How many files (correct to the nearest hundred) were installed?
- How many users were created automatically on your system (regular, admin)?
- List 3 ways that you can access your root account
- What is the difference between the commands su and su - ?
- What is the home directory for the user "root"?
- How do you determine the host name of your GNU/Linux workstation?
- What command can display the NIC's MAC address?
- What command is used to get a list of running processes on your newly-installed system?
- What is the command to copy files to your USB key?
- How can Shell Scripts be used to help automate a task performed in lab1?