SYA710 Lab

From CDOT Wiki
Jump to: navigation, search

SYA710 Lab #0

Focus: Using Valt-X Data Recovery PCs in Lab T2107

PART A: Perform the following steps:

  1. Power on your PC and boot up UbuntuHH Test and login as 'joker' with password 'seneca99'.
  2. Open a shell (terminal) and enter this command:
           sudo fdisk -l
  3. Write down the output in the previous step - you'll need it in PART B.
  4. Power off the machine by holding down the power button for several seconds or until the machine powers off.
  5. Power on the PC and start up Fedora 8 Test.
  6. Login to Fedora 8 Test as user 'joker' with password 'seneca99'.
  7. Open a shell (terminal) and enter these commands:
           su -
           fdisk -l
  8. Write down the output in the previous step - you'll need it in PART B.
  9. Now use the fdisk command and delete the entire partition table.
  10. Enter the following command:
          partprobe
  11. Power off the machine by holding down the power button for several seconds or until the machine powers off.
  12. Power on the PC and start up Fedora 8 Test.
  13. Login to Fedora 8 Test as user 'joker' with password 'seneca99'.
  14. Repeat steps 7 and 8.
  15. Start up Firefox and authenticate yourself by visiting http://senecanet2.senecac.on.ca and entering your LEARN user name and password.
  16. Browse the web to ensure you have an outside connection.
  17. Open a shell (terminal) and use the vi editor to edit a file named 'lab00.txt'. Enter your answers to PART B into this file and then save it and exit vi.
  18. Copy the file to your MATRIX account with the following command:
           scp lab00.txt XXXXXX@matrix.senecac.on.ca:
    where XXXXXX is your MATRIX account user name.
  19. Use ssh to login to your MATRIX account.
  20. Check (on MATRIX) that your lab answer file (lab00.txt) is there. Use the ls command.
  21. While still on MATRIX email your lab answers to your teacher. Use this command:
           mail -s "sya710-lab00" john.selmys@senecac.on.ca < lab00.txt
  22. Logout of your MATRIX account.
  23. Power off the machine by holding down the power button for several seconds or until the machine powers off.

PART B: Answer the following questions and email them to your teacher when done.

  1. What is your full name?
  2. What is the output in steps 3 and 8?
  3. What is the purpose of the sudo command?
  4. What is the purpose of the minus sign (-) when using the su command?
  5. Explain how you deleted the partition table with fdisk.
  6. What is the purpose of the partprobe command?
  7. Write the complete mail command you would use to email a copy of lab00 to your LEARN account from MATRIX.
  8. What is the function of the -s option to the mail command?

PART C: Write a blog about this lab.

Some things to consider might include:

  1. A paragraph or two commenting on the technology used in this lab - both hardware and software.
  2. Alternative/competing technologies if there are any.
  3. What you learned.
  4. How could this lab be improved?
  5. etc.