Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
becki:linux:svn_tips [2012-03-08 14:35] becki |
becki:linux:svn_tips [2015-11-04 14:32] (aktuell) becki |
||
---|---|---|---|
Zeile 6: | Zeile 6: | ||
===== Apache Server Configuration == | ===== Apache Server Configuration == | ||
- | * Add the following to /etc/httpd/httpd.conf and restart Apache:<code> | + | * Uncomment or add the following to /etc/httpd/httpd.conf and restart Apache:<code> |
+ | LoadModule auth_digest_module lib/httpd/modules/mod_auth_digest.so | ||
+ | LoadModule dav_module lib/httpd/modules/mod_dav.so | ||
LoadModule dav_svn_module lib/httpd/modules/mod_dav_svn.so | LoadModule dav_svn_module lib/httpd/modules/mod_dav_svn.so | ||
LoadModule authz_svn_module lib/httpd/modules/mod_authz_svn.so | LoadModule authz_svn_module lib/httpd/modules/mod_authz_svn.so | ||
Zeile 92: | Zeile 94: | ||
Add user ''nobody'' (Apache) to group ''svn'' in ''/etc/group'' to give Apache read permission for the svn repository. Then restart Apache and point your browser to http://server-hostname/cgi-bin/viewvc.cgi/. | Add user ''nobody'' (Apache) to group ''svn'' in ''/etc/group'' to give Apache read permission for the svn repository. Then restart Apache and point your browser to http://server-hostname/cgi-bin/viewvc.cgi/. | ||
+ | |||
+ | ===== Other Administration == | ||
+ | ==== Rename a Repostitory == | ||
+ | |||
+ | Just use normal ''mv'' as root. [[http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.moving-and-removing.html|See also]] | ||
+ | |||
+ | ==== Locks == | ||
+ | |||
+ | View and remove locks: | ||
+ | svnadmin lslocks /local/path/to/repo | ||
+ | svnadmin rmlocks /local/path/to/repo | ||
+ | |||
+ | Clients can remove own and other locks as well. See below! | ||
+ | |||
+ | [[svnbook>1.7/svn.ref.html|more]] | ||
===== Client Configuration == | ===== Client Configuration == | ||
Zeile 234: | Zeile 251: | ||
See also: [[svnbook>1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.setlog|Svnbook]] | See also: [[svnbook>1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.setlog|Svnbook]] | ||
+ | |||
+ | ==== Locks == | ||
+ | |||
+ | View locks: | ||
+ | svn st -u | ||
+ | |||
+ | * O: Lock from someone else | ||
+ | * K: Own lock | ||
+ | |||
+ | Create and remove locks: | ||
+ | svn lock file | ||
+ | svn unlock file | ||
+ | |||
+ | [[svnbook>1.7/svn.advanced.locking.html|more]] -> from "Discovering Locks" on | ||
+ | |||
+ | |||
+ | |||
+ |