Moving Beyond SSH: Subversion

Posted on July 5th, 2009

Moving Beyond SSH

Subversion is an open-source version control system for source code. Subversion (often appreciated as SVN) is used commonly in the open-source software world. Large project such a WordPress use SVN to keep track of revisions and manage different development versions of the source code.

Today we’ll be installing Subversion. Before we install Subversion, however, we need to recompile Apache to include the mod_dav module. Assuming you still have your original Apache directory (that you installed it from originally), cd into there. If you no longer have it, simply redownload and extract Apache. Now, run the following commands:

./configure --enable-so --enable-rewrite --enable-deflate --enable-headers=shared --enable-expires=shared --enable-dav
make
make install
apachectl -k restart

Next, we need to install some dependancies that Subversion requires to run. Run the following command to install the dependancies. You may already have some of these installed on your system, but that’ll be fine.

yum install sqlite expat expat-devel neon neon-devel

We can now install Subversion. Begin with downloading the latest .tar.gz from this page. Next, extract the archive:

tar -zxf subversion-1.6.3.tar.gz

Sub in the appropriate file name for the version of Subversion you downloaded. Next cd into that directory.

Now, run these commands to install Subversion:

./configure
make
make install

After that has finished, open your httpd.conf file (located in /usr/local/apache2/conf/ and add the following line (if they weren’t already added automatically):

LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

Next week we’ll be going over how to configure Subversion repositories and the two different ways to do so.

What do you think?Comments Off

Posted in Development | | | Digg This | del.icio.us | Technorati


Related Topics:
Moving Beyond SSH: Configuring Subversion
WordPress Development: Introduction to Subversion
Group Programming Projects – Step 4
WordPress Development: Subversion Checkouts
Moving Beyond SSH: Staying Current

RSS feed

Comments

No comments yet.

Sorry, the comment form is closed at this time.

© 2007 BlueFur Hosting | Privacy Policy
Theme by Unique Blog Designs