新增 Service:Gitlab

2026-03-06 02:51:49 +00:00
parent ca41cde183
commit d3a9f3bad1

25
Service%EF%BC%9AGitlab.md Normal file

@@ -0,0 +1,25 @@
# 安裝相關套件
```bash
apt update && apt install -y curl
```
透過 Script 安裝套件
```bash
curl "https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh" | bash
```
# 安裝 Gitlab
```bash
EXTERNAL_URL="https://gitlab.jsc.idv.tw" apt install gitlab-ce
```
# 取得 root 密碼
需要在 24 小時內變更
```bash
cat /etc/gitlab/initial_root_password
```