nativeInstallersubversion

Get started with Subversion

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

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 installdir/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 installdir/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://localhost/repository/ -m "First import"
    
Last modification September 5, 2018