Installing and configuring Apache Subversion on Linux Redhat - 7.1

Talend Data Integration Installation Guide for Linux

EnrichVersion
7.1
EnrichProdName
Talend Data Integration
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. As user apache or as root, install the httpd, mod_dav_svn and subversion packages.
    # yum install httpd mod_dav_svn subversion
  2. Create an svn directory.
    # mkdir /var/www/svn
  3. Create an SVN repository.
    # svnadmin create /var/www/svn/repository
  4. Create a user name and a password.
    # htpasswd -cmb /var/www/svn/passwd admin@company.com admin
  5. Change the owner of the directory to apache.
    # chown -R apache.apache /var/www/svn
  6. Open the SVN configuration file.
    # vim /etc/httpd/conf.d/subversion.conf
    On CentOS 7, the name of the configuration file is 10-subversion.conf. The configuration file is located under the /etc/httpd/conf.modules.d folder
  7. Update is as follows:
    <Location /svn>
    DAV svn
    SVNPath /var/www/svn/repository
    Require valid-user
    AuthType basic
    AuthName "Subversion"
    AuthUserFile /var/www/svn/passwd
    </Location>
  8. Restart httpd.
    # /etc/init.d/httpd start
  9. If you have SELinux (Security-Enhanced Linux) enabled on your system, see Handling "permission denied" error on SELinux.