본문 바로가기

개발관련

GitLab설치

728x90
- /etc/gitlab/gitlab.rb
    - external_url 'http://127.0.0.1'
    - git_data_dirs({
        
            "default" ⇒ {
        
                "path" ⇒ "/data/gitlab/git-data"
        
            }     
        
    
           })
sudo chmod 2770 repositories
	drwxrws—-
- sudo gitlab-ctl stop
- sudo gitlab-ctl start
- sudo gitlab-ctl reconfigure
- sudo gitlab-ctl tail
- sudo yum -y  remove gitlab-ce.x86_64
- sudo yum localinstall -y gitlab-ce-13.10.3-ce.0.e17.x86_64.rpm
- sudo gitlab-backup restore BACKUP={backupname}
- sudo gitlab-rails console -e production

버전업을 하며 이전 데이터를 백업하고 리스토어 하는 과정이긴한데 참고가 될지 모르겠다

gitlab은 버전 업 다운 시 호환되는 버전이 홈페이지에 명시되어 있으니 확인하면서 갈아타야하는 부분이 있다. 

728x90

'개발관련' 카테고리의 다른 글

Git 원격 저장소 이름 바꾸기  (0) 2023.11.24
Elasticsearch 엘라스틱서치 조회 쿼리  (0) 2023.08.08
Ubuntu 우분투 초기 셋팅 히스토리  (0) 2023.08.08
성능테스트  (0) 2023.08.08
리눅스마스터2급 족보  (0) 2023.08.08