linxu下Subversion 安装配置

linxu下Subversion 安装配置html

首先下载 CollabNet Subversion 的rpm安装版本,这个版本自己集成了apache,因此配置上很简单。
下载地址:http://downloads.open.collab.net/collabnet-subversion.htmllinux

安装步骤:#rpm -vih CollabNetSubversion-client-1.4.3-5.i386.rpm
         #rpm -vih CollabNetSubversion-server-1.4.3-5.i386.rpm
安装完成,呵呵,简单吧。
下面对Subversion进行配置:
    CollabNet Subversion 默认安装在 /opt/CollabNet_Subversion 目录下
    1.设定profile文件,在文件末尾加入
         PATH=/opt/CollabNet_Subversion/bin:$PATH
    2.对Subversion进行配置,运行命令
         #sudo Configure-CollabNet-Subversion
      按照提示进行配置,个人英文很差,就不翻译了,呵呵。
         1.Would you like to configure the CollabNet Subversion Server now? [yes] (输入yes,或者直接按回车)
         2.Just hit [Enter] to continue.(按回车继续)
         3.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 (输入yes,或者直接按回车)
         4.Specify the base directory for Subversion repositories: [/var/svn/repositories]
           (输入你的版本库的位置,好比 /home/XXXX/)
       
         5.No repositories found under /home/XXXX
           Should I use this path? [yes] (这里好像是在搜索,有没有库文件在这个目录下,直接yes或者回车便可)
           若是选择no的话会回到第4步,然你从新输入版本库的位置。
       
         6.Would you like to create a new Subversion repository? [yes](是否是创建一个新的版本库,选择yes或者回车)
         7.What should be your new Subversion repository name? (输入新的版本库的名称,例test)
         8.Would you like to create another Subversion repository? [yes] (是否是创建另外一格版本库,选择no或者继续)
         9.Would you like to give the name and port that the server uses to identify itself? [yes](是否是为这个服务器定义名字和端口,选择yes)
         10. Registered DNS name or IP address: (输入你的机器的ip或者dns 例:192.168.0.3)
         11.Server port number: (设定端口 例 8080 你若是没有装其余的web服务器,设成80也能够)
         12.Allow anonymous read access? [no](匿名用户可不能够访问你的版本库)
         13. Would you like to create a new Subversion account? [yes](是否是建立一个新的用户,选yes)
         14.Account username
            (To re-create or delete a Subversion account, enter an existing username): (新用户的用户名,若是输入一个已经存在的用户名,这个用户将被从新建立或者删除,例:user)
         15.Account password: (输入密码)
         16.Would you like to create another user account? [yes](是否是在建立另外一个用户)web

         17.You can access your repositories at the following URL:
           http://192.168.0.3:8080/svn/test 这个是你创建的版本库的访问地址,到这里已经配置完成。apache

阅读全文
类别: linux/unix  查看评论
相关文章
相关标签/搜索