For historical reasons, I have a 1and1 shared host account with a few sites hosted there.
For more projects, I use Slicehost, which I’ve had great experiences with. Ideally, I’d like to move these 1and1 hosted sites to a Slice, but, my experience with 1and1 has been pretty flawless and two of the sites generate enough income that I am loathe to mess with them. (Other than changing Copyright dates, the code has not been changed in a couple of years. Not broke.)
So…I have this shared hosting. I like to avoid unnecessary expenses, so paying for a Slicehost without a clear money-making purpose is to be avoided. The problem is I’d like a Trac and Subversion setup for my personal stuff. I’ve got a few hosts that I use for various projects, but none are mine alone, so it would be wrong to host my personal stuff one one of them. Thus, I would like to set up Trac and Subversion on 1and1. Tricky. I do not have sudo rights there and can’t configure Apache, for instance.
Here, we will make and install Subversion. Later, I’ll install Python and Trac. Then, integrate them together.
First, download source for Subversion. I went to http://subversion.apache.org/source-code.html, found the source release area link and got the tarball HTTP links for the two tarballs I needed. We’ll create a directory called dev in our home directory and build Subversion there.
You’ll need to do the same so you get the current, stable version of Subversion (1.6.9 when I did this).
mkdir ~/dev cd ~/dev wget http://subversion.tigris.org/downloads/subversion-1.6.9.tar.gz wget http://subversion.tigris.org/downloads/subversion-deps-1.6.9.tar.gz
Esplode da tarballs into a working source tree. The following commands correctly melt the two tarballs into an appropriately named directory.
tar -xzvf subversion-1.6.9.tar.gz tar -xzvf subversion-deps-1.6.9.tar.gz
Build Subversion and install it to a logical place, (~/opt/).
cd subversion-1.6.9 mkdir ~/opt ./configure --prefix=$HOME/opt make make install
Modify your ~/.bash_profile file so you can run Subverison commands without typing the full path.
echo 'export PATH=$HOME/opt/bin:$PATH' >> ~/.bash_profile
Use the source command to reset your environment from your newly modified ~/.bash_profile file.
source ~/.bash_profile
Test the result.
svn --version
End of procedure.

Going thru these steps and on configure received this message:
configure: WARNING: we have configured without BDB filesystem support
You don’t seem to have Berkeley DB version 4.0.14 or newer
installed and linked to APR-UTIL. We have created Makefiles which
will build without the Berkeley DB back-end; your repositories will
use FSFS as the default back-end. You can find the latest version of
Berkeley DB here:
http://www.oracle.com/technology/software/products/berkeley-db/index.html
It appears to be a warning so I’m assuming it won’t affect my install but you might want to include this possible warning in your tut so others don’t panic.
Instructions seem to work flawlessly. As a windows user with very limited Linux experience I’m lost when it comes to the next step of making my repo’s accessible via my 1and1 website. I’m assuming there’s some apache configs that need to be messed with. That would also potentially impact where I set up the path on my repo creates. Would be a nice blog entry to explain those steps as well.
Hi,
The configure command ends with the following error:
checking size of long long… 0
configure: error: could not detect a 64-bit integer type
configure failed for apr
I’m installing on Solaris (unname -a shows the following) and I don’t have root access.
SunOS junior 5.10 Generic_142900-03 sun4u sparc SUNW,SPARC-Enterprise
Any advice? I only know a few basic unix commands so I might have missed something obvious.
Thanks.
What’s the next step to getting a working repository up? I’ve completed these steps, then I:
mkdir ~/repos
cd ~/repos
svnadmin create .
But when I try to import remotely to http://mydomain.com/repos I get:
svn: Repository moved permanently to ‘http://mydomain.com/repo/'; please relocate
First delete what you did:
rm -rf ~/repos
Then:
mkdir ~/repos
mkdir svnadmin create ~/repos/myproject
Hi.
I followed your instructions, and when I try to connect I get a “Can’t connect to ‘my_repo.fr’: Operation timed out”.
Maybe you can help?
Thanks in advance
Hi, i do all exactly but i dont know to connect with the repository.
I do:
mkdir ~/repos
svnadmin create ~/repos/projectTest
But on flash builder i try to connect and i receive that message:
“Error validating location: “org.tigris.subversion.javahl.ClientException: svn: No part of path ‘/projectTest” was found in repository HEAD”
Keep location anyway?
and i press no, and on console i see:
” svn: No part of path ‘/projectTest’ was found in repository HEAD”
I do a subdomain svn.mydomain.com with the link to mydomain.com/repos/
Can anybody help me?
Thanks