更新时间:2021-07-14 11:03:50
封面
版权页
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
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
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
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
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
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
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
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