# Installing and configuring Apache Subversion in standalone mode on Linux

Availability-note[Deprecated](https://help.talend.com/r/en-US/Cloud/labels-on-talend-help-center/availability-deprecated)

This content is deprecated.

## 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.