Debian 12 安裝 Apache
1. 更新系統sudo apt update
sudo apt upgrade
2. 安裝 Apache
sudo apt install apache2
確認安裝成功
sudo systemctl status apache2
3. 防火牆設定 Firewall Configuration
sudo ufw allow 'Apache'
sudo ufw reload
4. 啟動 Apache
sudo systemctl start apache2
sudo systemctl enable apache2
页:
[1]