How to create a Subversion repository

This documentation uses variables denoted with a $ followed by a keyword, all this emphasized with red text (i.e. $variable).  These variables should be replaced with appropriate values.  Suggested default values are denoted with a variable followed by an equal sign and a value (i.e $variable = value).

How to create a Subversion repository

  1. Create a Subversion repository
    svnadmin create /var/www/svn/$repository_name
  2. Make Apache the repository group owner
    chown -hR root:apache /var/www/svn/$repository_name
  3. Allow read/write/execute commands from Apache
    chmod -R 770 /var/www/svn/$repository_name

 

Open Source Software: