Chinaunix

标题: svn服务安装 [打印本页]

作者: gamester88    时间: 2009-06-02 10:36
标题: svn服务安装

               
               
               
                [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




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2