Closed Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 23

Thread: Setting up Subversion on Bluehost

  1. #1
    Join Date
    Feb 2008
    Posts
    7

    Default Setting up Subversion on Bluehost

    I know this has been discussed before, but I wanted to post the following code for getting Subversion up and running on Bluehost. If you have ssh access, simply cut and paste the following code, and it should create an src directory in your home directory, download the appropriate packages, and install apr, apr-util, neon, and subversion.

    Remember to hit enter after the last 'make install" is pasted.

    Code:
    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

  2. #2
    Join Date
    Feb 2008
    Location
    San Diego
    Posts
    47

    Default

    Thanks, thats great. I just setup CentOS 5 on an extra machine at home to mirror my bluehost site and give myself a real dev server other than xampp (which is great also by the way). The next step was going to be subversion ....
    ~ Cheers!

  3. #3
    Join Date
    Feb 2008
    Posts
    7

    Default

    Quote Originally Posted by Believer View Post
    Thanks, thats great. I just setup CentOS 5 on an extra machine at home to mirror my bluehost site and give myself a real dev server other than xampp (which is great also by the way). The next step was going to be subversion ....
    ~ Cheers!
    I will give a caution. I installed it once, on one server, and it worked. I tried it another time on another server for a friend of mine, and apr-util broke on the ldflags. So, use with caution...

  4. #4
    Join Date
    Feb 2007
    Posts
    16

    Default

    Thanks so much, birdsnare.
    It works!!!

  5. #5

    Default

    nice!



    so now what?

    subversion is installed..and...
    how can i link a project in /www to it?

    where's the svn link?

    I'm trying to figure it out here ^^

    EDIT: Ok, so i did the create and imported after a lot of struggle
    still doesn't commit but that's another story =P
    Thanks for the post
    Last edited by MarcoBarbosa; 03-28-2008 at 11:26 AM. Reason: fixed

  6. #6
    Join Date
    Mar 2008
    Location
    Los Angeles, New York, Tokyo, London, Paris
    Posts
    1

    Smile Thanks

    Thanks! Works Great

  7. #7
    Join Date
    Jan 2008
    Posts
    1

    Default

    Quote Originally Posted by MarcoBarbosa View Post
    nice!

    so now what?

    subversion is installed..and...
    how can i link a project in /www to it?

    where's the svn link?

    I'm trying to figure it out here ^^

    EDIT: Ok, so i did the create and imported after a lot of struggle
    still doesn't commit but that's another story =P
    Thanks for the post
    Hi,
    I have SVN installed and a repository created!

    My question is ... how to checkout my repository?

    - svn --version

    svn, version 1.4.6 (r28521)
    compiled Apr 3 2008, 20:43:14

    Then, these are the steps I did to get my repository done and protected:
    - htpasswd -c /home/Path_to_password_file newuser
    With this I created a password file to give access to my SVN Folder
    - svnadmin create /home/path_to_my_repository
    With this, I created my repository
    - Now, Im trying to include this in my .httaccess to access my repository (using tortoise of any other client):

    <Location /svn>
    DAV svn
    SVNPath /home/path_to_repository
    AuthType Basic
    AuthName "Subversion Repository!"
    AuthUserFile /home/path_to_password_file
    Require valid-user
    </Location>

    Anyway ... this is not working (it messed the whole site actually). I havent been able to checkout my repository (nor commit, but that will come later) ...

    Any help? How to access my repository once it is created?

    thanks,

    Juan

  8. #8
    Join Date
    Apr 2008
    Posts
    1

    Default works with small correction

    Thanks for the detailed and accurate instructions birdsnare! They worked fine.

    However, I ended up with a svn client that could not access a repository stored on another server (no support for repository URLs that use http protocol). So, I dug around and found this message in the build:

    You have neon version 0.28.0,
    but Subversion needs neon 0.25.5.


    I changed the instructions to use version 0.25.5, and now I have a svn client that can use my repository. Here are the steps I used:

    cd ~
    mkdir src
    cd ~/src
    wget http://www.gtlib.gatech.edu/pub/apac...-1.2.12.tar.gz
    wget http://www.gtlib.gatech.edu/pub/apac...-1.2.12.tar.gz
    wget http://subversion.tigris.org/downloa...n-1.4.6.tar.gz
    wget http://www.webdav.org/neon/neon-0.25.5.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.25.5.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.25.5
    ./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

  9. #9
    Join Date
    May 2008
    Posts
    1

    Post how to solve problem of db_create in subversion

    Hi Birdsnare,

    I am swamy, I have one doubt in subversion , I installed the subversion in my centos5,it is accessed by the apache , whenever I do ing some configuration and run the apache i got below error "Syntax error on line of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_dav_svn.so into server: /usr/lib/libsvn_fs_base-1.so.0: undefined symbol: db_create" I searched for this in net but i am not getting any solution, if u know the solution please send , it is very urgent.


    Thanks

  10. #10
    Join Date
    Jul 2008
    Posts
    1

    Default Slight change for me.

    I had to get rid of --with-zlib before the .configure command would execute properly. Kept getting the error: "--with-zlib requires an argument". Once I got rid of that switch, it worked! Thanks everyone!

Closed Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts