From be218e1b6488ca954491b0cef59efd66167c5d0a Mon Sep 17 00:00:00 2001 From: fernvenue Date: Wed, 14 Aug 2024 17:00:42 +0800 Subject: [PATCH] packaging-gitea: Add documentation (#261) --- docs/packaging-gitea.md | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 docs/packaging-gitea.md diff --git a/docs/packaging-gitea.md b/docs/packaging-gitea.md new file mode 100644 index 00000000..e1aa6f62 --- /dev/null +++ b/docs/packaging-gitea.md @@ -0,0 +1,47 @@ +# packaging-gitea + +## 地址 + + + +## 说明 + +这是对 的内容镜像,用于为 Debian/Ubuntu 用户提供基于 `apt` 的 Gitea 包管理安装方式。需要注意的是,该仓库由社区维护,并由 Gitea 官方文档于 列出,不由 Gitea 官方直接提供。 + +## 收录架构 + +- aarch64 +- x86_64 + +## 使用说明 + +添加仓库签名密钥: + +```shell +sudo curl -sL -o /etc/apt/trusted.gpg.d/morph027-gitea.asc https://packaging.gitlab.io/gitea/gpg.key +``` + +添加镜像源: + +```shell +echo "deb https://mirrors.ustc.edu.cn/packaging-gitea gitea main" | sudo tee /etc/apt/sources.list.d/morph027-gitea.list +``` + +安装: + +```shell +sudo apt-get update +sudo apt-get install gitea morph027-keyring +``` + +启动: + +```shell +systemctl enable gitea --now +``` + +查看服务状态: + +```shell +systemctl status gitea +```