Changes

From Amahi Wiki
Jump to: navigation, search
Require valid-user
</Location>}}</li>
<li>Restart web server to enable the changes
{{Code|/etc/init.d/httpd restart;}}</li>
<li>Create web page to browse repository</li>
{{Code|cd /var/hda/web-apps/apachesvn
{{Code|sed -i '13 i anon-access <nowiki>=</nowiki> none' html/myrepo/conf/svnserve.conf
sed -i '15 i authz-db <nowiki>=</nowiki> authz' html/myrepo/conf/svnserve.conf}}
<li>Restart web server to enable the changes
{{Code|/etc/init.d/httpd restart;}}</li>
<li>Perform initial repository import (''username'' and ''password'' same as above); when prompted, choose '''no''' for password being stored as plain text
{{Code|mkdir -p /tmp/svn-structure-template/<nowiki>{trunk,branches,tags}</nowiki>
svn import -m 'Initial import' --username username --password password /tmp/svn-structure-template/ http://apachesvn/svn/myrepo/}}
</ul>
 
==Complete==
Navigate to http://apachesvn. You should see 3 directories: trunk, branches, and tags. Install a Subversion client and begin using your new repository.
12,424

edits