售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Red Hat Enterprise Linux Server Cookbook
Table of Contents
Red Hat Enterprise Linux Server Cookbook
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
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the color images of this book
Errata
Piracy
Questions
1. Working with KVM Guests
Introduction
Installing and configuring a KVM
Getting ready
How to do it…
Manual installation
Kickstart installation
Graphical setup during the system's setup
See also
Configuring resources
Getting ready
How to do it…
Creating storage pools
Querying storage pools
Removing storage pools
Creating a virtual network
Removing networks
How it works…
There's more…
Local storage pools
Networked or shared storage pools
See also
Building guests
Getting ready
How to do it…
Create a guest
Deleting a guest
How it works…
There's more…
See also
Adding CPUs on the fly
Getting ready
How to do it…
On the KVM host, perform the following steps:
On the KVM guest, perform the following:
Adding RAM on the fly
Getting ready
How to do it…
Adding disks on the fly
Getting ready
How to do it…
How it works…
There's more…
Moving disks to another storage
Getting ready
How to do it…
How it works…
There's more…
Moving VMs
Getting ready
How to do it…
Live native migration over the default network
Live native migration over a dedicated network
How it works…
There's more…
See also
Backing up your VM metadata
How to do it…
How it works…
See also
2. Deploying RHEL "En Masse"
Introduction
Creating a kickstart file
Getting ready
How to do it…
How it works…
There's more…
See also
Publishing your kickstart file using httpd
How to do it…
There's more…
See also
Deploying a system using PXE
Getting ready
How to do it…
How it works…
There's more…
See also
Deploying a system using a custom boot ISO file
How to do it…
How it works…
3. Configuring Your Network
Introduction
Creating a VLAN interface
Getting ready
How to do it…
Creating the VLAN connection with nmcli
Creating the VLAN connection with nmtui
Creating the VLAN connection with kickstart
There's more…
See also
Creating a teamed interface
Getting ready
How to do it…
Creating the teamed interface using nmcli
Creating the teamed interface using nmtui
Creating the teamed interface with kickstart
There's more…
nmcli
nmtui
kickstart
See also
Creating a bridge
Getting ready
How to do it…
Creating a bridge using nmcli
Creating a bridge using nmtui
Creating a bridge with kickstart
There's more…
See also
Configuring IPv4 settings
How to do it…
Setting your IPv4 configuration using nmcli
Setting your IPv4 configuration using nmtui
There's more…
Configuring your DNS resolvers
How to do it…
Setting your DNS resolvers using nmcli
Setting your DNS resolvers using nmtui
There's more…
Configuring static network routes
How to do it…
Configuring static network routes using nmcli
Configuring network routes using nmtui
4. Configuring Your New System
Introduction
The systemd service and setting runlevels
How to do it…
There's more…
See also
Starting and stopping systemd services
How to do it…
There's more…
See also
Configuring the systemd journal for persistence
How to do it…
There's more…
See also
Monitoring services using journalctl
How to do it…
There's more…
See also
Configuring logrotate
How to do it…
How it works…
There's more…
See also
Managing time
How to do it…
Managing time through chrony
Managing time through ntpd
There's more…
See also
Configuring your boot environment
How to do it…
How it works…
There's more…
See also
Configuring smtp
How to do it…
There's more…
See also
5. Using SELinux
Introduction
Changing file contexts
Getting ready
How to do it…
Temporary context changes
Persistent file context changes
There's more…
See also
Configuring SELinux booleans
How to do it…
Listing SELinux booleans
Changing SELinux booleans
There's more…
Configuring SELinux port definitions
How to do it…
There's more…
Troubleshooting SELinux
Getting ready
How to do it…
audit.log
syslog
ausearch
There's more…
See also
Creating SELinux policies
Getting ready
How to do it…
How it works…
There's more…
See also
Applying SELinux policies
Getting ready
How to do it...
How it works…
There's more…
See also
6. Orchestrating with Ansible
Introduction
Install Ansible
Getting ready
How to do it…
Installing the latest tarball
Installing cutting edge from Git
Installing Ansible from the EPEL repository
There's more…
Configuring the Ansible inventory
How to do it…
The static inventory file
The dynamic inventory file
host_vars files
group_vars files
How it works…
There's more…
See also
Creating a template for a kickstart file
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a playbook to deploy a new VM with kickstart
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a playbook to perform system configuration tasks
Getting ready
How to do it…
There's more…
See also
Troubleshooting Ansible
Getting ready
How to do it…
How it works…
There's more…
7. Puppet Configuration Management
Introduction
Installing and configuring Puppet Master
How to do it…
There's more…
See also
Installing and configuring the Puppet agent
How to do it…
There's more…
Defining a simple module to configure time
Getting ready
How to do it…
How it works...
There's more...
See also
Defining nodes and node grouping
How to do it…
Create the configuration node
Create a node group
There's more…
Deploying modules to single nodes and node groups
How to do it…
Configure to deploy a module or manifest to a single client
Configure to deploy a module or manifest to a node group
Configure to deploy to all registered systems
Deploy to a system
There's more…
8. Yum and Repositories
Introduction
Managing yum history
How to do it…
Your yum history
Information about a yum transaction or package
Undoing/redoing certain yum transactions
Roll back to a certain point in your transaction history
There's more…
See also
Creating a copy of an RHN repository
Getting ready
How to do it…
Syncing RHN repositories
There's more…
See also
Configuring additional repositories
Getting ready
How to do it…
There's more…
See also
Setting up yum to automatically update
Getting ready
How to do it…
How it works…
There's more…
See also
Configuring logrotate for yum
How to do it…
How it works…
See also
Recovering from a corrupted RPM database
Getting ready
How to do it…
There's more…
9. Securing RHEL 7
Introduction
Installing and configuring IPA
Getting ready
How to do it…
Installing the IPA server
Installing the IPA client
There's more…
See also
Securing the system login
How to do it…
How it works…
There's more…
See also
Configuring privilege escalation with sudo
Getting ready
How to do it…
There's more…
See also
Secure the network with firewalld
How to do it…
Showing the currently allowed services and ports on your system
Allowing incoming requests for NFS (v4)
Allowing incoming requests on an arbitrary port
There's more…
See also
Using kdump and SysRq
How to do it…
Installing and configuring kdump and SysRq
Using kdump tools to analyze the dump
There's more…
See also…
Using ABRT
How to do it…
Installing and configuring abrtd
Using abrt-cli
There's more…
See also
Auditing the system
How to do it…
Configuring a centralized syslog server to accept audit logs
Some audit rules
Showing audit logs for the preceding rules
See also
10. Monitoring and Performance Tuning
Introduction
Tuning your system's performance
How to do it…
There's more…
See also
Setting up PCP – Performance Co-Pilot
How to do it…
The default installation
The central collector
There's more…
See also
Monitoring basic system performance
How to do it…
There's more…
Monitoring CPU performance
How to do it…
Monitoring RAM performance
How to do it…
Monitoring storage performance
How to do it…
Monitoring network performance
How to do it…
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