Install Subversion on 1and1 Hosting Provider

There is just no better solution than having your source code available to you over the internet, when working on several projects at different location. I am using and1 as my hosting provider, and it I could have my repository for all source code there as well, I could work anywhere and have access to the latest code, check history, compare different versions and so on.Here is the outline that I have gone thru in the quest of setting up Subversion hosted on 1and1:

- Create a new directory to placing subversion

mkdir svn
cd svn

- Download the source code and dependencies as well

wget http://subversion.tigris.org/downloads/subversion-1.6.0.tar.gz
wget http://subversion.tigris.org/downloads/subversion-deps-1.6.0.tar.gz

- Configure and install with the following settings

./configure –prefix=$HOME    –without-berkeley-db
–with-editor=/usr/bin/vim    –with-apr=$HOME
–with-apr-util=$HOME    –with-neon=$HOME
–without-apxs    –without-apache
–without-neon

make & make install

- Verify that Subversion is installed

svn –version

- If you need help with Subversion, this is your bible:

9780596510336_bktVersion Control With Subversion

For Trac, you need to download and extract Python 2.5. Then you can install it with ./configure –prefix=SOME DIRECTORY. After installation, just update your PATH in bashprofile and relogin.
KEEP IN MIND: Subversion will only be available via SSH and only to a single user. 1&1 does not allow multiple SSH users on one account AND they do not have the SSH module installed in Apache. IF you are looking for a multiuser Subversion, try a different provider.


  • Digg
  • Facebook
  • Twitter
  • StumbleUpon
  • Windows Live Favorites
  • Yahoo Buzz
  • Share/Bookmark

2 Comments

unoApril 19th, 2009 at 8:14 pm

Good information, Thank you.
I’m also using 1and1’s shared hosting plan.

Are you using trac 0.11.x on 1and1? If you can install it,
Could you post how to install it on 1and1?

Thank you

SteveOctober 27th, 2009 at 9:16 am

Great! thank you! this instruction was perfect… now all i have to do is figure out how to even set it up with my eclipse. (yep… first time user).

btw, I had trouble at first because the “–”(double dash) was showing up as “-” (single dash). on VERY VERY close inspection, it is very slightly longer than the single dash.

Leave a comment

Your comment