Arahan Untuk Setiap Servis
Nginx Service
# Start Nginx
sudo systemctl start nginx
# Stop Nginx
sudo systemctl stop nginx
# Restart Nginx
sudo systemctl restart nginx
# Reload Nginx (without downtime)
sudo systemctl reload nginx
MySQL Service
# Start MySQL
sudo systemctl start mysql
# Stop MySQL
sudo systemctl stop mysql
# Restart MySQL
sudo systemctl restart mysql
PHP 8.3-FPM Service
# Start PHP-FPM
sudo systemctl start php8.3-fpm
# Stop PHP-FPM
sudo systemctl stop php8.3-fpm
# Restart PHP-FPM
sudo systemctl restart php8.3-fpm
Lihat status setiap servis
sudo systemctl status service_name
# Example: sudo systemctl status nginx
No Comments