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.
There are three different methods to install Apache Subversion on Linux:
Installing and configuring Apache Subversion on Linux Ubuntu
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 SELinux (Security-Enhanced Linux) enabled on your system, see
.
Installing and configuring Apache Subversion on Linux Redhat
As user apache or as root, install the httpd, mod_dav_svn and subversion packages.
# yum install httpd mod_dav_svn subversion
Create an svn directory.
# mkdir /var/www/svn
Create an SVN repository.
# svnadmin create /var/www/svn/repository
Create a username and a password.
# htpasswd -cmb /var/www/svn/passwd admin@company.com admin
Change the owner of the directory to apache.
# chown -R apache.apache /var/www/svn
Open the SVN configuration file.
# vim /etc/httpd/conf.d/subversion.conf
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>
Restart httpd.
# /etc/init.d/httpd start
If you have SELinux (Security-Enhanced Linux) enabled on your system, see
.