centos7下安装gitlab并配置必要的依赖关系
1. 安装并配置必要的依赖关系
On CentOS 7 (and RedHat/Oracle/Scientific Linux 7), the commands below will also open HTTP and SSH access in the system firewall.
[code]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
During Postfix installation a configuration screen may appear. Select 'Internet Site' and press enter. Use your server's external DNS for 'mail name' and press enter. If additional screens appear, continue to press enter to accept the defaults.
2. Add the GitLab package repository and install the package
Add the GitLab package repository.
[code]curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
Next, install the GitLab package. Change `http://gitlab.example.com` to the URL at which you want to access your GitLab instance. Installation will automatically configure and start GitLab at that URL. HTTPS requires additional configuration after installation.
[code]sudo EXTERNAL_URL="http://gitlab.example.com" yum install -y gitlab-ee <button aria-label="Copy to clipboard" class="btn copy-btn js-copy-btn" data-clipboard-text="" sudo="" external_url=""http://gitlab.example.com"" yum="" install="" -y="" gitlab-ee"="" data-placement="top" data-toggle="tooltip" title="" type="button" data-original-title="Copy to clipboard" style="color: rgb(107, 79, 187); font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 14px; line-height: 1.42857; font-family: inherit; margin: 5px; overflow: visible; cursor: pointer; vertical-align: middle; touch-action: manipulation; background-image: none; border-width: 1px; border-style: solid; border-color: transparent; white-space: nowrap; padding: 5px; border-radius: 4px; user-select: none;">
3. Browse to the hostname and login
On your first visit, you'll be redirected to a password reset screen. Provide the password for the initial administrator account and you will be redirected back to the login screen. Use the default account's username
rootto login.
See our documentation for detailed instructions on installing and configuration.
4. Set up your communication preferences
Visit our email subscription preference center to let us know when to communicate with you. We have an explicit email opt-in policy so you have complete control over what and how often we send you emails.
Twice a month, we send out the GitLab news you need to know, including new features, integrations, docs, and behind the scenes stories from our dev teams. For critical security updates related to bugs and system performance, sign up for our dedicated security newsletter.
IMPORTANT NOTE: If you do not opt-in to the security newsletter, you will not receive security alerts.
阅读更多- Centos7下安装及配置Zabbix3.0
- CentOS 7下LAMP源码安装(3)安装 httpd 及配置
- CentOS7下安装配置vncserver/vncviewer
- Centos7下Redis3.2的安装配置与JReid测试
- nginx安装及依赖关系的配置记录
- CentOS7下安装并设置MariaDB并配置
- Centos 7下mysql的安装与配置
- Centos7下安装配置mysql5
- centos7下 tomcat的安装与配置
- Centos7下安装配置开源存储虚拟化QuadStor(4)----Vdisk Clone
- CentOS7环境中gitlab安装和配置
- Centos7下安装配置开源存储虚拟化QuadStor(5)----Vdisk Mirror
- CentOS7下mariaDB和phpmyadmin的一些安装和配置问题
- CentOS 7下安装配置proftpd搭建ftp服务器的详细教程
- Centos 7下mysql的安装与配置
- CentOS7下安装配置LAMP详细教程
- Centos7下Redis3.2的安装配置与JReid测试
- CentOS7下安装MySQL5.7安装与配置(YUM)
- gitlab安装与配置(Centos6.8)
- CentOS 6.x安装配置GitLab(社区或个人Git管理)