Gitlab이란 Git의 원격저장소 기능을 비롯하여 이슈트래커, CI/CD기능 등을 제공하는 설치형 버전관리 시스템이다. S/W의 개발부터 배포와 모니터링 등의 라이프사이클에 대한 관리를 제공하며, 개인 또는 조직만이 접근할 수 있도록 설정할 수 있다.
Gitlab의 설치가이드는 공식 사이트에 잘 설명되어 있다.
https://about.gitlab.com/install/#centos-7
yum install -y curl policycoreutils-python openssh-server perl
systemctl enable sshd
systemctl start sshd
yum install postfix
systemctl enable postfix
systemctl start postfix
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
sudo EXTERNAL_URL="http://211.43.13.82/:8088" yum install -y gitlab-ce
gitlab-rails console -e production
user = User.where(id:1).first
user.password='P@ssw0rd' #변경할password
user.password_confirmation='P@ssw0rd' #변경할password
user.save
exit
변경한 패스워드로 로그인하면 끝!