前言:
作为一名程序员,我们平时自己总结的一些代码,我们要保存起来,难免少不了自己的代码仓库,平常我们用的比较频繁的SVN和Gitlab。今天就分享一下在云服务器搭建一个属于自己私人gitlab服务。(我这里使用的是腾讯云centos 7 64bit系统)
搭建步骤:
1.安装依赖软件
yum -y install policycoreutils openssh-server openssh-clients postfix
2.设置postfix开机自启,并启动,postfix支持gitlab发信功能
systemctl enable postfix && systemctl start postfix
3.下载gitlab安装包,然后安装
注意:官网提供G