Installing and configuring Apache Subversion on Linux Ubuntu - 6.5

Talend Big Data Installation Guide for Linux

EnrichVersion
6.5
EnrichProdName
Talend Big Data
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Runtime
Talend Studio

Procedure

  1. Install the subversion, apache2 and libapache2-svn packages.
    # apt-get install subversion apache2 libapache2-svn
  2. Create an svn directory, at the root of your system for example.
    # mkdir /svn
  3. Change the owner of the directory to the webserver user, www-data by default.
    # chown www-data:www-data /svn
  4. Switch to www-data user.
    # su -l www-data -s /bin/bash
  5. Create a new SVN repository, my_repo for example.
    $ svnadmin create /svn/my_repo
  6. Create a user and a password.
    $ htpasswd -cmb /svn/passwd talend_admin secretpassword
  7. Open the SVN configuration file.
    # vi /etc/apache2/mods-enabled/dav_svn.conf
  8. Update it as follows:
    <Location /my_repo>
    DAV svn
    SVNPath /svn/my_repo
    AuthUserFile /svn/passwd
    Require valid-user
    AuthType basic
    AuthName "Subversion"
    </Location>
  9. Restart Apache Subversion.
    # /etc/init.d/apache2 restart
  10. If you have SELinux (Security-Enhanced Linux) enabled on your system, see Handling "permission denied" error on SELinux.