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.

Mastering CentOS 7 Linux Server

This ebook is included in a Mapt subscription
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.
$0.00
$20.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
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
 
Code Files
Preview in Mapt

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