Install the software

Go to a directory where the software can be accessed by your Apache web server. Unpack the archive. For our example do the following:

# mkdir /etc/svn
# mkdir /etc/svn-access-manager
# mkdir /usr/share/svn-access-manager
# chown apache:apache /etc/svn /etc/svn-access-manager
# cd /usr/share/svn-access-manager
# tar -xvfz svnaccessmanager-0.5.0.0.tar.gz

For RPM based systems it is recommended to use the RPM packages for installation.

If you have SElinux running in enforcing mode you have to use the SELinux context for SVN Access Manager. You will find the files in the “doc” folder. The contect assumes that you will install the configuration file to /etc/svn-access-manager and the repository access files to /etc/svn. If you want to allow repository creation directly from SVN Access Manager you must extend the SElinux context accordingly to allow the webserver user to do so.

To install the SELinux module just do the following:

# semodule -i svnaccessmanager.pp

You must ensure that the software ist installed directly into the directory /usr/share/svn-access-manager. Otherwise you have to create your own SELinux module. Also for the SELinux policy the SVN repositories have to be at /svn/repos and a MySQL database has to be used.

In the docs directory of the software you can find an selinux folder. There you find the input file svnaccessmanager.te and the compiled SELinux module svnaccessmanager.pp.

Proceed with setting up the Apache web server described in the next step.