티스토리 뷰
1. git 설치
$ sudo apt-get install git
2. root 계정 접속
$ su -
3. gitolite, git-repo 계정 생성
$ adduser gitolite
$ adduser git-repo
- 암호 입력 후 , name, phone 등은 enter 키로 넘기면 된다.
4. gitolite 설치 (git user로 진행)
$ su - git-repo
$ git clone https:
//github
.com
/sitaramc/gitolite
.git
$ .gitolite/install
5. SSH-KEY 생성 (/home/gitolite/.ssh에 id_rsa, id_rsa.pub 파일 생성)
$ su - gitolite
$ ssh-keygen
$ scp /home/gitolite/.ssh/id_rsa.pub git-repo@localhost:/home/git-repo/gitolite.pub
- public key를 git-repo로 복사
6. public key 등록 (gitolite-admin, testing 저장소 생성)
$ su - git-repo
$ .gitolite/src/gitolite setup -pk ./gitolite.pub
7. gitolite-admin 저장소 가져오기
$ su - gitolite
$ git clone git-repo@localhost:gitolite-admin.git
8. git 계정, 이메일 설정
$ git config --global user.email "gitolite@xxx.xxx"
$ git config --global user.name "gitolite"
'linux' 카테고리의 다른 글
[Ubuntu build server 2] apache 설치 (0) | 2016.12.04 |
---|---|
[Ubuntu build server 1] 자동 빌드 서버를 구축해보자.. (0) | 2016.12.04 |
kr.archive.ubuntu.com 저장소 변경 (0) | 2016.10.30 |
[ubuntu 16.04] 한글 설정 (0) | 2016.10.30 |
.vimrc 설정 (0) | 2016.02.23 |
- Total
- Today
- Yesterday
- data transfer
- delete item
- 오픈 소스 배포
- 자동 배포
- ubuntu 16.04
- security.ubuntu.com
- type inference
- build server
- publish opensource
- 리사이클러뷰 확장
- android open source
- kotlin
- kotlinx serialization
- Apache
- qtwebengine
- swip
- expandable recyclerview
- auto depoly
- remove item
- serializable
- git server
- C++
- Parcelable
- weak_ptr
- git hook
- jitpack
- Git
- android serialization
- Jenkins
- RecyclerView
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |