Installing and configuring Apache Subversion with modules on Redhat - 7.2

Talend Big Data Installation Guide for Linux

Version
7.2
Language
English (United States)
Product
Talend Big Data
Module
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
Content
Installation and Upgrade

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 Talend Help Center (https://help.talend.com).