라즈베리파이 Gitlab 설치

2019. 12. 23. 19:44IT/IOT

1. 메일 서버 셋팅(왜 설치하는지는 모르겠다....)

sudo apt install curl openssh-server ca-certificates postfix apt-transport-https

2. 설치 셋팅

curl https://packages.gitlab.com/gpg.key | sudo apt-key add -
sudo curl -o /etc/apt/sources.list.d/gitlab_ce.list "https://packages.gitlab.com/install/repositories/gitlab/raspberry-pi2/config_file.list?os=debian&dist=jessie" && sudo apt-get update

3. gitlab apt-get 설치

sudo apt-get install gitlab-ce

4. 구동

sudo gitlab-ctl reconfigure

5. Swap Size 변경(라즈베리파이3 b+모델인데 메모리가 낮아서 멈춘다....그래서 스왑메모리를 변경해야한다.)

    -스왑메모리는 하드디스크에 일정 공간을 메모리 공간으로 지정하여 사용을 하며, 최악의 경우 메모리가 부족하여 시스템에 문제가

      생기는 일을 방지 할 수 있다. 결론 가상의 메모리를 늘려주는거다

 

 

'IT > IOT' 카테고리의 다른 글

1. Arduino LED Switch  (0) 2019.12.11