万本电子书0元读

万本电子书0元读

顶部广告

CentOS 7 Linux Server Cookbook - Second Edition电子书

售       价:¥

55人正在读 | 0人评论 6.2

作       者:Oliver Pelz

出  版  社:Packt Publishing

出版时间:2016-01-29

字       数:276.9万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Over 80 recipes to get up and running with CentOS 7 Linux serverAbout This BookA practical guide to install, configure, administer and maintain CentOS 7 serversAn in-depth guide to the CentOS 7 operating system, exploring its various new features and changes in server administrationPresents tricks and solutions to tackle common server issues with the help of practical examples and real-life scenariosWho This Book Is ForThis book is targeted at beginner and more experienced system administrators alike who want to use CentOS as their server solution. Readers do not need much pre-knowledge or experience at all to work with this book.What You Will LearnInstall and configure CentOS 7 Linux server system from scratch using normal and advanced methodsMaintain a performance-based and secure server solution by deploying expert configuration advice and managing software packagesMonitor, manage and develop your server's file system to maintain a stable performanceGain best practice methods on sharing files and resources through a networkInstall and configure common standard services such as web, mail, FTP, database and domain name server technologiesIntroduce you to the world of operating-system-level virtualization using the Docker platform.Understand the fundamentals of the Security-Enhanced Linux access control architectureMonitor your IT infrastructure using NagiosIn DetailThis book will provide you with a comprehensive series of starting points that will give you direct access to the inner workings of the latest CentOS version 7 and help you trim the learning curve to master your server.You will begin with the installation and basic configuration of CentOS 7, followed by learning how to manage your system, services and software packages. You will then gain an understanding of how to administer the file system, secure access to your server and configure various resource sharing services such as file, printer and DHCP servers across your network. Further on, we cover advanced topics such as FTP services, building your own DNS server, running database servers, and providing mail and web services. Finally, you will get a deep understanding of SELinux and you will learn how to work with Docker operating-system virtualization and how to monitor your IT infrastructure with Nagios.By the end of this book, you will have a fair understanding of all the aspects of configuring, implementing and administering CentOS 7 Linux server and how to put it in control.Style and approachThis book is a practical reference guide with hands-on examples and solutions to real-world administration problems. It covers in-depth and comprehensive information on CentOS 7 and its new features.
目录展开

CentOS 7 Linux Server Cookbook Second Edition

Table of Contents

CentOS 7 Linux Server Cookbook Second Edition

Credits

About the Authors

About the Reviewer

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…

Conventions

Reader feedback

Customer support

Errata

Piracy

Questions

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...

Index

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部