售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Linux: Powerful Server Administration
Table of Contents
Linux: Powerful Server Administration
Linux: Powerful Server Administration
Credits
Preface
What this learning path covers
What you need for this learning path
Who this learning path is for
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Module 1
1. Managing Users and Groups
Introduction
Creating a user account
Getting ready
How to do it…
How it works…
There's more…
See also
Creating user accounts in batch mode
Getting ready
How to do it...
How it works…
Creating a group
Getting ready
How to do it...
How it works…
There's more…
See also
Adding group members
Getting ready
How to do it…
How it works…
There's more…
Deleting a user account
Getting ready
How to do it...
How it works…
There's more…
See also
Managing file permissions
Getting ready
How to do it…
How it works…
There's more…
Getting root privileges with sudo
Getting ready
How to do it...
How it works…
There's more…
Setting password less sudo
Other uses of sudo
See also
Setting resource limits with limits.conf
Getting ready
How to do it...
How it works…
There's more…
Setting up public key authentication
Getting ready
How to do it...
How it works…
Working of SSH authentication
There's more…
Troubleshooting SSH connections
SSH tools for the Windows platform
See also
Securing user accounts
How to do it...
How it works…
2. Networking
Introduction
Connecting to a network with a static IP
Getting ready
How to do it…
How it works…
There's more…
IPv6 configuration
See also
Installing the DHCP server
Getting ready
How to do it…
How it works…
There's more…
Installing the DNS server
Getting ready
How to do it…
How it works…
See also
Hiding behind the proxy with squid
Getting ready
How to do it…
How it works…
There's more…
Access control list
Set cache refresh rules
Sarg – tool to analyze squid logs
Squid guard
See also
Being on time with NTP
How to do it…
How it works…
There's more…
See also
Discussing load balancing with HAProxy
Getting ready
How to do it…
How it works…
There's more …
See also
Tuning the TCP stack
Getting ready…
How to do it…
How it works…
See also
Troubleshooting network connectivity
Getting ready
How to do it…
There's more…
Securing remote access with OpenVPN
Getting ready…
How to do it…
How it works…
There's more…
Securing a network with uncomplicated firewall
Getting ready
How to do it…
There's more…
See also
Securing against brute force attacks
Getting ready
How to do it…
How it works…
There's more…
Discussing Ubuntu security best practices
Getting ready
How to do it…
How it works…
See also
3. Working with Web Servers
Introduction
Installing and configuring the Apache web server
Getting ready
How to do it…
How it works…
There's more…
HTTP version 2 support
See also
Serving dynamic contents with PHP
Getting ready
How to do it…
How it works…
PHP settings
There's more…
Installing the LAMP stack
Upgrading PHP under Ubuntu 14
Hosting multiple websites with a virtual domain
Getting ready
How to do it…
How it works…
See also
Securing web traffic with HTTPS
Getting ready
How to do it…
How it works…
There's more…
See also
Installing Nginx with PHP_FPM
Getting ready
How to do it…
How it works…
There's more…
See also
Setting Nginx as a reverse proxy
Getting ready
How to do it…
How it works…
There's more…
HAProxy and Varnish
See also
Load balancing with Nginx
Getting ready
How to do it…
How it works…
There's more…
See also
Setting HTTPs on Nginx
Getting ready
How to do it…
How it works…
See also
Benchmarking and performance tuning of Apache
Getting ready
How to do it…
There's more…
See also
Securing the web server
Getting ready
How to do it…
How it works…
See also
Troubleshooting the web server
Getting ready
How to do it…
Web server not accessible
Virtual host not accessible
Access denied or forbidden errors
Apache downloads .php files
4. Working with Mail Servers
Introduction
Sending e-mails with Postfix
Getting ready
How to do it…
How it works…
See also
Enabling IMAP and POP3 with Dovecot
Getting ready
How to do it…
How it works…
See also
Adding e-mail accounts
Getting ready
How to do it…
How it works…
There's more…
Web console for virtual mailbox administration
See also
Mail filtering with spam-assassin
Getting ready
How to do it…
How it works…
There's more…
See also
Troubleshooting the mail server
Getting ready
How to do it…
See also
Installing the Zimbra mail server
Getting ready
How to do it…
How it works…
There's more…
See also
5. Handling Databases
Introduction
Installing relational databases with MySQL
Getting ready
How to do it…
How it works…
There’s more…
Securing MySQL installation
See also
Storing and retrieving data with MySQL
Getting ready
How to do it…
How it works…
Importing and exporting bulk data
How to do it…
See also
Adding users and assigning access rights
Getting ready
How to do it…
How it works…
There’s more…
Removing user accounts
Setting resource limits
See also
Installing web access for MySQL
Getting ready
How to do it…
How it works…
There’s more…
See also
Setting backups
Getting ready
How to do it…
How it works…
See also
Optimizing MySQL performance – queries
Getting ready
How to do it…
How it works…
There’s more…
Sharding MySQL
See also
Optimizing MySQL performance – configuration
Getting ready
How to do it…
How it works…
There’s more…
Percona configuration wizard
MySQL table compression
See also
Creating MySQL replicas for scaling and high availability
Getting ready
How to do it…
How it works…
There’s more…
See also
Troubleshooting MySQL
Getting ready
How to do it…
See also
Installing MongoDB
Getting ready
How to do it…
How it works…
See also
Storing and retrieving data with MongoDB
Getting ready
How to do it…
How it works…
There’s more…
See also
6. Network Storage
Introduction
Installing the Samba server
Getting ready
How to do it…
How it works…
There's more…
Tools for personal file sharing
See also
Adding users to the Samba server
Getting ready
How to do it…
How it works…
There's more…
See also
Installing the secure FTP server
Getting ready
How to do it…
How it works…
There's more…
See also
Synchronizing files with Rsync
How to do it…
How it works…
There's more…
See also
Performance tuning the Samba server
Getting ready
How to do it…
How it works…
Troubleshooting the Samba server
How to do it…
Checking network connectivity
Checking the Samba service
Checking Samba logs
Checking Samba configuration
See also
Installing the Network File System
Getting ready
How to do it…
How it works…
There's more…
See also
7. Cloud Computing
Introduction
Creating virtual machine with KVM
Getting ready
How to do it…
How it works…
There's more…
See also
Managing virtual machines with virsh
Getting ready
How to do it…
How it works…
There's more…
Easy cloud images with uvtool
See also
Setting up your own cloud with OpenStack
Getting ready
How to do it…
How it works…
There's more…
See also
Adding a cloud image to OpenStack
Getting ready
How to do it…
How it works…
There's more…
See also
Launching a virtual instance with OpenStack
Getting ready
How to do it…
How it works…
There's more…
See also
Installing Juju a service orchestration framework
Getting ready
How to do it…
How it works…
There's more…
See also
Managing services with Juju
Getting ready
How to do it…
How it works…
There's more…
See also
8. Working with Containers
Introduction
Installing LXD, the Linux container daemon
Getting ready
How to do it…
How it works…
There's more…
See also
Deploying your first container with LXD
Getting ready
How to do it…
How it works…
There's more…
See also
Managing LXD containers
Getting ready…
How to do it…
There's more…
See also
Managing LXD containers – advanced options
How to do it…
How it works…
Setting resource limits on LXD containers
How to do it…
How it works…
There's more…
See also
Networking with LXD
Getting ready
How to do it…
How it works…
There's more…
See also
Installing Docker
Getting ready
How to do it…
How it works…
There's more…
See also
Starting and managing Docker containers
Getting ready
How to do it…
How it works…
There's more…
See also
Creating images with a Dockerfile
Getting ready
How to do it…
How it works…
There's more…
See also
Understanding Docker volumes
Getting ready
How to do it…
How it works…
See also
Deploying WordPress using a Docker network
How to do it…
How it works…
There's more…
See also
Monitoring Docker containers
How to do it…
How it works…
There's more…
See also
Securing Docker containers
How to do it…
See also
9. Streaming with Ampache
Introduction
Installing the Ampache server
Getting ready
How to do it…
How it works…
There's more…
See also
Uploading contents and creating catalogs
Getting ready
How to do it…
How it works…
Setting on-the-fly transcoding
Getting ready
How to do it…
Enabling API access for remote streaming
Getting ready
How to do it…
How it works…
Streaming music with Ampache
Getting ready
How to do it…
10. Communication Server with XMPP
Introduction
Installing Ejabberd
Getting ready
How to do it…
How it works…
See also
Creating users and connecting with the XMPP client
Getting ready
How to do it…
How it works…
There's more…
See also
Configuring the Ejabberd installation
Getting ready
How to do it…
How it works…
There's more…
See also
Creating web client with Strophe.js
Getting ready
How to do it…
How it works…
There's more…
See also
Enabling group chat
Getting ready
How to do it…
How it works…
There's more…
See also
Chat server with Node.js
Getting ready
How to do it…
How it works…
There's more…
See also
11. Git Hosting
Introduction
Installing Git
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a local repository with Git CLI
Getting ready
How to do it…
How it works…
There's more…
See also
Storing file revisions with Git commit
Getting ready
How to do it…
How it works…
There's more…
Synchronizing the repository with a remote server
Getting ready
How to do it…
How it works…
There's more…
GitHub pages
See also
Receiving updates with Git pull
Getting ready
How to do it…
How it works…
See also
Creating repository clones
Getting ready
How to do it…
How it works…
See also
Installing GitLab, your own Git hosting
Getting ready
How to do it…
How it works…
There's more…
See also
Adding users to the GitLab server
Getting ready
How to do it…
Creating a repository with GitLab
Getting ready
How to do it…
Automating common tasks with Git hooks
Getting ready
How to do it…
How it works…
See also
12. Collaboration Tools
Introduction
Installing the VNC server
Getting ready
How to do it…
How it works…
See also
Installing Hackpad, a collaborative document editor
Getting ready
How to do it…
How it works…
There's more
Using Hackpad with Docker
See also
Installing Mattermost – a self-hosted slack alternative
Getting ready
How to do it…
How it works…
There's more …
See also
Installing OwnCloud, self-hosted cloud storage
Getting ready
How to do it…
How it works…
See also
13. Performance Monitoring
Introduction
Monitoring the CPU
Getting ready
How to do it…
How it works…
There's more…
See also
Monitoring memory and swap
Getting ready
How to do it…
How it works…
There's more…
See also
Monitoring the network
Getting ready
How to do it…
How it works…
There's more…
Monitoring storage
Getting ready
How to do it…
Setting performance benchmarks
Getting ready
How to do it…
There's more…
Graphing tools
More options
See also
14. Centralized Authentication Service
Introduction
Installing OpenLDAP
Getting ready
How to do it…
How it works…
See also
Installing phpLDAPadmin
Getting ready
How to do it…
How it works…
There's more…
See also
Ubuntu server logins with LDAP
Getting ready
How to do it…
How it works…
See also
Authenticating Ejabberd users with LDAP
Getting ready
How to do it…
How it works…
See also
2. Module 2
1. Installing CentOS
Introduction
Downloading CentOS and confirming the checksum on Windows or OS X
Getting ready
How to do it...
How it works…
Creating USB installation media on Windows or OS X
Getting ready
How to do it...
How it works...
Performing an installation of CentOS using the graphical installer
Getting ready
How to do it...
How it works…
Running a netinstall over HTTP
Getting ready
How to do it...
How it works...
Installing CentOS 7 using a kickstart file
Getting ready
How to do it...
How it works...
Getting started and customising the boot loader
Getting ready
How to do it...
How it works...
Troubleshooting the system in rescue mode
Getting ready
How to do it...
Reaching rescue mode
Accessing the filesystem
Accessing the filesystem
Re-install the CentOS boot loader
How it works...
Updating the installation and enhancing the minimal install with additional administration and development tools
Getting ready
How to do it...
How it works...
2. Configuring the System
Introduction
Navigating text files with less
Getting ready
How to do it...
How it works...
Introduction to Vim
Getting ready
How to do it...
How it works...
Speaking the right language
Getting ready
How to do it...
How it works...
There's more…
Synchronizing the system clock with NTP and the chrony suite
Getting ready
How to do it...
How it works...
There's more...
Setting your hostname and resolving the network
Getting ready
How to do it...
How it works...
There's more...
Building a static network connection
Getting ready
How to do it...
How it works...
Becoming a superuser
Getting ready
How to do it...
How it works...
Customizing your system banners and messages
Getting ready
How to do it...
How it works...
There's more...
Priming the kernel
Getting ready
How to do it...
How it works...
There's more...
3. Managing the System
Introduction
Knowing and managing your background services
Getting ready
How to do it...
How it works...
There's more...
Troubleshooting background services
Getting ready
How to do it...
How it works...
Tracking system resources with journald
Getting ready
How to do it...
How it works...
Configuring journald to make it persistent
Getting ready
How to do it...
How it works...
Managing users and their groups
Getting ready
How to do it...
How it works...
Scheduling tasks with cron
Getting ready
How to do it...
How it works...
There's more...
Synchronizing files and doing more with rsync
Getting ready
How to do it...
How it works...
Maintaining backups and taking snapshots
Getting ready
How to do it...
How it works...
Monitoring important server infrastructure
Getting ready
How to do it...
How it works...
Taking control with GIT and Subversion
Getting ready
How to do it...
How it works
There's more...
4. Managing Packages with YUM
Introduction
Using YUM to update the system
Getting ready
How to do it...
How it works...
There's more...
Using YUM to search for packages
Getting ready
How to do it...
How it works...
There's more...
Using YUM to install packages
Getting ready
How to do it...
How it works...
There's more...
Using YUM to remove packages
Getting ready
How to do it...
How it works...
Keeping YUM clean and tidy
Getting ready
How to do it...
How it works...
There's more...
Knowing your priorities
Getting ready
How to do it...
How it works...
Using a third-party repository
Getting ready
How to do it...
How it works...
There's more...
Creating a YUM repository
Getting ready
How to do it...
How it works...
There's more...
Working with the RPM package manager
Getting ready
How to do it...
How it works...
There's more...
5. Administering the Filesystem
Introduction
Creating a virtual block device
Getting ready
How to do it...
How it works...
There's more...
Formatting and mounting a filesystem
Getting ready
How to do it...
How it works…
There's more...
Using disk quotas
Getting ready
How to do it...
Enabling user and group quotas
Enabling project (directory) quotas
How it works...
There's more...
Maintaining a filesystem
Getting ready
How to do it...
How it works...
There's more...
Extending the capacity of the filesystem
Getting ready
How to do it...
How it works...
6. Providing Security
Introduction
Locking down remote access and hardening SSH
Getting ready
How to do it...
How it works...
There's more...
Changing the SSH port number of your server
Limiting SSH access by user or group
Installing and configuring fail2ban
Getting ready
How to do it...
How it works...
Working with a firewall
Getting ready
How to do it...
How it works...
There's more...
Forging the firewall rules by example
Getting ready
How to do it...
To change an existing firewalld service (ssh)
To create your own new service
How it works...
There's more...
Generating self-signed certificates
Getting ready
How to do it...
How it works...
There's more...
Using secure alternatives to FTP
Getting ready
How to do it...
Securing your vsftpd server with SSL–FTPS
Securing your vsftpd server using SSH – SFTP
How it works...
There's more...
7. Building a Network
Introduction
Printing with CUPS
Getting ready
How to do it...
How it works...
There's more...
How to add a network printer to the CUPS server
How to share a local printer to the CUPS server
Running a DHCP server
Getting ready
How to do it...
How it works...
There's more...
Using WebDAV for file sharing
Getting ready
How to do it…
How it works…
Installing and configuring NFS
Getting ready
How to do it...
Installing and configuring the NFS server
Creating an export share
How it works...
Working with NFS
Getting ready
How to do it...
How it works...
Securely sharing resources with Samba
Getting ready
How to do it...
How it works...
There's more...
8. Working with FTP
Introduction
Installing and configuring the FTP service
Getting ready
How to do it...
How it works...
There's more...
Working with virtual FTP users
Getting ready
How to do it...
How it works...
Customizing the FTP service
Getting ready
How to do it...
How it works...
Troubleshooting users and file transfers
Getting ready
How to do it...
How it works...
9. Working with Domains
Introduction
Installing and configuring a caching-only nameserver
Getting ready
How to do it...
Configuring a caching-only Unbound DNS server
Configuring a forwarding only DNS server
How it works...
There's more...
Setting up an authoritative-only DNS server
Getting ready
How to do it...
How it works...
There's more...
Creating an integrated nameserver solution
Getting ready
How to do it...
How it works
There's more...
Populating the domain
Getting ready
How to do it...
How it works…
Building a secondary (slave) DNS server
Getting ready
How to do it...
Changes to the primary DNS server
Changes to the secondary DNS server(s)
How it works...
10. Working with Databases
Introduction
Installing a MariaDB database server
Getting ready
How to do it...
How it works...
Managing a MariaDB database
Getting ready
How to do it...
How it works...
There's more...
Reviewing and revoking permissions or dropping a user
Allowing remote access to a MariaDB server
Getting ready
How to do it...
How it works...
Installing a PostgreSQL server and managing a database
Getting ready
How to do it...
How it works...
There's more...
Configuring remote access to PostgreSQL
Getting ready
How to do it...
How it works...
Installing phpMyAdmin and phpPgAdmin
Getting ready
How to do it...
Installing and configuring phpMyAdmin
Installing and configuring phpPgAdmin
How it works...
11. Providing Mail Services
Introduction
Configuring a domain-wide mail service with Postfix
Getting ready
How to do it...
How it works...
There's more...
Changing an e-mail's appearing domain name
Using TLS- (SSL) encryption for SMTP communication
Configure BIND to use your new mailserver
Working with Postfix
How to do it...
Connecting mailx to a remote MTA
Reading your local mails from the mailbox
How it works...
Delivering the mail with Dovecot
Getting ready
How to do it...
How it works...
There's more...
Setting up e-mail software
Using Fetchmail
Getting ready
How to do it...
How it works...
There's more...
Configuring Fetchmail with gmail.com and outlook.com e-mail accounts
Automating Fetchmail
12. Providing Web Services
Introduction
Installing Apache and serving web pages
Getting ready
How to do it...
How it works...
Enabling system users and building publishing directories
Getting ready
How to do it...
How it works...
Implementing name-based hosting
Getting ready
How to do it...
How it works...
Implementing CGI with Perl and Ruby
Getting ready
How to do it...
Creating your first Perl CGI script
Creating your first Ruby CGI script
How it works...
There's more...
Installing, configuring, and testing PHP
Getting ready
How to do it...
How to do it...
Securing Apache
Getting ready
How to do it...
Configuring httpd.conf to provide better security
Removing unneeded httpd modules
Protecting your Apache files
How it works...
Setting up HTTPS with Secure Sockets Layer (SSL)
Getting ready
How to do it...
How it works...
There's more...
13. Operating System-Level Virtualization
Introduction
Installing and configuring Docker
Getting ready
How to do it...
How it works...
Downloading an image and running a container
Getting ready
How to do it...
How it works...
There's more...
Stopping and starting a container
Attaching and interacting with your container
Creating your own images from Dockerfiles and uploading to Docker Hub
Getting ready
How to do it...
Uploading your image to the Docker Hub
How it works...
Setting up and working with a private Docker registry
Getting ready
How to do it...
Steps to be done on our Docker registry server (192.168.1.100)
Steps to be done on every client needing access to our registry
How it works...
14. Working with SELinux
Introduction
Installing and configuring important SELinux tools
Getting ready
How to do it...
How it works...
There's more...
Working with SELinux security contexts
Getting ready
How to do it...
How it works...
Working with policies
Getting ready
How to do it...
How it works...
There's more...
Troubleshooting SELinux
Getting ready
How to do it...
How it works...
15. Monitoring IT Infrastructure
Introduction
Installing and configuring Nagios Core
Getting ready
How to do it...
How it works...
Setting up NRPE on remote client hosts
Getting ready
How to do it...
How it works...
Monitoring important remote system metrics
Getting ready
How to do it...
How it works...
3. Module 3
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…
Bibliography
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