Update wp.sh
This commit is contained in:
2
wp.sh
2
wp.sh
@@ -75,7 +75,7 @@ sudo find /var/www/html/wordpress/ -type d -exec chmod 750 {} \;
|
|||||||
sudo find /var/www/html/wordpress/ -type f -exec chmod 640 {} \;
|
sudo find /var/www/html/wordpress/ -type f -exec chmod 640 {} \;
|
||||||
|
|
||||||
# 安装Caddy
|
# 安装Caddy
|
||||||
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
|
sudo apt install -y -q debian-keyring debian-archive-keyring apt-transport-https
|
||||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
|
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
|
||||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
|
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
|
||||||
sudo apt update -q
|
sudo apt update -q
|
||||||
|
|||||||
Reference in New Issue
Block a user