封面
版权页
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Deploying Ubuntu Server
Setting up our lab
Determining your server's role
Obtaining Ubuntu Server
Deciding between 32-bit and 64-bit installations
Creating a bootable Ubuntu Server flash drive (Windows)
Creating a bootable Ubuntu Server flash drive (Linux)
Creating a bootable Ubuntu Server flash drive (Mac)
Planning the partition layout
Installing Ubuntu Server
Installing Ubuntu Server (Raspberry Pi)
Summary
Chapter 2. Managing Users
Understanding when to use root
Creating and removing users
Understanding the /etc/passwd and /etc/shadow files
Distributing default configuration files with /etc/skel
Switching between users
Managing groups
Managing passwords and password policies
Configuring administrator access with sudo
Setting permissions on files and directories
Summary
Chapter 3. Managing Storage Volumes
Viewing disk usage
Adding additional storage volumes
Partitioning and formatting volumes
Mounting and unmounting storage volumes
Understanding the /etc/fstab file
Managing swap
Utilizing LVM volumes
Using symbolic and hard links
Summary
Chapter 4. Connecting to Networks
Setting the hostname
Managing network interfaces
Assigning static IP addresses
Understanding Linux name resolution
Understanding Network Manager
Getting started with OpenSSH
Getting started with SSH key management
Simplifying SSH connections with a ~/.ssh/config file
Summary
Chapter 5. Managing Software Packages
Understanding Linux package management
Installing and removing software
Searching for packages
Managing software repositories
Keeping your server up to date
Backing up and restoring packages
Making use of aptitude
Installing Snap packages
Summary
Chapter 6. Controlling and Monitoring Processes
Showing running processes with the ps command
Managing jobs
Killing misbehaving processes
Utilizing htop
Managing system processes
Monitoring memory usage
Scheduling tasks with Cron
Understanding load average
Summary
Chapter 7. Managing Your Ubuntu Server Network
Planning your IP address scheme
Serving IP addresses with isc-dhcp-server
Setting up name resolution (DNS) with bind
Creating a secondary DNS server
Setting up an Internet gateway
Keeping your system clock in sync with NTP
Summary
Chapter 8. Accessing and Sharing Files
File server considerations
Sharing files with Windows users using Samba
Setting up NFS shares
Transferring files with rsync
Transferring files with SCP
Mounting remote filesystems with SSHFS
Summary
Chapter 9. Managing Databases
Preparations for setting up a database server
Installing MariaDB
Taking a look at MariaDB configuration
Understanding how MariaDB differs in Ubuntu 16.04
Managing databases
Setting up a slave DB server
Summary
Chapter 10. Serving Web Content
Installing and configuring Apache
Installing additional Apache modules
Securing Apache with SSL
Setting up high availability with keepalived
Installing and configuring ownCloud
Summary
Chapter 11. Virtualizing Hosts and Applications
Setting up a virtual machine server
Creating virtual machines
Bridging the virtual machine network
Creating running and managing Docker containers
Summary
Chapter 12. Securing Your Server
Lowering your attack surface
Securing OpenSSH
Installing and configuring Fail2ban
MariaDB best practices
Setting up a firewall
Encrypting and decrypting disks with LUKS
Locking down sudo
Summary
Chapter 13. Troubleshooting Ubuntu Servers
Evaluating the problem space
Conducting a root-cause analysis
Viewing system logs
Tracing network issues
Troubleshooting resource issues
Diagnosing defective RAM
Summary
Chapter 14. Preventing and Recovering from Disasters
Preventing disasters
Utilizing Git for configuration management
Implementing a backup plan
Creating system images with Clonezilla live
Utilizing bootable recovery media
Summary
Index
更新时间:2021-07-14 11:03:50