From d3a9f3bad1ec90203d475a59a073607fd2d9e6f1 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 6 Mar 2026 02:51:49 +0000 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20Service=EF=BC=9AGitlab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service%EF%BC%9AGitlab.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Service%EF%BC%9AGitlab.md 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