Troubleshooting CentOS

Packt Publishing Limited
  • 1. Auflage
  • |
  • erschienen am 24. Juni 2015
  • |
  • 190 Seiten
E-Book | ePUB mit Adobe DRM | Systemvoraussetzungen
978-1-78528-177-8 (ISBN)
CentOS is the enterprise-grade Linux operating system built using the same source code as Red Hat Enterprise Linux (RHEL) to provide a free-to-use alternative to Red Hat's commercial Linux offering.The purpose of this book is to build on your understanding of CentOS and to explore those mission-critical services you are entrusted to manage and maintain. Starting with a brief introduction to the overall subject of troubleshooting a CentOS server, this book will take you on a journey across the whole spectrum of issue-based problem solving, which includes active processes, the networking environment, package management, users, folders, files, shared resources, security, databases, and web-based services. By the end of the book, you will have expert-level competency in identifying and diagnosing the root causes of CentOS storage, network, and administration issues and resolving them.
  • Englisch
  • Birmingham
  • |
  • Großbritannien
978-1-78528-177-8 (9781785281778)
1785281771 (1785281771)
weitere Ausgaben werden ermittelt
Jonathan Hobson is a professional Dev/Ops engineer who provides round-the-clock application and server support to one of the world's largest online newspapers. He has been using CentOS since its inception, and as the author of the best-selling CentOS 6 Linux Server Cookbook, Packt Publishing (ISBN-13: 978-1849519021), Jonathan maintains a strong reputation for the generation of ideas, problem solving, building business confidence, and finding innovative solutions in challenging environments.
Jonathan has worked in a variety of environments, and with more than 20 years of experience as a professional developer, database administrator, and server engineer, he continues to support the open source community at large.
Following a wide range of interests beyond the computer screen, Jonathan also enjoys walking his dogs and getting out and about in the great outdoors.
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewers
  • Table of Contents
  • Preface
  • Chapter 1: Basics of Troubleshooting CentOS
  • Installing some basic tools
  • Gathering hardware information
  • Understanding dmesg
  • Understanding log files
  • Reading log files and affecting the output
  • Using tail to monitor log files
  • Using cat, less, and more
  • Using grep
  • Using diff
  • Using truncation
  • Summary
  • References
  • Chapter 2 : Troubleshooting Active Processes
  • Tuning server performance with memory management and swap
  • Managing memory with vmstat
  • Checking the system load with the top command
  • Monitoring disk I/O with iotop
  • Checking processes with the ps command
  • Checking performance with iostat and lsof
  • Calculating the system load
  • Discovering process IDs with pgrep and systemctl
  • More about systemd
  • Issuing the kill signal
  • Dealing with an orphaned process
  • Summary
  • References
  • Chapter 3 : Troubleshooting the Network Environment
  • Using ping, dig, host, traceroute, and mtr
  • The ping command
  • The dig and host commands
  • The traceroute command
  • The mtr command
  • Monitoring network connections with the ss command
  • Packet analysis with tcpdump
  • Summary
  • References
  • Chapter 4 : Troubleshooting Package Management and System Upgrades
  • Gathering software information
  • Using Yum plugins
  • Fixing Yum operations
  • Installing additional Yum repositories
  • EPEL
  • Remi
  • The IUS repository
  • Downloading an RPM package with Yum
  • Diagnosing a corrupt RPM database
  • Minor release upgrades
  • Summary
  • References
  • Chapter 5 : Troubleshooting Users, Directories, and Files
  • Users
  • Adding users and forcing a password change
  • Deleting users
  • Modifying a user
  • Meet login.defs
  • Monitoring user activity with utmpdump
  • Resetting the root password and enhancing logging
  • Recovering lost or deleted files with Scalpel
  • Restoring file and directory permissions
  • Working with, and extending, the XFS filesystem
  • Running repairs on XFS
  • Investigating fragmentation on XFS
  • Auditing directories and files
  • Visualizing directories and files
  • Summary
  • References
  • Chapter 6 : Troubleshooting Shared Resources
  • Providing NFS shares on a CentOS 7 server
  • About NFS exports
  • Mounting NFS shares on a CentOS client
  • Mounting an external drive with CIFS
  • Using autofs to mount an external drive
  • Summary
  • References
  • Chapter 7 : Troubleshooting Security Issues
  • Auditing SELinux with aureport and setroubleshoot
  • SSH banners
  • Tuning SSH
  • Intrusion detection with Tripwire
  • Firewalld - zone, service, and port management
  • Removing Firewalld and returning to iptables
  • Summary
  • References
  • Chapter 8 : Troubleshooting Database Services
  • Getting up-and-running with MariaDB
  • Resetting and recovering a root password with MariaDB
  • Tuning MariaDB and MySQL
  • Obtaining metrics from MariaDB and MySQL
  • Returning to MySQL
  • Installing and configuring PostgreSQL 9
  • Summary
  • References
  • Chapter 9 : Troubleshooting Web Services
  • Auditing the server with cURL
  • Debugging Akamai headers with cURL
  • Adding Varnish to Apache
  • Testing Varnish with cURL
  • Using cURL to access an FTP directory
  • Enabling mod_status in Apache
  • Summary
  • References
  • Chapter 10 : Troubleshooting DNS Services
  • Changing the hostname and managing the FQDN
  • Performing system sanity checks with BIND
  • Monitoring bandwidth with iftop
  • Flushing the cache
  • Summary
  • References
  • Index

Dateiformat: EPUB
Kopierschutz: Adobe-DRM (Digital Rights Management)


Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat EPUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Weitere Informationen finden Sie in unserer E-Book Hilfe.

Download (sofort verfügbar)

24,93 €
inkl. 19% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe DRM
siehe Systemvoraussetzungen
E-Book bestellen

Unsere Web-Seiten verwenden Cookies. Mit der Nutzung dieser Web-Seiten erklären Sie sich damit einverstanden. Mehr Informationen finden Sie in unserem Datenschutzhinweis. Ok