Presentation is loading. Please wait.

Presentation is loading. Please wait.

COMP Introduction to Operating Systems Project 1 – Installing CentOS

Similar presentations


Presentation on theme: "COMP Introduction to Operating Systems Project 1 – Installing CentOS"— Presentation transcript:

1 Auburn University http://www.eng.auburn.edu/~xqin
COMP Introduction to Operating Systems Project 1 – Installing CentOS Dr. Xiao Qin Auburn University We install CentOS 6.5 Current CentOS 7 Aug. 2015

2 Please pick up your CentOS CD for your group from Dr. Qin now

3 One week to achieve the above three objectives!
Project Objectives Prepare a Linux operating system for your COMP3500 projects Get to know your computer in Shelby 2129 and the CentOS operating system Learn basic Linux commands One week to achieve the above three objectives!

4 Important Notice You can only use the PC assigned to your group in the OS laboratory (Shelby 2129). The minimum penalty for using other groups’ PCs is 30 points.

5 Install CentOS Insert your CD and reboot the system Choose install.
Choose “Basic Storage Devices” for the device and “Use All Space” for the partition. Reboot the computer Do “yum -y update” to update all the packages. You need to be the root to do this. The Yellowdog Updater, Modified(yum) is an open-source command-line package-management utility forLinux operating systems using theRPM Package Manager. Written in Python build on RPM Package Manager (RPM) (originally Red Hat Package Manager;

6 Tool 1: the script command
You to save a session of your Linux terminal. A typescript of everything that happens. $ script $Script started, file is typescript $ cd $ ls file1 file2 file3 $ exit exit Script done, file is typescript Teach students how to take notes.

7 Tool 1: the script command
$ script sample.script $Script started, file is typescript $ cd $ ls file1 file2 file3 $ exit exit Script done, file is sample.script Teach students how to take notes.

8 Tool 2: more Displays text One screen at a time. #more /proc/cpuinfo
#more /proc/meminfo Teach students how to take notes.

9 Tool 3: gcc , the compiler # gcc –v # gcc –g -o simple simple.c
Teach students how to take notes.

10 Tool 4: CVS (Concurrent Versions System)
Source code version control system To merge multiple programmers' modifications To detecting conflicts when merges fail Teach students how to take notes.

11 Tool 4: CVS (Cont.) Create CVS repository directory
%cvs –d ~/cs161/cvsroot Set your CVSROOT environment variable %export CVSROOT=~/cs161/cvsroot Start CVS %cvs init Import your source tree %cd ~/cs161/os161 %cvs import -m "Import of os161" src os161 os161-1_10 Teach students how to take notes.

12 Tool 4: CVS (Cont.) Delete your os161 source tree %cd .. Checkout now
%rm -rf os161 Checkout now % cd ~/cs161 % cvs checkout src Teach students how to take notes.


Download ppt "COMP Introduction to Operating Systems Project 1 – Installing CentOS"

Similar presentations


Ads by Google