Ubuntu, the world's most popular open source operating system, is also the leader in cloud computing, artificial intelligence (AI) and web servers in 2026 . Combining Debian's stability with modern technologies, Ubuntu offers maximum performance on the Eka Sunucu VDS infrastructure.
In this guide; From installation to optimization, from security to network management, you will learn to manage your Ubuntu server like a pro.
The most popular choice for enterprise projects, AI development and web hosting.
Long Term Support (LTS) versions receive standard security updates for 5 years and extended security updates for up to 10 years. 20.04, 22.04 and 24.04 LTS options are available in Eka Sunucu VDSs.
The most current versions of modern software such as Python, Node.js, Docker, Kubernetes usually arrive in Ubuntu repositories first. It's heaven for developers.
Your server is hardened by default with built-in tools like AppArmor, Kernel Livepatch (kernel update without reboot), and UFW.
There are two basic ways to install software in Ubuntu. It is essential to master these in server management.
It is the heart of Debian-based systems. .deb Manages packages. It is stable and reliable.
# Sistem daycelleme
sudo apt update && sudo apt upgrade -y
# Paket upload (Örn: Nginx)
sudo apt install nginx
# Paket kaldırma
sudo apt remove nginx
# Gereksiz dosyaları temizleme
sudo apt autoremove
These are packages developed by Canonical that contain all dependencies. It works in isolation and is updated automatically.
# Certbot (SSL) kurulumu for idealdir
sudo snap install --classic certbot
# Yüklü snapleri listeleme
snap list
# Snap paketini daycelleme
sudo snap refresh packagename
For web server components (Apache, PHP, MySQL) always APT use it. It consumes less resources and integrates better with the system. SNAPshould generally be preferred for desktop applications or isolated tools like Certbot.
old /etc/network/interfaces The file is now history. Default network manager since Ubuntu 18.04 Netplanis. It works in YAML format.
Dosya: /etc/netplan/00-installer-config.yaml
network:
version: 2
ethernets:
ens160:
dhcp4: no
addresses:
- 192.168.1.100/24
routes:
- to: default
via: 192.168.1.1
nameservers:
addresses: [8.8.8.8, 1.1.1.1]
sudo netplan apply
sudo netplan tryIptables is complex. Ubuntu, to simplify this UFW (Uncomplicated Firewall) presents. The first thing you need to do as soon as you set up your server is to configure UFW.
| Komut | Description | example |
|---|---|---|
ufw status |
Shows firewall status. | sudo ufw status verbose |
ufw allow |
Allows a specific port or service. | sudo ufw allow 22/tcp (SSH) |
ufw deny |
Blocks a specific port or IP. | sudo ufw deny from 1.2.3.4 |
ufw enable |
Activates the firewall. | Attention: Grant SSH permission first! |
ufw delete |
Deletes the rule. | sudo ufw delete allow 80 |
sudo ufw default deny incoming (Block everything that comes)sudo ufw default allow outgoing (Let everything go)sudo ufw allow ssh (Allow SSH connection)sudo ufw allow http (for website)sudo ufw allow https (for SSL)sudo ufw enable (Activate) The most popular infrastructure to publish your website: Linux, Apache, MySQL, PHP.
sudo apt install apache2
sudo systemctl enable apache2
sudo apt install mysql-server
sudo mysql_secure_installation
sudo apt install php libapache2-mod-php php-mysql
What you will get from Eka Sunucu Managed VDS You do not need to deal with these installations in your services.
Frequently asked questions about Ubuntu server management.
sudo Creating a user with authorized permission and disabling root login (PermitRootLogin no) via SSH 2026 is an important step in security standards. With NVMe SSD disks, 10 Gbit line capacity and 99.9 %Uptime guarantee, our Ubuntu VDS servers are ready to make your projects fly.