万本电子书0元读

万本电子书0元读

顶部广告

Red Hat Enterprise Linux Server Cookbook电子书

售       价:¥

3人正在读 | 0人评论 9.8

作       者:William Leemans

出  版  社:Packt Publishing

出版时间:2015-12-23

字       数:130.7万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Over 60 recipes to help you build, configure, and orchestrate RHEL 7 Server to make your everyday administration experience seamless About This Book Create fully unattended installations and deploy configurations without breaking a sweat Discover and kick-start the newest RHEL 7 configuration and management tools through an easy-to-follow, practical approach for a lazy system management Be guided by an experienced RHEL expert who is a certified Linux engineer with a passion for open source and open standards Who This Book Is For Red Hat Enterprise Linux Server Cookbook is for RHEL 7 system administrators and DevOps in need of a practical reference guide to troubleshoot common issues and quickly perform tasks. What You Will Learn Set up and configure RHEL 7 Server Use NetworkManager to configure all aspects of your network Manage virtual environments using libvirt Set up software repositories Secure and monitor your RHEL environment Configure SELinux, and create and apply its policies Create kickstart *s to automatically deploy RHEL 7 systems Use Orchestration and configuration management tools to manage your environment In Detail Dominating the server market, the Red Hat Enterprise Linux operating system gives you the support you need to modernize your infrastructure and boost your organization’s efficiency. Combining both stability and flexibility, RHEL helps you meet the challenges of today and adapt to the demands of tomorrow. This practical Cookbook guide will help you get to grips with RHEL 7 Server and automating its installation. Designed to provide targeted assistance through hands-on recipe guidance, it will introduce you to everything you need to know about KVM guests and deploying multiple standardized RHEL systems effortlessly. Get practical reference advice that will make complex networks setups look like child’s play, and dive into in-depth coverage of configuring a RHEL system. Also including full recipe coverage of how to set up, configuring, and troubleshoot SELinux, you’ll also discover how secure your operating system, as well as how to monitor it. Style and approach This practical guide is packed full of hands-on recipes that provide quick solutions to the problems faced when building your RHEL 7 system from scratch using orchestration tools. Each topic is explained sequentially in the process of setting up a system and binding everything together.
目录展开

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

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部