Ubuntu Server documentation

Ubuntu Server is a version of the Ubuntu operating system designed and engineered as a backbone for the internet.

Ubuntu Server brings economic and technical scalability to your datacentre, public or private. Whether you want to deploy an OpenStack cloud, a Kubernetes cluster or a 50,000-node render farm, Ubuntu Server delivers the best value scale-out performance available.


In this documentation

Tutorials
Get started - a hands-on introduction to Ubuntu Server for new users
How-to guides
Step-by-step guides covering key operations and common tasks
Explanation
Concepts - discussion and clarification of key topics
Reference
Technical information - package specifications, APIs, architecture

Project and community

Ubuntu Server is a member of the Ubuntu family. It’s an open source project that welcomes community projects, contributions, suggestions, fixes and constructive feedback.

If you find any errors or have suggestions for improvements to pages, please use the link at the bottom of each topic titled: “Help improve this document in the forum.” This link will take you to the Server Discourse forum for the specific page you are viewing. There you can share your comments or let us know about bugs with any page.

Thinking about using Ubuntu Server for your next project? Get in touch!

PDFs and previous releases

Below are links to the previous Ubuntu Server release server guides as well as an offline copy of the current version of this site:

Ubuntu 20.04 LTS (Focal Fossa) and later: PDF
Ubuntu 18.04 LTS (Bionic Beaver): Web and PDF

Navigation

