SVN Part è 1 : INSTALLATION
How to install svn
in Redhat-enterprise linux
Pre-requisite:--
First download the require
rpm (below rpm or higher available)
(a) CollabNetSubversion-client-1.4.6-3.i386.rpm
(b) CollabNetSubversion-server-1.4.6-3.i386.rpm
Caution.: - make sure to
install the client rpm first then server
1. [root@kapilhost
CollabNetSubversion]# rpm -ivh CollabNetSubversion-client-1.4.6-3.i386.rpm
Preparing... ########################################### [100%]
1:CollabNetSubversion-cli###########################################
[100%]
2. [root@kapilhost CollabNetSubversion]# rpm -ivh
CollabNetSubversion-server-1.4.6-3.i386.rpm
Preparing.. ########################################### [100%]
1:CollabNetSubversion-ser###########################################
[100%]
Creating new repository
First take backup of following file
/etc/opt/CollabNet_Subversion/conf/svn_access_file
*Backup required restoration purpose in future.
[root@kapilhost
~]# cp /etc/opt/CollabNet_Subversion/conf/svn_access_file
/etc/opt/CollabNet_Subversion/conf/svn_access_file.bak *(backup complete)
3. [root@kapilhost~]#
cd /opt/
4. [root@kapilhostopt]#
ls
now you can see CollabNet_Subversion under /opt directory.
5. [root@kapilhostopt]#
cd CollabNet_Subversion/ (go inside CollabNet_Subversion dir using cd )
7. [root@kapilhostCollabNet_Subversion]#
ls (using ls you can see the basic directory structure of svn)
bin
build docs lib
modules share
8. [root@kapilhostCollabNet_Subversion]#
cd bin/
9. [root@kapilhostbin]#
ls
ab Configure-CollabNet-Subversion htpasswd
svnadmin
apachectl dbmmanage httpd svndumpfilter
apr-1-config envvars httxt2dbm svnlook
apu-1-config htcacheclean logresolve svnserve
apxs htdbm rotatelogs svnsync
checkgid htdigest svn svnversion
10.
[root@kapilhostbin]# ./Configure-CollabNet-Subversion (execute file to setup svn)
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] 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. Press enter key
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]
Non-existing base path, Let me
create and continue [yes] yes
Base path created.
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] yes
Registered DNS name or IP
address: 172.18.64.111
Server port number: 3326
Allow anonymous read access?
[no] no
0 users currently have access to
this repository:
Would you like to create a new
Subversion account? [yes] no
Stopping CollabNet Subversion:
httpd (no pid file) not running [ OK ]
Starting CollabNet
Subversion:
[ OK ]
Congratulations! You have successfully configured the CollabNet
Subversion server.
You can access your repositories at the following URL:
http://172.18.64.111:3326/svn/YOUR-REPOS-NAME
No comments:
Post a Comment