BlueXIII's Blog

热爱技术,持续学习

0%

GitLab服务搭建

安装

yum install curl openssh-server openssh-clients postfix cronie
service postfix start
chkconfig postfix on
lokkit -s http -s ssh
rpm -i gitlab-ce-8.13.1-ce.0.el6.x86_64.rpm
gitlab-ctl reconfigure

配置脚本修改IP

vi /etc/gitlab/gitlab.rb
external_url ‘http://134.32.51.31'

访问

http://134.32.51.31

启停

service gitlab start