免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 966 | 回复: 0
打印 上一主题 下一主题

svn服务安装 [复制链接]

论坛徽章:
5
寅虎
日期:2015-01-20 09:16:52亥猪
日期:2015-01-21 14:43:44IT运维版块每日发帖之星
日期:2015-12-17 06:20:00每日论坛发贴之星
日期:2015-12-17 06:20:00每周论坛发贴之星
日期:2015-12-20 22:22:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-02 10:36 |只看该作者 |倒序浏览

               
               
               
                [root@tomcat ~]# ls
CollabNetSubversion-client-1.5.6-1.i386.rpm  CollabNetSubversion-extras-1.5.6-1.i386.rpm  CollabNetSubversion-server-1.5.6-1.i386.rpm
[root@tomcat ~]# rpm -ivh CollabNetSubversion-client-1.5.6-1.i386.rpm
warning: CollabNetSubversion-client-1.5.6-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 35bcca43
Preparing...                ########################################### [100%]
   1:CollabNetSubversion-cli########################################### [100%][color="#0000CC"]

[root@tomcat ~]# rpm -ivh CollabNetSubversion-server-1.5.6-1.i386.rpm
warning: CollabNetSubversion-server-1.5.6-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 35bcca43
Preparing...                ########################################### [100%]
   1:CollabNetSubversion-ser########################################### [100%]
[root@tomcat ~]# rpm -ivh CollabNetSubversion-extras-1.5.6-1.i386.rpm
warning: CollabNetSubversion-extras-1.5.6-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 35bcca43
Preparing...                ########################################### [100%]
   1:CollabNetSubversion-ext########################################### [100%]
[root@tomcat ~]# more /etc/passwd | grep svn
csvn:x:501:501:CollabNet Subversion:/opt/CollabNet_Subversion:/bin/bash
[root@tomcat ~]# cd /opt/CollabNet_Subversion/
[root@tomcat CollabNet_Subversion]# ls
bin  build  docs  lib  licenses  modules  sbin  share
[root@tomcat CollabNet_Subversion]# cd bin/
[root@tomcat bin]# ls
ab            apxs                            dbmmanage     htdigest   loginfo-handler  rotatelogs     svndbadmin     svnsync
apachectl     checkgid                        envvars       htpasswd   logresolve       standalone.py  svndumpfilter  svn-tools
apr-1-config  collabnetsvn-config             htcacheclean  httpd      make-database    svn            svnlook        svnversion
apu-1-config  Configure-CollabNet-Subversion  htdbm         httxt2dbm  mod_python       svnadmin       svnserve
[root@tomcat 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] no            
Continuing with svnserve Subversion server configuration ...
Specify the base directory for Subversion repositories: [/var/svn/repositories] /projects/project1
Searching for existing Subversion repositories ...
No repositories found under /projects/project1
Should I use this path? [yes] yes
Would you like to create a new Subversion repository? [yes]
What should be your new Subversion repository name? 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
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
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
Account password:
Retype account password:
Account created
Would you like to create another user account? [yes] no
Starting CollabNet Subversion:                             [  OK  ]
   You have successfully configured the CollabNet
  Subversion server.
  You can access your repositories at the following URL:
  svn://localhost/YOUR-REPOS-NAME
[root@tomcat bin]# netstat -tnl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State      
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      
tcp        0      0 :::8009                     :::*                        LISTEN      
tcp        0      0 :::3690                     :::*                        LISTEN      
tcp        0      0 :::80                       :::*                        LISTEN      
tcp        0      0 :::8080                     :::*                        LISTEN      
tcp        0      0 :::22                       :::*                        LISTEN      


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/71666/showart_1952117.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP