SYA710 Lab
SYA710 Lab #0
Focus: Using Valt-X Data Recovery PCs in Lab T2107
PART A: Perform the following steps:
- Power on your PC and boot up UbuntuHH Test and login as 'joker' with password 'seneca99'.
- Open a shell (terminal) and enter this command:
sudo fdisk -l - Write down the output in the previous step - you'll need it in PART B.
- Power off the machine by holding down the power button for several seconds or until the machine powers off.
- Power on the PC and start up Fedora 8 Test.
- Login to Fedora 8 Test as user 'joker' with password 'seneca99'.
- Open a shell (terminal) and enter these commands:
su -
fdisk -l - Write down the output in the previous step - you'll need it in PART B.
- Now use the fdisk command and delete the entire partition table.
- Enter the following command:
partprobe - Power off the machine by holding down the power button for several seconds or until the machine powers off.
- Power on the PC and start up Fedora 8 Test.
- Login to Fedora 8 Test as user 'joker' with password 'seneca99'.
- Repeat steps 7 and 8.
- Start up Firefox and authenticate yourself by visiting http://senecanet2.senecac.on.ca and entering your LEARN user name and password.
- Browse the web to ensure you have an outside connection.
- 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.
- 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. - Use ssh to login to your MATRIX account.
- Check (on MATRIX) that your lab answer file (lab00.txt) is there. Use the ls command.
- 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 - Logout of your MATRIX account.
- 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.
- What is your full name?
- What is the output in steps 3 and 8?
- What is the purpose of the sudo command?
- What is the purpose of the minus sign (-) when using the su command?
- Explain how you deleted the partition table with fdisk.
- What is the purpose of the partprobe command?
- Write the complete mail command you would use to email a copy of lab00 to your LEARN account from MATRIX.
- 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:
- A paragraph or two commenting on the technology used in this lab - both hardware and software.
- Alternative/competing technologies if there are any.
- What you learned.
- How could this lab be improved?
- etc.