PDA

View Full Version : How to set up an SVN?



WebJDC
05-11-2009, 10:57 PM
Hello,
I am trying to setup an SVN on my website.
I am a little confused on how to do this, all of the instructions that I find on the internet seem to think I already know what they are talking about.

For instance, I found in one tutorial that I am supposed to install Subversion with Yum, apt-get, up2date, or your favorite package manager. However, I do not know what those are, or how to access them with my bluehost account. Is this something that I can do from my control panel? Do I need to use the shell access?

Please help me, I am utterly confused on where to be doing this at.

ps. I checked with bluehost and they said it is possible with my bluehost account, but they just cannot provide any support for me.

WebJDC
05-11-2009, 11:02 PM
Oh crap, when I searched for SVN I didn't find any results, but searching for Subversion i found some results, I might not need this thread anymore, my bad, sorry.

WebJDC
05-11-2009, 11:07 PM
Even with the other information I am still confused...they all seem to thinkt hat I know what I am doing, by giving directions like "While logged in over ssh to your host, run the command:"
First, I dont know wha ssh is, or where I would be running these commands. It this something I do while in the control panel? do I need to be running something special?

Early Out
05-12-2009, 05:41 AM
Ssh refers to using the command line to enter commands, like using a black "cmd" box in Windows. It's a place where you can enter Linux commands directly, in plain text. It's usually referred to as "shell access."

Customers aren't automatically given shell access - you have to ask for it. How to ask for shell access (http://helpdesk.bluehost.com/index.php/kb/article/000180).

Basic commands: SSH Commands (http://helpdesk.bluehost.com/index.php/kb/article/000203).

bigfoot
07-20-2009, 04:30 PM
Run this script from the shell promt


mkdir SRC
cd SRC
wget http://subversion.tigris.org/downloads/subversion-1.6.3.tar.gz
wget http://subversion.tigris.org/downloads/subversion-deps-1.6.3.tar.gz
tar -xzvf subversion-1.6.3.tar.gz
tar -xzvf subversion-deps-1.6.3.tar.gz
cd subversion-1.6.3
./configure --prefix=$HOME/system --with-expat=builtin
cd apr
./configure --enable-shared --prefix=$HOME
cd ../apr-util
./configure --enable-shared --prefix=$HOME --with-expat=builtin
--with-apr=$HOME --without-berlekey-db
cd ../neon
EXTRA_CFLAGS="-L/usr/lib64 -fPIC"
CFLAGS="-L/usr/lib64 -fPIC"
./configure --prefix=$HOME/system --enable-shared
cd ..
make all
make install

Once the script is complete you will need to set up your repository

arkjoseph
07-08-2011, 09:55 PM
is there a more current script available? I came up with the following error after #make install

cp: cannot create regular file `/usr/lib64/httpd/modules/mod_dav_svn.so': Read-only file system
apxs:Error: Command failed with rc=65536
.
make: *** [install-mods-shared] Error 1