侧边栏壁纸
  • 累计撰写 22 篇文章
  • 累计创建 7 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

安装 Caddy

墨悠然
2023-09-04 / 0 评论 / 0 点赞 / 7 阅读 / 1083 字
温馨提示:
本文最后更新于 2023-09-04,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。

Debian, Ubuntu, Raspbian

安装此软件包会自动启动并运行 Caddy 作为名为 的系统服务化,并且还附带了一个默认情况下未启用的服务,如果需要的话。caddycaddy-api

稳定版本:

sudo apt install -y 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/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list

sudo apt update[]()

sudo apt install caddy

测试版本:

sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https

curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/caddy-testing-archive-keyring.gpg

curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-testing.list

sudo apt update

sudo apt install caddy
0

评论区