Benutzer-Werkzeuge

Webseiten-Werkzeuge


becki:linux:svn_tips

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
becki:linux:svn_tips [2011-12-28 11:09]
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 22: Zeile 24:
 </​code>​ </​code>​
   * Create the directiory ''/​home/​svn''​   * Create the directiory ''/​home/​svn''​
-  * Add one or more users with [[slack_setup_tips#​protect_a_directory_with_digest_authentication|htdigest]]+  * Add one or more users with [[apache_httpd#​protect_a_directory_with_digest_authentication|htdigest]]
   * Type ''​svnadmin create /​home/​svn/​test''​ to create a repository called ''​test''​   * Type ''​svnadmin create /​home/​svn/​test''​ to create a repository called ''​test''​
   * Type ''​chown -R apache:​apache /​home/​svn/​*''​   * Type ''​chown -R apache:​apache /​home/​svn/​*''​
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
 +
 +
 +
 +
becki/linux/svn_tips.1325070576.txt.gz · Zuletzt geändert: 2011-12-28 11:09 von becki

Impressum - Datenschutzerklärung