CT 320: Network and System 2 Administration 1

Total Page:16

File Type:pdf, Size:1020Kb

CT 320: Network and System 2 Administration 1 9/10/12 Topics CT 320: Network and System 2 Administration 1. Booting 2. Bootstrap loaders 3. Run levels CHAPTER 3: BOOTING AND SHUTTING DOWN 4. Startup scripts COLORADO STATE UNIVERSITY 5. Shutdown and reboot COMPUTER SCIENCE DEPARTMENT CHRIS WILCOX FALL 2012 Original slides from Dr. James Walden at Northern Kentucky University. CT 320, Fall Semester 2012 9/11/12 Booting BIOS 3 4 1. ROM boot code (BIOS in PCs)‏ 1. Load CMOS settings. 2. Master Boot Record (MBR)‏ 2. Initialize registers and power management. 3. POST (Power On Self Test.)‏ 3. Bootloader 4. Display system settings (if key pressed.)‏ 4. Kernel 5. Activate other BIOSes 5. Hardware detection and configuration ¡ Disk interfaces 6. Creation of system processes ¡ Graphics cards ¡ Network interfaces 7. Multiuser operation 6. Find bootable device. 7. Load MBR. 8. Run MBR program. CT 320, Fall Semester 2012 9/11/12 CT 320, Fall Semester 2012 9/11/12 1 9/10/12 MBR Bootloader: GRUB 5 6 Up to four primary Stage 1 (stored in MBR or boot sector)‏ partitions in MBR: ¡ Initialize the system briefly. ¡ Has CHS (Cyl/Head/Sector) ¡ Detect the geometry and access mode of the loading drive. addresses or partition ¡ Load the first sector of Stage 2. ¡ LBA (Logical Block Addressing) for newer disk drives ¡ Jump to the starting address of the Stage 2. One can be used as an Stage 1.5 (stored in sectors of MBR track)‏ extended partition ¡ One version for each filesystem. ¡ Links to an Extended Boot ¡ Loads stage 2 from filesystem. Record (EBR) on first sector Stage 2 (stored in filesystem)‏ ¡ Each logical partition is described by its own EBR ¡ Displays menu of OS choices. ¡ Includes link to the next EBR, ¡ Often displays boot splash screen. to allow any # of partitions ¡ Loads selected OS kernel. CT 320, Fall Semester 2012 9/11/12 CT 320, Fall Semester 2012 9/11/12 GRUB Installation GRUB Boot 7 8 At OS Install Time Automatically boots default OS after timeout. Most distributions install GRUB. Key sequences bring up Linux Install ¡ Menu of boot options (described in menu.lst)‏ grub-install /dev/hda ¡ Edit kernel options (runlevel, other features)‏ Native install ¡ GRUB command shell Boot with CD and run grub. A boot prompt password may be required before #>> root (hd0,0)‏ edit privileges or shell access granted. #>> setup (hd0)‏ ¡ Can bypass OS security by specifying kernel options or #>> quit accessing files from GRUB shell. CT 320, Fall Semester 2012 9/11/12 CT 320, Fall Semester 2012 9/11/12 2 9/10/12 Booting with GRUB Config: /boot/grub/menu.lst 9 10 Direct Boot # timeout (sec) before booting default timeout 10 Specify OS kernel image to load. Chainloading # Ubuntu entry title Ubuntu, kernel 2.6.10-5-386 Specify another bootloader to load. root (hd1,0)‏ Chainload NTLDR to boot MS Windows. kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hde1 ro quiet splash initrd /boot/initrd.img-2.6.10-5-386 boot # Windows entry title Windows 2000 root hd0,0)‏ makeactive chainloader +1 CT 320, Fall Semester 2012 9/11/12 CT 320, Fall Semester 2012 9/11/12 GRUB Naming Convention Kernel 11 12 GRUB uses BIOS hard disk numbers 1. GRUB loads kernel file into memory OS may not number disks identically to BIOS. ¡ /boot/vmlinuz-VERSION Examples 2. Kernel uncompresses self and begins running. 3. Sets up interrupts and virtual memory. (hd0,0) First partition of first hard disk 4. Loads initial RAMdisk into memory (hd1,2) Third partition of second hard disk. ¡ /boot/initrd.img-VERSION 5. Kernel uncompresses initrd and mounts as /sysroot. 6. Kernel loads drivers and modules from /sysroot. ¡ SCSI and RAID drivers, ext3 filesystem module, etc. 7. Switches from real mode to protected mode. 8. Creates kernel threads (ksoftirq, khelper, kblockd)‏ 9. Starts init or systemd process. CT 320, Fall Semester 2012 9/11/12 CT 320, Fall Semester 2012 9/11/12 3 9/10/12 Kernel Arguments Run Levels 13 14 Numeric arguments 0 – Shutdown ¡ Specify runlevel. 1 – Single user ¡ single also specifies single user mode 2 – Multi-user, no networking Root device options 3 – Multi-user, with networking – root= specifies which root device to use 4 – Unused – ro, rw specify access type 5 – Multi-user, networking, and GUI Console options 6 – Reboot – console=ttyS1,9600 will use serial console Hardware options ¡ Enable, disable specific hardware devices/features. CT 320, Fall Semester 2012 9/11/12 CT 320, Fall Semester 2012 9/11/12 /etc/inittab rc 15 16 # The default runlevel. Executed by init with runlevel as argument. id:2:initdefault: # Boot-time system config/initialization script. Starts and stops services for each runlevel. si::sysinit:/etc/init.d/rcS /etc/rc#.d scripts # What to do in single-user mode. ~~:S:wait:/sbin/sulogin ¡ Symlinks to actual scripts in /etc/init.d # /etc/init.d executes the start and kill scripts ¡ Kills services beginning with K* l0:0:wait:/etc/init.d/rc 0 ¡ Starts services beginning with S* l1:1:wait:/etc/init.d/rc 1 l2:2:wait:/etc/init.d/rc 2 ¡ Executes in ASCII order. l3:3:wait:/etc/init.d/rc 3 l4:4:wait:/etc/init.d/rc 4 l5:5:wait:/etc/init.d/rc 5 l6:6:wait:/etc/init.d/rc 6 # What to do when CTRL-ALT-DEL is pressed. ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now CT 320, Fall Semester 2012 9/11/12 CT 320, Fall Semester 2012 9/11/12 4 9/10/12 Scripts in runlevel 2 Example init.d script 17 18 #! /bin/sh $ ls /etc/rc2.d case "$1" in S05vbesave S13gdm S20openntpd S89cron 'start') S08iptables S18hplip S20postfix S91apache2 if [ -f /usr/local/sbin/sshd ]; then S10acpid S18portmap S20powernowd S98usplash echo "starting SSHD daemon" S10powernowd.early S19cupsys S20rsync S99acpi-support /usr/local/sbin/sshd & fi S10sysklogd S20apmd S20ssh S99rc.local ;; S10syslog-ng S20argus-server S20xinetd S99rmnologin 'stop')‏ S11klogd S20hotkey-setup S21nfs-common S99stop-readahead PID=`/usr/bin/ps -e -u 0 | /usr/bin/fgrep sshd | S12dbus S20makedev S89anacron /usr/bin/awk '{print $1}'` if [ ! -z "$PID" ] ; then /usr/bin/kill ${PID} >/dev/null 2>&1 fi ;; *) echo "usage: /etc/init.d/sshd {start|stop}“ ;; esac CT 320, Fall Semester 2012 9/11/12 CT 320, Fall Semester 2012 9/11/12 Turning Services On/Off Red Hat Service Commands 19 20 Add a new service Starting or stopping a service Install startup script in /etc/init.d service NAME [start,restart,stop] Create S symlinks in appropriate runlevels is equivalent to Create K symlinks in appropriate runlevels /etc/init.d/NAME [start,restart,stop] Enabling or disabling a service at boot time Prevent a service from starting on boot chkconfig NAME on –level <runlevels> Remove S links from /etc/rc?.d/* is equivalent to Remove K links from /etc/rc?.d/* ln –s /etc/init.d/NAME /etc/init.d/rc.d/ rc#.d/S??name CT 320, Fall Semester 2012 9/11/12 CT 320, Fall Semester 2012 9/11/12 5 9/10/12 Single User Mode What if single user mode doesn’t work? 21 22 Kernel boots (arg 1 or “single”)‏ Bypass init by booting into shell System asks for root password ¡ Pass init=/bin/bash argument to kernel. Root shell starts ¡ Probably want to specify rw option as well. ¡ No system processes ¡ No need for root password. ¡ No networking ¡ No housekeeping performed. Only root filesystem mounted (read-only). Boot from CD ¡ Remount for RW: mount –o remount,rw / ¡ RedHat CD with linux rescue Why? ¡ Fix without user interference ¡ For example: disks, backups, security CT 320, Fall Semester 2012 9/11/12 CT 320, Fall Semester 2012 9/11/12 Shutdown What's wrong with init? 23 24 Performance shutdown, init 0, halt ¡ Starts services sequentially. ¡ Offers time-delay option ¡ Shell scripts spawn lots of processes. ¡ Runs server/daemon stop scripts Manual configuration ¡ Kill remaining processes ¡ Order to start services determined manually. ¡ Flushes writes to disk (sync) ¡ Network before authorization before NFS. reboot, init 6 Reliability ¡ Init does NOT monitor or restart services after boot. ¡ restarts system Hotplug hardware Ctrl-Alt-Del ¡ Drives mounted at boot. ¡ as defined in /etc/inittab ¡ What about USB or network drives? ¡ ca:ctrlaltdel:/sbin/shutdown -t1 -a -r now CT 320, Fall Semester 2012 9/11/12 CT 320, Fall Semester 2012 9/11/12 6 9/10/12 Init Alternatives Systemd 25 26 systemd Systemd is the system and service manager for ¡ Full replacement for init, used by Fedora Core Fedora releases ¡ Parallel starting of services, reduce shell overhead More information can be found on the Fedora launchd website at http:/fedoraproject.org/wiki/Systemd ¡ Mac replacement for init, rc, cron, inetd Uses units to encapsulate services, sockets, ¡ Monitors services, starts on demand devices, mounts, automounts, and targets initng Has advanced capabilities that make it better than ¡ Service configuration specifies dependencies previous initd mechanism: ¡ Starts services in parallel, once dependencies met ¡ Aggressive parallelization when launching processes ¡ Bus activation starts services only when accessed ¡ Supports save and rollback of service states ¡ Automatically maintains mount and automount points CT 320, Fall Semester 2012 9/11/12 CT 320, Fall Semester 2012 9/11/12 Systemd (cont’d) Upstart 27 28 systemadm is a graphical front-end for systemd that allows inspection and control of services Event-based init replacement. systemctl is a command front-end for systemd, Supports wider range of events than launchd. identical in functionality to systemadm ¡ Hardware device has been added. Became default in Fedora 15, replacing Upstart, init ¡ Filesystem has been mounted.
Recommended publications
  • Happy Birthday Linux
    25 Jahre Linux! Am Anfang war der Quellcode Entstehungsgeschichte und Werdegang von Linux Entwicklung und Diversifizierung der Distributionen Der Wert von Linux oder: „Wat nix kost, dat is och nix.“ Andreas Klein ORR 2016 1 Am Anfang war der Quellcode (70er) ● 1969, Ken Thompson u. Dennis Ritchie erstellen die erste Version von Unix in Assembler. ● Von 1969-1971 entwickeln sie gemeinsam die Programmiersprache B. ● Ab 1971 erweiterte in erster Linie Dennis Ritchie B, um weitere Elemente und nannte sie Anfangs NB (new B). ● 1973 waren die Erweiterungen soweit gediehen, das er die stark verbesserte Sprache C nannte (Brian W. Kernighan hat ebenfalls maßgeblich dazu beigetragen). //Unix=25 PCs ● Bis 1974 war das gesamte Betriebssystem UNIX vollständig in C implementiert und wurde mit einem C-Compiler kostenfrei an verschiedene Universitäten verteilt. ● 1978 wurden bereits über 600 Computer mit dem UNIX-Betriebssystemen betrieben. ● Das aufblühende Zeitalter der Computerisierung der 70er Jahre war geprägt vom regen und freien Austausch von Programmen und dessen zugrunde liegenden Ideen. Sinnvoller Weise tauschte man diese als Quellcode untereinander aus. ● 1979 wurde von AT&T die letzte UNIX-Version 7, mit freiem Quellcode veröffentlicht. Andreas Klein ORR 2016 2 Am Anfang war der Quellcode (80er) ● 1980 – 1983 AT&T sowie zahlreiche andere Unternehmen beginnen mit der Kommerzialisierung von UNIX, durch Koppelung an stark beschränkenden Lizenzen und Geheimhaltung des zugrunde liegenden Quelltextes. ● Richard Stallman kündigt am 27. September 1983 in den Newsgroups net.unix-wizards und net.usoft das GNU-Projekt an. ● Am 5. Januar 1984 begann Stallman offiziell mit der Arbeit am GNU-Projekt, nachdem er seine Stelle am MIT gekündigt hatte.
    [Show full text]
  • Embedded Linux Optimizations
    Embedded Linux optimizations Embedded Linux optimizations Size, RAM, speed, power, cost Michael Opdenacker Thomas Petazzoni Free Electrons © Copyright 2004-2009, Free Electrons. Creative Commons BY-SA 3.0 license Latest update: Dec 20, 2010, Document sources, updates and translations: http://free-electrons.com/docs/optimizations Corrections, suggestions, contributions and translations are welcome! 1 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com Penguin weight watchers Make your penguin slimmer, faster, and reduce its consumption of fish! Before 2 weeks after 2 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com CE Linux Forum http://celinuxforum.org/ Non profit organization, whose members are embedded Linux companies and Consumer Electronics (CE) devices makers. Mission: develop the use of Linux in CE devices Hosts many projects to improve the suitability of Linux for CE devices and embedded systems. All patches are meant to be included in the mainline Linux kernel. Most of the ideas introduced in this presentation have been gathered or even implemented by CE Linux Forum projects! 3 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com Contents Ideas for optimizing the Linux kernel and executables Increasing speed Reducing size: disk footprint and RAM Reducing power consumption Global perspective: cost and combined optimization effects The ultimate optimization tool! 4 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com Embedded Linux Optimizations Increasing speed Reducing kernel boot time 5 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support.
    [Show full text]
  • Loris/Tissino /La/Mia/Cassetta/Degli/Attrezzi/Linux
    /loris/tissino /la/mia/cassetta/degli/attrezzi/linux www.tissino.it/docs/linux Indice 1 Introduzione 17 1.1 Questa cassetta . 17 1.1.1 A chi `erivolta . 17 1.1.2 Formati e diffusione . 17 1.1.3 Errori . 17 1.1.4 Licenza . 17 1.2 Bibliografia e documentazione . 17 1.2.1 PDF . 17 1.2.2 Libri . 18 1.2.3 Siti web . 18 1.2.4 Man . 18 1.2.5 Whatis . 18 1.2.6 Apropos . 19 1.2.7 Info . 19 1.2.8 —help . 19 1.2.9 /usr/share/doc . 19 1.2.10 HOWTO e WWW . 19 1.3 Il concetto di software libero . 20 1.3.1 Il software . 20 1.3.2 Programma . 20 1.3.3 Applicazione . 20 1.3.4 Sistema operativo . 20 1.3.5 Programma sorgente ed eseguibile . 20 1.3.6 Free Software Foundation . 21 1.3.7 Copyright e Copyleft . 21 1.3.8 Licenze . 21 1.3.9 Open Source . 21 1.3.10 Altri tipi di licenza . 22 1.4 Differenze tra Windows e GNU/Linux . 22 1.4.1 Differenze tra Microsoft Windows e GNU/Linux . 22 1.4.2 Sicurezza . 22 1.4.3 Disponibilit`adi software . 22 1.4.4 i18n e l10n . 22 1.4.5 Gestione del software . 23 1.4.6 File system . 23 1.4.7 Nomi di file e directory . 23 1.4.8 Estensioni . 23 1.4.9 Permessi su file e directory . 23 1.4.10 File nascosti e attributi .
    [Show full text]
  • Gestion De Services Sous Unix
    Gestion de services sous Unix Baptiste Daroussin [email protected] [email protected] sysadmin #6 Paris 19 Février 2016 Disclaimer sysadmin#6 Gestion de services sous Unix 2 of 16 L’arlésienne supervisor daemontools procd OpenRC DEMONS Runit Epoch ninit finitrcNG sinit minitsystemdinitng rc svc perp eINIT SMF SysVinit nosh SystemXVI upstart launchd monit Shepherd relaunchd sparkrc watchmancircus sysadmin#6 Gestion de services sous Unix 3 of 16 I I’m your father(c)(tm) I laisse la main a d’autres pour la gestion des services... presque I /etc/inittab I /etc/ttys I Généralement des scripts shell I SysVinit I rcNG I rc Il était une fois init(8) I petit mais costaud sysadmin#6 Gestion de services sous Unix 4 of 16 I laisse la main a d’autres pour la gestion des services... presque I /etc/inittab I /etc/ttys I Généralement des scripts shell I SysVinit I rcNG I rc Il était une fois init(8) I petit mais costaud I I’m your father(c)(tm) sysadmin#6 Gestion de services sous Unix 4 of 16 presque I /etc/inittab I /etc/ttys I Généralement des scripts shell I SysVinit I rcNG I rc Il était une fois init(8) I petit mais costaud I I’m your father(c)(tm) I laisse la main a d’autres pour la gestion des services... sysadmin#6 Gestion de services sous Unix 4 of 16 I /etc/inittab I /etc/ttys I Généralement des scripts shell I SysVinit I rcNG I rc Il était une fois init(8) I petit mais costaud I I’m your father(c)(tm) I laisse la main a d’autres pour la gestion des services..
    [Show full text]
  • A Survey of Unix Init Schemes Yvan Royon, Stéphane Frénot
    A Survey of Unix Init Schemes Yvan Royon, Stéphane Frénot To cite this version: Yvan Royon, Stéphane Frénot. A Survey of Unix Init Schemes. [Technical Report] 2007. inria- 00155663v1 HAL Id: inria-00155663 https://hal.inria.fr/inria-00155663v1 Submitted on 18 Jun 2007 (v1), last revised 20 Jun 2007 (v2) HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. INSTITUT NATIONAL DE RECHERCHE EN INFORMATIQUE ET EN AUTOMATIQUE A Survey of Unix Init Schemes Yvan Royon — Stéphane Frénot N° ???? June 2007 Thème COM apport inria-00155663, version 1 - 18 Jun 2007 technique ISSN 0249-0803 ISRN INRIA/RT--????--FR+ENG A Survey of Unix Init Schemes Yvan Royon, St´ephane Fr´enot Th`eme COM — Syst`emes communicants Projet Ares Rapport technique n° ???? — June 2007 — 36 pages Abstract: In most modern operating systems, init (as in “initialization”) is the program launched by the kernel at boot time. It runs as a daemon and typically has PID 1. Init is responsible for spawning all other processes and scavenging zombies. It is also responsible for reboot and shutdown operations. This document describes existing solutions that implement the init process and/or init scripts in Unix-like systems.
    [Show full text]
  • Linux System Administration Paul Cobbaut Linux System Administration Paul Cobbaut Lt-1.9
    Linux System Administration Paul Cobbaut Linux System Administration Paul Cobbaut lt-1.9 Publication date Fri 17 Apr 2015 01:01:06 AM CEST Abstract This book is meant to be used in an instructor-led training. For self-study, the intent is to read this book next to a working Linux computer so you can immediately do every subject, practicing each command. This book is aimed at novice Linux system administrators (and might be interesting and useful for home users that want to know a bit more about their Linux system). However, this book is not meant as an introduction to Linux desktop applications like text editors, browsers, mail clients, multimedia or office applications. More information and free .pdf available at http://linux-training.be . Feel free to contact the author: • Paul Cobbaut: [email protected], http://www.linkedin.com/in/cobbaut Contributors to the Linux Training project are: • Serge van Ginderachter: [email protected], build scripts and infrastructure setup • Ywein Van den Brande: [email protected], license and legal sections • Hendrik De Vloed: [email protected], buildheader.pl script We'd also like to thank our reviewers: • Wouter Verhelst: [email protected], http://grep.be • Geert Goossens: [email protected], http://www.linkedin.com/in/ geertgoossens • Elie De Brauwer: [email protected], http://www.de-brauwer.be • Christophe Vandeplas: [email protected], http://christophe.vandeplas.com • Bert Desmet: [email protected], http://blog.bdesmet.be • Rich Yonts: [email protected], Copyright 2007-2015 Paul Cobbaut Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
    [Show full text]
  • Paralelizam U Pokretanju Operacijskih Sustava
    SVEUČILIŠTE U ZAGREBU FAKULTET ELEKTROTEHNIKE I RAČUNARSTVA ZAVRŠNI RAD br. 94 PARALELIZAM U POKRETANJU OPERACIJSKIH SUSTAVA Krunoslav Tomorad Zagreb, lipanj 2008. Sadržaj 1. Uvod......................................................................................................................2 2. init – Unix proces broj 1.........................................................................................3 2.1. Pregled pojmova........................................................................................................3 2.2. Koncept.......................................................................................................................3 2.3. Tradicionalna ostvarenja programa init......................................................................5 2.3.1. BSD init...............................................................................................................................5 2.3.2. SysV init..............................................................................................................................5 2.4. Koncept paralelnog pokretanja usluga......................................................................8 2.4.1. launchd...............................................................................................................................9 2.4.2. Service Management Facility – SMF................................................................................10 2.4.3. Ostala ostvarenja..............................................................................................................11
    [Show full text]
  • Linux System Administration Paul Cobbaut Linux System Administration Paul Cobbaut Lt-1.9
    Linux System Administration Paul Cobbaut Linux System Administration Paul Cobbaut lt-1.9 Publication date Mon 26 May 2014 01:00:55 AM CEST Abstract This book is meant to be used in an instructor-led training. For self-study, the intent is to read this book next to a working Linux computer so you can immediately do every subject, practicing each command. This book is aimed at novice Linux system administrators (and might be interesting and useful for home users that want to know a bit more about their Linux system). However, this book is not meant as an introduction to Linux desktop applications like text editors, browsers, mail clients, multimedia or office applications. More information and free .pdf available at http://linux-training.be . Feel free to contact the author: • Paul Cobbaut: [email protected], http://www.linkedin.com/in/cobbaut Contributors to the Linux Training project are: • Serge van Ginderachter: [email protected], build scripts and infrastructure setup • Ywein Van den Brande: [email protected], license and legal sections • Hendrik De Vloed: [email protected], buildheader.pl script We'd also like to thank our reviewers: • Wouter Verhelst: [email protected], http://grep.be • Geert Goossens: [email protected], http://www.linkedin.com/in/ geertgoossens • Elie De Brauwer: [email protected], http://www.de-brauwer.be • Christophe Vandeplas: [email protected], http://christophe.vandeplas.com • Bert Desmet: [email protected], http://blog.bdesmet.be • Rich Yonts: [email protected], Copyright 2007-2014 Paul Cobbaut Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
    [Show full text]
  • Index.Indd 391 I N D E X
    Index Index 32-bit kernels, 37 starting backups, 333–334 paravirtualized guests on 64-bit classes of, 315–316 hardware, 249 database volumes, 323 64-bit kernels, 37 DRBD and, 315 filesystems over network, 324–327 hosts, 328–329 A load, minimizing, 317 logical volumes, snapshots and, access control, 260–261 322–324 ACM (access control module), 261 rsync, 317–322 policies rsyncd, 329–332 associating with domainU guests, SMB, 332–333 269–270 target, selecting, 316 creating, 262–267 bcc compiler, 82 deploying files, 267–269 BIOS (Basic Input/Output System) removing, 272 initialization, 88 ACM (access control module), 261 system startup and, 88 administration, increased complexity, 24 blktap driver, 143 Adobe Acrobat reader, 64 block devices AFS, storage virtualization and, 7 configuration, 341–342 AMD-V/SVM (Virtualization/Secure Virtual listing, 342–343 Machine, aka Pacifica), 36 mounting/unmounting, 235–238 AoE (ATA over Ethernet), 146 block-level storage, networked, 146 APIC (Advanced Programmable Interrupt boot configuration, policy, 344 Controller), 92 boot information, capturing, application virtualization, 2–3 102–104 applications, 37 boot options adding to filesystems, 167 GRUB, 104–108 auth daemon, 223 Linux, Xen-specific, 108 shared, Xen and Linux, 108 COPYRIGHTEDboot MATERIAL process, 91–93 branching, Mercurial and, 71 B Bridge Utilities, 62 BackupPC, 327–328 bridged networking, 202, 203–206 restoring from backups, 335–337 buffers, XenTrace, 194–195 starting backups, 333–334 bugs, reporting, 195–196 backups, 315 build environment
    [Show full text]
  • Università Degli Studi Di Modena E Reggio Emilia
    UNIVERSITÀ DEGLI STUDI DI MODENA E REGGIO EMILIA Dipartimento di Ingegneria “Enzo Ferrari” Corso di Laurea in Ingegneria Informatica IL PROCESSO DI INIT E LA SUA EVOLUZIONE NEI SISTEMI OPERATIVI GNU/LINUX Tutor: Elaborato di Laurea di: Chiar.mo Prof. Letizia Leonardi Paolo Bruno Anno accademico 2018-2019 Sommario Introduzione ..................................................................................................................... 1 1 Processo di bootstrap ................................................................................................ 3 2 Processo di startup basato su System V init ............................................................. 8 2.1 Funzionamento...............................................................................................................8 2.2 Ulteriori script eseguiti per ogni runlevel ...................................................................... 10 3 Perché rimpiazzare Unix System V init ................................................................. 17 3.1 Nuove risorse da utilizzare: le socket ............................................................................ 17 3.2 Shell script obsoleti ....................................................................................................... 18 3.3 Tenere traccia dei processi con i control groups ............................................................ 20 4 Processo di startup basato su systemd ................................................................... 22 4.1 Funzionamento generale .............................................................................................
    [Show full text]
  • Ûïfl Ò Â‰‡ÏË Linux-χ¯Ë̇ ÒÎÂ‰Û˛˘Â„Ó Ôóíóîâìëfl Linux ‚ Äëú‡Â
    4 notes ÌÓ‚ÓÒÚË ÒÓÓ·˘ÂÒÚ‚‡ Open Source Linux-χ¯Ë̇ ÒÎÂ‰Û˛˘Â„Ó ÔÓÍÓÎÂÌËfl åÂÊ‰Û ‰‚ÛÏfl Ò‰‡ÏË Silicon Graphics готовится к демонстрации она сохранила свою приверженность мо- В отличие от ситуации в Китае сооб- новой высокопроизводительной системы дульности. Видимо, Silicon Graphics окон- щество в Европе может оказывать вли- Altix 4000, вобравшей в себя мощь 512 чательно отказалась от использования яние даже на принятие решений гиган- процессоров Itanium и операционной сис- собственных MIPS-процессоров и ОС Irix. тами в мире Linux. После сообщения о темы с ядром Linux (Novell SUSE Linux Сегодня большую часть (75%) списка сворачивании поддержки KDE в SUSE Enterprise Server 9 или Red Hat Enterprise пятисот самых мощных в мире компью- Linux Enterprise Server и Novell Linux Linux Advanced теров составляют Desktop в пользу GNOME (предпола- Server 4), как и ны- машины под управ- галось, что отныне поддержкой KDE нешняя Altix 3000. лением Linux. будет ведать исключительно проект В отличие от пред- Silicon Graphics openSUSE) сервисная служба Novell шественницы но- удалось занять чет- испытала беспрецедентное давление вая машина содер- вертую позицию с со стороны пользователей и разработ- жит 128 Тбайт па- системой SGI Altix чиков. Под напором писем компания мяти, превосходя 3700, используемой была вынуждена отказаться от по- ее по этому параме- NASA. Компания IBM спешного решения и опять повернуть- тру на 24 Тбайт. пока не сдает лиди- ся на 180°, чтобы успокоить клиентов. Предыдущая раз- рующих позиций: Некоторые аналитики считают, что работка имела блоковую серверную на самой вершине расположился eServer структуру по восемь процессоров со свя- Blue Gene Solution ее производства. занной памятью, теперь Altix исполнена www.news.com в традициях blade-серверов, но при этом www.top500.org Linux ‚ äËÚ‡Â: ÔÓ„ÌÓÁËÛÂÏÓÂ Ë ÌÂÓÊˉ‡ÌÌÓ Будущее программной индустрии Китая — ские правила не являются неким аму- Linux.
    [Show full text]
  • A Survey of Unix Init Schemes Yvan Royon, Stéphane Frénot
    A Survey of Unix Init Schemes Yvan Royon, Stéphane Frénot To cite this version: Yvan Royon, Stéphane Frénot. A Survey of Unix Init Schemes. [Technical Report] RT-0338, INRIA. 2007. inria-00155663v2 HAL Id: inria-00155663 https://hal.inria.fr/inria-00155663v2 Submitted on 20 Jun 2007 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. INSTITUT NATIONAL DE RECHERCHE EN INFORMATIQUE ET EN AUTOMATIQUE A Survey of Unix Init Schemes Yvan Royon — Stéphane Frénot N° 0338 June 2007 Thème COM apport inria-00155663, version 2 - 20 Jun 2007 technique ISSN 0249-0803 ISRN INRIA/RT--0338--FR+ENG A Survey of Unix Init Schemes Yvan Royon, St´ephane Fr´enot Th`eme COM — Syst`emes communicants Projet Ares Rapport technique n° 0338 — June 2007 — 36 pages Abstract: In most modern operating systems, init (as in “initialization”) is the program launched by the kernel at boot time. It runs as a daemon and typically has PID 1. Init is responsible for spawning all other processes and scavenging zombies. It is also responsible for reboot and shutdown operations. This document describes existing solutions that implement the init process and/or init scripts in Unix-like systems.
    [Show full text]