Install Subversion Edge on Solaris

The Solaris distribution is a tar.gz archive. Unzip and expand it to the location where you want to install Subversion Edge.

Important: Do not extract the installer using root or sudo. This will cause the UID/GID on the files to carry the values from our build system instead of being reset.
  1. Prepare the server by installing the required software.
    • Install a Java 6 or 8 JRE. The Sun/Oracle JRE is recommended.
    • Set the JAVA_HOME environment variable, and point it to your Java 6 or 8 JRE home. For example:
      • $ export JAVA_HOME=/usr/java
    • Test the variable:
      • $ $JAVA_HOME/bin/java -version
      	java version "1.6.0_20" Java(TM) SE Runtime Environment
      	build 1.6.0_20-b02) Java HotSpot(TM) Client VM (build 16.3-b01,
      	mixed mode, sharing)
      							
    • You must have Python 2.4 to 2.7 installed. We tested with the 2.4 version provided with Solaris. If you use Python from another source, it must be compiled with shared libraries.
  2. Switch to the folder where you want to install Subversion Edge.
    Note: You must have write permissions to this folder.
    • $ cd /opt
  3. Get the installer from http://www.collab.net/svnedge. Separate downloads are available for SPARC and x86. Get the one appropriate for your Solaris architecture.
  4. Unzip and expand the file.
    Note: Do not untar CollabNet Subversion Edge using root or sudo.
    • $ gzip -d CollabNetSubversionEdge-x.y.z_solaris-x86.tar.gz
    • $ tar xf CollabNetSubversionEdge-x.y.z_solaris-x86.tar
    This will create a folder named csvn in the current directory. You can rename the folder to whatever you want.
  5. This step is optional. To install the application so that it will start automatically when the server restarts, enter these commands:
    • $ cd csvn
    • $ bin/csvn install
    Note: Do not use sudo to run this command. Run it as the user you want to run the server. The command script will in turn use sudo to install the application, so you may be prompted for the password.
    In addition to configuring your system so that the server is started with the system, the installer also writes the current JAVA_HOME and the current username into the file data/conf/csvn.conf. You can edit this file if needed as it controls the startup settings for the application. By setting the JAVA_HOME and RUN_AS_USER variables in this file, it ensures they are set correctly when the application is run.
    Note: The install script will use sudo to create the necessary symlinks to autostart the application. You may be prompted by sudo for your password.
  6. This step, for configuring a proxy server, is optional. Subversion Edge needs access to the internet to check for and install updates. If you need to go through a proxy to access the internet, you can configure the proxy by editing the data/conf/csvn.conf file which was created by the previous step -- uncomment and edit the HTTP_PROXY variable.
  7. Start the server.
    Note: Be sure that you are logged in with your own userid and not running as root.
    • $ cd csvn
    • $ bin/csvn start
    This will take a few minutes and the script will loop until it sees that the server is running. If the server does not start, then try starting the server with this command: $ bin/csvn console This will start the server but output the initial startup messages to the console.
  8. Log into the management console at http://hostname:3343/csvn with these default administrator credentials.
    • Username: admin
    • Password: admin
  9. Once you've logged in, use the Getting Started wizard to do the following:
    1. Change the password for the admin account by clicking the user name in the upper right corner of the screen and updating the information in the Edit User page.
    2. Configure the server.
    3. Important: By default, CollabNet Cloud Services (including cloud backup) are removed from CollabNet Subversion Edge 5.0 and later. However, if required, you can manually sign up for CollabNet Cloud Services by visiting the following URL: http://<host name>:3343/csvn/setupCloudServices/index.
      Connect to CollabNet CloudForge.