新增 Service:Gitlab
25
Service%EF%BC%9AGitlab.md
Normal file
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
|
||||
```
|
||||
Reference in New Issue
Block a user