gitlab搭建

在官網(wǎng)的 download 下面 選擇系統(tǒng)?








1. Install and configure the necessary dependencies


sudo yum install curl policycoreutils openssh-server openssh-clients

sudo systemctl enable sshd

sudo systemctl start sshd

sudo yum install postfix

sudo systemctl enable postfix

sudo systemctl start postfix

sudo firewall-cmd --permanent --add-service=http

sudo systemctl reload firewalld


2. Add the GitLab package server and install the package

curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash

sudo yum install gitlab-ce


3. Configure and start GitLab

sudo gitlab-ctl reconfigure


訪問(wèn)直接 http:ip 訪問(wèn)

4. Browse to the hostname and login

On your first visit, you'll be redirected to a password reset screen to provide the password for the initial administrator account. Enter your desired password and you'll be redirected back to the login screen.

The default account's username is?root. Provide the password you created earlier and login. After login you can change the username if you wish.


For configuration and troubleshooting options please see theOmnibus GitLab documentation

If you are located in China, try using?https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/


中國(guó)地區(qū)鏡像:

https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/


推薦bitnami下載打包安裝版本https://bitnami.com/stack/gitlab/installer,省去很多時(shí)間。他們也提供相關(guān) wiki地址 : https://wiki.bitnami.com/Applications/BitNami_GitLab

https://bitnami.com/stack/gitlab/installer

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

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

  • 1.背景 在當(dāng)今互聯(lián)網(wǎng)形勢(shì)下,軟件開發(fā)過(guò)程中,開發(fā)部署的頻率會(huì)非常高,傳統(tǒng)的本地打包-上傳覆蓋-重啟的方式會(huì)導(dǎo)致開...
    Luomeng閱讀 5,888評(píng)論 3 29
  • 由于公司業(yè)務(wù),需要上Git版本控制。 目前市面上比較有名的Git服務(wù)提供商,國(guó)外有GitHub、BitBucket...
    hjqjk閱讀 23,976評(píng)論 1 19
  • 上一篇文章里使用Gitlab搭建Android和iOS的持續(xù)集成和持續(xù)發(fā)布環(huán)境(一),我們已經(jīng)搭建好了Gitlab...
    炸雞叔閱讀 8,454評(píng)論 0 17
  • 一、系統(tǒng)環(huán)境 服務(wù)器:阿里云主機(jī) 操作系統(tǒng):Centos7.0 64位 已裝軟件:Nginx(80端口)、Apac...
    tsyeyuanfeng閱讀 78,101評(píng)論 18 92
  • 1.《嶄新的理所應(yīng)當(dāng)》松浦彌太郎 001 以朋友為鏡 周圍的朋友會(huì)映射出你自己真實(shí)的模樣。這能幫助你更好的認(rèn)清真實(shí)...
    蘇菲親子閱讀 325評(píng)論 0 0

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