ubuntu subversion install
1.설치
1 |
apt-get install subversion |
2.Repository 생성
1 2 3 |
mkdir /svn/project svnadmin create --fs-type fsfs /svn/project/sample |
3.SVN Repository 접근방식 설정
1 2 3 4 5 |
vi /svn/project/sample/conf/svnserve.conf [general] # passwd 파일로 패스워드 관리설정 password-db = passwd |
4.유저 계정정보
1 2 3 4 5 6 7 8 9 10 11 |
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 지정
1 |
svnserve -d -r /svn/project |
6.trunk, branches, tags 디렉토리 생성
1 2 3 |
svn mkdir svn://localhost/sample/trunk --username svn001 svn mkdir svn://localhost/sample/branches --username svn001 svn mkdir svn://localhost/sample/tags --username svn001 |