Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.67 KB | None | 0 0
  1. ###execute this as root
  2. svnadmin create --fs-type fsfs /home/repo/svn/nombre
  3. mkdir ~/TEMP/
  4. echo "hicas 0.1" > ~/TEMP/test.txt
  5. svn import -m "Testing via ssh+svn" ~/TEMP/ svn+ssh://localhost/home/repo/svn/nombre/trunk
  6. svn co svn+ssh://localhost/home/repo/svn/nombre/trunk testcheckout
  7. svnlook tree /home/repo/svn/nombre
  8. chown -R www-data:www-data /home/repo/svn/*
  9. chmod -R 770 /home/repo/svn/*
  10.  
  11. nano /etc/apache2/mods-available/dav_svn.conf
  12. ##add this to end of the file.
  13. <Location /nombre>
  14. DAV svn
  15. SVNPath /home/repo/svn/nombre
  16. AuthType Basic
  17. AuthName "Nombre Subversion Repository"
  18. AuthUserFile /etc/passwd/apache2/svn.passwd
  19. Require valid-user
  20. SSLRequireSSL
  21. </Location>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement