화요일, 12월 10, 2024
HomeLinuxubuntu subversion install

ubuntu subversion install

ubuntu subversion install

1.설치

apt-get install subversion

2.Repository 생성

mkdir /svn/project

svnadmin create --fs-type fsfs /svn/project/sample

3.SVN Repository 접근방식 설정

vi /svn/project/sample/conf/svnserve.conf

[general]
# passwd 파일로 패스워드 관리설정
password-db = passwd

4.유저 계정정보

vi /svn/project/sample/conf/passwd

### This file is an example password file for svnserve.
### Its format is similar to that of svnserve.conf. As shown in the
### example below it contains one section labelled [users].
### The name and password for each user follow, one account per line.

[users]
# harry = harryssecret
# sally = sallyssecret
svn001 = svn001

5.svn 서버를 실행
-d는 데몬모드로 실행,
-r은 repository 지정

svnserve -d -r /svn/project

6.trunk, branches, tags 디렉토리 생성

svn mkdir svn://localhost/sample/trunk --username svn001
svn mkdir svn://localhost/sample/branches --username svn001
svn mkdir svn://localhost/sample/tags --username svn001

Eclipse subversion 연동방법

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular