Install Ubuntu Server: Complete Step-by-Step Guide Learn how to install Ubuntu Server safely, configure storage and networking, enable SSH, complete the first updates and prepare the system for DevOps, cloud and production workloads.
What is Ubuntu Server?
Ubuntu Server is a Linux distribution designed for servers, virtual machines, cloud instances, containers and infrastructure platforms. It normally installs without a desktop interface, which keeps the system lightweight and encourages command-line administration.
Organizations use Ubuntu Server for web hosting, databases, Docker, Kubernetes, CI/CD tools, monitoring systems, file services, automation and private-cloud workloads.
Cloud and virtual machines Ubuntu images are widely available on AWS, Azure, Google Cloud and major virtualization platforms.
DevOps platforms Run Docker, Kubernetes, Jenkins, GitLab Runner, Nexus and infrastructure automation tools.
Enterprise services Host web servers, APIs, databases, DNS, monitoring and internal applications.
Automation ready Use Bash, Ansible, cloud-init and autoinstall for repeatable server provisioning.
Installation workflow
Download ISO
→
Create media
→
Install
→
Secure and verify
System requirements
Ubuntu can run on small systems, but a useful server should have enough capacity for updates, logs and the applications you plan to install.
| Resource | Practical minimum | Recommended for labs |
| CPU | 64-bit supported processor | 2 or more virtual CPUs |
| Memory | About 2 GB | 4 GB or more |
| Storage | 5 GB for a minimal installation | 25 GB or more |
| Network | Optional during installation | Internet access for updates |
| Installation media | Server ISO | Bootable USB, virtual ISO or cloud image |
Backup warning: Disk partitioning can erase existing data. Back up important files and confirm the correct installation disk before approving storage changes.
Choose an Ubuntu release
For most servers, use the latest Ubuntu Long Term Support release. LTS releases receive a longer maintenance lifecycle and are generally preferred for enterprise and production environments.
- Use an LTS release for long-lived servers.
- Use interim releases only when you specifically need newer features and can handle more frequent upgrades.
- Confirm that your application vendor supports the selected release.
Download the Ubuntu Server ISO
- Open the official Ubuntu Server download page.
- Select the current LTS server image for your architecture.
- Download the ISO to a trusted workstation.
- Optionally verify the checksum before creating installation media.
Verify the ISO checksum on Linux
sha256sum ubuntu-server.isoCompare the result with the checksum published by Ubuntu. A mismatch may indicate an incomplete or altered download.
Create a bootable USB
You can use a graphical USB-writing tool on Windows, macOS or Linux. On Linux, the dd command can write an ISO directly, but selecting the wrong target device can destroy data.
lsblk sudo dd if=ubuntu-server.iso of=/dev/sdX bs=4M status=progress oflag=syncBe careful: Replace /dev/sdX with the whole USB device, not a partition. Review lsblk twice before running dd .
Install Ubuntu Server in a virtual machine
For VMware, VirtualBox, Proxmox, Hyper-V or another hypervisor:
- Create a new 64-bit Linux virtual machine.
- Assign CPU, memory and disk resources.
- Attach the Ubuntu Server ISO to the virtual optical drive.
- Connect the virtual network adapter.
- Boot the VM from the ISO.
Lab recommendation: Use 2 vCPUs, 4 GB RAM and a 30–40 GB thin-provisioned disk for a comfortable beginner environment.
Step-by-step installer walkthrough
1. Choose the language
Select the language used by the installer and the installed system.
2. Update the installer when offered
The installer may offer an update. Apply it when internet access is available and your change process allows it.
3. Select the keyboard layout
Choose the correct keyboard layout and test special characters before continuing.
4. Select the installation type
The normal Ubuntu Server option is suitable for most systems. A minimized installation can reduce the initial package set but may require more manual package installation later.
5. Configure networking
Wired interfaces commonly receive an address through DHCP automatically. Record the interface name and assigned address. You can configure a static address during the installer or later with Netplan.
For detailed static networking, read Configure a Static IP Address on Ubuntu with Netplan .
6. Configure proxy and mirror settings
Leave the proxy empty unless your organization requires one. Use the default Ubuntu archive mirror unless a local or approved enterprise mirror is available.
7. Configure storage
For a beginner lab, the guided option using the entire disk is usually simplest. Review the selected disk and partition summary before confirming.
| Storage option | When to use it |
| Use entire disk | Simple labs, dedicated servers and basic VMs. |
| LVM | Flexible volume growth and more advanced storage management. |
| Encrypted LVM | Systems requiring disk encryption and secure key handling. |
| Custom layout | Separate filesystems, enterprise standards or special storage designs. |
Production note: Plan separate capacity for logs, application data, databases and container storage. A single small root filesystem can fill quickly.
8. Create the initial administrator account
Enter:
- Your name
- Server hostname
- Administrator username
- A strong password
The initial user is normally granted sudo access. Avoid generic usernames such as admin when your organization has stronger naming standards.
9. Configure Ubuntu Pro if required
You can attach an Ubuntu Pro subscription during or after installation. Skip it in a basic lab if it is not required.
Join the discussion
0 CommentsAsk questions, add context, or share what worked.
More from Melochip Editorial
Learn what Playwright testing is, why modern QA teams use it, how testers can get started, and the major types...
7 min read · Sep 19, 2026
Learn how Kubernetes Deployments and ReplicaSets work with practical YAML, scaling, self-healing, rolling upda...
7 min read · Sep 17, 2026
Learn Kubernetes security best practices with RBAC, Secrets, ServiceAccounts, Pod securityContext, NetworkPoli...
6 min read · Sep 17, 2026Related articles
Learn Linux from the ground up with simple explanations of the kernel, distributions, filesystem, commands, pe...
4 min read · Updated Oct 1, 2026
Prepare for Docker interviews with practical questions and real-time scenarios covering images, containers, Do...
2 min read · Sep 17, 2026
Learn Kubernetes monitoring and logs with kubectl logs, events, metrics-server, top commands, Prometheus, Graf...
5 min read · Sep 17, 2026
Learn what Playwright testing is, why modern QA teams use it, how testers can get started, and the major types...
7 min read · Sep 19, 2026Stay in the loop. Get new Melochip articles
Receive Melochip article updates when new articles are available. Explicit opt-in only.
No comments yet. Start the discussion.