Book Image

Linux: Powerful Server Administration

By : Jonathan Hobson, William Leemans, Uday Sawant, Oliver Pelz
Book Image

Linux: Powerful Server Administration

By: Jonathan Hobson, William Leemans, Uday Sawant, Oliver Pelz

Overview of this book

Linux servers are frequently selected over other server operating systems for their stability, security and flexibility advantages.This Learning Path will teach you how to get up and running with three of the most popular Linux server distros: Ubuntu Server, CentOS 7 Server, and RHEL 7 Server. We will begin with the Ubuntu Server and show you how to make the most of Ubuntu’s advanced functionalities. Moving on, we will provide you with all the knowledge that will give you access to the inner workings of the latest CentOS version 7. Finally, touching RHEL 7, we will provide you with solutions to common RHEL 7 Server challenges.This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products: 1)Ubuntu Server Cookbook 2)CentOS 7 Linux Server Cookbook, Second Edition 3)Red Hat Enterprise Linux Server Cookbook
Table of Contents (6 chapters)

Chapter 4. Configuring Your New System

Here's an overview of the recipes that we'll be covering in this chapter:

  • The systemd service and setting runlevels
  • Starting and stopping systemd services
  • Configuring the systemd journal for persistence
  • Monitoring services using journalctl
  • Configuring logrotate
  • Managing time
  • Configuring your boot environment
  • Configuring smtp

Introduction

Once your system is installed and the network is configured, it's time to start configuring everything else.

RHEL 7 comes with the systemd init daemon, which takes care of your daemon or service housekeeping and more, replacing the old SysV (UNIX System V) init system.

Its main advantages are automatic dependency handling, parallel startup of services, and the monitoring of started services with the ability to restart crashed services.

For a good read on systemd and its inner workings, head over to https://n0where.net/understanding-systemd.

The systemd service and setting runlevels

The systemd service...