Mastering CentOS 7 Linux Server

Configure, manage, and secure a CentOS 7 Linux server to serve a variety of services provided in a sustainable computer's infrastructure.
Preview in Mapt
Code Files

Mastering CentOS 7 Linux Server

Mohamed Alibi, Bhaskarjyoti Roy

1 customer reviews
Configure, manage, and secure a CentOS 7 Linux server to serve a variety of services provided in a sustainable computer's infrastructure.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Mastering CentOS 7 Linux Server Book Cover
Mastering CentOS 7 Linux Server
$ 39.99
$ 28.00
CentOS 7 Linux Server Cookbook - Second Edition Book Cover
CentOS 7 Linux Server Cookbook - Second Edition
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $44.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781785282393
Paperback298 pages

Book Description

Most server infrastructures are equipped with at least one Linux server that provides many essential services, both for a user's demands and for the infrastructure itself. Setting up a sustainable Linux server is one of the most demanding tasks for a system administrator to perform. However, learning multiple, new technologies to meet all of their needs is time-consuming. CentOS 7 is the brand new version of the CentOS Linux system under the RPM (Red Hat) family. It is one of the most widely-used operating systems, being the choice of many organizations across the world.

With the help of this book, you will explore the best practices and administration tools of CentOS 7 Linux server along with implementing some of the most common Linux services. We start by explaining the initial steps you need to carry out after installing CentOS 7 by briefly explaining the concepts related to users, groups, and right management, along with some basic system security measures. Next, you will be introduced to the most commonly used services and shown in detail how to implement and deploy them so they can be used by internal or external users. Soon enough, you will be shown how to monitor the server. We will then move on to master the virtualization and cloud computing techniques. Finally, the book wraps up by explaining configuration management and some security tweaks.

All these topics and more are covered in this comprehensive guide, which briefly demonstrates the latest changes to all of the services and tools with the recent shift from CentOS 6 to CentOS 7.

Table of Contents

Chapter 1: Advanced User Management
Managing users and groups from GUI and the command line
Quotas
Password aging
Sudoers
Reference
Summary
Chapter 2: Security
Introducing SELinux
Domain transition
SELinux users
Restricting access to su or sudo
SELinux audit logs
SELinux troubleshooting
Summary
Chapter 3: Linux for Different Purposes
Configuring a gateway server
Setting up a VPN server
Implementing BIND as a DNS server
Setting up a web server using Apache-MySQL-PHP
Setting up an FTP server
Securing Apache and FTP with OpenSSL
References
Summary
Chapter 4: Mail Server with Postfix
Setting up and configuring of Postfix mail server
Setting up MariaDB for virtual domains and users
Setting up a mail tool (Dovecot) to retrieve mails
Configuring the OpenLDAP Active Directory with Postfix
Securing the mail server using SSL/TLS
References
Summary
Chapter 5: Monitoring and Logging
Open source monitoring tools
Setting up Nagios as a monitoring server
Tools to set up a logging server
Setting up and configuring Syslog-ng
References
Summary
Chapter 6: Virtualization
The basics of virtualization on Linux
Full virtualization
Paravirtualization
Setting up Xen on CentOS 7
Setting up KVM for full virtualization on CentOS 7
Setting up OpenVZ virtualization on CentOS 7
Setting up VirtualBox virtualization on CentOS 7
Setting up Docker on CentOS 7
Establishing services' high availability using HAProxy
References
Summary
Chapter 7: Cloud Computing
An overview of cloud computing
Cloud computing services
Introducing OpenStack
Components of OpenStack
Installing and configuring OpenStack
References
Summary
Chapter 8: Configuration Management
Introducing configuration management
Open source configuration management tools
References
Summary
Chapter 9: Some Additional Tricks and Tools
SSH for remote connection
Securing SSH and the root login configuration
SSH key-based authentication
Installing and configuring SpamAssassin
Setting up the Clamav antivirus
Configuring Mytop for a MySQL database
Setting up Samba and NFS for file sharing
Introducing the Linux system and network monitoring tools
References
Summary

What You Will Learn

  • Manage CentOS 7 users, groups, and root access privileges
  • Enhance the server’s security through its firewall and prevent the most common attacks from penetrating or disabling the server
  • Explore and implement the common, useful services that a CentOS 7 server can provide
  • Monitor your server infrastructure for system or hardware issues
  • Create and configure a virtual machine using virtualization technologies
  • Implement a cloud computing solution on a single node system
  • Get an introduction to the configuration management tools and their usage
  • Discover the importance of the tools that provide remote connection, server service security, and system and process monitoring tools

Authors

Table of Contents

Chapter 1: Advanced User Management
Managing users and groups from GUI and the command line
Quotas
Password aging
Sudoers
Reference
Summary
Chapter 2: Security
Introducing SELinux
Domain transition
SELinux users
Restricting access to su or sudo
SELinux audit logs
SELinux troubleshooting
Summary
Chapter 3: Linux for Different Purposes
Configuring a gateway server
Setting up a VPN server
Implementing BIND as a DNS server
Setting up a web server using Apache-MySQL-PHP
Setting up an FTP server
Securing Apache and FTP with OpenSSL
References
Summary
Chapter 4: Mail Server with Postfix
Setting up and configuring of Postfix mail server
Setting up MariaDB for virtual domains and users
Setting up a mail tool (Dovecot) to retrieve mails
Configuring the OpenLDAP Active Directory with Postfix
Securing the mail server using SSL/TLS
References
Summary
Chapter 5: Monitoring and Logging
Open source monitoring tools
Setting up Nagios as a monitoring server
Tools to set up a logging server
Setting up and configuring Syslog-ng
References
Summary
Chapter 6: Virtualization
The basics of virtualization on Linux
Full virtualization
Paravirtualization
Setting up Xen on CentOS 7
Setting up KVM for full virtualization on CentOS 7
Setting up OpenVZ virtualization on CentOS 7
Setting up VirtualBox virtualization on CentOS 7
Setting up Docker on CentOS 7
Establishing services' high availability using HAProxy
References
Summary
Chapter 7: Cloud Computing
An overview of cloud computing
Cloud computing services
Introducing OpenStack
Components of OpenStack
Installing and configuring OpenStack
References
Summary
Chapter 8: Configuration Management
Introducing configuration management
Open source configuration management tools
References
Summary
Chapter 9: Some Additional Tricks and Tools
SSH for remote connection
Securing SSH and the root login configuration
SSH key-based authentication
Installing and configuring SpamAssassin
Setting up the Clamav antivirus
Configuring Mytop for a MySQL database
Setting up Samba and NFS for file sharing
Introducing the Linux system and network monitoring tools
References
Summary

Book Details

ISBN 139781785282393
Paperback298 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

CentOS 6 Linux Server Cookbook Book Cover
CentOS 6 Linux Server Cookbook
$ 29.99
$ 21.00
Learning Docker Book Cover
Learning Docker
$ 39.99
$ 8.00
Linux Shell Scripting Cookbook, Second Edition Book Cover
Linux Shell Scripting Cookbook, Second Edition
$ 26.99
$ 5.40
Mastering Docker Book Cover
Mastering Docker
$ 39.99
$ 28.00
Docker Cookbook Book Cover
Docker Cookbook
$ 35.99
$ 25.20
Arch Linux Environment Setup How-to Book Cover
Arch Linux Environment Setup How-to
$ 9.99
$ 7.00