MustEat.org

Last updated: 11:35PM 02/19/09

I assume you know how to setup and configure Apache2 and Subversion on Ubuntu already. If not go here.

You should already have apache2 and subversion installed through Ubuntu’s package management.

The following overwrites the existing Subversion install, but saves you the hassle of configuring the module system in Apache.

Warning

I’m still testing this approach before rolling it out for even my own general use, but initial testing appears positive.



# install tools and libraries to compile
sudo apt-get install make apache2-threaded-dev autoconf libtool libdb-dev

# get subversion release source and extract
wget http://subversion.tigris.org/downloads/subversion-1.5.5.tar.gz
tar xzvf subversion-1.5.5.tar.gz
cd subversion-1.5.5

# configure to use Apache apxs
./configure --with-apxs=/usr/bin/apxs2
# build and install
make clean && make && sudo make install

# have the system reload dynamic objects
sudo /sbin/ldconfig -n /usr/lib/apache2/modules


# At this stage you should update your repositories using
#  sudo svnadmin upgrade <repos path>

# restart apache
sudo /etc/init.d/apache2 restart


Tags:
weblog Subversion Ubuntu Apache source