본문 바로가기

Programming

Gitlab 깃랩 설치 (Centos7)

반응형

yum install -y curl policycoreutils-python openssh-server

systemctl enable sshd

systemctl start sshd


firewall-cmd --permanent --add-service=http

systemctl reload firewalld




sudo yum install postfix

sudo systemctl enable postfix

sudo systemctl start postfix




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

yum install -y gitlab-ee

gitlab-ctl reconfigure



vi /etc/gitlab/gitlab.rb

external_url '{보유도메인}' 

gitlab-ctl reconfigure



ssh-keygen

cat ~/.ssh/id_rsa.pub