공식 메뉴얼 : https://about.gitlab.com/install/
centos 7 : https://about.gitlab.com/install/#centos-7
1. Install and configure the necessary dependencies
On CentOS 7 (and RedHat/Oracle/Scientific Linux 7), the commands below will also open HTTP, HTTPS and SSH access in the system firewall.
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 firewall-cmd --permanent --add-service=https sudo systemctl reload firewalld
Next, install Postfix to send notification emails. If you want to use another solution to send emails please skip this step and configure an external SMTP server after GitLab has been installed.
sudo yum install postfix sudo systemctl enable postfix sudo systemctl start postfix
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.
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
Next, install the GitLab package. Change https://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.
For https://
URLs GitLab will automatically request a certificate with Let's Encrypt, which requires inbound HTTP access and a valid hostname. You can also use your own certificate or just use http://.
sudo EXTERNAL_URL="https://gitlab.example.com" yum install -y gitlab-ee
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 root
to 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.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
10 | gitlab-ctl reconfigure 에러 | 하서기 | 2020.03.19 | 2520 |
» | git lab 설치 메뉴얼 - centos | 하서기 | 2020.03.19 | 7892 |
8 | git lab 설치 -cent os | 하서기 | 2020.03.19 | 2074 |
7 | screen | 하서기 | 2017.11.29 | 1552 |
6 | RHEL/CentOS 7 에서 Network 설정하기 | 하서기 | 2017.09.27 | 4743 |
5 | 리눅스 방화벽 firewalld (CentOS 7) | 하서기 | 2017.09.27 | 836 |
4 | Netdata - Linux 시스템 용 실시간 성능 모니터링 도구 | 하서기 | 2017.09.27 | 3028 |
3 | 리눅스 계정 생성 useradd | 하서기 | 2016.11.22 | 2556 |
2 | 리눅스 계정 그룹 변경하기 | 하서기 | 2016.11.22 | 366 |
1 | python 설치 | 하서기 | 2016.11.11 | 612 |