Mastering CentOS 7 Linux Server
eBook - ePub

Mastering CentOS 7 Linux Server

  1. 298 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Mastering CentOS 7 Linux Server

Book details
Book preview
Table of contents
Citations

About This Book

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

About This Book

  • Learn how to efficiently set up and manage a Linux server using one of the best suited technologies for this purpose, CentOS 7
  • Personalize your Linux server and familiarize yourself with the latest tools and utilities setup provided by the new CentOS distribution
  • Follow a step-by-step tutorial through the configuration of the requested services with the capacity to personalize them as per your needs

Who This Book Is For

If you are a Linux system administrator with an intermediate administration level, this is your opportunity to master the brand new distribution of CentOS. If you wish to possess a fully sustainable Linux server, with all its new tools and tweaks, that serves a variety of services to your users and customers, this book is ideal for you. It is your ticket to easily adapt to all the changes made in the latest shift.

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

In Detail

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.

Style and approach

This is a detailed and in-depth guide to help you administrate CentOS 7 for the usage of your server's infrastructure and also for personal network security. Each section shows a list of tools and utilities that are useful to perform the required task, in an easy to understand manner.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Mastering CentOS 7 Linux Server by Mohamed Alibi, Bhaskarjyoti Roy in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Networking. We have over one million books available in our catalogue for you to explore.

Information

Year
2016
ISBN
9781785282393
Edition
1

Mastering CentOS 7 Linux Server


Table of Contents

Mastering CentOS 7 Linux Server
Credits
About the Authors
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
Conventions
Reader feedback
Customer support
Downloading the color images of this book
Errata
Piracy
Questions
1. Advanced User Management
Managing users and groups from GUI and the command line
Quotas
Password aging
Setting the password policy
Configuring password aging and password length
Configuring password complexity and limiting reused password usage
Configuring login failures
Sudoers
visudo
Reference
Summary
2. Security
Introducing SELinux
Installing SELinux
SELinux mode
SELinux policy
SELinux files and processes
Domain transition
SELinux users
Restricting access to su or sudo
Restricting permissions to run scripts
Restricting access to services
SELinux audit logs
SELinux troubleshooting
Summary
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
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
5. Monitoring and Logging
Open source monitoring tools
Ganglia
OpenNMS
Zabbix
Zenoss
Nagios
Icinga
Setting up Nagios as a monitoring server
Tools to set up a logging server
Rsyslog
Syslog-ng
Setting up and configuring Syslog-ng
References
Summary
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
7. Cloud Computing
An overview of cloud computing
Software as a Service
Platform as a Service (PaaS)
Infrastructure as a Service (IaaS)
Cloud computing services
Public cloud
Private cloud
Hybrid cloud
Introducing OpenStack
OpenStack compute
OpenStack networking
OpenStack storage
Components of OpenStack
Installing and configuring OpenStack
References
Summary
8. Configuration Management
Introducing configuration management
Open source configuration management tools
Chef
SaltStack (Salt)
Ansible
Puppet
Installing and configuring Puppet
References
Summary
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
Index

Mastering CentOS 7 Linux Server

Copyright © 2016 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: January 2016
Production reference: 1250116
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78528-239-3
www.packtpub.com

Credits

Authors
Mohamed Alibi
Bhaskarjyoti Roy
Reviewers
Sayyed Mehdi Poustchi Amin
Benjamin KRAFT
Frank Lemmon
Commissioning Editor
Sarah Crofton
Acquisition Editor
Shaon Basu
Content Development Editor
Merwyn D'souza
Technical Editor
Utkarsha S. Kadam
Copy Editors
Joanna McMahon
Merilyn Pereira
Vikrant Phadke
Project Coordinator
Nikhil Nair
Proofreader
Safis Editing
Indexer
Rekha Nair
Graphics
Jason Monteiro
Abhinash Sahu
Production Coordinator
Melwyn Dsa
Cover Work
Melwyn Dsa
2323__perlego...

Table of contents

  1. Mastering CentOS 7 Linux Server