Saturday, May 10, 2014

Install Subversion (Using uberSVN) on Centos 6

Install Subversion (Using uberSVN) on Centos 6

Subversion is a free open source version control system. It is used by developers to maintain current and previous all versions of files & directories such as source code, web pages and documentation etc. Subversion is used to manage and recover files/directories and the changes of them made all time.
uberSVN is a free open source application. uberSVN is introduced more development teams to the benefits of using Subversion for source control, configure Web interface for Subversion with built-in Apache Subversion versioning system. This is beneficial and much easier for users and programmers. A tutorial to installing Subversion on Linux CentOS 6 using easy-to-use uberSVN which manages Subversion using a nifty web interface.

Go to CLI and download the latest uberSVN 13.2 installer as shown below:

[root@linuxpathfinder ~]# wget http://download.ubersvn.com/uberSVN-64-1302.sh

Set executable permission using the chmod command to run this setup.

[root@linuxpathfinder ~]# chmod +x uberSVN-64-1302.sh

Now run the installer to download files to your current directory with following step.

[root@linuxpathfinder ~]# ./uberSVN-64-1302.sh

It will start by extracting number of files with lots of dots.

Uncompressing uberSVN-64-1302 Linux 64bit Installer……………………………………………….

Installer warns that installation for new deployments of uberSVN. Enter “Y for next step“.

IMPORTANT: This installer is for new deployments of uberSVN and should not be used for updating 
existing installations!

Do you wish to continue with the installation? [Y/n] y

Next, where uberSVN has to installed. Press Enter.

Where should uberSVN be installed? Note that installing to /root or a home directory (eg /home/name) may cause permission issues and is not recommended.

Enter installation location (/opt/ubersvn):

Confirm your installation location. Enter “Y”.

Are you sure you want to install to: /opt/ubersvn/ubersvn? [Y/n] y

What port you want to use for uberSVN by default run on the port 1024.

Apache Subversion may be installed with the ability to run on a privileged port number below 1024. See http://www.ubersvn.com/below1024 for security considerations.

Allow Apache Subversion to run on a port below 1024? [y/N]y

Next step to ask to start uberSVN on boot. Enter “Y“.

Linux distribution was detected as Redhat

Do you want uberSVN to start on boot? (y/n) (y)

In next and final step URL will prompt, go to browser and put the below URL.

Your uberSVN installation is nearly ready. Visit the following URL to complete configuration:
http://yourip:9890/ubersvn

Configuring uberSVN Interface


First uberSVN setup screen is now showing. In this first screen, it shows Installation Directory, Repo Storage Location and uberSVN key.
ubersvn-01
Your Admin User‘s account is required. Your full name, email, username and password. Go ahead for next step.
ubersvn-02
This step is to setup Portal and Apache to control users access to uberSVN & repositories. Put your machine IP address, uberSVN port and Apache port.
ubersvn-03
Next step is for email settings, select options as your requirement. Click the next button to continue.
ubersvn-04
It will take some time for new setup. Once completed then Start button as following.
ubersvn-05

uberSVN Interface


You are in login prompt. Now enter your admin username and password to access ubersvn.
ubersvn-06

Create Repositories and Add Users


In Subversion panel, simply you can create new repositories and setting up for users.
ubersvn-07

Subversion Start/Stop Service


Login to CLI and go to uberSVN’s binary directory.
[root@linuxpathfinder ~]# /opt/ubersvn/bin
Run the subversion start & stop script as shown below.
[root@linuxpathfinder bin]# ./ubersvncontrol start/stop &

Thats it! Now adding users and adding teams for more details and setting up new repositories.

No comments:

Post a Comment