본문 바로가기

개발환경

SVN 환경설정

반응형
저장소 생성 : svnadmin create c:/svn_repository/private
 
사용자 생성 및 권한
C:\svn_repository\private\conf
authz : UserGroup 을 만든다.
passwd : User 와 Password 를 설정한다.
svnserve.conf : User 정보를 Password 와 authz 에서 얻어 올것인가를 선택한다
password-db 와 authz-db의 주석을 해제 했음.
 
ServerConfiguration
Server 설정 방법에는 몇가지 종류가 있습니다.
 
1. Commend-line Client
Commit : $ svn commit -F log_msg.txt --no-auth-cache
--no-auth-cache : Cache 하지 않는다.
Delete : $ svn delete newfile
 
2. SVCServe It is a custom server.
 
Invoking the Server
$ svnserve -i :inetd 설정으로 실행.
$ svnserve -d : Standalone daemon 으로 실행.
$ svnserve -d -r /usr/local/repositories
-r : Repository를 지정하는 Option.
 
svnserve.conf
authz
passwd
file을 수정합니다.
 
3. Httpd, the Apache HTTP server.
Aphache Server를 Install 한다.
C:\Program Files\CollabNet Subversion Server\httpd\conf\httpd.conf 파일에 다음을 추가한다.
<Location /svn>
   DAV svn
   SVNParentPath C:/svn_repository
</Location>
 
이제 Repository Path 에 http://localhost:9999/svn/private 라고 설정하고 접근하면 접근 된다.
반응형

'개발환경' 카테고리의 다른 글

Managed Server Weblogic  (0) 2008.10.01
PCLI 명령  (0) 2008.07.07
Jad 설정  (0) 2008.06.16
crontab  (0) 2008.06.05
Subversive Plug-ins Url  (0) 2008.04.28