Download presentation
Presentation is loading. Please wait.
Published byBrice Burke Modified over 9 years ago
1
System Administration
2
Computer Center, CS, NCTU 2 What System Administrator Should do? (1) Ordinary list Install new system, programs and OS updates Monitoring system and trying to Tune performance Adding and removing users Adding and removing hardware Backup and Restore Security
3
Computer Center, CS, NCTU 3 What System Administrator Should do? (2) Non-technique list Helping users Maintaining documentation Moving furniture Burning your liver Good communication and memorization
4
Computer Center, CS, NCTU 4 What System Administrator Should do? (3) The best words to describe the job Thankless job. http://www.sysadminday.com/ System administration is like keeping the trains on time; no one notices except when they’re late. 氣象局:「我們對的時候,沒人記得;我們錯的時候,沒人忘 記。」 Philosophy of system administration Know how things really work. Plan it before you do it. Make it reversible Make changes incrementally. Test before you unleash it.
5
Computer Center, CS, NCTU 5 What System Administrator Should do? (4) Flow of Change
6
Computer Center, CS, NCTU 6 What you can learn in this course? Mostly, the skill to be a candidate of system administrator Secondary, information about CS computer center System Admin / Network Admin ? Play with computers What FreeBSD can do. 資安學程 http://isc.cs.nctu.edu.tw/
7
Computer Center, CS, NCTU 7 Attitude Attend every class Do every exercise As early as possible On your own Read book and practice at least 6 hours every week Recommend: more than 1.5 hours/day averagely. Collect information on the internet
8
Computer Center, CS, NCTU 8 Syllabus Website: http://www.cs.nctu.edu.tw/~liuyh/course/sysadm/ Instructors: 劉用翔 liuyh@cs.nctu.edu.tw 蔡佳宏 chiahung@cs.nctu.edu.tw 翁綜禧 chwong@cs.nctu.edu.tw Time: Tue. IJK (PM 6:30 ~ 9:20) Place: EC115 TAs: We might get about 3~4 TAs. Email to TAs: (TBA) Textbook: UNIX System Administration Handbook," 3rd ed.
9
Computer Center, CS, NCTU 9 Syllabus – Content We will cover the following chapters in this semester (SysAdm): Chapter 1 ~ 12 Chapter 13, 17, 18, 23, 26 Shell Programming The following chapters is covered in the next semester (NetAdm): Chapter 14, 15, 16, 19, 20, 22 News Server SNMP Perl Programming
10
Computer Center, CS, NCTU 10 Syllabus – Text book outline Chap 1 – Where to start. Chap 2 – Booting and shutting down Chap 3 – Rootly powers Chap 4 – Controlling processes Chap 5 – The Filesystem Chap 6 – Adding new users Chap 7 – Serial device Chap 8 – Adding a disk Chap 9 – Periodic process Chap 10 – Backups Chap 11 – Syslog and log files Chap 12 – Drivers and the kernel Chap 13 – TCP/IP Networking Chap 14 – Routing Chap 15 – Network hardware Chap 16 – The domain name system Chap 17 – The network file system Chap 18 – Sharing system files Chap 19 – Electronic mail Chap 20 – Network management and debugging Chap 21 – security Chap 22 – Web hosting and internet servers Chap 23 – Printing Chap 24 – Maintenance and environment Chap 25 – Performance analysis Chap 26 – Cooperating with Windows.
11
Computer Center, CS, NCTU 11 Syllabus – Grade Policy Mid 15 ~ 20% Final 15 ~ 20% Exercise (Homeworks) 60 ~ 70% No Delay Work 4 exercises 1 term project
12
Computer Center, CS, NCTU 12 What you should prepare? Background knowledge Basic of TCP/IP Networking (not required) Environment One dedicated PC Or two OS in your PC. One extra IP Yourself Your hard study
13
Computer Center, CS, NCTU 13 Finally, Am I OK to take this course? Are you willing to devote yourself to exercise? Yes! Please come Are you newbie in this area? Yes!? It’s ok, Please come Do you take more than 3 major courses? Yes!??? It is quite dangerous, but I can not stop uIt is quite dangerous
14
Basic knowledge in this course
15
Computer Center, CS, NCTU 15 Login SSH (Secure Shell) PuTTY: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Chinese Environment: http://www.cs.nctu.edu.tw/help/putty.html http://www.cs.nctu.edu.tw/help/putty.html
16
Computer Center, CS, NCTU 16 Commands Useful commands passwd, chsh, chfn, chpass ls ps, top mkdir/rmdir cp/mv/rm write Email reader: mutt, …etc. News reader: tin Connecting: ssh/telnet Manual: man, info, …etc. Editor: vim, joe, ee, …etc. File Transmittion: ftp, ncftp, lftp, scp, wget, curl, …etc. Compilers: gcc, g++, javac, …etc. Scripting: perl, php, ruby, python …etc. login/exit/logout/screen
17
Computer Center, CS, NCTU 17 Conventions Syntax of commands: Anything between “[” & “]” – are optional. Anything followed by “…” – can be repeated. {a | b} – you should choose one of them. Example: bork [-x] { on | off } filename … bork on /etc/hosts ○ bork –x off /etc/hosts /etc/passwd ○ bork –x /etc/hosts X bork -h /etc/hosts X Globing characters “*” matches zero or more characters. “?” match one character. “~” (twiddle) means home directory “~user” means home directory of user
18
Computer Center, CS, NCTU 18 man pages (manual) man pages (manual) Contain descriptions of Individual command. –% man cp File format. –% man rc.local Library routines. –% man strcpy
19
Computer Center, CS, NCTU 19 man command Command % man [section] title (BSD) % man printf(printf command) % man 3 printf (C Standard printf func.) % man –k exit(keyword search) Man pages organization AT&TBSDContents 11 User-Level commands and applications 22 System calls and kernel error code 33 Library calls 45 Standard file format 57 Miscellaneous files and documents 66 Games and demonstrations 74 Device Drivers and network protocols 1m8 System administration commands 99 Obscure kernel specs and interfaces %man man
20
Computer Center, CS, NCTU 20 Q&A Break time.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.