centos7安装gitlab服务端--持续更新

 

1、运行内存4G以上;

2、添加gitlab镜像:wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm

3、安装gitlab 安装命令:rpm -i gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm

4、修改gitlab配置文件指定服务器ip和自定义端口:vim  /etc/gitlab/gitlab.rb

5、重置并启动GitLab,分别执行:

gitlab-ctl reconfigure

gitlab-ctl restart

 

6、访问 GitLab页面

 

posted @ 2019-07-09 20:52  微笑着写代码  阅读(100)  评论(0)    收藏  举报