University of Pisa Computer Science Department System Administration Stefano Bistarelli University of Pisa Computer Science Department

Slides:



Advertisements
Similar presentations
University of Pisa Computer Science Department System Administration adduser Stefano Bistarelli University of Pisa Computer Science Department
Advertisements

University of Pisa Computer Science Department System Administration backup Stefano Bistarelli University of Pisa Computer Science Department
Configuration management
Operating Systems An Introduction. 2 What Does An Operating System Do? Manages the hardware and software resources of the system. In a desktop computer,
By- Anjali Bhardwaj. An operating system (OS) is a collection of software that manages computer hardware resources and provides common services for computer.
What You Will Learn Components of a computer’s system software The importance of an operating system Functions of an operating system Types of user interfaces.
Introduction to UNIX Acknowledgement:Thanks to Dr Andrew Horner for the original version of this set of slides. All trademarks are the properties of their.
Unix Systems Administration 1Y. K. Chang UNIX History : Bell Lab joined with GEC and Project MAC of MIT to develop Multics: multi-user and data-sharing.
1 Web Server Administration Chapter 3 Installing the Server.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Hands-On Microsoft Windows Server 2003 Chapter 2 Installing Windows Server 2003, Standard Edition.
1 SAGE Job Description for System Administration Unix Administration.
Introduction to UNIX Acknowledgement:Thanks to Dr Andrew Horner for the original version of this set of slides. All trademarks are the properties of their.
Introduction to Computer Administration System Administration
What is Unix Prepared by Dr. Bahjat Qazzaz. What is Unix UNIX is a computer operating system. An operating system is the program that – controls all the.
Section 6.1 Explain the development of operating systems Differentiate between operating systems Section 6.2 Demonstrate knowledge of basic GUI components.
Lesson 4 Computer Software
Operating Systems Operating System
Linux+ Guide to Linux Certification Chapter Three Linux Installation and Usage.
1 Web Server Administration Chapter 3 Installing the Server.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 15 Installing and Using Windows XP Professional.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Stuart Cunningham - Computer Platforms COMPUTER PLATFORMS Network Operating Systems Week 9.
Chapter 10 – UNIX. History In late 1960s, two employees of Bell Labs (Ken Thompson & Dennis Ritchie) designed a new operating system to overcome the constraints.
WINDOWS XP PROFESSIONAL Bilal Munir Mughal Chapter-1 1.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
1 ITSK 2611 Welcome. 2 Operating System 3 What is an OS Resource Manager –Disk –Memory –CPU Device Manager –Printers –Video Card –Sound Card Utility.
Introduction to Unix Administration Objectives –to identify the basic concepts of Unix administration Contents –history of Unix –unix vendors and standards.
CS240 Computer Science II Introduction to Unix Based on “UNIX for Programmers and Users” by G.Class and K. Ables.
Choosing NOS can be a complex and a difficult decision. Every popular NOS has its strengths and weaknesses. NOS may cost thousands of dollars depending.
Module 1 Introduction to UNIX/Linux
1 Web Server Administration Chapter 3 Installing the Server.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
Chapter 1: Welcome to Linux An intro to UNIX-related operating systems.
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)
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
Operating System Part II: Introduction to the Unix Operating System (The Evolution of Unix)
1 Review last lecture Pre-installation checks. 2 Post Installation Identify installation problems Install patches, upgrades, service packs MS announces.
History of UNIX a short version CSCI 333 August 31, 2011.
CHAPTER 2. Overview 1. Pre-Installation Tasks 2. Installing and Configuring Linux 3. X Server 4. Post Installation Configuration and Tasks.
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
Introduction 1 Chapter 1. Introduction History and Proliferation Mandate for Change What’s Good and Wrong Scope of this course.
CSC414 “Introduction to UNIX/ Linux” Lecture 2. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
Background & History of UNIX & Linux Fort Collins, CO Copyright © XTR Systems, LLC The Background and Short History of UNIX & Linux Instructor: Joseph.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Chapter 8: Installing Linux The Complete Guide To Linux System Administration.
Introduction to UNIX CS465. What is UNIX? (1) UNIX is an Operating System (OS). An operating system is a control program that allocates the computer's.
Oman College of Management and Technology Course – MM Topic 7 Production and Distribution of Multimedia Titles CS/MIS Department.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 8 Linux.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
Automating Installations by Using the Microsoft Windows 2000 Setup Manager Create setup scripts simply and easily. Create and modify answer files and UDFs.
Computer Center | Network Group IISER Bhopal Introduction to Basic Component of Computer System Vinay Bajpai iiserb.ac.in Computer Center Indian.
Introduction to System Administration. System Administration  System Administration  Duties of System Administrator  Types of Administrators/Users.
6/14/20161 System Administration 1-Introduction to System Administration.
Linux Introduction Linux was developed in the early 1990’s by Linus Torvald computer science student at the University of Helsinki Linux is distributed.
Overview of Linux Fall 2016 Dr. Donghyun Kim
Computers: Tools for an Information Age
Operating System & Application Software
Create setup scripts simply and easily.
Guide to Linux Installation and Administration, 2e
Popular Operating System Chapter 8
Computer Software.
Chapter 2: The Linux System Part 1
Linux Professor Sabol.
Section 1: Linux Basics and SLES9 Installation
Presentation transcript:

