== Server ==
> apache http server 설치 ( http://httpd.apache.org/download.cgi )
** WEBSVN 와 apache 를 연동해서 사용할 경우만 설치하며, SubVersion 보다 먼저 설치한다. **
-. 설치안내 문서
http://httpd.apache.org/docs/2.2/
http://httpd.apache.org/docs/2.2/platform/windows.html
-. {APACHE_HOME}/conf/httpd.conf 에서 아래 문장 주석제거
LoadModule dav_module modules/mod_dav.so
-. LoadModule dav_svn_module modules/mod_dav_svn.so
: 문장도 주석을 제거 하라는데, 본인은 에러발생.
: {Subversion_home}\bin\mod_dav_svn.so 파일을 {APACHE_HOME}/conf/modules 에 복사해도 에러가 발생.
> SubVersion 설치 ( http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 )
-. 환경변수 Path 설정
: D:\dev_kit\Subversion\bin
-.저장소 설정
1. 저장폴더 root를 D:\repository 로 설정
2. 프로젝트 단위별로 폴더생성(test 프로젝트)을 위해 command 창에서 svnadmin 명령어를 사용해야 한다.
: 버전 1.2.0 에서 부터 버클리 DB를 사용한다고 한다. 저장소 생성시 버클리 인지 파일sys 잘 모르겠음.
: 아마 버클리로 하는것을 추천할 것 같음.
-.버클리 DB를 이용한 저장소
svnadmin create --fs-type bdb D:\repository\test
-.파일시스템을 이용한 저장소
svnadmin create --fs-type fsfs D:\repository\test
-. 인증 단계를 위한 D:/repository/test/conf/svnserve.conf 수정.
[general]
anon-access = none
auth-access = write
password-db = passwd
-. 인증받지 않은 접근을 차단을 위한 D:/repository/test/conf/passwd 수정.
[users]
harry = harryssecret
와 같이 ID=PW 형식으로 설정
> SVNSERVE Manager 설치 ( http://www.pyrasis.com/main/SVNSERVEManager )
: 매뉴얼로 subversion 을 관리한다. 윈도우 서비스로 관리 하려면 아래 SVN Service Wrapper for Windows 를 설치한다.
> SVN Service Wrapper for Windows 설치 ( http://kaistizen.net/Project/SubversionOnWindows/CustomImages/SVNService.zip )
: 윈도우 서비스 관리로 install 하는 툴이다.
-. 설치 후 command 창에서 SVNService -install -d -r d:\repository
> PHP 설치(WEBSVN 설치를 위한) ( http://www.php.net/downloads.php )
> WEBSVN 설치 ( http://websvn.tigris.org/servlets/ProjectDocumentList )
-.다운 받은 파일을 {APACHE_HOME}/htdocs/websvn 폴더에 복사한다.
: {APACHE_HOME}/htdocs 은 default root 이며,
http://localhost/ 로 접속하면 {APACHE_HOME}/htdocs/index.html 파일에 접속된다.
: 나중에 http://localhost/websvn/ 로 접속을 하면 websvn 홈을 접속하게 되는것이다.
> GnuWin32 Packages 설치 (WEBSVN 를 위한) ( http://sourceforge.net/project/showfiles.php?group_id=163416 )
-. {APACHE_HOME}/htdocs/websvn/include/distconfig.inc 를 {APACHE_HOME}/htdocs/websvn/include/config.inc 로 복사.
-. {APACHE_HOME}/htdocs/websvn/include/config.inc 의 아래문장 주석 제거.
: 윈도우 서버인지 설정.
$config->setServerIsWindows();
-> 주석을 하나마나 상황이 같은데.. 모르겠음.
: Subversion Binary와 GnuWin32 Packages의 경로 설정
// Configure these lines if your commands aren't on your path.
//
$config->setSVNCommandPath("D:\\dev_kit\\Subversion\\bin");
$config->setDiffPath("D:\\dev_kit\\GNUWIN32\\GetGnuWin32\\bin");
// For syntax colouring, if option enabled...
$config->setEnscriptPath("D:\\dev_kit\\GNUWIN32\\GetGnuWin32\\bin");
$config->setSedPath("D:\\dev_kit\\GNUWIN32\\GetGnuWin32\\bin");
// For delivered tarballs, if option enabled...
$config->setTarPath("D:\\dev_kit\\GNUWIN32\\GetGnuWin32\\bin");
// For delivered GZIP'd files and tarballs, if option enabled...
$config->setGZipPath("D:\\dev_kit\\GNUWIN32\\GetGnuWin32\\bin");
: Subversion 저장소 경로 설정
$config->parentPath("D:\\repository");
:웹사이트 템플릿(디자인) 선택하기
$config->setTemplatePath("$locwebsvnreal/templates/Standard/");
: 언어 설정
-> LANGUAGE SETUP 을 검색하여 주석을 제거한다. 아무것도 선택하지 않으면 English가 기본값입니다.
(한글이 제대로 되는것 같지 않음.)
: Tarball Download 활성화
$config->allowDownload();
: Syntax Colorization
$config->useEnscript();
== client ==
TortoiseSVN ( http://tortoisesvn.net/downloads )
주의) 해봤는데, 잘 안되네요. ㅠㅠ