[GitLab] Raspberry Pi Bullseye 64-bit, GitLab 서버 설치하기

문연수·2022년 7월 25일
0

GitLab

목록 보기
1/1

 글을 작성하는 현 시점 22년 07월 25일 기준, Raspberry Pi 64-bit OS 에 대한 공식적인 지원은 이뤄지지 않았으나, Debian 측 패키지로 우회하여 설치하는 것은 가능하다. 자세한 사항은 다음의 글을 참고하길 바란다. 한달 정도 써본 결과, 확실히 Raspberry Pi 에서 돌리기엔 무겁다는 느낌이 드나, 개인적인 용도로 사용하기엔 무리가 없다 생각된다.

0. Environment

  • Computer: Raspberry Pi 4B+ 8GB
  • Operating System: Debian GNU/Linux 11 (bullseye)
  • Architecture: arm64
  • Micro SD: SanDisk MicroSDHC Extreme PRO /QXCG 32GB

1. Before Installation

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

sudo apt-get update

sudo apt-get install debian-archive-keyring

sudo apt-get install curl gnupg apt-transport-https

curl -L https://packages.gitlab.com/gitlab/gitlab-ce/gpgkey | sudo apt-key add -

sudo touch /etc/apt/sources.list.d/gitlab_gitlab-ce.list
sudo echo "deb https://packages.gitlab.com/gitlab/gitlab-ce/debian/ buster main
deb-src https://packages.gitlab.com/gitlab/gitlab-ce/debian/ buster main" > /etc/apt/sources.list.d/gitlab_gitlab-ce.list

2. Install GitLab

sudo EXTERNAL_URL="http[s]://<whatever_you_wants>" apt-get install gitlab-ce

 If you set up the URL as HTTPS, then GitLab automatically certificate with Let's Encrypt. If you want to use another certificate method, you will type http protocol without s.

3. Access and Login GitLab

 Initial username will be set to root by defaults and the password will be stored in /etc/gitlab/initial_root_password. Check this out.

4. Update Profile

 You can change root's name, username, and password to edit your profile by clicking the top right button.

5. See more

https://docs.gitlab.com/omnibus/settings/configuration.html

 위 링크를 타고 들어가면 더 많은 정보들을 얻을 수 있다. SMTP 메일 서버 등록, GIT 데이터를 외부 저장소에 저장하는 방법, 데이터 백업 및 복구 등등 필요한 정보는 거의 다 있다고 봐도 좋다. 없다면 커뮤니티를 활용하는 것도 하나의 방법이 될 수 있다.

출처

[사이트] https://about.gitlab.com/blog/2022/03/14/installing-gitlab-on-raspberry-pi-64-bit-os/
[사이트] https://docs.gitlab.com/omnibus/settings/configuration.html

profile
2000.11.30

0개의 댓글