Prakash Sawarkar: Kernel 3.8 Released, how to Compile in Redhat, CenOS and Fedora..

Kernel 3.8 Released, how to Compile in Redhat, CentOS and Fedora.

Sunday, 30 December 2012

How to Install SVN (Subversion) 1.7.8 Server Using uberSVN 13.2 on RedHat/CentOS

SVN (Subversion) is an open source free version control system. It is used to manage files and directories and the modification made to them over a period of time. In short, if your server fails, then this subversion allows you to recover your older version or the updated versions of your data by examine the history of how your data has been changed over time. Sounds great, doesn’t it?. But that’s not enough, it also used to keep the track of exact modifications of files that have been made in the past. In fact, you can even cross check to see the older version and the newer version changes directly. Subversion also has some key features.

SVN Features
* Versioning can be done on individual files and directories.
* Provision for copying, adding, deleting and renaming of files and directoires.
* Keeping the track of File and directory properties over time, thereby providing a detailed history    .
* Easy to implement new network functions.
* Subversion system works with other software and programming languages.

What is uberSVN?
uberSVN is a free open source application used to provides a complete intuitive and 
configurable Web interface for Subversion with an integrated social coding 
environment with built-in Apache Subversion versioning and revision control system. 
Which makes life much easier for both users and programmers. Additional features of 
uberSVN as follow.

uberSVN Features
Provides a real time coding interface that allows developers to collaborate the 
code they commit to the repository.
A web interface for managing sever settings, user permissions and creating new 
repositories.
Support for LDAP server integration with user authentication.
Provides an automated up-to-date updater for installing updates quickly.
A web based interface for accessing repositories and managing user permissions.
A tab manager to include and configure other pages served by other web 
applications.

Requirements:-
TCP/IP networking must be configured and working.
uberSVN requires Java Runtime Environment.

Step 1: Downloading uberSVN Installer
Download the latest uberSVN 13.2 installer using the wget command (or go to 

http://www.ubersvn.com/download page to download the latest version).
 # cd /opt
 #  wget http://download.jp.as.ubersvn.com/uberSVN-32-1204.sh  (32bit)
 #  wget http://download.jp.as.ubersvn.com/uberSVN-64-1302.sh  (64bit)

Step 2: Setting Executable Permission
Set the executable permssion on installer, use the chmod command.
#  chmod +x uberSVN-xxxx.sh
Step 3: Running Installer
1. Run the installer to download files to your current direcitory, use the command.
#  ./uberSVN-xxxx.sh
Silent Install Option
In Linux you can use a 'silent install' option with arguments "-- -s", like this:
#  ./uberSVN-32-1209.sh -- -s
This will install to the default */opt/ubersvn* location.
2. The installer will start by extracting number of files. Seeing huge number of dots is normal.













3. You’ll be warned that the installer is for new deployments of uberSVN and should 
not be used for updating existing installations. Enter “Y“.
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
4. Next, you’re asked where uberSVN should be 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):
5. You are asked to confirm your install location. Enter "Y".
Are you sure you want to install to: /opt/ubersvn/ubersvn? [Y/n] y
6. You will be asked to confirm whether you want uberSVN to 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
7. Next you will be asked if you want to start uberSVN on boot. Enter “Y“.
Linux distribution was detected as Redhat
Do you want uberSVN to start on boot? (y/n) (y)
8. The installation will now prompt you to the URL of web interface screen, go to your browser and enter the below provided URL.
Your uberSVN installation is nearly ready. Visit the following URL to complete configuration:
http://yourip:9890/ubersvn



















Step 4: Configuring uberSVN Interface
1. This is first uberSVN setup screen. This screen shows you a Installation Directory, Repository Storage Location and uberSVN key. If you don’t have a key, then follow this link to get it free key. Click the Next button to continue.



















2. Create the Admin User‘s account. Enter full name, email address, user name and provide a password. To continue, Click the Next button.



















3. Next, setup Portal and Apache. These settings controls your’s and users access to uberSVN and repositories you set up. Enter the BASE URL with your machine actually IP address, uberSVN Port and Apache Subversion Port. These settings ensures that your Subversion repositories will be available on the network. Click the Next button to continue.




















4. Next, setup Email Settings to send out emails to your users. Enter your mail server details or Select “No“, if you don’t want to use this email feature or come back later for these settings.



















5. uberSVN will take some time to setup your settings. Once setup is completes you will able to hit on the Start using uberSVN button.
















Step 5: Logging into uberSVN Interface
You will get login prompt. Enter your admin username and password that you have entered in Step 4 of point #2.















Step 6: Creating Repositories and Adding Users
You’re now at Subversion panel, where you can easily create new repositories and set access for users.

Step 7: Starting/Stopping Subversion
1. Open a terminal and login into the system. Go to uberSVN’s binary directory.
# cd /opt/ubersvn/bin
2. Now run the start/stop script from hereon.
[root@kernelp bin]# ./ubersvncontrol start
Starting Tomcat
Using CATALINA_BASE:   /opt/ubersvn/tomcat
Using CATALINA_HOME:   /opt/ubersvn/tomcat
Using CATALINA_TMPDIR: /opt/ubersvn/tomcat/temp
Using JRE_HOME:        /home/user/jre
Using CLASSPATH:       /opt/ubersvn/tomcat/bin/bootstrap.jar
Please allow 30 seconds or so for the uberSVN portal to start

Thats it! for more details for setting up new repositories, adding users, adding teams etc. Visit docs.ubersvn.com/v1.0/admin.html