2009년 09월 01일
SVN (subversion)
subversion 홈페이지 : http://subversion.tigris.org/
1. subversion 다운로드
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
둥중에 하나에서 최선버젼을 찾아 다운로드 한다. 목록이 쭈루룩 나오는데.. 그중에서 잘 골라서 다운받는다.
위에 링크는 Apache 2.2.x 라고 하고, 아래는 Apache 2.0.x 라고 하나 둘이 무슨차이가 있는지 전혀 모르겠다.
그래서 위에 링크에서 최신버젼을 찾기로 했다. 왠지 그냥...
매우 다양한 버젼이 존재하나, install 패키지를 다운받아 사용하기로 했다.
위 링크에서 전체를 선택하고. 검색어에 .exe 나, .msi 로 필터링한 결과에서 최신버젼을 찾은 결과
설치할 프로그램을 얘로 결정이 되었다.

2. 설치

그냥 next 만 지겹게 누르면 설치 완료
3. 저장소 만들기
저장소를 만들기 전에 저장소들을 저장할 폴더를 "D:\xuny_svn_datas" 라고 만든다.
그 다음.. 저장소들을 저장할 폴더로 이동한 후 그곳에 "xframe_prj" 이란 이름의 저장소를 만든다.

탐색기에서 확인해 보면 저장소가 생긴걸 확인할 수 있는데.. 더 잘 확인하기 위해서.. 아래처럼 체크아웃 한번 해본다.
아래 그림처럼 체크아웃된 리비젼 0 이라고 나오면 정상 상태.

4. 환경설정
탐색기로 위에서 생성한 저장소 폴더에 가보면 conf 라는 폴더가 생성되어 있다. 그 안을 살펴보면.. 이딴 파일들이 있다.

빨간 똥그라미 쳐진 두 파일들을 조금 수정을 해 주어야 한다.
[svnserve.conf]
anon-access = read : 일반유저의 접근권한
auth-access = write : 인증유저의 접근권한
password-db = passwd : 사용자(인증유저)의 패스워드가 있는 파일
realm = Here is xuny's Repository : 저장소 인증시 나오는 타이틀
그룹 사용자로 묶고자 한다면 파란색 부분, authz-db 의 주석을 해제하고, authz 파일을 수정하면 된다.
[passwd]
5. SVN 서버의 실행
아래 그림과 같이 svnserve 를 실행한다. 마지막 인자는 저장소들이 있는 폴더의 절대경로이다.

위와 같이 실행하면 xuny_svn_datas 폴더 아래의 모든 저장소들에 대한 서비스가 이루어진다.
만약에 xuny_svn_datas/xframe_prj 저장소만 서비스하려면 당연히 이렇게 실행하면 된다.
서버가 잘 돌아가고 있는지 확인을 해보자.

D:\ 에 SVN 서버에 있는 xframe_prj 를 체크아웃하였다. 체그아웃 메시지가 위처럼 정상적으로 나온다면 정상 상태.
정상적이면 위 명령에서 SVN 서버에 있는 xframe_prj 가 D:\ 로 다운로드가 된다.
저장소가 두개 이상 생성되어 있을 경우 만약 명령을
얘는 테스트를 위한 작업이니.. 위 작업을 따라 했다면 D:\xframe_prj 폴더를 통채로 지우자.
6. SVN 서버를 자동으로 실행
조금 전에 말했듯이 SVN 서버를 돌리는 모습은 제정신으로 보고있기가 힘들다.
여기 똑똑한 누군가가 만들어 논 훌륭한 프로그램이 있다.
SVNSERVE Manager

