본문으로 바로가기

SVN 사용해 보기

category 시스템/utility 2016. 3. 4. 16:43
반응형

 

SVN 을 간단하게 사용해 보자.

 

1. Repository 생성.

- svnadmin create --fs-type fsfs RepoName

 

2. Config 설정.

- 생성된 RepoName/conf 하위 파일 수정

svnserve.conf ==> 접근속성 및 password 사용 주석 제거

passwd ==> 사용할 계정 및 암호 저장.

 

3. svn 서비스 실행

- svnserve -d -r d:\repo_dir

실행창이 떠있는 상태에서만 동작함.

 

4. 서비스로 등록하기.

- sc create svn_rubysrv binpath="D:\rubysrv\subversion\bin\svnserve.exe --service -r d:\svn_repo" displayname="Subversion Server Rubysrv" depend=tcpip start=auto

제어판 -> 서비스에 등록됨, 자동으로 시스템 재시작시에도 자동 실행됨.

 

5. 서비스 삭제

- sc delete svn_rubysrv displayname="Subversion Server Rubysrv"

반응형