Apache2 Install on Debian 12 在 Debian 12 上安裝 Apache2
System Environment
OS: Debian 12
sudo apt update -y && sudo apt upgrade -y && \
sudo apt install apache2Install the SSL Certificate Environment
sudo apt install certbot python3-certbot-apache -yObtain the SSL Certificate
sudo certbot --apacheAuto Renewal
sudo certbot renew --dry-run系統環境
作業系統:Debian 12
sudo apt update -y && sudo apt upgrade -y && \
sudo apt install apache2安裝 SSL 憑證環境
sudo apt install certbot python3-certbot-apache -y取得 SSL 憑證
sudo certbot --apache自動續期
sudo certbot renew --dry-run