끄적끄적 관심사
ubuntu gitlab-ce install / gitlab install
현구링
2022. 12. 8. 16:09
728x90
Gitlab CE 저장소 추가
curl 명령어를 이용하여 Gitlab CE 저장소를 우분투 패키지 시스템에 추가한다.
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
Gitlab CE 설치
우분투 패키지 시스템을 업데이트 하고, apt 명령어를 이용하여 gitlab-ce 패키지를 설치한다.
sudo apt update
sudo apt -y install gitlab-ce
Gitlab CE 설정
$ sudo gitlab-ctl reconfigure
...
Notes:
Default admin account has been configured with following details:
Username: root
Password: You didn't opt-in to print initial root password to STDOUT.
Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure run after 24 hours.
NOTE: Because these credentials might be present in your log files in plain text, it is highly recommended to reset the password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.
gitlab Reconfigured!
기본으로 80 port ip로 접속 http://localhost:80
root 계정의 암호는 /etc/gitlab/initial_root_password 파일 참고
728x90