« Regular Updates for PublicDomainReprints.org Business Checks on the Cheap »
Installing Subversion and Trac on 1and1 Shared Hosting
Posted February 28, 2008 – 12:05 am by Yakov Shafranovich in Linux, Programming, WebsiteInstalling server side components on shared hosting is always a challenge. In the last few weeks as I have begun to undertake more web based consulting assignments, I have found myself facing the need for source code management as well as project management. At my old startup, we use Subversion in combination with Trac, and I decided to use this for myself as well. Here is a summary of steps I undertook to install these on 1&1 shared hosting:
1. For Subversion, I basically followed this guide written by Joe Maller. For 1&1 there are two important notes – you need to specify –without-neon in order to avoid errors with svn/python bindings, AND if you install everything into a single directory, it helps too.
2. 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.
3. After Trac is installed, you can use trac.cgi or trac.fcgi for the web based stuff. HOWEVER, do change the shebang line to point to the Python 2.5 executable in your home directory.
4. SQL Lite does not work on 1&1. Use MySQL instead.
Unfortunately, after spending a sizable amount of my day on this, I realized that I need multiuser access. 1&1 does not allow more than one SSH user so I wasted my time with this. Instead, I just got an account with DreamHost which will host SVN and Trac. While DreamHost isn’t the most reliable host in the world, it looks like I will be using 1&1 for the more reliable stuff like websites and Dreamhost for development.
Tags: 1and1, subversion, trac —
Permalink | Trackback URL | This post has










6 Responses to “Installing Subversion and Trac on 1and1 Shared Hosting”
Thanks for the instructions as I was looking to install Trac on 1and1.
By Anonymous Coward on May 30, 2008
Are you sure 1and1 does not allow multiple svn users?
Can’t you use svnserve to allow multiple users? Svnserve does not require that you authenticate via ssh, so being limited to one ssh account shouldn’t be a problem.
I haven’t gotten my svnserve fully working yet, still trouble shooting a few issues. But would like to know more about your experiences.
By John on Aug 31, 2008
Hey Yakov, you’re right, I couldnt get multiple svn user accounts to work. I contacted the 1and1 team and they told me it’s only offered for dedicated and virtual servers.
I wrote a blog detailing my research and failed attempts if you’re interested:
http://www.john-lai.com/?p=27
By John on Sep 8, 2008
Hi, I’ve instaled subversion and trac on mi hosting on 1and1 in Spain. Now I only need to install or do something with CGI, fastCGi or mod_python following the guide on trac’s website, but it has been impossible to get it working. Do you know the way or a guide to follow to have CGI working on 1and1?
Thanks
By Darkanima on Oct 19, 2008
On the US 1&1, it works without any special configurations.
By Yakov Shafranovich on Oct 20, 2008