Subversion (SVN) Triumph!

Mar
21

I use Bluehost for this web site (and others). My brother and I actually share the account. The service has been very good, overall—it's certainly better than 1&1! However, I recently found one little fault; they do not provide subversion (SVN) support. I don't necessarily need a subversion repository (though that would be nice). Rather, I need to be able to sync with other respositories, particularly for Drupal development.

So a few days ago, I began trying to get SVN to work on Bluehost. I have finally succeeded, despite limited experience with compiling programs on Linux! I might even be able to host an SVN repository, via svn+ssh (I haven't tried that yet).

I followed some clear, step-by-step instructions to compile and setup SVN on Bluehost.com. I heartily thank DaveMac for those instructions!

All that is missing is SSL support, so my transfers aren't as secure as I would like. But I might just use a local repository anyway.

I also found and signed up for a free account at XP-dev.com, which provides SVN hosting and projected management tools. I will be using it for a work project too, until a more permanent (and local) solution is ready. I picked XP-Dev from a list of free SVN hosts.

There is also a FLOSS book for SVN. It is the official SVN manual.

Both this and my work sites are importing right now. On a side note, an import cannot exclude subfolders, so I had to copy my work site to a temporary location, clear out what I didn't want, and import that. Later, I'll need to add exclude rules for those folders.

The long-term goal of this setup is to have development environments (on my laptop) which can be modified, tested, broken, etc. When a site change is stable and whole, I can commit that, then go to the server and update the live site directly. If there is a problem, I just revert the site files (also using SVN) to the previous, working version.

My next big task is to upgrade this site to Drupal 6!

10 comments

Visitor

Best of luck for your import and upgradation to Dupal 6. This will be proved very beneficial to your website.

Regards,
Earvin James - san diego real estate

Visitor

Very nice article on this essential subject. Well done.

Visitor

Technology is moving so fast these days. I have heard alot about this Drupal stuff, but have no idea what it's about.

Visitor

really good blog

jen x

Visitor

congrats on your site.. great work

Visitor

Hey, I just wanted to say first and foremost- great blog...then I want to say that I agree with you...bluehost is THE BEST hosting company out there...very few things wrong with them...almost perfect...I host my alcohol rehab with them.

Visitor

Thanks for this very useful article.

Jeffrey

Just in case I need these instructions again, and they aren't to be found:

03-28-2008, 12:56 AM <!-- / status icon and date -->
<!-- user info -->
davemac davemac is offline
Junior Member
 
Join Date: Jul 2006
Location: Melbourne, Australia
Posts: 3
 
<!-- / user info -->
<!-- message, attachments, sig --> <!-- icon and title -->
Default Here's what finally worked for me

<!-- / icon and title --> <!-- message -->
Finally, with some great help from someone on this post, I have finally got SVN working on Bluehost on a 64 bit box.

Here's the commands I used. Replace zzzzz with your username:

Code:
mkdir _src
cd _src
wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
wget http://subversion.tigris.org/downloads/subversion-deps-1.4.6.tar.gz
tar -xzvf subversion-1.4.6.tar.gz
tar -xzvf subversion-deps-1.4.6.tar.gz
cd subversion-1.4.6
cd apr
./configure --enable-shared --prefix=$HOME
make && make install
cd ../apr-util
./configure --enable-shared --prefix=$HOME \
     --with-expat=builtin --with-apr=$HOME \
     --without-berlekey-db
make && make install
cd ../neon
EXTRA_CFLAGS="-L/usr/lib64 -fPIC"
CFLAGS="-L/usr/lib64 -fPIC"
./configure --prefix=/home/zzzzz/system --enable-shared      <---change the zzzzz
make && make install
cd ..
./configure --prefix=/home/zzzzz/system --with-expat=builtin  <---change the zzzzz
make && make install
Then you need to edit .bash_profile to add /system/bin to your path. From your home folder:

Code:
nano -w .bash_profile
replace:

Code:
PATH=$PATH:$HOME/bin
with:

Code:
PATH=$PATH:$HOME/bin:$HOME/system/bin
You will need to logout of your session, and then log in again. Subversion should now be working.

 

Visitor

The Information provided about the SVN its very valuable for me. Thanks for your information.

Visitor

Thanks I got SVN working now to. Regards

Powered by Drupal, an open source content management system