University of Pisa Computer Science Department System Administration Stefano Bistarelli University of Pisa Computer Science Department Annalina Fabrizio

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Outline

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Outline

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Prima Settimana 9 Introduzione Installazione win2K Installazione Linux Riferimenti: -Lucidi -Cap 1,2,15 libro -RH inst.guide 10 W2K Active Directory Utenti e gruppi Linux Utenti Backup 11 lab -Linux utente1 12 lab -Linux utente2

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Seconda settimana 15 lab -Creare disco boot ms-dos con dentro FDISK, FORMAT, etc. -Fare fdisk, fdisk/mbr -installazione win2K -Gestione licenze -Disco di ripristino -Backup, restore -Scheduling di backup nonno-padre- figlio -Uso di comandi NET -Install. Xwin Riferimenti -cap. 1,2,3,15 libro lab Inst Linux, Creare multi boot Backup linux, Inserimento utenti linux Inserimento utenti W2k 19 lab W2k File system Linux FS

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Classification of Systems Small sites: have machines, all running the same OS. only about 20 users. There is only one administrator. Medium sites: have up to 100 machines, and may be running up to 3 different OSs. usually has about 100 users. more than one administrator, either specializing in different OSs or sharing general system administrator duties. Large sites: have over 100 computers, multiple operating systems over 100 users. a hierarchy of administration, with the lead or senior System Administrator responsible for all of the systems and assigning duties to one or more assistant administrators.

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration System Administration Skills: Novice System Administrator (1/2) Required skills: Strong inter-personal and communication skills: is capable of explaining simple procedures in writing or verbally; has good phone skills. Familiar with Unix and its commands/utilities at the user level. Can edit files using more than one editor. Know shell commands. Can perform standard file processing tasks; find, move, remove, redirection. Required background: Two years of college or equivalent post-high school education or experience.

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration System Administration Skills: Novice System Administrator (2/2) Desirable: A degree or certificat in computer science or related field. Previous experience in customer support, computer operations, system administration, or another related area. Motivated to advance in the profession. Appropriate Responsibilities: Perform routine tasks under the direct supervision of a more experienced administrator. Be the front-line interface for users; accepting problem reports and passing them to the appropriate system administrators.

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration System Administration Skills: Junior System Administrator (1/2) Required skills: Strong inter-personal and communication skills: capable of training users in applications and Unix fundamentals. Able to write basic system and user documentation. High skill level with most Unix commands and utilities. Familiar with most basic system administration tools and tasks (can cleanly boot and shutdown the system, add and remove user accounts, use backup programs, perform fsck and maintain system database files (groups, hosts, aliases, etc.)). Fundamental understanding of the functioning of the Unix operating system: for example understands job control, hard and soft linking. Required background: One to three years of system administration experience.

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration System Administration Skills: Junior System Administrator (2/2) Desirable : Degree in CS or a related field. Familiarity with networked/ distributed computing environments (can use the route command, add a workstation to a network, or mount a remote filesystem.). Ability to write functional scripts in an administrative language (shell, Perl, Tk). Some programming experience in an applicable language like C. Appropriate Responsibilities: Administer a small site alone, or assist in the administration of a larger site. Work under the general supervision of a more senior system administrator or computer systems manager.

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration System Administration Skills: Intermediate/Advanced SysAdm (1/2) Required skills: Has strong inter-personal and communication skills: capable of training users in complex topics, making presentations to internal groups. Able to write intricate system and user documentation. Capable of writing and explaining purchase justifications. Independent problem solving; self-directed, self-starting. Very comfortable with most aspects of the Unix operating system: paging/swapping, inter-process communication, devices and device driver fundamentals, file system concepts like inode and superblock. Familiar with fundamental networking/distributed computing environments and concepts. Can configure NFS and NIS, use nslookup or research to check information in the DNS. Ability to write detailed scripts in at least one, preferably two administrative lnaguages, (shell scripts, Perl, Tk). Ability to perform at least minimal debugging and modification of C programs.

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration System Administration Skills: Intermediate/Advanced SysAdm (2/2) Required background: Three to five years of system administration experience. Desirable: At least a BS in Computer Science or a related field. Significant programming background in any applicable language. Appropriate Responsibilities: Receive general instructions for new duties from supervisor. Administers a mid-size site alone, or assists in administration of a larger site. Initiates some new responsibilities and helps plan for the future of the site and network. Manages novice system administrators or operators. Evaluates and/or recommends purchases; has strong influence on the purchasing process.

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration System Administration Skills: Senior System Administrator (1/2) Required skills: Strong inter-personal and communication skills; capable of writing proposals and papers, acting as a vendor liaison, making presentations to customer/client audiences or making professional presentations, work closely with upper management. Ability to solve problems quickly and completely. Ability to identify tasks which should be automated and then write tools to automate them. Solid understanding of the Unix based operations system: understands paging and swapping, interprocess communication, devices and device drivers, can perform system analysis and tuning. Ability to program in at least one, preferably two administrative languages, (shell, Perl, Tk) and port C programs from one platform to another, write small C programs. Solid understanding of networking/distributed computing environments, understanding the principals of routing, client/server programming, and the design of consistent network-wide filesystems.

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration System Administration Skills: Senior System Administrator (2/2) Required background: More than 5 years of previous system administration experience. Desirable: A degree in CS or a related field. Advanced degree preferred. Extensive programming experience in an applicable language. Publications within the field of system administration. Appropriate Responsibilities: Design/implement complex local and wide-area networks of machines. Manages a large site or network. Works under general direction of senior management. Establishes/recommends policies and procedures for system use and services. Provides the technical lead and/or supervision for system administrators, system programmers, or others. Has purchasing authority and responsibility for purchase justification.

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Finally, some important thoughts for system Administrators: 1. Never do something you can't undo. 2. Always check the backups, never assume they are working. Make sure you can restore from them, too. 3. Write down what you did, even if you know you will never forget it, you will. 4. If you do it more than once, write a script. 5. Get to know your users before there is a problem, then when there is, they will know who you are and maybe have a little understanding. 6. Remember you are performing a service for your users, you don't own the system, you just get to play with it. 7. Check your backups. 8. Never stop learning, there is always something you should know to make your job easier and your system more stable and secure. 9. Check your backups, again.

