搭建GitLab

搭建GitLab

   张吉吉     2019年12月6日 00:12     1537    

1、安装依赖

yum install policycoreutils-python

如果没有安装会提示安装

1.png

 

2、下载

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

2.png

 

3、安装

使用命令安装rpm包

rpm -i gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm

3.png

 

4、修改URL

如果有域名也可以直接配置域名,这里是内网,所以这里用ip

http://ip:port

4.png

 

5、修改配置,然后重启

gitlab-ctl reconfigure

gitlab-ctl restart


6、访问

http://192.168.0.219:55566

image.png


文章评论

0

其他文章