일단 프로그램을 다운로드 받으러 가야 하는데.. 구글을 통해 찾아보니
http://subversion.tigris.org/ 이 사이트에서 배포한다.
윈도우즈 용 패키지는 여기에 있었다.
http://www.collab.net/downloads/subversion/ version 1.4.6 은 9.72MB 가 된다.
보니 소스 코드도 있고 바이너리로 된 것도 있고..
각기 여러 OS도 지원을 하고 있다.
일단 바이너리 패키지가 나같은 초보 웹 개발자한테 쉬우니 그걸 받도록 하겠다.
아래는 Readme.txt 파일이다.
CollabNet Subversion Server and Client Installer for WindowsVersion 1.4.6-4Release Date: January 8th, 2008Contents 1. Platform and configuration 2. Support for CollabNet Subversion 3. Installation tips 4. Post-installation instructions 5. Back-end suppport 6. About Subversion and CollabNet 1. Platform and configuration Product: CollabNet Subversion server Certified platforms: Windows XP SP2, Win 2003(Standard Edition) R2. File system support: FSFS Apache Modules: mod_dav_svn, mod_ldap, ssl, mod_deflate, mod_sspi Apache version: 2.0.58 APR version: 0.9.12 APR-ICONV version: 0.9.7 APR-util version: 0.9.12 openssl version: 0.9.7f Pre-requisite: The user needs administrative privileges to install and uninstall CollabNet Subversion. 2. Support for CollabNet Subversion Find out about CollabNet Subversion Technical Support at http://www.collab.net/support/svn_support.html Information about CollabNet Training, Consulting and Migration services is at http://www.collab.net/services/index.html Join openCollabNet for community support: http://open.collab.net. 3. Installation tips If you are installing an Apache server, the installer will ask you for a "Repository URL". This represents the prefix of the URL which users can use to connect to Subversion. If you set this URL to '/svn', then users will be able to checkout their repository from http://hostname/svn/repos-name We recommend that you use '/svn' as your URL prefix, as this is common practice.4. Post-installation instructions The installer will have created a folder to store your repositories. You do not have to use this folder, but if you elected to have the installer install the server to run as a service, then the server will have also been configured to serve repositories from this location. So it is a good idea to use the location you specified in the installer. A. Using svnserve ============== To use svnserve as your server, follow these steps: 1. Open a new terminal (command prompt) NOTE: If you have an old command prompt open (from before Subversion was installed), remember to open a brand new command prompt. 2. Create a subversion repository cd svnadmin create E.g. cd \repositories svnadmin create my-first-repos 3. Setup a password database Edit the svnserve.conf file inside the conf directory of your repository using notepad. E.g. If your repository is C:\repositories\my-first-repos, svnserve.conf will be at C:\repositories\my-first-repos\conf\svnserve.conf Inside svnserve.conf, you will see the following information: ### 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 conf directory. ### Uncomment the line below to use the default password file. #password-db = passwd Follow the above instructions, and uncomment the "password-db=passwd" line, so that it simply says: password-db = passwd 4. Setup some usernames and passwords Next, edit the 'passwd' file. This passwd file is located in the same directory as svnserve.conf. Inside the passwd file, you will see the following information: ### 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 To add a new user account, add your own username and password inside the [users] section. For example, if your name is "joe", and you want to set your password to "super-secret", add a new line like this: joe = super-secret Go ahead and add as many users as you like. 5. Open Port on Windows firewall. Before starting the server, the firewall needs to be notified that this particular port is going to be used. To enable this port in the Windows firewall, please follow the instructions given in the below URL. http://www.microsoft.com/windowsxp/using/security/internet/sp2_wfexceptions.mspx Note: svnserve.exe is the program name which needs to be added to the exceptions list. As an alternative, you can also use the port where you decide to run the server. By default, svnserve will be run on 3690. 6. Start svnserve If you elected to have the installer setup svnserve as a service, then open the Services application, find the entry for Subversion server and take the Start option. The service will have been configured to start automatically on reboot. You can also run this command from the command-line: net start svnserve If you did not install svnserve as a service and want to start the server manually then run the following command: svnserve -d -r E.g. svnserve -d -r C:\repositories 7. To provide read and write access to anonymous users, modify the conf/svnserve.conf file inside the repository. anon-access = write To restrict an anonymous user from the repository anon-access = none 8. Checkout the repository svn co svn://localhost/ E.g. svn co svn://localhost/my-first-repos Tip: If you are checking out your Subversion repository from a different computer, you should replace 'localhost' with the ip address or hostname of the machine which is hosting the Subversion repository. B. Using Apache ============ To use Apache as your server, follow these steps: 1. Configure Apache The installer will have done these steps automatically based on the repository location entered in the installer. This information is only presented if you want to manually modify the configuration. Edit the httpd.conf file inside the httpd\conf directory of your CollabNet Subversion Server installation using notepad. Tip: By default, httpd.conf will be in the following directory: C:\Program Files\CollabNet Subversion Server\httpd\conf\httpd.conf At the bottom of the httpd.conf file, you will see a directive that location directive that looks something like this: DAV svn SVNParentPath C:\repositories Change the above section to look like the following: DAV svn SVNParentPath C:\repositories SVNListParentPath On Require valid-user AuthType Basic AuthName "Subversion repository" AuthUserFile C:\repositories\password-file 2. Open a new terminal (command prompt) NOTE: If you have an old command prompt open (from before Subversion was installed), remember to open a brand new command prompt. 3. Create Subversion users You need to now create usernames with passwords, that could be used to authenticate with Apache. Use the htpasswd command to create usernames and passwords for the Apache server. Type the following at the command prompt. htpasswd -cm This command would prompt you for a password for the user. Enter the password and re-type the password when prompted. E.g. If you wish to create a user 'joe', and the file at "C:\repositories\password-file", type the following at the command prompt: htpasswd -cm C:\repositories\password-file joe Enter the desired password for the user and retype the password when prompted. For additional users, use the following command at the command prompt. htpasswd -m C:\repositories\password-file joe 4. Create a Subversion repository svnadmin create \ E.g. svnadmin create C:\repositories\my-first-repos 5. Open Port on Windows firewall. Before starting the server, the firewall needs to be notified that this particular port is going to be used. To enable this port in the Windows firewall, please follow the instructions given in the below URL. http://www.microsoft.com/windowsxp/using/security/internet/sp2_wfexceptions.mspx Note: Apache.exe is the program name which needs to be added to the exceptions list. As an alternative, you can also use the port where you decide to run the server. By default, Apache will be run on 80. 6. Start Apache If you elected to have the installer setup Apache as a service, then open the Services application, find the entry for Apache/2 and take the Start option. The service will have been configured to start automatically on reboot. You can also run this command from the command-line: net start Apache2 If you want to start the server manually then simply run the following at the command prompt: Apache 7. Checkout the repository svn co http://localhost/svn/ E.g. svn co http://localhost/svn/my-first-repos Tip: If you are checking out your Subversion repository from a different computer, you should replace 'localhost' with the ip address or hostname of the machine which is hosting the Subversion repository.5. Back-end suppport CollabNet recommends FSFS over BDB for stability and supportability reasons. CollabNet Subversion does not support Berkeley DB based repositories. 6. About Subversion and CollabNet CollabNet launched the Subversion project in 2000 in response to the demand for an open standard for web-based software configuration management that support distributed development. CollabNet continues to be strongly involved with the Subversion project and offers CollabNet Subversion Support, Training and Consulting services. CollabNet also provides the most widely used collaborative development environment in the world. More than 1,400,000 developers and IT projects managers collaborate online through CollabNet. The company is transforming the way software is developed by enabling organizations to leverage global development talents to deliver better products and innovate faster. Visit CollabNet at http://www.collab.net for more information.