본문 바로가기
Infra/GitLab & Git Server

Gitlab ee 버전을 ubuntu 22.04 에 설치하기

by 골든크랩 2024. 1. 17.
728x90
반응형

하루 1번!!!
우리의 꿈을 서로 응원해주면, 언젠가 더 나은 세상되지 않을까요??

0.5초 광고클릭으로 저를 응원해주신 모든분들 꼭 부자되세요^^

먼길 오셨는데, 도움받은 글 하나 없다면....다 제 잘못입니다.
죽는 날까지 계속 올릴테니, 언젠가 다시 한번 와주세요.
기다릴게요~~^^

 

 

 

참고) 아래글을 참고하여 진행함

https://code-tech.tistory.com/m/entry/GIT-Ubuntu-2204-Gitlab-ee-%EC%84%A4%EC%B9%98-%EB%B0%8F-%EC%85%8B%ED%8C%85

 

ce 버전은 사용하지 않는게 좋을것 같아서 ee버전을 설치하기로 함

ee 버전도 라이센스를 구매하지 않고 사용할수 있음.

 

sudo apt update

sudo apt install tzdata curl ca-certificates openssh-server

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

sudo apt install gitlab-ee

 

-------------------- -------------------- -------------------- -------------------- -------------------- -------------------- --------------------

진행후 아래와 같은 메시지가 뜸

 

Thank you for installing GitLab!
GitLab was unable to detect a valid hostname for your instance.
Please configure a URL for your GitLab instance by setting `external_url`
configuration in /etc/gitlab/gitlab.rb file.
Then, you can start your GitLab instance by running the following command:
  sudo gitlab-ctl reconfigure

 

 

GitLab을 설치해 주셔서 감사합니다!
GitLab이 인스턴스의 유효한 호스트 이름을 감지할 수 없습니다.
/etc/gitlab/gitlab.rb 파일안의 'external_url' 을 설정하여 GitLab 인스턴스의 URL을 구성하세요.

그런 다음 다음 명령을 실행하여 GitLab 인스턴스를 시작할 수 있습니다.
sudo gitlab-ctl reconfigure

-------------------- -------------------- -------------------- -------------------- -------------------- -------------------- --------------------

 

sudo vi /etc/gitlab/gitlab.rb

 

external_url 을 업데이트함

 

패스워드 확인

sudo cat /etc/gitlab/initial_root_password

 

서버 ip로 접속한다.

http://192.168.219.100/

 

 

 

 

 

 

 

 

 

 

 

728x90
반응형

'Infra > GitLab & Git Server' 카테고리의 다른 글

gitlab 버전확인하기  (0) 2024.01.21
Gitlab 프로젝트 생성하기 (blank project)  (0) 2024.01.17
Git server 구축  (0) 2023.05.27
User 생성하기  (0) 2023.04.02
Group 생성하기  (0) 2023.04.02

댓글