Subversion on 1&1 Shared Hosting

WordPress has another security update. I am tired of patching zips, and the Subversion update looks a lot easier, but for some stupid reason, 1&1 does not include the SVN client in their standard setup.

The tags to upgrade to are here. All I need is the Subversion client!

The basic Subversion build is here at http://svn.collab.net/repos/svn/trunk/INSTALL

Get both the source and the deps files, for example subversion-1.4.4.tar and subversion-deps-1.4.4.tar.

mkdir svn
cd svn
tar xvf subversion-1.4.4.tar
tar xvf subversion-deps-1.4.4.tar
cd subversion-1.4.4
./configure --prefix=$HOME
make
make install

The --prefix=$HOME dumps the client code into ~/bin, since we cannot write into the shared “root” areas.

Now (per here) I edit ~/.bash_profile (not .bashrc) and add the lines:
PATH=$PATH:$HOME/bin
export PATH

Load it up:
source ~/.bash_profile

I am not a Unix guru. This only took two hours and my Sunday morning to figure out. Curse 1&1.

keywords: 1and1 hosting

One thought on “Subversion on 1&1 Shared Hosting

Leave a Reply