Adding SVN Repository to Existing SVN Server |
![]() |
Written by Zack MIlls |
Friday, 04 December 2009 13:29 |
#Set Path Variable to the Path SOURCEPATH=/mnt/ebs/svn/eazyworks_rigel
sudo mkdir $SOURCEPATH
# Change Owner
sudo chown -R www-data:subversion $SOURCEPATH
# Change Access Writes
sudo chmod -R g+rws $SOURCEPATH
# Generate Repository DB in that Path
sudo svnadmin create $SOURCEPATH
# Update Access Writes to work with ViewVC and SVN so Apache has Write Access.
sudo chmod -R g+rws $SOURCEPATH
#A Loop
PLACES=' eazyworks ez_evaluator ez_soap_reader kuma_rma ejs ez_file_renamer ez_time mensa ez_aws_monitor ezmes kuma_datacrunch '
for i in $PLACES; do sudo chown -R www-data:subversion $i; done
for i in $PLACES; do sudo chmod -R g+rws $i; done
for i in $PLACES; do sudo svnadmin create /mnt/ebs/svn/$i; done
|
Last Updated on Friday, 08 January 2010 12:36 |