System Administration. Computer Center, CS, NCTU 2 What System Administrator Should do? (1)  Ordinary list Install new system, programs and OS updates.

Slides:



Advertisements
Similar presentations
CMSC 104, Section 301, Fall Lecture 01, 8/28/02 CMSC 104 Course Information Instructor: Dr. Li-Chuan Chen Emai: Work Phone:
Advertisements

ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!
CSCI 1411 FUNDAMENTALS OF COMPUTING LAB Lab Introduction 1 Shane Transue MSCS.
UNIX Introduction. Computer Center, CS, NCTU 2 UNIX History (1)  Before Multics there was chaos, and afterwards, too Multics:  Multiplexed information.
Introduction to Course Content. Computer Center, CS, NCTU 2 Outline  What SA Should do.  What You can expect to learn from this course.  What attitude.
1617: Computer Network Management 計算機網路管理. Computer Center, CS, NCTU 2 Syllabus – Course  Instructor 翁綜禧 
COMP 110 Introduction to Programming Mr. Joshua Stough August 22, 2007 Monday/Wednesday/Friday 3:00-4:15 Gardner Hall 307.
Spring 2007Introduction to OS1 IT 3423: Operating System Concepts and Administration Instructor: Wayne (Weizheng) Zhou
Lecture 01CS311 – Operating Systems 1 1 CS311 – Lecture 01 Outline Course introduction Setting up your system Logging onto the servers at OSU with ssh.
CMPE 151: Network Administration Spring Class Description Focus: system and network administration. Sequence of exercises. E.g., installing/configuring.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
COP4020/CGS5426 Programming languages Syllabus. Instructor Xin Yuan Office: 168 LOV Office hours: T, H 10:00am – 11:30am Class website:
1 Web Server Administration Chapter 3 Installing the Server.
1 TAC2000/ IP Telephony Lab Advanced Linux Administration Language: Offered in English Instructor: Dr. Quincy Wu (
System Administration. Computer Center, CS, NCTU 2 What System Administrator Should do? (1)  Ordinary list Install new system, programs and OS updates.
Course Overview Sarah Diesburg  Bobby Roy COP 5641 / CIS 4930.
Unix Basics Chapter 4.
Review Security Hardening IPTables SELinux. Today Installations and updates – Rpm command and packages Apache “Issue Ownership”
TELE 301 Lecture 10: Scheduled … 1 Overview Last Lecture –Post installation This Lecture –Scheduled tasks and log management Next Lecture –DNS –Readings:
FreeBSD huanghs. Computer Center, CS, NCTU 2 Outline  FreeBSD version 9.0-RELEASE 9.1-RC1  Installing FreeBSD From CD-ROM From USB.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
CS 390 Unix Programming Environment Summer Suchindra Rengan - CS3902 Course Details Instructors Suchindra Rengan – ‘sachin’ ( Section 001)
COP3502: Introduction to Computer Science Yashas Shankar.
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
Course Information Sarah Diesburg Operating Systems COP 4610.
Course Information Andy Wang Operating Systems COP 4610 / CGS 5765.
Chapter 0 A “Quick-Start” into the UNIX Operating System.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
UNIX Introduction. Computer Center, CS, NCTU 2 UNIX History  Before Multics there was chaos, and afterwards, too Multics:  Multiplexed information and.
CIT 383: Administrative ScriptingSlide #1 CIT 383: Administrative Scripting Introduction.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
Creating Programs on UNIX This term you can create programs on UNIX or you can create programs using a C++ compiler on your PC. This set of slides steps.
 Before Multics there was chaos, and afterwards, too › Multics:  Multiplexed information and Computing Service  1965 ~ 1969  Bell labs, GE, MIT 
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Course Overview Mark Stanovich COP 5641 / CIS 4930.
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
CS 245 – Part 1 Using Operating Systems and Networks for Programmers Jiang Guo Dept. of Computer Science California State University Los Angeles.
FreeBSD. Computer Center, CS, NCTU 2 Outline  FreeBSD version 9.2-RELEASE  Installing FreeBSD From CD-ROM From USB.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
MICROSOFT TESTS /291/293 Fairfax County Adult Education Courses 1477/1478/1479.
ENEE150: Discussion 1 Section 0104/0105 Please Sit Down at a Computer and Login!
FreeBSD. Computer Center, CS, NCTU 2 Outline  FreeBSD version 8.1-RELEASE  Installing FreeBSD From CD-ROM  Build world and kernel Update source Rebuild.
1 Introduction to Unix. 2 What is UNIX?  UNIX is an Operating System (OS).  An operating system is a control program that helps the user communicate.
The Unix File sytem. Introduction Tree structure …
Network Administration. Computer Center, CS, NCTU 2 Syllabus  Website:  Instructors: 翁綜禧
A “Quick-Start” into the UNIX Operating System
Class Projects and Environment
System Administration Practice
IT244 - Introduction to Linux / Unix Instructor: Bo Sheng
System Administration Practice
Introduction.
Network Administration Practice
Course Information Mark Stanovich Principles of Operating Systems
1171: Computer Network Management Course Introduction
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Operating Systems COP 4610 / CGS 5765
UNIX Introduction.
Class Projects and Environment
Computer System Administration
Andy Wang Operating Systems COP 4610 / CGS 5765
System Administration Practice
Computer Network Administration
Andy Wang Operating Systems COP 4610 / CGS 5765
Course Overview Web Programming.
System Administration Practice
Computer System Administration
Presentation transcript:

System Administration

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

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

Computer Center, CS, NCTU 4 What System Administrator Should do? (3)  The best words to describe the job Thankless job.  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.

Computer Center, CS, NCTU 5 What System Administrator Should do? (4)  Flow of Change

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.  資安學程

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

Computer Center, CS, NCTU 8 Syllabus  Website:  Instructors: 劉用翔 蔡佳宏 翁綜禧  Time: Tue. IJK (PM 6:30 ~ 9:20)  Place: EC115  TAs: We might get about 3~4 TAs. to TAs: (TBA)  Textbook: UNIX System Administration Handbook," 3rd ed.

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

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.

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

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

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

Basic knowledge in this course

Computer Center, CS, NCTU 15 Login  SSH (Secure Shell) PuTTY: Chinese Environment:

Computer Center, CS, NCTU 16 Commands  Useful commands passwd, chsh, chfn, chpass ls ps, top mkdir/rmdir cp/mv/rm write 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

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

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

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

Computer Center, CS, NCTU 20 Q&A Break time.