« 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 Programming, Linux, 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.
Digg This Share This PostTags: 1and1, subversion, trac
Permalink | Trackback URL | This post has 595 Views














