Summary: A complete guide to installing and configuring Ubuntu Server: key concepts, preparation, detailed installation steps, and basic and advanced configuration of an Ubuntu server.
Installing Ubuntu Server is an important step in building an efficient server environment. This article explains what Ubuntu Server is, how to prepare, and how to configure the system for the best results.
Quick answer: Ubuntu Server is the edition of Ubuntu without a graphical interface: lightweight and well suited to web, cloud and server workloads. To install it: (1) download Ubuntu Server LTS from ubuntu.com; (2) create a bootable USB with Rufus or balenaEtcher and boot from it; (3) in the installer (Subiquity), choose the language and keyboard, configure the network (DHCP or static IP) and a proxy if needed; (4) partition the disk: choose Use an entire disk (LVM recommended) or a custom layout; (5) create a user and hostname and tick Install OpenSSH server for remote management; (6) choose optional snaps, install and reboot. After installation: run sudo apt update && sudo apt upgrade, set up SSH keys, enable the ufw firewall and set a static IP and time zone.
Ubuntu Server: key concepts
Ubuntu Server is a version of the Ubuntu operating system designed specifically for servers. It has no graphical desktop, only a command-line interface, which makes it lighter, more resource-efficient and faster for server applications. It is particularly well suited to web applications, cloud services and other server systems.
Preparing to install Ubuntu Server
- Hardware requirements: make sure the machine meets the minimum requirements (at least 1 GB RAM, ideally 2 GB or more, and 25 GB of disk space).
- Download the ISO: get the latest LTS release of Ubuntu Server from the official Ubuntu website.
- Create a bootable USB: use Rufus or balenaEtcher to write the ISO to a USB drive.
Detailed installation steps
- Boot from USB: insert the USB drive and restart the computer to start the installer.
- Choose language and keyboard: select the language and keyboard layout you want to use.
- Configure the network: set a static IP address or use DHCP.
- Partition the disk: use the guided (automatic) layout or a custom layout to suit your needs.
- Create a user account: enter the details of the account you will use to log in.
- Install the SSH server: select OpenSSH server so you can manage the server remotely.
- Finish: when installation completes, remove the USB drive and reboot.
Basic configuration
- Update the system: run
sudo apt update && sudo apt upgradeto update all packages. - Install the software you need: for example a LAMP or LEMP stack for web hosting.
- Configure the firewall: set up UFW to protect the system.
- Set the time zone: run
sudo timedatectl set-timezone Asia/Ho_Chi_Minh(replace with your own time zone).
Advanced configuration
- SSH key authentication: use SSH keys instead of passwords for more secure logins.
- Install Fail2ban: protect the server against brute-force attacks.
- Optimise storage: configure RAID or adjust partitions and LVM volumes.
- Monitor the system: use tools such as Netdata to track performance and health.
Securing Ubuntu Server
- Apply security updates regularly: install the latest patches, for example with unattended-upgrades.
- Use SSH keys: disable password login so nobody can get in with a weak password.
- Configure a strict firewall: allow only the ports you need and block everything else.
- Monitor logs: check system logs regularly to spot suspicious activity early.
Troubleshooting common problems
- No network connection: check the cable and the network configuration (netplan) to make sure everything is set correctly.
- Partitioning errors: review the partition layout to make sure nothing went wrong during installation.
- Boot problems: if the machine will not boot, the USB drive or hard disk may not be detected; check the boot order and BIOS/UEFI settings.
Conclusion and next steps
You now know how to install and configure Ubuntu Server, from the basics to more advanced settings. Keep exploring and practising to build your skills as a system administrator.
For Linux server deployment and administration for your business, contact IT Systems at hotline 028.3995.03.59 or contact@itsystems.com.vn.
FAQ
Which Ubuntu Server version should I choose?
The latest LTS, which gets 5 years of security updates (longer with Ubuntu Pro); avoid non-LTS releases in production.
What basic hardening should follow an Ubuntu Server install?
Update the system, create a sudo user, use SSH keys and disable root SSH login, enable UFW and install Fail2ban.
Does Ubuntu Server need a desktop GUI?
No. A headless server uses fewer resources and has a smaller attack surface; manage it over SSH or a web tool like Cockpit.
Need someone to run your servers, NAS and systems?
IT Systems manages servers, NAS, cloud, backup and user accounts on a schedule, with a monthly operations report.




