Internet Bandaid   [RSS Feed]

Archive for May 30th, 2009

Subversion on Bluehost

without comments

Bluehost does not officially support subversion. I was still able to install subversion on bluehost shared hosting using the following script:

cd ~
mkdir src
cd ~/src
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-util-1.2.12.tar.gz
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-1.2.12.tar.gz
wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
wget http://www.webdav.org/neon/neon-0.28.0.tar.gz
tar -xzf apr-util-1.2.12.tar.gz
tar -xzf apr-1.2.12.tar.gz
tar -xzf subversion-1.4.6.tar.gz
tar -xzf neon-0.28.0.tar.gz
cd ~/src/apr-1.2.12
./configure –prefix=$HOME LDFLAGS=”-L/lib64″
make
make install
cd ~/src/apr-util-1.2.12
./configure –prefix=$HOME –with-apr=$HOME LDFLAGS=”-L/lib64″
make
make install
cd ~/src/neon-0.28.0
./configure –enable-shared –prefix=$HOME LDFLAGS=”-L/lib64″
make
make install
cd ~/src/subversion-1.4.6
./configure –prefix=$HOME –without-berkeley-db –with-zlib –with-ssl LDFLAGS=”-L/lib64″
make
make install

Copy and paste the contents into the terminal while logged in via. Remember to hit ENTER on the last line.

If you need to do a svn+ssh access, you need to open up port 22 for ssh access. You do this by purchasing a dedicated IP.

Written by John Lai

May 30th, 2009 at 4:27 pm

Posted in Uncategorized

Tagged with ,