Book description
A practical guide to troubleshooting the CentOS 7 community-based enterprise server
In Detail
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.
What You Will Learn
- Consider the need to understand, manipulate, and make use of the relevant system log files
- Analyze, review, and make decisions regarding how and what to do with troublesome active processes on a CentOS server
- Discover how to approach issues regarding the network environment
- Approach issues regarding package management and learn how to make the necessary steps to diagnose and fix the problems found in relation to their YUM- and RPM-based needs
- Diagnose and troubleshoot issues related to Samba, NFS, and various external storage methods
- Diagnose and troubleshoot issues related to iptables, SELinux, some common firewalls, shell access, and SSH
Table of contents
-
Troubleshooting CentOS
- Table of Contents
- Troubleshooting CentOS
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Basics of Troubleshooting CentOS
-
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
- 3. Troubleshooting the Network Environment
- 4. Troubleshooting Package Management and System Upgrades
-
5. Troubleshooting Users, Directories, and Files
- Users
- 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
- 6. Troubleshooting Shared Resources
- 7. Troubleshooting Security Issues
- 8. Troubleshooting Database Services
- 9. Troubleshooting Web Services
- 10. Troubleshooting DNS Services
- Index
Product information
- Title: Troubleshooting CentOS
- Author(s):
- Release date: June 2015
- Publisher(s): Packt Publishing
- ISBN: 9781785289828
You might also like
book
Mastering CentOS 7 Linux Server
Configure, manage, and secure a CentOS 7 Linux server to serve a variety of services provided …
book
CentOS 7 Linux Server Cookbook - Second Edition
Over 80 recipes to get up and running with CentOS 7 Linux server About This Book …
book
CentOS 7 Server Deployment Cookbook
Deploy and manage today's essential services on an enterprise-class, open operating system About This Book Configure …
book
Linux Server Hacks, Volume Two
Today's system administrators deal with a vast number of situations, operating systems, software packages, and problems. …