GitLab 分为两个版本,GitLab CE(社区版)及GitLab EE(企业版)
其中GitLab CE 为MIT 许可证可以免费进行使用
GitLab EE 则为在GitLab CE 的版本上增强了许多功能,但需要进行付费使用
1. 部署完成后文件路径
- 配置文件 /etc/gitlab/gitlab.rb
- nginx路径 /var/opt/gitlab/nginx/
- nginx配置文件 /var/opt/gitlab/nginx/gitlab-http.conf
- 备份目录 /var/opt/gitlab/backups
2. 数据库配置文件
- /var/opt/gitlab/gitlab-rails/etc/database.yml
- /var/opt/gitlab/postgresql/data/postgresql.conf
- /var/opt/gitlab/postgresql/data/pg_hba.conf
3.部署命令
yum update
yum -y install curl policycoreutils-python openssh-server perl
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh |