ICT374_Lab_1.pdf - Dashboard ICT374 Operating Systems and Systems Programming Unit Contents Topic Materials ICT374 Operating Systems and Systems

ICT374_Lab_1.pdf - Dashboard ICT374 Operating Systems and...

This preview shows page 1 - 2 out of 3 pages.

/ Topic Materials ICT374 Lab 1: Introduction to the Lab Environment; Introduction to C Programming. Learning Objectives: 1. Understand how the operating systems in the lab computers are set up and deployed, including the role of the image server and the two SSDs on each local computer in the lab. 2. Learn to deploy the required OS and boot to that OS. 3. Learn to update the OS images on the local computer. 4. Learn to use Linux terminal. 5. Understand the file hierarchy and the concepts of current directory, home directory, and associated commands such as cd , and pwd . 6. Learn to use basic Unix commands for file handling: cp , mv , mkdir and rm . 7. Learn to use the command man to view the manual pages of Unix commands. 8. Become familiar with Linux server ceto.murdoch.edu.au . 9. Learn to create simple C programs with a text editor such as vi , emacs or pico ; 10. Learn to compile C programs with gcc; 11. Learn to use the standard library functions printf , fgets , exit etc.; 12. Learn to use standard input ( stdin ), standard output ( stdout ) and standard error ( stderr ). Required Reading: Lecture Notes for Topic 1. LINUX: Rute User's Tutorial and Exposition (or just Rute for short): Chapter 4: Basic Commands. A mini manual for vi editor Access to Software: Internal students will use the lab at 245.3.063. You must bring a USB drive with you to copy your work from the lab computer. This is necessary as you cannot retain anything on any one of the lab computers. External students should install Linux on their own computers. Before completing installation of Linux on your computers, you may temporarily use the university's Linux server ceto.murdoch.edu.au for lab work until you have successfully installed the Linux on your computer. More information on how to install Linux is available from Unit Resources page. Lab Setup in 245.3.063 Each computer in the lab is equiped with two SSD drives. The first drive stores the OS images for various units. To deploy a specific OS on a lab computer, you need to copy that OS image onto the second drive and then reboot the computer to that OS. The original OS images are kept in a separate server machine. Sometimes you may find that the required OS image is not on a lab computer. In that case, you will need to retrieve the OS image from the image server to the first SSD drive of your lab computer. Remember for each computer in the lab, this operation only needs to be performed once, not every time you use the lab computer. The following instructions gives you a step-by-step guide on how to copy the required OS image from the first SSD drive to the second SSD drive and how to reboot the computer to the deployed OS. 1. Power on the the computer. Do not touch the power buttons on the two monitors - they are always switched on. Then wait for at least 2 minutes until a a list OS images appears on one of the displays. Be patient!
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read all 3 pages?

  • One '14

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture