This procedure describes how to install and configure an Apache Subversion (SVN) server in order to store all your project data (Jobs, Database connections, Routines, Joblets, etc.) in the shared Repository of the Talend Studio.
In the following instructions, lines starting with "#" mean that they must be executed as root. A command line starting with "$" means that it must be executed as standard user.
Install the subversion, apache2 and libapache2-svn packages.
# apt-get install subversion apache2 libapache2-svn
Create an svn directory, at the root of your system for example.
# mkdir /svn
Change the owner of the directory to the webserver user, www-data by default.
# chown www-data:www-data /svn
Switch to www-data user.
# su - www-data
Create a new SVN repository, my_repo for example.
$ svnadmin create /svn/my_repo
Create a user and a password.
$ htpasswd -cmb /svn/passwd talend_admin secretpassword
Open the SVN configuration file.
# vi /etc/apache2/mods-enabled/dav_svn.conf
Update it as follows:
<Location /my_repo> DAV svn SVNPath /svn/my_repo AuthUserFile /svn/passwd Require valid-user AuthType basic AuthName "Subversion" </Location>
Restart Apache Subversion.
# /etc/init.d/apache2 restart
If you have Security-Enhanced Linux (SELinux) enabled on your system, follow the procedure described on this page.