Skip to Content

[bluehost] Installing svn in Bluehost

These are the latest steps i did for configuring svn in bluehost (Thanks for the help of other blogs)

You need SSH access to your account

SSH account can be obtained from the hosting providers.

In order to enable SSH for your account,

1. you must either fax or email a copy of your photo ID (i.e., driver's license, passport, etc.)
2. Please create a ticket from out helpdesk or Fax it to (1-801-765-1992).
3. Please include the domain name for this account if Faxing this information.



Now lets setup the svn in the server all you need is to follow the steps

1. Login into your account via terminal using ssh and create a directory [src (is what i used)] to store all of the source

mkdir src
cd src



2. Download the sources from the svn website as (i have used 1.6.5 as it was the latest one at that
time you can replace of your own choice)



3. Untar the packages as

tar -xjvf subversion-1.6.5.tar.bz2
tar -xvjf subversion-deps-1.6.5.tar.bz2



4. Lets configure the dependencies before going to install

cd subversion-1.6.5
cd apr
./configure --enable-shared --prefix=$HOME
make
make install



configure apr-util as

cd ../apr-util
./configure --enable-shared --prefix=$HOME --with-expat=builtin --with-apr=$HOME
make
make install



configure neon as

cd ../neon
export EXTRA_CFLAGS="-L/usr/lib64 -fPIC"
export CFLAGS="-L/usr/lib64 -fPIC"
./configure --enable-shared --prefix=$HOME --with-libs=$HOME
make
make install



5. Install the svn as below

cd ..
./configure --prefix=$HOME --with-apr=$HOME --with-apr-util=$HOME --with-neon=$HOME \
--without-apxs --without-apache --without-serf
make
make install



6. Now svn got installed and will be accessible in following steps
before that edit the .bash_profile

Change
PATH=$PATH
as
PATH=$PATH:$HOME/bin

Now if you give svn --version you get the Following

svn, version 1.6.5 (r38866)
compiled Aug 28 2009, 00:14:52

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme



Thank You

Business Affiliate ProgramsCouponPersonalsAdvertisingShopping