Gitlab(一)Ubuntu系統(tǒng)安裝

本文介紹在 Ubuntu 18.04.2 系統(tǒng)下安裝 Gitlab 的方法和步驟。


  1. 下載 gitlab-ce 本地安裝包(本文使用gitlab-ce_14.5.0-ce.0_amd64.deb

  2. 上傳到 Ubuntu 系統(tǒng)中,使用dpkg命令安裝

root@...:/opt# dpkg -i gitlab-ce_14.5.0-ce.0_amd64.deb 
Selecting previously unselected package gitlab-ce.
(Reading database ... 91294 files and directories currently installed.)
Preparing to unpack gitlab-ce_14.5.0-ce.0_amd64.deb ...
Unpacking gitlab-ce (14.5.0-ce.0) ...
Setting up gitlab-ce (14.5.0-ce.0) ...
It looks like GitLab has not been configured yet; skipping the upgrade script.

       *.                  *.
      ***                 ***
     *****               *****
    .******             *******
    ********            ********
   ,,,,,,,,,***********,,,,,,,,,
  ,,,,,,,,,,,*********,,,,,,,,,,,
  .,,,,,,,,,,,*******,,,,,,,,,,,,
      ,,,,,,,,,*****,,,,,,,,,.
         ,,,,,,,****,,,,,,
            .,,,***,,,,
                ,*,.
  


     _______ __  __          __
    / ____(_) /_/ /   ____ _/ /_
   / / __/ / __/ /   / __ `/ __ \
  / /_/ / / /_/ /___/ /_/ / /_/ /
  \____/_/\__/_____/\__,_/_.___/
  

Thank you for installing GitLab!
GitLab was unable to detect a valid hostname for your instance.
Please configure a URL for your GitLab instance by setting `external_url`
configuration in /etc/gitlab/gitlab.rb file.
Then, you can start your GitLab instance by running the following command:
  sudo gitlab-ctl reconfigure

For a comprehensive list of configuration options please see the Omnibus GitLab readme
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md

Help us improve the installation experience, let us know how we did with a 1 minute survey:
https://gitlab.fra1.qualtrics.com/jfe/form/SV_6kVqZANThUQ1bZb?installation=omnibus&release=14-5
  1. 執(zhí)行配置命令 sudo gitlab-ctl reconfigure

  2. 啟動 sudo gitlab-ctl start

  3. 瀏覽器訪問http://IP,用戶名root,初始密碼記錄在/etc/gitlab/initial_root_password文件中

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容