Book description
Explore the potential of Ubuntu 20.04 to manage your local machine and external servers with ease
Key Features
- Learn how to install Ubuntu on a clean disk drive and with the network installer
- Find out how to set up a firewall to protect your system from vulnerable attacks
- Explore file-sharing services such as Samba and NFS to share files from Ubuntu to third-party systems
Book Description
Ubuntu is undeniably one of the most highly regarded and widely used Debian-based Linux distributions available today. Thanks to its ease of use and reliability, Ubuntu has a loyal following of Linux users and an active community of developers.
Ubuntu 20.04 Essentials is designed to take you through the installation, use, and administration of the Ubuntu 20.04 distribution in detail. For beginners, the book covers topics such as operating system installation, the basics of the GNOME desktop environment, configuring email and web servers, and installing packages and system updates. Additional installation topics such as dual booting with Microsoft Windows are also covered along with crucial security topics such as configuring a firewall and user and group administration.
For the experienced user, the book delves into topics such as remote desktop access, the Cockpit web interface, logical volume management (LVM), disk partitioning, and swap management. Further, it also explores KVM virtualization, Secure Shell (SSH), Linux containers, and file sharing using both Samba and NFS to provide a thorough overview of this enterprise-class operating system.
What you will learn
- Get to grips with the process of installing and booting Ubuntu
- Configure SSH key-based authentication on Ubuntu
- Create KVM virtual machines using Cockpit and the Virtual Machine Manager (VMM)
- Install, run, and manage containers on Ubuntu
- Send and receive emails using a third-party SMTP relay server
- Add a new disk to an Ubuntu volume group and logical volume
Who this book is for
If you are into network engineering or system administration or are a Linux enthusiast looking to get hands-on with Ubuntu 20.04 to manage local and virtual machines, this book is for you. A solid understanding of basic Linux commands and knowledge of Ubuntu is recommended.
Table of contents
- 1. Introduction
- 2. A Brief History of Linux
-
3. Installing Ubuntu on a Clean Disk Drive
- 3.1 Ubuntu Installation Options
- 3.2 Server vs. Desktop Editions
- 3.3 Obtaining the Ubuntu Installation Media
- 3.4 Writing the ISO Installation Image to a USB Drive
- 3.5 Booting from the Ubuntu USB Image
- 3.6 Installing Ubuntu
- 3.7 Accessing the Ubuntu Desktop
- 3.8 Installing Updates
- 3.9 Displaying Boot Messages
- 3.10 Summary
- 4. Installing Ubuntu with the Network Installer
- 5. Dual Booting Ubuntu with Windows
- 6. Allocating Windows Disk Partitions to Ubuntu
-
7. A Guided Tour of the GNOME 3 Desktop
- 7.1 Installing the GNOME Desktop
- 7.2 An Overview of the GNOME 3 Desktop
- 7.3 Launching Activities
- 7.4 Managing Windows
- 7.5 Using Workspaces
- 7.6 Calendar and Notifications
- 7.7 Desktop Settings
- 7.8 Customizing the Dash
- 7.9 Switching to Dark Mode
- 7.10 Installing Ubuntu Software
- 7.11 Beyond Basic Customization
- 7.12 Summary
- 8. An Overview of the Ubuntu Cockpit Web Interface
-
9. Using the Bash Shell on Ubuntu
- 9.1 What is a Shell?
- 9.2 Gaining Access to the Shell
- 9.3 Entering Commands at the Prompt
- 9.4 Getting Information about a Command
- 9.5 Bash Command-line Editing
- 9.6 Working with the Shell History
- 9.7 Filename Shorthand
- 9.8 Filename and Path Completion
- 9.9 Input and Output Redirection
- 9.10 Working with Pipes in the Bash Shell
- 9.11 Configuring Aliases
- 9.12 Environment Variables
- 9.13 Writing Shell Scripts
- 9.14 Summary
- 10. Managing Ubuntu Users and Groups
-
11. Managing Ubuntu systemd Units
- 11.1 Understanding Ubuntu systemd Targets
- 11.2 Understanding Ubuntu systemd Services
- 11.3 Ubuntu systemd Target Descriptions
- 11.4 Identifying and Configuring the Default Target
- 11.5 Understanding systemd Units and Unit Types
- 11.6 Dynamically Changing the Current Target
- 11.7 Enabling, Disabling and Masking systemd Units
- 11.8 Working with systemd Units in Cockpit
- 11.9 Summary
- 12. Ubuntu Software Package Management and Updates
- 13. Ubuntu Snap Package Management
- 14. Ubuntu Network Management
- 15. Ubuntu Firewall Basics
- 16. Using gufw and ufw to Configure an Ubuntu Firewall
-
17. Basic Ubuntu Firewall Configuration with firewalld
- 17.1 An Introduction to firewalld
- 17.2 Checking firewalld Status
-
17.3 Configuring Firewall Rules with firewall-cmd
- 17.3.1 Identifying and Changing the Default Zone
- 17.3.2 Displaying Zone Information
- 17.3.3 Adding and Removing Zone Services
- 17.3.4 Working with Port-based Rules
- 17.3.5 Creating a New Zone
- 17.3.6 Changing Zone/Interface Assignments
- 17.3.7 Masquerading
- 17.3.8 Adding ICMP Rules
- 17.3.9 Implementing Port Forwarding
- 17.4 Managing firewalld using firewall-config
- 17.5 Summary
-
18. Configuring SSH Key-based Authentication on Ubuntu
- 18.1 An Overview of Secure Shell (SSH)
- 18.2 SSH Key-based Authentication
- 18.3 Setting Up Key-based Authentication
- 18.4 Installing and Starting the SSH Service
- 18.5 SSH Key-based Authentication from Linux and macOS Clients
- 18.6 Managing Multiple Keys
- 18.7 SSH Key-based Authentication from Windows 10 Clients
- 18.8 SSH Key-based Authentication using PuTTY
- 18.9 Generating a Private Key with PuTTYgen
- 18.10 Installing the Public Key for a Google Cloud Instance
- 18.11 Summary
-
19. Ubuntu Remote Desktop Access with Vino
- 19.1 Remote Desktop Access Types
- 19.2 Secure and Insecure Remote Desktop Access
- 19.3 Enabling Remote Desktop Access on Ubuntu
- 19.4 Connecting to the Shared Desktop
- 19.5 Connecting from Non-Linux Clients
- 19.6 Establishing a Secure Remote Desktop Session
- 19.7 Establishing a Secure Tunnel on Windows using PuTTY
- 19.8 Summary
- 20. Ubuntu Remote Desktop Access with VNC
- 21. Displaying Ubuntu Applications Remotely (X11 Forwarding)
-
22. Using NFS to Share Ubuntu Files with Remote Systems
- 22.1 Ensuring NFS Services are running on Ubuntu
- 22.2 Configuring the Ubuntu Firewall to Allow NFS Traffic
- 22.3 Specifying the Folders to be Shared
- 22.4 Accessing Shared Ubuntu Folders
- 22.5 Mounting an NFS Filesystem on System Startup
- 22.6 Unmounting an NFS Mount Point
- 22.7 Accessing NFS Filesystems in Cockpit
- 22.8 Summary
-
23. Sharing Files between Ubuntu and Windows Systems with Samba
- 23.1 Accessing Windows Resources from the GNOME Desktop
- 23.2 Samba and Samba Client
- 23.3 Installing Samba on an Ubuntu System
- 23.4 Configuring the Ubuntu Firewall to Enable Samba
- 23.5 Configuring the smb.conf File
- 23.6 Creating a Samba User
- 23.7 Testing the smb.conf File
- 23.8 Starting the Samba and NetBIOS Name Services
- 23.9 Accessing Samba Shares
- 23.10 Accessing Windows Shares from Ubuntu
- 23.11 Summary
- 24. An Overview of Virtualization Techniques
- 25. Installing KVM Virtualization on Ubuntu
-
26. Creating KVM Virtual Machines using Cockpit and virt-manager
- 26.1 Installing the Cockpit Virtual Machines Module
- 26.2 Creating a Virtual Machine in Cockpit
- 26.3 Starting the Installation
- 26.4 Working with Storage Volumes and Storage Pools
- 26.5 Creating a Virtual Machine using virt-manager
- 26.6 Starting the Virtual Machine Manager
- 26.7 Configuring the KVM Virtual System
- 26.8 Starting the KVM Virtual Machine
- 26.9 Summary
- 27. Creating KVM Virtual Machines with virt-install and virsh
-
28. Creating an Ubuntu KVM Networked Bridge Interface
- 28.1 Identifying the Network Management System
- 28.2 Getting the Netplan Network Settings
- 28.3 Creating a Netplan Network Bridge
- 28.4 Getting the Current Network Manager Settings
- 28.5 Creating a Network Manager Bridge from the Command-Line
- 28.6 Declaring the KVM Bridged Network
- 28.7 Using a Bridge Network in a Virtual Machine
- 28.8 Creating a Bridge Network using nm-connection-editor
- 28.9 Summary
-
29. Managing KVM using the virsh Command-Line Tool
- 29.1 The virsh Shell and Command-Line
- 29.2 Listing Guest System Status
- 29.3 Starting a Guest System
- 29.4 Shutting Down a Guest System
- 29.5 Suspending and Resuming a Guest System
- 29.6 Saving and Restoring Guest Systems
- 29.7 Rebooting a Guest System
- 29.8 Configuring the Memory Assigned to a Guest OS
- 29.9 Summary
- 30. An Introduction to Linux Containers
- 31. Working with Containers on Ubuntu
-
32. Setting Up an Ubuntu Web Server
- 32.1 Requirements for Configuring an Ubuntu Web Server
- 32.2 Installing the Apache Web Server Packages
- 32.3 Configuring the Firewall
- 32.4 Port Forwarding
- 32.5 Starting the Apache Web Server
- 32.6 Testing the Web Server
- 32.7 Configuring the Apache Web Server for Your Domain
- 32.8 The Basics of a Secure Web Site
- 32.9 Configuring Apache for HTTPS
- 32.10 Obtaining an SSL Certificate
- 32.11 Summary
-
33. Configuring an Ubuntu Postfix Email Server
- 33.1 The structure of the Email System
- 33.2 Configuring an Ubuntu Email Server
- 33.3 Postfix Pre-Installation Steps
- 33.4 Firewall/Router Configuration
- 33.5 Installing Postfix on Ubuntu
- 33.6 Configuring Postfix
- 33.7 Configuring DNS MX Records
- 33.8 Starting Postfix on an Ubuntu System
- 33.9 Testing Postfix
- 33.10 Sending Mail via an SMTP Relay Server
- 33.11 Summary
-
34. Adding a New Disk Drive to an Ubuntu System
- 34.1 Mounted File Systems or Logical Volumes
- 34.2 Finding the New Hard Drive
- 34.3 Creating Linux Partitions
- 34.4 Creating a File System on a Disk Partition
- 34.5 An Overview of Journaled File Systems
- 34.6 Mounting a File System
- 34.7 Configuring Ubuntu to Automatically Mount a File System
- 34.8 Adding a Disk Using Cockpit
- 34.9 Summary
- 35. Adding a New Disk to an Ubuntu Volume Group and Logical Volume
- 36. Adding and Managing Ubuntu Swap Space
- 37. Ubuntu System and Process Monitoring
- Index
Product information
- Title: Ubuntu 20.04 Essentials
- Author(s):
- Release date: August 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800568525
You might also like
video
Ubuntu Server Essentials
Video instruction that will get you started with Ubuntu Server, the leading platform for scale-out computing …
book
Mastering Ubuntu Server - Third Edition
This is the third edition of the bestselling one-stop resource for sysadmins and DevOps professionals to …
book
Mastering Ubuntu Server - Second Edition
Get up-to-date with the finer points of Ubuntu Server using this comprehensive guide About This Book …
book
Ubuntu Linux Unleashed 2021 Edition, 14th Edition
Covers 20.04, 20.10, and 21.04 Ubuntu Linux Unleashed 2021 Edition is filled with unique and advanced …