首页 > 其他 > 详细

centos7.4安装gitlab

时间:2018-08-23 13:41:10      阅读:320      评论:0      收藏:0      [点我收藏+]
1. 安装依赖软件
yum -y install policycoreutils openssh-server openssh-clients postfix

2.下载gitlab安装包,然后安装

centos 7系统的下载地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7

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

技术分享图片

3.修改gitlab配置文件指定服务器ip和自定义端口

vim  /etc/gitlab/gitlab.rb

技术分享图片

 技术分享图片

vi /etc/gitlab/gitlab.rb

技术分享图片

gitlab-ctl reconfigure
gitlab-ctl restart

4.卸载gitlab

#停止gitlab
gitlab-ctl stop

#卸载gitlab
rpm -e gitlab-ce

#查看gitlab进程
ps aux | grep gitlab

#杀掉gitlab进程
kill -9 4473

#删除gitlab文件
find / -name gitlab|xargs rm -rf

 

参考博文:centos7安装部署gitlab服务器

centos7.4安装gitlab

原文:https://www.cnblogs.com/zouke1220/p/9522992.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!