Install the Software

Unpack the archive and, if you run SELinux in enforcing mode, install the provided policy module.

Go to a directory where the software can be accessed by your Apache web server and unpack the archive. For this example:

# 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

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

SELinux

If you run SELinux in enforcing mode you need the SELinux context for SVN Access Manager. The files are in the doc folder of the archive. The context assumes the configuration file is installed to /etc/svn-access-manager and the repository access files to /etc/svn. To allow repository creation directly from SVN Access Manager, extend the SELinux context accordingly to let the web server user do so.

To install the SELinux module:

# semodule -i svnaccessmanager.pp
Note

The software must be installed directly into /usr/share/svn-access-manager, otherwise you will need to build your own SELinux module. The provided policy also assumes the repositories are at /svn/repos and that a MySQL database is used.

The docs/selinux folder contains the input file svnaccessmanager.te and the compiled module svnaccessmanager.pp.

Continue: Setup the Apache Web Server