virtualMachinesubversion

Get started with Subversion

By default, Bitnami provides a Subversion repository and Apache server to access it using a Web browser. The default configuration uses svnserver but other methods (like SSH) can also be used to access the repository.

NOTE: The default Subversion port is 3690 and it is necessary to open this port in the server firewall for remote access. Refer to the FAQ for more information.

Get started with Subversion as follows:

  • Log in using SSH and configure repository access. The repository configuration file is /opt/bitnami/repository/conf/svnserve.conf. The variables anon-access and auth-access can be set to the values none, read, or write. Setting the value to none prohibits both reading and writing; read allows read-only access to the repository, and write allows complete read/write access to the repository.

    For example, uncomment these lines for a reasonable starting configuration:

      [general]
      anon-access = read
      auth-access = write
      password-db = passwd
    
  • Edit the passwd file in the same directory to manage Subversion users. For example, uncomment these lines to create two subversion users: harry and sally.

      [users]
      harry = harryssecret
      sally = sallyssecret
    
  • Restart the Subversion server to load the changes.

      $ sudo /opt/bitnami/ctlscript.sh restart subversion
    
  • Import a project directory to Subversion from your local machine and check the files in your browser:

      $ svn import /path/to/project/ svn://SERVER-IP/repository/ -m "First import"
    
Last modification December 21, 2022