Configuring SVN in Debian >> By Randeep

Steps for setting up apache with subversion [For debian system]
Step 1. Install apache [here 2.0.63] as
./configure –prefix=/usr/local/apache2 –with-port=2080 –enable-dav –enable-dav-fs –enable-rewrite –enable-so
make
make install
/usr/local/apache2/bin/apachectl start
/* make sure these packages are already installed in your system. Autoconf, libtool, phython 2, libxml, zlib, neon */
Install all packages from synaptic. Neon instructions can be get from
https://twiki.grid.iu.edu/twiki/bin/view/VO/SubversionClientSetup#Installing_Neon
Step 2. Install subversion [here 1.4.2] as
./configure –with-apr=/usr/local/apache2 –with-apr-util=/usr/local/apache2
make
make install
Step 3. Make a repository
cd /var/
mkdir -p repo/source/
svnadmin create /var/repo/source
Step 4. Configure apache
Stop and edit http.conf file as
/usr/local/apache2/bin/apachectl stop
vi /usr/local/apache2/conf/httpd.conf
add this to bottom of http.conf

DAV svn
SVNPath /var/repo/source

Step 5. Restart apache and checkout. You will get
localhost:/usr/local/apache2# svn co http://localhost:2080/svn
Checked out revision 0.
In address bar also you can checkout. You’l get Revision 0: /
Thats all. Enjoya

http://randeeppr.blogspot.com/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: