万本电子书0元读

万本电子书0元读

顶部广告

Troubleshooting CentOS电子书

售       价:¥

7人正在读 | 0人评论 9.8

作       者:Jonathan Hobson

出  版  社:Packt Publishing

出版时间:2015-06-24

字       数:42.5万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
It is assumed that you will already have a server up and running, you have a good working knowledge of CentOS, and you are comfortable with the concept of working with those services used by your server.
目录展开

Troubleshooting CentOS

Table of Contents

Troubleshooting CentOS

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Errata

Piracy

Questions

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

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

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

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

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

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

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

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

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

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部