You are on page 1of 3

SVN Administration

Installation Source / dump - \\mercury\public\collabnet_subversion Rpm file placed here, just install it on server Install first client & then server. Creating New repository irst ta!e bac!up of follo"in# file /etc/opt/$ollab%et_Subversion/conf/svn_access_file $p /etc/opt/$ollab%et_Subversion/conf/svn_access_file /etc/opt/$ollab%et_Subversion/conf/svn_access_file.ba! Now go to $d /opt/$ollab%et_Subversion/bin Run ./$onfi#ure-$ollabnet-Subversion &root'retail(( bin)* ./$onfi#ure-$ollab%et-Subversion $ollab%et Subversion Server is a free do"nload of open-source Subversion, compiled and tested by $ollab%et. or more information about $ollab%et Subversion, visit the $ollab%et community at http+//open.collab.net. ,ould you li!e to confi#ure the $ollab%et Subversion Server no"- &yes) yes ,elcome to $ollab%et Subversion Server setup. .ou "ill no" be as!ed some /uestions to confi#ure $ollab%et Subversion. 0efaults are #iven in s/uare brac!ets. If a default is o!ay for you 1ust hit &2nter) to continue. 3his setup can confi#ure either 4pache or svnserve as Subversion server, for you. ,ould you li!e to confi#ure 4pache as your Subversion server no"- &yes) yes $ontinuin# "ith apache Subversion server confi#uration ... Specify the base directory for Subversion repositories+ &/home/oracle/svnrepos) just enter Searchin# for e5istin# Subversion repositories ... 6782$4R2 ound 9 repositories under /home/oracle/svnrepos Should I use this path- &yes) yes ,ould you li!e to create a ne" Subversion repository- &yes) no

,ould you li!e to #ive the name and port that the server uses to identify itself- &yes) yes Re#istered 0%S name or I: address+ 9;(.9<.<=.9;> Server port number+ ??(> 4llo" anonymous read access- &no) no 9= users currently have access to this repository+ anuradha, bhupendra, deepa!, dilip, harshit, manish, neeraj, pan!aj, pentu, poonam, pradeep, priyan!a, shashan!, vibha, vive! ,ould you li!e to create a ne" Subversion account- &yes) no Stoppin# $ollab%et Subversion+ httpd @no pid fileA not runnin# & 7B ) Startin# $ollab%et Subversion+ & 7B ) $on#ratulationsC .ou have successfully confi#ured the $ollab%et Subversion server. .ou can access your repositories at the follo"in# DRE+ http://172.18.85.176:3326/svn/ !"#$#%&!'$N()% *or g+s proje,t ip will -e 172.18.85.17. an/ port will -e 36.0 1ow to ,reate new user htpass"d -md /etc/opt/$ollab%et_Subversion/conf/svn_auth_file FusernameG Fpass"ordG 1ow to provi/e rights vi /etc/opt/$ollab%et_Subversion/conf/svn_access_file /etc/init.d/collabnet_subversion restart

Retail-9HI-rete!( $rontab -e H > J J J cp -rf --replyKyes /etc/opt/$ollab%et_Subversion/conf/J /data/svnrepos/6782$4R2/conf.ba!/ H > J J J sh ne"LB.sh

NewBK.sh #!/bin/bash mount -t nfs 172.18.64.11:/LinuxBK/newBK /mnt fin / ata/s!n"e#os -t$#e f -#"int % ta" &'!f /mnt/(etai)-*+ ate ,-.m-. -./-.01.2 .3-4.ta".5& -6 umount /mnt e'ho -6est fu)) Ba'7u# su'essfu))$ one.- % mai) -s -(etai) 89N Ba'7u# :as been onesa"b;eet.sin5h<info5ain.'om =>8-17?@ A B B B '# -"f /et'/o#t/Co))abNet18ub!e"sion/'onf/B /s!n/"e#os/B2D1EF8/'onf.ba7/ @ A B B B sh newBK.sh #@ 7 B B B sh ba'7u#.sh /s!n/"e#os/ ba'7u# ba'<12G //me"'u"$/5xs #!/bin/bash mount -t nfs 172.18.64.11:/LinuxBK/newBK /mnt fin /s!n/"e#os/ -t$#e f -#"int % ta" &'!f /mnt/=>8-*+ ate ,-.m-. -./-.01.2 .3-4.ta".5& -6 umount /mnt e'ho -6est fu)) Ba'7u# su'essfu))$ one.- % mai) -s -=>8 89N test fu)) Ba'7u# :as been one- sa"b;eet.sin5h<info5ain.'om 172.18.6A.221 isstest.5 'test.'om mai)host

8'"i#ts "unnin5. 2 to 7 t"an'fe"in5 ata f"om use" ma'hines 12 to 2 se"!e" fi)e mo!ement

You might also like