websvn

http://www.ehowstuff.com/how-to-install-websvn-for-subversion-on-centos/

Install WebSVN for Subversion on centos

------------------

In order to enable other features such as path-based restriction of privileges, proper customization of config.php code is needed. At the time of this article wrote, the current release of WebSVN is WebSVN Release 2.3.2.

Prerequisite :

1. How to Install Apache Httpd Web Server on Linux

2. How to Install Subversion on CentOS 5.5 Server

Steps to install WebSVN :

1. Download the WebSVN Release 2.3.2

You can wget as below. Make sure that you put it or move it to your repository directory.

                                      ------------------------------------

[root@server repos]# pwd

/svn/repos

[root@server repos]# http://websvn.tigris.org/files/documents/1380/48737/websvn-2.3.2.tar.gz

-bash: http://websvn.tigris.org/files/documents/1380/48737/websvn-2.3.2.tar.gz: No such file or directory

[root@server repos]# clear

[root@server repos]# pwd

/svn/repos

[root@server repos]# wget http://websvn.tigris.org/files/documents/1380/48737/websvn-2.3.2.tar.gz

--2011-04-03 17:53:20--  http://websvn.tigris.org/files/documents/1380/48737/websvn-2.3.2.tar.gz

Resolving websvn.tigris.org... 204.16.104.146

Connecting to websvn.tigris.org|204.16.104.146|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 846511 (827K) [application/x-gzip]

Saving to: `websvn-2.3.2.tar.gz'

100%[===========================================>] 846,511     72.9K/s   in 31s

2011-04-03 17:53:53 (26.5 KB/s) - `websvn-2.3.2.tar.gz' saved [846511/846511]

                                      ---------------------------------------------------------------

2. Extract and unzip the websvn-2.3.2.tar.gz using below command and rename it as websvn for easy browsing URL as below:

http://servername/websvn/

3. Go to websvn/include directory. Make a copy of distconfig.php and name it as config.php. config.php will be the main configuration file of your WebSVN.

4. Edit the config.php file. Then uncomment line 106 and modify the parentPath as below:

Change to :

5. Save the config.php then test your http://servername/websvn. If everything properly configured, you should see the page that lists your repositories.

------------------------------------------------------

Install Subversion 1.6.16 on CentOS 5.5 Server

Subversion is a open source version control system that will manages files and will keep the changes made to the files, over time. This will allows us to recover older versions of the data or examine the history of how the data changed. In this post, i will show you on how to install Subversion 1.6.16 on CentOS 5.5.

1. Download Subversion 1.6.16

2. Install the RPM packages

3. Setting up directories

4. Configure httpd Apache server as below:

5. Create and Configure subversion.conf

[root@server ~]# vi /etc/httpd/conf.d/subversion.conf

6. Create first repository using svnadmin command

7. Create htpasswd user to access the testsvn repository

8. Create svnaccess file to access the testsvn repository

9. Test your subversion server from browser http://192.168.2.5/svn/repos/testsvn/

Proceed to below URL if you want to view your repository using WebSVN or Viewvc.

-----------------------------------------------