diff --git a/Service%EF%BC%9AGitlab.md b/Service%EF%BC%9AGitlab.md new file mode 100644 index 0000000..3d31596 --- /dev/null +++ b/Service%EF%BC%9AGitlab.md @@ -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 +``` \ No newline at end of file