📃 docs: 初步完善
This commit is contained in:
64
docs/ops-doc/entrance-info/gitea.md
Normal file
64
docs/ops-doc/entrance-info/gitea.md
Normal file
@@ -0,0 +1,64 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
sidebar_label: 'gitea服务'
|
||||
title: 'gitea服务'
|
||||
---
|
||||
|
||||
## 概述
|
||||
|
||||
单独跑在[Ubuntu虚拟机-gitea](../machine-info/gitea-Ubuntu-24.04.01.md)里,
|
||||
|
||||
以可执行二进制文件的形式安装部署,
|
||||
|
||||
文档参考:[关于Gitea | Gitea Documentation](https://docs.gitea.com/zh-cn/)
|
||||
|
||||
安装时遵循:[使用二进制文件安装 | Gitea Documentation](https://docs.gitea.com/zh-cn/installation/install-from-binary)
|
||||
|
||||
所需的数据库由 1Panel 面板管理,
|
||||
|
||||
## 关键配置
|
||||
|
||||
可执行文件路径:
|
||||
|
||||
```
|
||||
/usr/local/bin/gitea
|
||||
```
|
||||
|
||||
数据存储路径:
|
||||
|
||||
```
|
||||
/var/lib/gitea/
|
||||
```
|
||||
|
||||
配置文件路径:
|
||||
|
||||
```
|
||||
/etc/gitea/
|
||||
```
|
||||
|
||||
服务配置文件路径:
|
||||
|
||||
```
|
||||
/etc/systemd/system/gitea.service
|
||||
```
|
||||
|
||||
数据库名,数据库用户名,用户密码(三个相同):
|
||||
|
||||
```
|
||||
gitea
|
||||
```
|
||||
|
||||
1panel 面板登录入口与用户名密码:
|
||||
|
||||
```
|
||||
❔❔❔❔❔
|
||||
```
|
||||
|
||||
```
|
||||
❔❔❔❔❔
|
||||
```
|
||||
|
||||
```
|
||||
❔❔❔❔❔
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user