Install Repository

From OpenUru
Jump to: navigation, search

This page intentionally orphaned for now.


Install Repository

Here's how if you want to grow your own repository.

Repositories

Subversion

Install

Blue Host 64-bit shared servers

Looks like a really good start-to-finish tutorial here: http://www.tabruyn.com/site/index.php?option=com_content&view=article&id=55:tortoisesvn-subversion-and-bluehost&catid=36:digital&Itemid=58

This is the procedure that actually worked: http://netsperience.org/content/installing-subversion-151-a-shared-host-ssh-commands

These instructions were originally found at: http://www.bluehostforum.com/showpost.php?p=51455&postcount=19

They are based upon a more general article at: http://joemaller.com/2008/01/29/how-to-install-subversion-on-a-shared-host/

Unconfirmed alternative: http://www.bluehostforum.com/showthread.php?t=12099&page=3 (last post)

If Blue Host does an update that clobbers the install: http://liwen.name/2009/06/save-subversion-server-on-bluehost/


Connect to your account with ssh

Replace zzzzz with your username in these commands:

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
make && make install
cd ..
./configure --prefix=/home/zzzzz/system --with-expat=builtin
make && make install


Then you need to edit .bash_profile to add /system/bin to your path. From your home folder:

nano -w .bash_profile

Replace:

PATH=$PATH:$HOME/bin

With:

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.