Skip to main content Skip to complementary content

Installing and configuring Apache Subversion in standalone mode on Linux

Availability-noteDeprecated

Procedure

  1. Install the subversion package.
    On Ubuntu:
    # apt-get install subversion

    On Red Hat or CentOS:

    # yum install subversion
  2. Create an svn directory, at the root of your system for example.
    # mkdir /home/svn
  3. Create a new SVN repository, my_repo for example.
    # svnadmin create /home/svn/my_repo
  4. Run the following command.
    $ cd /home/svn/my_repo/conf
  5. Give the permissions to read and edit the svn directory.
    # chmod 777 /home/svn -R
    Information noteWarning: This command gives permissions to read and edit the directory to all users.
  6. Open the passwd file.
    # vi passwd
  7. Add the usernames and their passwords in the passwd file. For example:
    test1=Talend123
    test2=Talend123
  8. Open the authz file.
    # vi authz
  9. Add the usernames you just added and give them permissions in the authz file. For example:
    test1=r 	#Reading permission only
    test2=rw	#Reading and writing permissions
    Information noteTip: Depending on your settings, you may need to add *= to the file to make sure other users have no permissions.
  10. Open the SVN configuration file.
    # vi svnserve.conf
  11. Uncomment the following parameters.
    anon-access = read
    auth-access = write
    password-db = passwd
    authz-db = authz
    Information noteTip: Depending on your settings, you may need to uncomment the following parameter and specify the path of the repository directory: realm = /home/svn.
  12. Restart Apache Subversion.
    # svnserve -d --listen-port 3690 -r /home/svn
  13. Access Apache Subversion in Talend Administration Center.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!