CentOS gitlab服务器环境搭建

2017-10-19 admin 备忘

wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/gitlab-ce-9.5.8-ce.0.el6.x86_64.rpm

rpm -ivh ./gitlab-ce-9.5.8-ce.0.el6.x86_64.rpm


vi /etc/gitlab/gitlab.rb

将external_url 地址配置成自己的服务器地址


进/var/opt/gitlab/nginx/conf

配置nginx服务器相关的配置


cd /opt/gitlab/bin

./gitlab-ctl reconfigure

gitlab重编译


./gitlab-ctl start

启动


标签: CentOS git

Powered by emlog

浙ICP备17021512号 |浙公网安备 33010602008237号