From deb4cf4ce726e01222201febf1d4112b3b9bc1ac Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 24 Jun 2024 23:12:53 -0700 Subject: [PATCH] Use snap certbot --- sample-scripts/Ubuntu-24.04-LEMP.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sample-scripts/Ubuntu-24.04-LEMP.sh b/sample-scripts/Ubuntu-24.04-LEMP.sh index cc2148e..110b033 100644 --- a/sample-scripts/Ubuntu-24.04-LEMP.sh +++ b/sample-scripts/Ubuntu-24.04-LEMP.sh @@ -49,4 +49,8 @@ sudo apt update sudo apt full-upgrade -y # Install the packages -sudo apt install -y nginx mariadb-server mariadb-client php8.3 php8.3-cli php8.3-common php8.3-curl php8.3-fpm php8.3-gd php8.3-mbstring php8.3-mysql php8.3-opcache php8.3-readline php8.3-sqlite3 php8.3-xml php8.3-zip php8.3-apcu \ No newline at end of file +sudo apt install -y nginx mariadb-server mariadb-client php8.3 php8.3-cli php8.3-common php8.3-curl php8.3-fpm php8.3-gd php8.3-mbstring php8.3-mysql php8.3-opcache php8.3-readline php8.3-sqlite3 php8.3-xml php8.3-zip php8.3-apcu + +# Install certbot +sudo snap install --classic certbot +sudo ln -s /snap/bin/certbot /usr/bin/certbot \ No newline at end of file