Linux下安装GitLab
2017/11/20 21:33:51
GitLab是一个代码管理公司,和github类似,部署在公司内部,则相当于公司内部的github,管理代码非常方便。
GitLab选择安装在Linux的CentOS7上面。首先在虚拟机上安装CentOS7。
然后是在CentOS7上安装GitLab,在GitLab官网已有安装步骤。
https://about.gitlab.com/installation/
CentOS7上的安装步骤:
https://about.gitlab.com/installation/#centos-7
sudo yum install -y curl policycoreutils-python openssh-server sudo systemctl enable sshd sudo systemctl start sshd sudo firewall-cmd --permanent --add-service=http sudo systemctl reload firewalld
sudo yum install postfix sudo systemctl enable postfix sudo systemctl start postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
sudo EXTERNAL_URL="http://gitlab.example.com" yum install -y gitlab-ee
最后使用的是root账户来登录
https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/
版权说明
作者:SQBER
本文版权归作者所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
{0}
{5}
{1}
{2}回复
{4}
*昵称:
*邮箱:
个人站点:
*想说的话: