Setting Up Ubuntu Server: Installation and Basic Configuration (SSH, Users, Updates)

Installing Ubuntu Server
Hello.
Last time, we explored what Ubuntu Server is and how web services operate within its structure.
This session will focus on building your server from scratch.
Proper initial setup makes future tasks like building or managing a web server much smoother.
In this lesson, we'll cover installing Ubuntu Server, configuring SSH, creating user accounts, and updating the system step by step.
Downloading Ubuntu Server
Ubuntu Server is free for anyone to use.
We recommend using the latest Long Term Support (LTS) version whenever possible.
LTS versions provide long-term updates and security patches, making them widely used by both individuals and enterprises.
Note: Ubuntu Desktop and Ubuntu Server may be bundled together, so make sure you download the Ubuntu Server image specifically.
Preparation Before Installation
To install Ubuntu Server, you'll need:
An 8GB or larger USB drive for installation (recommended)
A computer with internet access
The Ubuntu Server ISO file
USB booting software (such as Rufus, Balena Etcher, etc.)
If installing on a virtual machine (Proxmox, VMware, VirtualBox, Hyper-V, etc.), you can install directly from the ISO without needing a USB drive.
Ubuntu Server Installation Process
The installation process is simpler than it seems.
Typically, follow these steps:
Select language
Select keyboard layout
Configure network settings
Select storage device
Create user account
Specify server hostname
Choose whether to install OpenSSH Server
Reboot after installation completes
Beginners can usually proceed with default settings.
What Is a Hostname?
A hostname is a name used to identify your server.
Examples include:
webserver
ubuntu
blogserver
nginx-server
Using an easy-to-recognize name makes it simpler to identify the server later, especially when managing multiple servers.
Install OpenSSH Server by Default
During installation, you'll be prompted about installing OpenSSH Server.
We strongly recommend enabling this option.
Installing SSH allows remote management of your server from other computers.
Since servers are often operated without direct keyboard or monitor connections, SSH is nearly essential for administration.
What Is SSH?
SSH (Secure Shell) is a technology that allows remote management of servers.
In simple terms:
Your computer
↓
Through network connection
↓
Control your Ubuntu Server
This capability eliminates the need to be physically present at the server, making it the most commonly used method for managing servers in practice.
First Login
After installation completes, you'll see a login screen.
Enter the username and password created during setup to log in.
Successful login will display a prompt like this:
username@hostname:~$
This indicates a successful login.
Why Update Your System?
Installing Ubuntu isn't the end of setup.
Security updates and other improvements continue after the installation image is created.
Therefore, it's best to update your system immediately after installation.
Updating provides benefits including:
Enhanced security
Bug fixes
Performance improvements
Access to the latest packages
The apt Package Manager
Ubuntu uses apt, a package manager, for installing and updating software.
Unlike Windows where you download installation files, most Ubuntu programs can be installed via the apt command.
We'll use apt to install components like Nginx, PHP, and MySQL in future lessons as well.
Updating Your System
First, update your package lists:
sudo apt update
Next, upgrade all available packages:
sudo apt upgrade -y
Finally, remove unnecessary packages:
sudo apt autoremove -y
Regular updates are recommended throughout your server's operational life.
What Is sudo?
The sudo prefix means running a command with administrative privileges.
Linux separates regular user and admin permissions to prevent accidental system damage.
Using sudo only when necessary helps maintain server security.
Why Use a Regular User Account?
Ubuntu recommends using a standard user account instead of the root account directly.
This approach enhances security and reduces the risk of accidental system changes by running only necessary tasks with sudo privileges.
This practice is common in professional server management as well.
Check Server Time
Server time is crucial for web services.
Many functions like log recording, scheduled tasks, and SSL certificates depend on accurate server time.
If the time is incorrect, it's recommended to synchronize automatically using NTP.
Ubuntu provides automatic time synchronization by default.
Check Your IP Address
To connect via SSH, you'll need your server's IP address.
You can quickly check it with simple commands:
ip addr
Or alternatively:
hostname -I
You'll use these commands frequently for SSH connections and web browser testing.
Post-Installation Checklist
After installation, verify the following:
Internet connection is working properly
System update has been completed
SSH installation confirmed
User account login verified
IP address confirmed
Server time is accurate
Checking these items ensures smooth progress into subsequent lessons.
What We've Accomplished Today
This session covered installing Ubuntu Server and completing basic configuration.
You've now completed the essential preparation steps for building a web server.
In the next lesson, we'll learn Linux terminal commands and file/folder management techniques to begin working with your server more effectively.
While terminals may feel unfamiliar at first, regular use makes them faster and more convenient than Windows interfaces over time.
Key Takeaways
Use the latest LTS version of Ubuntu Server for best results.
We strongly recommend installing OpenSSH Server during setup.
SSH enables remote server management without physical access.
Update your system immediately after installation.
apt is Ubuntu's default package manager for software installation and updates.
Use sudo to run commands with administrative privileges when needed.
Always verify IP address and server time settings after setup.
Next Lesson Preview
3rd Lesson: Mastering Terminal Commands, File/Folder Management, and Understanding Permissions (chmod/chown)
In the next lesson, we'll cover essential terminal commands, file management techniques, and how Linux permissions work in an easy-to-understand way to help you navigate Ubuntu with confidence.
FAQ
What is the best version of Ubuntu Server to use?
The latest Long Term Support (LTS) version is recommended for stability and long-term security updates.
Why should I install OpenSSH Server during setup?
Installing OpenSSH allows remote server management without physical access, which is essential since servers are often operated without direct keyboard or monitor connections.
Korean Source
This article is an English localization of a Korean-language report from BlogScore. Original: [Ubuntu 서버 구축] 2강. Ubuntu Server 설치하기와 기본 설정 (SSH, 사용자, 업데이트)