git server gitlab
yaokun123 edited this page Oct 13, 2018
·
1 revision
yum -y install policycoreutils openssh-server openssh-clients postfix
systemctl enable postfix && systemctl start postfix
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-8.0.0-ce.0.el7.x86_64.rpm
rpm -i gitlab-ce-8.0.0-ce.0.el7.x86_64.rpm
vim /etc/gitlab/gitlab.rb
external_url 'http://ip或域名:9999'
gitlab-ctl reconfigure
gitlab-ctl restart
如果没有域名,直接输入服务器ip和指定端口进行访问
初始账户: root 密码: 5iveL!fe
第一次登录修改密码
详细请访问:
http://www.cnblogs.com/wenwei-blog/p/5861450.html