Navigation
Level Path Navlink
0 Introduction
0
1 tutorials Tutorials
2 Core tutorial
3 installation Basic installation
3 install/general How to operate the server installer
3 install/step-by-step Screen-by-screen installer guide
3 install/storage Configuring storage
2 Next steps
3 install/subscription Attach your Ubuntu Pro subscription
3 install/reporting-problems Report a problem with the installer
0
1 how-to How-to guides
2 Advanced installation
3 install/netboot-amd64 amd64 netboot install
3 install/netboot-arm64 arm64 netboot install
3 install/netboot-ppc64el ppc64el netboot install
3 install/ppc64el Virtual CDROM and Petitboot on ppc64el
3 install/s390x-zvm s390x install via z/VM
3 install/s390x-lpar s390x install via LPAR
2 Automatic installation
3 install/autoinstall Introduction
3 install/autoinstall-quickstart Autoinstall quickstart
3 install/autoinstall-quickstart-s390x Autoinstall quickstart on s390x
3 install/autoinstall-reference Autoinstall reference
3 install/autoinstall-schema Autoinstall schema
3 install/vm-autoinstall-on-s390x z/VM autoinstall on s390x
3 install/lpar-autoinstall-on-s390x LPAR autoinstall on s390x
2 ROCK Images
3 rock-images/introduction Introduction
3 rock-images/container-customization-with-docker Container customization with Docker
3 rock-images/multi-node-configuration-with-docker-compose Multi-node configuration with Docker-Compose
2 Software
3 package-management Package management
3 upgrade-introduction Upgrade
3 third-party-apt-repositories Third party APT repositories
3 reporting-bugs Reporting bugs
3 kernel-crash-dump Kernel crash dump
2 OpenLDAP
3 service-ldap-introduction Introduction
3 service-ldap Installation
3 service-ldap-access-control Access control
3 service-ldap-replication Replication
3 service-ldap-usage Simple LDAP user and group management
3 service-ldap-with-tls SSL/TLS
3 service-ldap-backup-restore Backup and restore
2 Kerberos
3 kerberos-introduction Introduction
3 service-kerberos Kerberos server
3 service-kerberos-principals Service principals
3 kerberos-encryption-types Kerberos encryption types
3 service-kerberos-secondary-kdc Secondary KDC
3 service-kerberos-workstation-auth Basic workstation authentication
3 service-kerberos-with-openldap-backend Kerberos with OpenLDAP backend
2 Network user authentication with SSSD
3 service-sssd Introduction
3 service-sssd-ad Active Directory
3 service-sssd-ldap LDAP
3 service-sssd-ldap-krb LDAP and Kerberos
3 service-sssd-troubleshooting Troubleshooting
2 WireGuard VPN
3 wireguard-vpn-introduction Introduction
3 Peer-to-site
4 wireguard-vpn-peer2site-introduction Introduction
4 wireguard-vpn-peer2site-router On router
4 wireguard-vpn-peer2site-inside Inside device
3 wireguard-vpn-site2site Site-to-site
3 wireguard-vpn-defaultgw Default gateway
3 wireguard-vpn-other-tasks Other tasks
3 wireguard-vpn-security Security tips
3 wireguard-vpn-troubleshooting Troubleshooting
2 Network
3 how-to-install-and-configure-isc-kea Install isc-kea
3 how-to-install-and-configure-isc-dhcp-server Install isc-dhcp-server
3 use-timedatectl-and-timesyncd Synchronise time
3 how-to-serve-the-network-time-protocol-with-chrony Serve the NTP
3 openvswitch-dpdk Use Open vSwitch with DPDK
2 Samba
3 samba-active-directory Join Active Directory
3 samba-file-server Set up a file server
3 samba-print-server Set up a print server
3 samba-share-access-control Share access controls
3 samba-apparmor-profile Create AppArmor profile
3 Legacy pages
4 samba-domain-controller NT4 domain controller
4 samba-openldap-backend OpenLDAP backend
2 Mail services
3 mail-postfix Install Postfix
3 mail-dovecot Install Dovecot
3 mail-exim4 Install Exim4
2 Backups
3 backups-bacula Install Bacula
3 tools-rsnapshot Install rsnapshot
3 how-to-back-up-using-shell-scripts Backup with shell scripts
2 Web services
3 how-to-install-a-squid-server Install a Squid server
3 lamp-applications Get started with LAMP
3 how-to-install-apache2 Install Apache2
3 how-to-configure-apache2-settings Apache2 settings
3 how-to-use-apache2-modules Apache2 modules
3 programming-php Install PHP
3 programming-ruby-on-rails Install Ruby on Rails
3 how-to-install-and-configure-phpmyadmin Install phpMyAdmin
3 how-to-install-and-configure-wordpress Install WordPress
2 Graphics
3 nvidia-drivers-installation Install NVIDIA drivers
3 gpu-virtualization-with-qemu-kvm vGPU with QEMU/KVM
0
1 explanation Explanation
2 Software
3 about-apt-upgrade-and-phased-updates About apt upgrade and phased updates
3 changing-package-files Changing package files
2 Network
3 network-introduction Networking key concepts
3 network-configuration Configuring networks
3 network-dhcp About DHCP
3 network-ntp Time synchronisation
3 network-dpdk The DPDK library
2 Cryptography
3 introduction-to-crypto-libraries Introduction to crypto libraries
3 openssl OpenSSL
3 gnutls GnuTLS
3 network-security-services-nss Network Security Services (NSS)
3 java-cryptography-configuration Java cryptography configuration
3 bind-9-dnssec-cryptography-selection BIND 9 DNSSEC cryptography selection
3 openssh-crypto-configuration OpenSSH crypto configuration
3 troubleshooting-tls-ssl Troubleshooting TLS/SSL
2 Web servers
3 about-web-servers About web servers
3 proxy-servers-squid About Squid proxy servers
2 Introduction to…
3 introduction-to-networking Networking
3 samba-introduction Samba
3 introduction-to-web-services Web services
3 mail-introduction Mail services
3 backups-introduction Backups
0
1 reference Reference
2 Cloud Images
3 cloud-images/introduction Introduction
3 cloud-images/amazon-ec2 Amazon EC2
3 cloud-images/google-cloud-engine Google Compute Engine (GCE)
3 find-ubuntu-images-on-azure Microsoft Azure
2 Multipath
3 device-mapper-multipathing-introduction Introduction
3 device-mapper-multipathing-configuration Configuration
3 device-mapper-multipathing-setup Setup
3 device-mapper-multipathing-usage-debug Usage and debug
2 Security
3 security-introduction Introduction
3 security-users Users
3 security-smart-cards Smart cards
4 security-smart-cards-ssh SSH
3 security-apparmor AppArmor
3 security-firewall Firewall
3 security-certificates Certificates
3 security-trust-store CA trust store
3 security-console Console
2 Virtualisation
3 virtualization-introduction Introduction
3 virtualization-qemu QEMU
3 virtualization-libvirt libvirt
3 virtualization-openstack OpenStack
3 virtualization-multipass Multipass
3 virtualization-uvt uvtools
3 virtualization-virt-tools Virtualisation tools
2 Containers
3 containers-lxd LXD
3 containers-lxc LXC
2 High Availability
3 ubuntu-ha-introduction Introduction
3 ubuntu-ha-pacemaker-resource-agents Pacemaker - resource agents
3 ubuntu-ha-pacemaker-fence-agents Pacemaker - fence agents
3 ubuntu-ha-drbd Distributed Replicated Block Device (DRBD)
3 ubuntu-ha-migrate-from-crmsh-to-pcs Ubuntu HA - Migrate from crmsh to pcs
2 Databases
3 databases-introduction Introduction
3 databases-mysql MySQL
3 databases-postgresql PostgreSQL
2 Monitoring
3 logging-monitoring-alerting Logging, Monitoring and Alerting (LMA)
3 logwatch Install Logwatch
3 tools-munin Install Munin
3 tools-nagios Install Nagios Core 3
2 Backups
3 basic-backup-shell-script Basic backup shell script
3 archive-rotation-shell-script Archive rotation shell script
2 Other Services
3 service-cups CUPS
3 service-debuginfod Debuginfod
4 service-debuginfod-faq Debuginfod FAQ
3 service-domain-name-service-dns Domain Name Service (DNS)
3 service-ftp FTP
3 service-iscsi iSCSI
3 service-nfs NFS
3 service-openssh OpenSSH
3 service-openvpn OpenVPN
3 service-gitolite gitolite
3 vpn-clients VPN clients
2 Tools
3 tools-byobu byobu
3 tools-etckeeper etckeeper
3 pam-motd pam_motd
3 tools-puppet Puppet