홈페이지를 살펴보니 꽤 오랫동안 업데이트가 되지않고 있는것 같아 사라질지 모르니 프로그램을 올려놓아야 겠다.
설치 : SVNManager-1.1.1-Setup.msi
압축 : SVNManager-1.1.1.zip
사용방법은 따로 설명하지 않겠다. 그냥 사용하면 되니까..
7. subversion 과 apache
설명 진짜 쥰뇌 잘된 싸이트 링크하겠음!
http://www.pyrasis.com/main/Subversion-HOWTO
SVN 클라이언트 이클립스 플러그인... (Eclipse Update site URL 에 유의할 것)
http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
http://blog.naver.com/sungback?Redirect=Log&logNo=90026224453
그밖에...
http://neodreamer.tistory.com/106
http://neodreamer.tistory.com/104
http://neodreamer.tistory.com/107
SVN 에서 폴더 수정/삭제 (update -> commit)
http://osdir.com/ml/version-control.subversion.subclipse.user/2006-08/msg00037.html
1. subversion 다운로드
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
둥중에 하나에서 최선버젼을 찾아 다운로드 한다. 목록이 쭈루룩 나오는데.. 그중에서 잘 골라서 다운받는다.
위에 링크는 Apache 2.2.x 라고 하고, 아래는 Apache 2.0.x 라고 하나 둘이 무슨차이가 있는지 전혀 모르겠다.
그래서 위에 링크에서 최신버젼을 찾기로 했다. 왠지 그냥...
매우 다양한 버젼이 존재하나, install 패키지를 다운받아 사용하기로 했다.
위 링크에서 전체를 선택하고. 검색어에 .exe 나, .msi 로 필터링한 결과에서 최신버젼을 찾은 결과
설치할 프로그램을 얘로 결정이 되었다.

2. 설치

그냥 next 만 지겹게 누르면 설치 완료
3. 저장소 만들기
저장소를 만들기 전에 저장소들을 저장할 폴더를 "D:\xuny_svn_datas" 라고 만든다.
그 다음.. 저장소들을 저장할 폴더로 이동한 후 그곳에 "xframe_prj" 이란 이름의 저장소를 만든다.

탐색기에서 확인해 보면 저장소가 생긴걸 확인할 수 있는데.. 더 잘 확인하기 위해서.. 아래처럼 체크아웃 한번 해본다.
아래 그림처럼 체크아웃된 리비젼 0 이라고 나오면 정상 상태.

4. 환경설정
탐색기로 위에서 생성한 저장소 폴더에 가보면 conf 라는 폴더가 생성되어 있다. 그 안을 살펴보면.. 이딴 파일들이 있다.

빨간 똥그라미 쳐진 두 파일들을 조금 수정을 해 주어야 한다.
[svnserve.conf]
### This file controls the configuration of the svnserve daemon, if you위 파일에 빨간색 칠해진 부분이 수정한 부분이다.
### use it to allow access to this repository. (If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)
### Visit http://subversion.tigris.org/ for more information.
[general]
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
anon-access = read
auth-access = write
### The password-db option controls the location of the password
### database file. Unless you specify a path starting with a /,
### the file's location is relative to the directory containing
### this configuration file.
### If SASL is enabled (see below), this file will NOT be used.
### Uncomment the line below to use the default password file.
password-db = passwd
### The authz-db option controls the location of the authorization
### rules for path-based access control. Unless you specify a path
### starting with a /, the file's location is relative to the the
### directory containing this file. If you don't specify an
### authz-db, no path-based access control is done.
### Uncomment the line below to use the default authorization file.
# authz-db = authz
### This option specifies the authentication realm of the repository.
### If two repositories have the same authentication realm, they should
### have the same password database, and vice versa. The default realm
### is repository's uuid.
realm = Here is xuny's Repository
[sasl]
### This option specifies whether you want to use the Cyrus SASL
### library for authentication. Default is false.
### This section will be ignored if svnserve is not built with Cyrus
### SASL support; to check, run 'svnserve --version' and look for a line
### reading 'Cyrus SASL authentication is available.'
# use-sasl = true
### These options specify the desired strength of the security layer
### that you want SASL to provide. 0 means no encryption, 1 means
### integrity-checking only, values larger than 1 are correlated
### to the effective key length for encryption (e.g. 128 means 128-bit
### encryption). The values below are the defaults.
# min-encryption = 0
# max-encryption = 256
anon-access = read : 일반유저의 접근권한
auth-access = write : 인증유저의 접근권한
password-db = passwd : 사용자(인증유저)의 패스워드가 있는 파일
realm = Here is xuny's Repository : 저장소 인증시 나오는 타이틀
그룹 사용자로 묶고자 한다면 파란색 부분, authz-db 의 주석을 해제하고, authz 파일을 수정하면 된다.
[passwd]
### This file is an example password file for svnserve.빨간 부분.. 해리의 비밀번호는 harrypw 구나.ㅋ 사용자가 추가되면 아래로 쭉 써나가면 됨.
### 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 = harrypw
sally = sallypw
5. SVN 서버의 실행
아래 그림과 같이 svnserve 를 실행한다. 마지막 인자는 저장소들이 있는 폴더의 절대경로이다.

