首页 > 其他 > 详细

GitLab基础笔记

时间:2019-01-13 17:48:31      阅读:155      评论:0      收藏:0      [点我收藏+]

【半离线安装】

1、安装ssh
yum install -y curl policycoreutils-pythonopenssh-server


2、将SSH服务设置成开机自启动
systemctl enable sshd
systemctl start sshd


3、安装防火墙
yum install firewalld systemd -y
service firewalld start
systemctl reload firewalld


4、安装Postfix以发送通知邮件
yum install postfix
systemctl enable postfix
systemctl start postfix


5、下载GitLab
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-11.6.3-ce.0.el7.x86_64.rpm


6、安装gitlab
rpm -i gitlab-ce-11.6.3-ce.0.el7.x86_64.rpm


7、修改gitlab配置
vim /etc/gitlab/gitlab.rb
external_url ‘http://localhost:8888‘ --修改端口


8、启动
gitlab-ctl reconfigure
gitlab-ctl restart

--安装软件
rpm -i gitlab-ce-11.6.3-ce.0.el7.x86_64.rpm
--查看软件
rpm -qa | grep gitlab
--卸载软件
rpm -e gitlab-ce-11.6.3-ce.0.el7.x86_64.rpm

 

【在线安装】

 

GitLab基础笔记

原文:https://www.cnblogs.com/cuminbf/p/10263334.html

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