Redirects

Mapping table
Path Location
/server/docs/introduction Ubuntu Server documentation
/server/docs/installation-advanced Advanced Installation
/server/docs/installation-iscsi Installation - iSCSI
/server/docs/security-ecryptfs eCryptfs is deprecated
10 Likes

Now that is is being published, suggest to add a large font note at the very top saying “Preliminary and in development for 20.04, contents may have errors and omitions.” This is similar to what we have always done at the old location when we published the preliminary before the release date. The note gets removed on release day.

Done! Thanks for the suggestion

1 Like

We have added a PDF download link to the introduction section of this document. This PDF is refreshed on a daily basis. If anyone would like to snapshot the guide at any stage, please download and rename the PDF for your own use.

1 Like

The PDF version of the serverguide has not updated. It has been well over 24 hours since I made and edit. I want to determine is the file name for the PDF will change, because it is odd and looks machine generated. Currently it is linked from the help.ubunutu.com base page where 20.04 preliminary has been added (but for some reason it didn’t publish last night, maybe tonight), but we won’t be able to do that if it changes.

I’ll add redirects to help.ubuntu.com for lts and stable serverguides to the new spots tomorrow, which should publish sometime Thursday.

EDIT: O.K. I’ll make the PDF link at help.ubuntu.com file name independent by using the same address as herein, instead of what it ends up as (duh).

fixed two more url mapping table entries.
I think I have tried every navigation link now, but am not certain.

Will add a navigation link back to this page, if I can figure it out.

Deleted the “Service - Introduction” topic as it was a filler page, “DNS TBD” was on there but that has an extra page now anyway. I also removed the link from the introduction to not fail on the removed page.

Some more cleanup of no more supported items around IRC and Mailman. Removed the pages and dropped the links from here. For Mailman I re-added links to the upstream setup guide with exim4/postfix on these pages.

Next I’ll re-order the index to keep introdcutions before the content. It doesn’t make sense otherwise and especially in the single-PDF that is generated it is awkward to read it in any other order.

Fixed another missing url entry in the mapping table.
This time I looked at the source code of a page (not that the actual page used matters) and searched for discourse, only finding the one expected reference. I also looked at the code manually.

I just added another page: Service - LDAP Access Control

I hope I did it correctly this time

Any chance of getting an ePub format as well?
I’d love it if I could read it on the road and PDF is not a good format for that…

Hey there. The links in the main content of https://ubuntu.com/server/docs are broken. For example: https://ubuntu.com/t/installation 404s. The sidebar links are working.

1 Like

Upon further inspection it looks like all of the https://ubuntu.com/t/… URLs are 404ing. Specifically I was interested in virtualization (https://ubuntu.com/t/virtualization-introduction) when I found that many of the links aren’t working.

1 Like

Hi Jrmyck, thanks for pointing out the broken links! They should be fixed now. This table of links on the Intro page is new, and still a bit work in process. I’d appreciate if you’d doublecheck and notice if any are still incorrect, or if there are any other necessary improvements for the front table links.

Greetings
Still an issue
404 ubuntu 16 docs
404 ubuntu 16 server pdf as well

Are there official alternatives from Canonical or do we find a third party host for this? - If so. A link here would be of help please.

Thank you everyone.

I removed the links to the 16.04 documentation, as it was deleted from help.ubuntu.com when it became EOL (End Of Life) earlier this year. I forgot about these links at the time.

I keep some old copies of help.ubuntu.com, as it was on some dates, on my web site. I also use it to preview pending updates to be sure we didn’t make a mistake. @food4doug, you could get 16.04 docs there. I encode the link below to prevent the barrage of bots that come whenever I post a link:

double u double u double u dot smythies dot com /~doug/linux/ubuntu-docs/help.ubuntu.com/

The PDF does not appear to be updating, at least not daily.

The PDF still has not updated. It also doesn’t seem to include screen shots.

Now that we want to start preliminary publications of 22.04 LTS documentation, it is time to create the required infrastructure in this disclosure version of the serverguide to continue to support 20.04 while also publishing 22.04, and in 2 years 24.04.

The PDF is still not updating.