1. 程式人生 > >gitlab 搭建rpm版

gitlab 搭建rpm版

gitlab-ce服務端rpm包已裝 配置gitlab(配置時間大概十分鐘gitlab-ctl status gitlab-ctl stop停止 # vi /etc/gitlab/gitlab.rb   (取消註釋並修改埠) unicorn['port'] = 8801 # gitlab-ctl reconfigure  (重新生成配置) # gitlab-ctl restart# lsof -i:8801   127.0.0.1登陸 root 和 5iveL!fe root/1234.com -------------------------------------------------------------------------------------------------------------------- gitlab開原https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/ yum install gitlab-ce清華映象 gitlab-rake gitlab:check SANITIZE=true --trace    # 檢查gitlab; gitlab-ctl tail        # 檢視日誌; sudo gitlab-ctl start    # 啟動所有 gitlab 元件; -------------------------------------------------- -------------------------------------------------------------------------------------------------------------- 1.前期準備工作 yum install curl openssh-server openssh-clients postfix cronie #GitLab使用postfix傳送郵件  service postfix start #設定postfix開機自啟動sudo chkconfig postfix on -------------------------------------------------------------------------------------------------------------------- https://blog.csdn.net/liboyang71/article/details/79886882 --------------------------------------------------------------------------------------------------------------------- https://www.jianshu.com/p/fea4d20515ac https://zhuanlan.zhihu.com/p/33592623