Автор: David Both
Издательство: Apress
Год: 2023
Страниц: 536
Язык: английский
Формат: pdf, epub
Размер: 18.0 MB
In Using and Administering Linux: Volume 3 you’ll work with multiple VMs on a single physical host to create a network in which to sharpen your sysadmin skills. Chapters have been fully updated to Fedora Linux 38 with expanded content and figures as well brand new material on the BTRFS file system, using Zram for swap, NetworkManager, automation with Ansible, as well as systemd.
Focusing on network and other advanced services, this second edition of the final series volume builds upon the skills you have learned so far in volumes 1&2 and will depend upon the virtual network and VMs created there. Start by reviewing the administration of Linux servers and install and configure various Linux server services such as DHCP, DNS, NTP, and SSH server that will be used to provide advanced network services. You’ll then learn to install and configure servers such as BIND for name services, DHCP for network host configuration, and SSH for secure logins to remote hosts.
Other topics covered include public/private keypairs to further enhance security, SendMail and IMAP and antispam protection for email, using Apache and WordPress to create and manage web sites, NFS, SAMBA, and Chrony. This volume also covers SELinux and its use in making your systems even more secure., You will learn to build RPMs to be used to distribute automation scripts. All of these services are installed on a single server host over the course of the book and by the time you are finished you will have a single server that provides these services for your network.
Chapter 42 begins this transformation from simple workstation to server by adding a second network interface card (NIC) to the new VM so that it can act as a firewall and router and then changing its network configuration from Dynamic Host Configuration Protocol (DHCP) to static IP addressing. This includes configuring both NICs so that one is connected to the existing virtual router so as to allow connections to the outside world and so that the other NIC connects to the new “inside” network that will contain the existing VM.
Chapter 43 discusses Domain Name Services (DNS) in detail both from client and server standpoints. You’ll learn to use the /etc/hosts file for simple name resolution and then create a simple caching name server. You will then convert the caching name server into a primary name server for your internal network. In Chapter 44 you will convert the new server into a router using kernel parameters and a simple firewall configuration change.
Chapter 45 shows how to use SSHD to provide secure remote access between Linux hosts. It also provides some interesting insights into using commands remotely and creating a simple command-line program to back up specific directories of a remote host to the local host.
...
Chapter 55 discusses package management from the other direction by guiding you through the process of creating an RPM package for the distribution of your own scripts and configuration files. Then Chapter 56 guides you through sharing files to both Linux and Windows hosts.
Finally, Chapter 57 will get you started in the right direction because I know you are going to ask, “Where do I go from here?”
What You Will Learn:
Install, configure, and manage several Linux server services such as email with spam management and single and multiple web sites
Work with NTP time synchronization, DHCP, SSH, and file sharing with Unix/Linux and Windows clients
Create RPMs for distribution of scripts and administrative programs.
Understand and work with enhanced security.
Who This Book Is For:
Those who are already Linux power users – SysAdmins who can administer Linux workstation hosts that are not servers – who want to learn to administer the services provided by Linux servers such as web, time, name, email, SSH, and more.
Скачать Using and Administering Linux: Volume 3, Zero to SysAdmin: Network Services, 2nd Edition