University of Pisa Computer Science Department history

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Unix history (1/4) 1969 Ken Thompson (at Bell Labs): first version of unix on a DEC PDP Thompson and Dennis Ritchie ported it to a DEC PDP-11/20. the first C compiler ( a language in which one could write a portable OS Ritchie and Thompson rewrote the UNIX kernel in C UNIX source code was free to Universities UNIX, 7th edition, released. Portable to various hardware architechures. ATT announces that they would be charging license fees for UNIX source (version 7 forms the basis for all the Unix versions currently available).

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Unix history (2/4) 1979 ATT's announcement of its intention to commercialize UNIX. University of California at Berkeley create its own variant: BSD UNIX. The most influencial BSD versions are 4.2 (1983) and 4.3 (1987). The DARPA sponsored development of the Internet was on BSD UNIX. Most of the early commercial vendors of UNIX (Sun (SunOS), DEC (Ultrix), etc.) were largely based on BSD UNIX ATT released the commercial UNIX System V. BSD version 4.2 released ATT UNIX System V release 3. This is the release that various major hardware vendors (HP (HP-UX) and IBM (AIX). BSD v 4.3 was released. ATT and Sun jointly agreed to cooperate on UNIX development to merge/unify System V and BSD.

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Unix history (3/4) 1990 ATT issues System V release 4 as a new standard unifying UNIX variants. This was the result of Sun and ATT's cooperation. However, other vendors (especially DEC, HP, IBM) united to creat the Open Software Foundation, OSF. The quip that OSF really stands for Oppose Sun Forever has some truth OSF-1 released. This was also the year that freely distributable Unix clones such as Linux and FreeBSD started Sun develops its Solaris OS: a System V release X Window, the client/server-based graphical user developed at MIT,was ported in a freely distributable form to Intel hardware (XFree86).

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Unix history (4/4) 1995 Linux, a unix clone written by Linus Torvalds, is being actively developed by a growing Internet-based community of hackers. Linux The source code is freely available. Ports for Intel, Alpha, Sparc and MIPS hardware. Due to its development and use, documentation for Linux, even when for the user just running Linux on their own machine, has much that is of interest to the Unix system administrator.

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Win2000 history 1985 MS-Net per DOS3.10 (file server and print server) 1988 LAN Manager per OS/ MS Win NT 3.1 stesso numero di versione di window e LAN Manager 1994 Win NT Win NT IIS Win NT 4.0 (TCP/IP, DNS, IIS 2.0) ???? Win NT 5 ???? 2000 Window 2K Server

University of Pisa Computer Science Department Progettazione installazione server

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Progettazione installazione server: che scelta HW? Disco SCSI 1GByte per sistema NTFS Applicativi Dati utente NIC (eth 10/100 Mbps) Stessa scheda su tutti i PC 256 Mbyte RAM Backup Ups Raid

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Tools a portata di mano (win2k) Cd win2k Dischetto avvio dos (con driver per ntfs) Dischetto per ripristino Nastro per backup

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Istallazione (2 ore) Boot con floppy dos, fdisk, fdisk /mbr Boot con cd (10 min) Partizioni: (10 min) ¼ del disco = partizione ntfs Reboot e inst. Grafica (15 min) Regional setting Modifica tastiera e euro/italia Personalize your sw Nome istallatore Licensing Computer name and adm password Data e ora Copia dei file (1 ora)

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Installazione cont. Gestione licenze Settagio ruolo server Aggiunta nomi per altri server 1 DC Gli altri tutti server applicativi Creazione disco di ripristino Backup (e restore)

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration tipi di backup di win2k per ogni file "bit di archiviazione" 1=file modificato 0= non modificato (posto a 0 dal backup) backup normale: copia tutti i file (i bit tutti a 0) backup mediante copia: copia tutti i file (ma non cambia bit) backup incrementale: copia solo file modificati da ultimo backup (copia i file con bit a 1 e azzera i bit dei file copiati) backup differenziale (copia i file con bit a 1 ma non li azzera) backup quotidiano (copia file mutati in un determinato giorno, bit immutato)

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Schema Nonno-padre-figlio a fine mese backup normale (per 12 mesi) ogni venerdi backup normale settimanale (per 5 settimane=1mese) lun,mart,merc,giov backup incrementale totale di =21 nastri

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Installazione Linux!

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Installazione Linux (1 ora?) Creazione disco boot RAWRITE IMG Installazione Language setting: english Keyboard configuration Mouse configuration Install type=custom Manual partitioning : fdisk Lilo: creare boot disk Lilo su /dev/hda2

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Installazione Linux (1 ora?) Installazione Timezone (not use UTC) Creazione 10 account (per 2 lab successivi) Package (tutto) Xconfiguration

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Dati HW (com msd) e da window. Prendere nota per ogni periferica IRQ, I/O, memoria scheda audio Dischi: numero, ide/scsi, cilindri, settori, facce? Ram istallata? cd-rom (ide/scsi)? Scsi adapter? Nic? Mouse (ps2/serial, 2/3 bottoni)? schede video (modello, quantità RAM)? Monitor (vertical, orizontal refresh rate)? Controlla HCL

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Proprietà del sistema (1/2)

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Proprietà del sistema (2/2)

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Linux!

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Selezione della Lingua

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Configurazione tastiera

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Configurazione mouse

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Tipo di istallazione

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Partizionamento

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Configurazione della rete

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Regional settings

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Inserimento account

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration packages

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration X Configuration (1/2)

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration X Configuration (2/2)

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration The end!

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Installing ….

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Laboratorio win2k: 3 ore installare tutte le macchine, (occorrono 10 cd e 20 floppy) Prima verificare interrupt schede di rete e segnarle su foglietto. Partizioni: cancellare tutto lesistente, riservare ¼ per win2k (almeno 1.5 Gbyte) Setup: selezionare boot da cdrom Aggiungere: Tastiera italiana, codifica italia + euro, Lasciare standard americani Settare fascia oraria gmt+1 Nome utente: nome istallatore, nome società vuoti Nome macchina= gia assegnati a lezione Password= nomemachinapsw Indirizzi di rete come a lezione (dovrebbe fare in automatico)

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Laboratorio: 3 ore Modificare licenza per 10 utenti Settare accesso al dominio corsopescia (utente unico per ora: studente, password studentepsw) Creare dischi di ripristino (occorrono 10 dischetti) Backup e restore (vari esempi) Creazione backup schedulato Tramite utilità bachup-scheduling Comando backup a linea di comando Comando at

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Laboratorio(extended): 2 ore Comandi NET Installazione xwin su tutte le macchine

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Win: inst (cap 1,2,15) backup–Linux:inst (RH ig) Win: regsitro, AD, utenti (cap 4,5,7) Booting/shutdown (fotocopie libro salomon, fotocopie libro, RH rg) Linux: utenti, superuser, backup (fotocopie libro, RH rg) FS, device, disk (cap 8,9 - fotocopie libro, RH rg) Processi, printing (fotocopie salomon,cap 10- fotocopie libro, RH rg) Processi periodici (??, Linux:quota - fotocopie libro, RH rg) Monitoring (cap 17, fotocopie libro, RH rg)

University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Linux 1 : Rute Linux 2: Win: inst (cap 1,2,15) backup–Linux:inst (RH ig) Win: regsitro, AD, utenti (cap 4,5,7) Booting/shutdown (fotocopie libro salomon, fotocopie libro, RH rg) Linux: utenti, superuser, backup (fotocopie libro, RH rg) FS, device, disk (cap 8,9 - fotocopie libro, RH rg) Processi, printing (fotocopie salomon,cap 10- fotocopie libro, RH rg) Processi periodici (??, Linux:quota - fotocopie libro, RH rg) Monitoring (cap 17, fotocopie libro, RH rg)