最低要求2G内存

下载地址:

https://about.gitlab.com/install/

关闭防火墙

1. Install and configure the necessary dependencies

yum install -y curl policycoreutils-python openssh-server

systemctl enable sshd

systemctl start sshd

邮件通知

yum install postfix -y

systemctl enable postfix

systemctl start postfix

2. Add the GitLab package repository and install the package

获取安装源

curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash

配置https 或 http 访问域名

vi /etc/hosts

192.168.10.32 gitlab.meng.com

EXTERNAL_URL="http://gitlab.meng.com" yum install -y gitlab-ee

1.6G安装包,下载安装需要一段时间

(安装版本 gitlab-ee.x86_64 0:11.9.8-ee.0.el7 )

3. Browse to the hostname and login

http://gitlab.meng.com

转向到修改密码

4.重启服务

gitlab-ctl restart

0

Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