CentOS 7 Linux Server Cookbook - Second Edition
eBook - ePub

CentOS 7 Linux Server Cookbook - Second Edition

Oliver Pelz, Jonathan Hobson, Jonathan Hobson

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

CentOS 7 Linux Server Cookbook - Second Edition

Oliver Pelz, Jonathan Hobson, Jonathan Hobson

Book details
Book preview
Table of contents
Citations

About This Book

Over 80 recipes to get up and running with CentOS 7 Linux serverAbout This Book• A practical guide to install, configure, administer and maintain CentOS 7 servers• An in-depth guide to the CentOS 7 operating system, exploring its various new features and changes in server administration• Presents 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 Learn• Install and configure CentOS 7 Linux server system from scratch using normal and advanced methods• Maintain a performance-based and secure server solution by deploying expert configuration advice and managing software packages• Monitor, manage and develop your server's file system to maintain a stable performance• Gain best practice methods on sharing files and resources through a network• Install and configure common standard services such as web, mail, FTP, database and domain name server technologies• Introduce you to the world of operating-system-level virtualization using the Docker platform.• Understand the fundamentals of the Security-Enhanced Linux access control architecture• Monitor 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.

Frequently asked questions

How do I cancel my subscription?
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.
Can/how do I download books?
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.
What is the difference between the pricing plans?
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.
What is Perlego?
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.
Do you support text-to-speech?
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.
Is CentOS 7 Linux Server Cookbook - Second Edition an online PDF/ePUB?
Yes, you can access CentOS 7 Linux Server Cookbook - Second Edition by Oliver Pelz, Jonathan Hobson, Jonathan Hobson in PDF and/or ePUB format, as well as other popular books in Computer Science & Operating Systems. We have over one million books available in our catalogue for you to explore.

Information

Year
2016
ISBN
9781785883989
Edition
2

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

Table of contents