亚洲视频二区_亚洲欧洲日本天天堂在线观看_日韩一区二区在线观看_中文字幕不卡一区

公告:魔扣目錄網為廣大站長提供免費收錄網站服務,提交前請做好本站友鏈:【 網站目錄:http://www.430618.com 】, 免友鏈快審服務(50元/站),

點擊這里在線咨詢客服
新站提交
  • 網站:51998
  • 待審:31
  • 小程序:12
  • 文章:1030137
  • 會員:747

centos直接安裝gitLab教程

1. 安裝依賴軟件

yum -y install policycoreutils openssh-server openssh-clients postfix

2.設置postfix開機自啟,并啟動,postfix支持gitlab發(fā)信功能

systemctl enable postfix && systemctl start postfix

# 如果執(zhí)行這步報錯,則按照下面操作
vim /etc/postfix/main.cf

inet_protocols = ipv4
inet_interfaces = all

3.下載gitlab安裝包,然后安裝

centos6系統(tǒng)的下載地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6
centos7系統(tǒng)的下載地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7
# 下載rpm包并安裝:
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-8.0.0-ce.0.el7.x86_64.rpm

rpm -i gitlab-ce-8.0.0-ce.0.el7.x86_64.rpm --force --nodeps

4.修改gitlab配置文件指定服務器ip和自定義端口

vim  /etc/gitlab/gitlab.rb

external_url項配置

5.重置并啟動GitLab

gitlab-ctl reconfigure

gitlab-ctl restart
#執(zhí)行gitlab-ctl reconfigure可能會卡死,則ctrl+c強制退出
運行:systemctl restart gitlab-runsvdir;
再次執(zhí)行:gitlab-ctl reconfigure

6. 默認賬戶和密碼

# 賬戶
root
# 密碼
5iveL!fe

分享到:
標簽:CentOS
用戶無頭像

網友整理

注冊時間:

網站:5 個   小程序:0 個  文章:12 篇

  • 51998

    網站

  • 12

    小程序

  • 1030137

    文章

  • 747

    會員

趕快注冊賬號,推廣您的網站吧!
最新入駐小程序

數獨大挑戰(zhàn)2018-06-03

數獨一種數學游戲,玩家需要根據9

答題星2018-06-03

您可以通過答題星輕松地創(chuàng)建試卷

全階人生考試2018-06-03

各種考試題,題庫,初中,高中,大學四六

運動步數有氧達人2018-06-03

記錄運動步數,積累氧氣值。還可偷

每日養(yǎng)生app2018-06-03

每日養(yǎng)生,天天健康

體育訓練成績評定2018-06-03

通用課目體育訓練成績評定