Installing Collabnet Subversion Edge Server On Oracle Linux
Here is my note about installation of Collabnet Subversion Edge Serve 4.0.1 on dedicated Oracle Linux 6.4. Subversion Edge Server is revision control repository of all my production DBA/SA scripts.
OS information
$ lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: OracleServer Description: Oracle Linux Server release 6.4 Release: 6.4 Codename: n/a
Download and install Oracle JDK 1.6
$ pwd /home/alesk/Downloads/JDK $ ls jdk-6u45-linux-x64-rpm.bin $ chmod a+x jdk-6u45-linux-x64-rpm.bin $ sudo ./jdk-6u45-linux-x64-rpm.bin Unpacking... Checksumming... Extracting... UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu). inflating: jdk-6u45-linux-amd64.rpm inflating: sun-javadb-common-10.6.2-1.1.i386.rpm inflating: sun-javadb-core-10.6.2-1.1.i386.rpm inflating: sun-javadb-client-10.6.2-1.1.i386.rpm inflating: sun-javadb-demo-10.6.2-1.1.i386.rpm inflating: sun-javadb-docs-10.6.2-1.1.i386.rpm inflating: sun-javadb-javadoc-10.6.2-1.1.i386.rpm Preparing... ########################################### [100%] package jdk-2000:1.6.0_45-fcs.x86_64 is already installed Done. // we can delete extracted rpm files afterwards... $ sudo rm *.rpm $ ls -l /usr/java/latest lrwxrwxrwx 1 root root 21 Aug 7 14:38 /usr/java/latest -> /usr/java/jdk1.6.0_45
Prepare target directory
$ sudo mkdir /u01/dbaSVN $ sudo chown -R alesk:dba /u01/dbaSVN $ sudo chmod 750 /u01/dbaSVN
Download and install Subversion Edge Server
$ pwd $ /home/alesk/Downloads/COLLABNET $ tar -C /u01/dbaSVN -xzf CollabNetSubversionEdge-4.0.1_linux-x86_64.tar.gz
Configure Server Edge to start automatically
$ export JAVA_HOME=/usr/java/default $ cd /u01/dbaSVN/csvn $ sudo -E bin/csvn install Detected RHEL or Fedora: Installing the CSVN Console daemon.. Setting RUN_AS_USER to: 'alesk'. Please edit '../data/conf/csvn.conf' if this needs to be adjusted Setting JAVA_HOME to: '/usr/java/default'. Please edit '../data/conf/csvn.conf' if this needs to be adjusted.
Start the server as user, not root!!
$ /u01/dbaSVN/csvn/bin/csvn start Starting CSVN Console...... CSVN Console started Waiting for application to initialize (this may take a minute)............................................................................ WARNING: CSVN Console timed-out waiting for http://localhost:3343/csvn
Login on server with your browser
// use your browser to connect to http://localhost:3343/csvn or // SSL protcted version: https://localhost:4434/csvn $ firefox &
Configure Apache Subversion server to start automatically at boot
// before executing the following commands login to Edge Console // and start the server via GUI, then... $ cd csvn $ sudo bin/csvn-httpd install Detected RHEL or Fedora: Installing the Subversion Edge Apache Server daemon..
Open ports 4434 and 18080 on firewall
// I'm using ANSI GUI tool for that... // Customize -> Forward -> Add (once for each port) -> Close $ sudo system-firewall-tui
Posted on 08.08.2013, in Linux, PostgreSQL, etc. and tagged Linux. Bookmark the permalink. Comments Off on Installing Collabnet Subversion Edge Server On Oracle Linux.
You must be logged in to post a comment.