---
myst:
html_meta:
description: Official Ubuntu Server documentation - comprehensive guides for installation, configuration, security, networking, databases, virtualization, and system administration.
---
# 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 data center, 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.
This documentation always targets the latest LTS version of Ubuntu. When there are differences towards older LTS releases, they are noted in the guide.
## In this documentation
### Getting started
The tutorial walks you through a fresh installation and the first steps of operating an Ubuntu Server.
* **Installation**: {ref}`System requirements ` • {ref}`Basic installation ` • {ref}`Ubuntu Pro subscription `
* **System basics**: {ref}`Managing software ` • {ref}`Customizing package files ` • {ref}`third-party-repository-usage`
* **The Ubuntu command line**: {ref}`welcome-to-the-terminal` • {ref}`cli-in-depth` • {ref}`command-line-cheat-sheet`
### Networking
Configure network interfaces, provide name and address services, share resources, and synchronize time.
* **Understanding networks**: {ref}`Key concepts ` • {ref}`About Netplan ` • {ref}`Time synchronization `
* **Configuration**: {ref}`Using Netplan ` • {ref}`Domain Name System (DNS) ` • {ref}`Dynamic Host Configuration Protocol (DHCP) `
* **Securing your network**: {ref}`Install OpenSSH ` • {ref}`Firewalls ` • {ref}`DNS Security Extensions (DNSSEC) `
* **High throughput**: {ref}`Open vSwitch with DPDK ` • {ref}`about-dpdk`
* **Sharing**: {ref}`Files with NFS ` • {ref}`Printers with CUPS `
* **With Windows systems**: {ref}`Samba ` • {ref}`Windows Active Directory `
### Security
Protect your system with access controls, firewalls, encrypted communications, and network authentication. For more general information about security in Ubuntu, refer also to the [Ubuntu Security documentation](https://documentation.ubuntu.com/security/).
* **Understanding security**: {ref}`Introduction ` • {ref}`security-suggestions`
* **Basic security**: {ref}`User management ` • {ref}`AppArmor `
* **Authentication**: {ref}`Install Kerberos ` • {ref}`Set up SSSD with LDAP ` • {ref}`Smart cards `
* **Cryptography**: {ref}`Cryptographic libraries ` • {ref}`certificates` • {ref}`openssl`
* **VPNs**: {ref}`OpenVPN ` • {ref}`WireGuard VPN `
### Managing your system
Install, update, upgrade, and troubleshoot the software packages running on your system.
* **Managing software**: {ref}`Package management ` • {ref}`etckeeper ` • {ref}`Get older package versions using snapshots `
* **Update considerations**: {ref}`Automatic updates ` • {ref}`Phased updates ` • {ref}`Testing updates in advance `
* **Upgrade Ubuntu version**: {ref}`Release upgrades `
* **Troubleshooting**: {ref}`Report a bug ` • {ref}`Debugging with debuginfod ` • {ref}`kernel-crash-dump`
### Data and storage
Store and manage data using directory services, databases, logical volumes, and backup tools.
* **Databases**: {ref}`MySQL ` • {ref}`PostgreSQL `
* **Directory services**: {ref}`introduction-to-openldap` • {ref}`Install OpenLDAP ` • {ref}`ldap-replication`
* **Device mapper multipathing**: {ref}`Intro to multipathing ` • {ref}`configuring-multipath`
* **Storage**: {ref}`About LVM ` • {ref}`Manage logical volumes ` • {ref}`Sharing data storage with iSCSI `
* **Version control**: {ref}`gitolite `
### Web and mail services
Serve web content, proxy traffic, write server-side applications, and handle email.
* **Web servers**: {ref}`About web servers ` • {ref}`Apache2 ` • {ref}`nginx `
* **Squid proxy server**: {ref}`About Squid proxy ` • {ref}`Install a Squid proxy server `
* **Mail services**: {ref}`Postfix ` • {ref}`Exim4 ` • {ref}`Dovecot `
### Virtualisation and containers
Run workloads in virtual machines and containers using lightweight and full-virtualisation tooling.
* **Understand virtualization**: {ref}`Intro to virtualisation `
* **Virtual machines**: {ref}`Multipass ` • {ref}`QEMU ` • {ref}`qemu-microvm`
* **VM tooling**: {ref}`libvirt and virsh ` • {ref}`virt-manager ` • {ref}`Nested virtualization `
* **Containers**: {ref}`Docker for system admins ` • {ref}`docker-storage-networking-and-logging` • {ref}`Run rocks on your server `
* **Deployment**: {ref}`Find cloud images ` • {ref}`About cloud-init ` • {ref}`LXD `
* **Confidential computing**: {ref}`AMD SEV ` • {ref}`Intel TDX `
### Performance
Set up GPU resources and optimize system performance.
* **GPU resources**: {ref}`Install Nvidia drivers ` • {ref}`GPU virtualization `
* **Performance**: • {ref}`CPU P-states ` • {ref}`perf-tune-hwloc`
* **Optimization**: {ref}`CPU power management ` • {ref}`perf-tune-tuned` • {ref}`Profile-Guided Optimization `
* **High availability**: {ref}`introduction-to-high-availability` • {ref}`Set up DRBD ` • {ref}`migrate-from-crmsh-to-pcs`
## How this documentation is organized
This documentation uses the [Diátaxis documentation structure](https://diataxis.fr/).
* The {ref}`Tutorial ` takes you step-by-step through installing and setting up your first Ubuntu Server system.
* {ref}`How-to guides ` assume basic familiarity with Ubuntu Server and walk you through specific tasks.
* {ref}`Reference ` provides system requirements, a glossary, and other technical specifications.
* {ref}`Explanation ` includes topic overviews, background and context, and detailed discussion of key concepts.
## 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.
* [Read our Code of Conduct](https://ubuntu.com/community/docs/ethos/code-of-conduct)
* [Get community support](https://ubuntu.com/support/community-support)
* [Join the Discourse forum](https://discourse.ubuntu.com/c/project/server/17)
* {matrix}`Chat to us on Matrix `
* {ref}`Contribute to this documentation `
If you find any errors or have suggestions for improvements, please use the
"Give feedback" button at the top of every page. This will take you to
GitHub where you can share your comments or let us know about bugs with any
page.
**Releases**
: [Download Ubuntu Server](https://ubuntu.com/download/server)
: [Ubuntu Release Notes](https://documentation.ubuntu.com/release-notes/)
**PDF versions of this documentation**
: [Current PDF](https://ubuntu.com/server/docs/_/downloads/en/latest/pdf/) (for Ubuntu 20.04 LTS onward)
: [Ubuntu 18.04 LTS PDF](https://assets.ubuntu.com/v1/8f8ea0cf-18-04-serverguide.pdf) (and earlier)
**Commercial support**
: Thinking about using Ubuntu Server for your next project? [Get in touch!](https://ubuntu.com/server/contact-us?product=server)
```{toctree}
:hidden:
:maxdepth: 2
Tutorial
How-to guides
Reference
Explanation
```
```{toctree}
:hidden:
:maxdepth: 2
Contributing
```