← Deployment & Docker7 / 45
Package Manager apt & Controller systemd
Gunakan sudo apt update && sudo apt install -y nginx untuk menginstal software di Ubuntu, dan systemctl untuk mengelola service background.
👀 Contoh dulu
sudo systemctl status nginx sudo systemctl restart nginx
Hasilnya: ● nginx.service - A high performance web server Loaded: loaded (/lib/systemd/system/nginx.service; enabled) Active: active (running) since Mon 2026-07-27 10:05:11 UTC; 2h ago
💡 systemctl enable nginx memastikan Nginx otomatis berjalan saat VPS reboot.
📝 Sekarang giliranmu
Tulis perintah systemctl untuk memeriksa status service nginx.
Preview