위와 같이 실행하면 xuny_svn_datas 폴더 아래의 모든 저장소들에 대한 서비스가 이루어진다.
만약에 xuny_svn_datas/xframe_prj 저장소만 서비스하려면 당연히 이렇게 실행하면 된다.
D:\>svnserve -d -r D:\xuny_svn_datas\xframe_prj아쉬운점은 SVN 서버가 실행되고 있을동안 항상 저 시커먼 창이 떠 있어야 한다는 것이다. 여간 보기흉한게 아니다.
서버가 잘 돌아가고 있는지 확인을 해보자.

D:\ 에 SVN 서버에 있는 xframe_prj 를 체크아웃하였다. 체그아웃 메시지가 위처럼 정상적으로 나온다면 정상 상태.
정상적이면 위 명령에서 SVN 서버에 있는 xframe_prj 가 D:\ 로 다운로드가 된다.
저장소가 두개 이상 생성되어 있을 경우 만약 명령을
D:\>svn checkout svn://127.0.0.1처럼 했다면 리파지토리에 있는 모든 저장소에 대한 다운로드가 이루어졌을 것이다.
얘는 테스트를 위한 작업이니.. 위 작업을 따라 했다면 D:\xframe_prj 폴더를 통채로 지우자.
6. SVN 서버를 자동으로 실행
조금 전에 말했듯이 SVN 서버를 돌리는 모습은 제정신으로 보고있기가 힘들다.
여기 똑똑한 누군가가 만들어 논 훌륭한 프로그램이 있다.
SVNSERVE Manager

홈페이지를 살펴보니 꽤 오랫동안 업데이트가 되지않고 있는것 같아 사라질지 모르니 프로그램을 올려놓아야 겠다.
설치 : SVNManager-1.1.1-Setup.msi
압축 : SVNManager-1.1.1.zip
사용방법은 따로 설명하지 않겠다. 그냥 사용하면 되니까..
7. subversion 과 apache
설명 진짜 쥰뇌 잘된 싸이트 링크하겠음!
http://www.pyrasis.com/main/Subversion-HOWTO
SVN 클라이언트 이클립스 플러그인... (Eclipse Update site URL 에 유의할 것)
http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
http://blog.naver.com/sungback?Redirect=Log&logNo=90026224453
그밖에...
http://neodreamer.tistory.com/106
http://neodreamer.tistory.com/104
http://neodreamer.tistory.com/107
SVN 에서 폴더 수정/삭제 (update -> commit)
http://osdir.com/ml/version-control.subversion.subclipse.user/2006-08/msg00037.html
이 글과 관련있는 글을 자동검색한 결과입니다 [?]
- SVN 설정 (Windows) by 더기
- Subversion 사용시 rollback 하기(잘못된 버전 지우기) by highfive
- trac - svn 계정설정 by skyforce
- Apache HTTP Server 자동 설치 by 이피
# by | 2009/09/01 13:52 | { Computer } | 트랙백 | 핑백(1) | 덧글(2)





☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]
... http://subversion.tigris.org/ 홈페이지http://visualsvn.com/server/ Visual SVN Serverhttp://xuny.egloos.com/2210344 사용법Pythonhttp://www.python.org/ 파이썬http://modeling.sourceforge.net/ 파이 ... more