配置SVN:
编译好的SVN配置起来也很简单(感谢编译人员辛勤的劳动).在/opt/CollabNet_Subversion/bin目录下执行Configure-CollabNet-Subversion ,按照提示做就行了.(表示操作)
# ./Configure-CollabNet-Subversion
CollabNet Subversion Server is a free download of open-source Subversion,
compiled and tested by CollabNet. For more information about CollabNet
Subversion, visit the CollabNet community at http://open.collab.net.
Would you like to configure the CollabNet Subversion Server now? [yes] (回车)
Welcome to CollabNet Subversion Server setup.
You will now be asked some questions to configure CollabNet Subversion.
Defaults are given in square brackets. If a default is okay for you
Just hit [Enter] to continue.
This setup can configure either Apache or svnserve as Subversion
server, for you. Would you like to configure Apache as your
Subversion server now? [yes] (回车)
Continuing with apache Subversion server configuration ...
Specify the base directory for Subversion repositories: [/var/svn/repositories] /opt/svn/repositories (这里我更改了路径,不使用默认的.)
Non-existing base path, Let me create and continue [yes] (回车)
Base path created.
Would you like to create a new Subversion repository? [yes] (回车)
What should be your new Subversion repository name? test (这里建立一个名为test的库)
New repository created.
Would you like to initialize the repository with trunk/branches/tags folders? [no] (回车)
Done.
Would you like to create another Subversion repository? [yes] (回车)
What should be your new Subversion repository name? test2 (这里再建立一个名为test的库)
New repository created.
Would you like to initialize the repository with trunk/branches/tags folders? [no](回车)(暂时不导入初始数据)
Done.
Would you like to create another Subversion repository? [yes] no (已经建立了2个库,不建了.)
Would you like to give the name and port that the server uses to identify itself? [yes]
Registered DNS name or IP address: 192.168.80.100 (这里是apache的配置,apache的服务IP)
Server port number: 8000 (apache的服务端口号)
Allow anonymous read access? [no] (回车)
0 users currently have access to this repository:
Would you like to create a new Subversion account? [yes] (回车)
Account username
(To re-create or delete a Subversion account, enter an existing username): svn (建立一个SVN帐号)
Account password: (密码)
Retype account password: (重复密码)
Adding password for user svn
Account created
Would you like to create another user account? [yes] no (不建立另一用户)
Would you like to configure ViewVC? [yes] (启用VierVC,回车)
Stopping CollabNet Subversion: httpd (no pid file) not running
done
Starting CollabNet Subversion: done
(完成,最后的提示信息)
Congratulations! You have successfully configured the CollabNet
Subversion server.
You can access your repositories at the following URL:
http://192.168.80.100:8000/svn/YOUR-REPOS-NAME
http://192.168.80.100:8000/viewvc/YOUR-REPOS-NAME