티스토리 뷰

sudo apt-get update
sudo apt-get install -y curl openssh-server ca-certificates tzdata perl

sudo apt-get install -y postfix

curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo EXTERNAL_URL="https://gitlab.example.com" apt-get install gitlab-ce

 

 

https 프로토콜을 사용할 것이라서 letsencypt 관련 에러가 났다. 

gitlab은 https를 사용하게되면 자동적으로 letsencrypt 에 요청한다

Running handlers:
There was an error running gitlab-ctl reconfigure:

(letsencrypt::http_authorization line 6) had an error: Acme::Client::Error::RejectedIdentifier: acme_certificate[staging] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/resources/certificate.rb line 41) had an error: Acme::Client::Error::RejectedIdentifiThe ACME server can not issue a certificate for an IP address

 

에러 처리하기( 다음 포스팅 )

gitlab 설치시SSL configuration (Lets encrypt ::: The ACME server can not issue a certificate for an IP address)

 

버전 확인

sudo gitlab-rake gitlab:env:info

 

External IP 셋팅

# vim /etc/gitlab/gitlab.rb
external_url "http://gitlab.example.com"

# sudo gitlab-ctl reconfigure

 

 

비밀번호

gitlab 설치시 다음과 같은 안내가 나오나, 

Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours

위의 방법대로 안되면

sudo gitlab-rake "gitlab:password:reset[root]"

로 비밀번호를 셋팅할 수 있다

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
글 보관함