Obsidian/Recognition/Programing/Linux/Ubuntu/Ubuntu GitLab-CE 설치.md

34 lines
559 B
Markdown

#ubuntu #gitlab
```bash
# Gitlab CE 저장소 추가
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
# Gitlab CE 설치
sudo apt update
sudo apt -y install gitlab-ce
# Gitlab CE 설정
sudo gitlab-ctl reconfigure
# password 확인
cat /etc/gitlab/initial_root_password
## 재시작
sudo gitlab-ctl restart
# http://localhost:80 접속
# gitlab 접속
## 웹 브라우져에 URL 입력
## ID : root
## PW : /etc/gitlab/initial_root_password 파일 확인
# 포트 확인
sudo netstat -tnlp
```