System Administration.Pdf

System Administration.Pdf

Linux System Administration Paul Cobbaut Linux System Administration Paul Cobbaut Publication date 2015-05-24 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. A copy of the license is included in the section entitled 'GNU Free Documentation License'. Table of Contents I. process management .................................................................................................................................... 1 1. introduction to processes ................................................................................................................. 3 1.1. terminology ............................................................................................................................ 4 1.2. basic process management .................................................................................................... 5 1.3. signalling processes ............................................................................................................... 9 1.4. practice : basic process management .................................................................................. 12 1.5. solution : basic process management .................................................................................. 13 2. process priorities ............................................................................................................................ 15 2.1. priority and nice values ....................................................................................................... 16 2.2. practice : process priorities .................................................................................................. 19 2.3. solution : process priorities ................................................................................................. 20 3. background jobs ............................................................................................................................. 22 3.1. background processes .......................................................................................................... 23 3.2. practice : background processes .......................................................................................... 25 3.3. solution : background processes .......................................................................................... 26 II. disk management ...................................................................................................................................... 28 4. disk devices ..................................................................................................................................... 31 4.1. terminology .......................................................................................................................... 32 4.2. device naming ...................................................................................................................... 34 4.3. discovering disk devices ..................................................................................................... 35 4.4. erasing a hard disk .............................................................................................................. 40 4.5. advanced hard disk settings ................................................................................................ 41 4.6. practice: hard disk devices .................................................................................................. 42 4.7. solution: hard disk devices .................................................................................................. 43 5. disk partitions ................................................................................................................................. 45 5.1. about partitions .................................................................................................................... 46 5.2. discovering partitions .......................................................................................................... 47 5.3. partitioning new disks ......................................................................................................... 49 5.4. about the partition table ...................................................................................................... 51 5.5. GUID partition table ........................................................................................................... 52 5.6. labeling with parted ............................................................................................................. 52 5.7. practice: partitions ............................................................................................................... 54 5.8. solution: partitions ............................................................................................................... 55 6. file systems ...................................................................................................................................... 56 6.1. about file systems ................................................................................................................ 57 6.2. common file systems ........................................................................................................... 58 6.3. putting a file system on a partition ..................................................................................... 61 6.4. tuning a file system ............................................................................................................. 62 6.5. checking a file system ......................................................................................................... 63 6.6. practice: file systems ........................................................................................................... 64 6.7. solution: file systems ........................................................................................................... 65 7. mounting .......................................................................................................................................... 66 7.1. mounting local file systems ................................................................................................ 67 7.2. displaying mounted file systems ......................................................................................... 68 7.3. from start to finish .............................................................................................................. 70 7.4. permanent mounts ............................................................................................................... 71 7.5. securing mounts ................................................................................................................... 72 7.6. mounting remote file systems ............................................................................................. 73 7.7. practice: mounting file systems .......................................................................................... 74 7.8. solution: mounting file systems .......................................................................................... 75 8. troubleshooting tools ...................................................................................................................... 77 8.1. lsof ....................................................................................................................................... 78 8.2. fuser ..................................................................................................................................... 79 8.3. chroot ................................................................................................................................... 80 8.4. iostat ....................................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    385 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us