安装配置Collabnet_Subversion
2016-03-28 00:00
399 查看
摘要: Collabnet_Subversion 安装配置
2016-3-28 安装的过程:
安装rpm文件:
配置:
这里配置了一个用户名密码admin/***。
2016-3-28 安装的过程:
安装rpm文件:
[root@subv2 appadmin]# rpm -ivh CollabNetSubversion-client-1.9.3-1.x86_64.rpm warning: CollabNetSubversion-client-1.9.3-1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 35bcca43 Preparing... ########################################### [100%] 1:CollabNetSubversion-cli########################################### [100%] [root@subv2 appadmin]# [root@subv2 appadmin]# rpm -ivh CollabNetSubversion-server-1.9.3-1.x86_64.rpm warning: CollabNetSubversion-server-1.9.3-1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 35bcca43 Preparing... ########################################### [100%] 1:CollabNetSubversion-ser########################################### [100%] [root@subv2 appadmin]#
配置:
[root@subv2 bin]# ./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] yes Continuing with apache Subversion server configuration ... Specify the base directory for Subversion repositories: [/var/svn/repositories] /data/svn/svnroot Searching for existing Subversion repositories ... No repositories found under /data/svn/svnroot Should I use this path? [yes] yes Would you like to create a new Subversion repository? [yes] no Would you like to give the name and port that the server uses to identify itself? [yes] Registered DNS name or IP address: 10.122.2.35 Server port number: 80 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): admin Account password: Retype account password: Adding password for user admin Account created Would you like to create another user account? [yes] no Stopping CollabNet Subversion: httpd (no pid file) not running [ OK ] Starting CollabNet Subversion: [FAILED] Congratulations! You have successfully configured the CollabNet Subversion server. You can access your repositories at the following URL: http://10.122.2.35:80/svn/YOUR-REPOS-NAME [root@subv2 bin]# 这里启动失败,是因为/etc/hosts中没有对hostname进行ip设置。设置后启动成功。
这里配置了一个用户名密码admin/***。