-
CentOS7安装GitLab
普通类 -
- 支持
- 批判
- 提问
- 解释
- 补充
- 删除
-
-
安装配置依赖项
yum install curl policycoreutils openssh-server openssh-clients
systemctl enable sshd
systemctl start sshd
yum install postfix
systemctl enable postfix
systemctl start postfix
firewall-cmd --permanent --add-service=http
systemctl reload firewalld
-
安装GitLab包
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
yum install gitlab-ce
-
初始化配置并启动GitLab
gitlab-ctl reconfigure
-
配置正确的访问地址
find / -name gitlab.yml
vi /var/opt/gitlab/gitlab-rails/etc/gitlab.yml
gitlab-ctl restart
-
-
- 标签:
- gitlab-ce
- 配置
- 启动
- install
- restart
- 正确
- 安装
- 初始化
- gitlab
- centos7
- 访问
-
加入的知识群:
学习元评论 (0条)
聪明如你,不妨在这 发表你的看法与心得 ~