Results 1 to 7 of 7

Thread: Installation Intructions For Subversion On CPanel

  1. #1
    Member
    Join Date
    May 2004
    Posts
    44

    Default Installation Intructions For Subversion On CPanel

    Someone just private messaged me on how I got subversion up and running on CPanel, so I thought I'd post the info in a public place for everyone to see. The configure line took a lot of investigation to get working.

    1) Download the programs to your webserver and unpack them, I didn't save the links, but they are easy to find:
    Subversion 1.4.5
    Neon 0.25.5.1

    2) Rename the neon-version number folder to just neon and move folder into subversion folder.

    3) In the subversion folder, run the following:

    Code:
    ./configure --with-ssl --with-apr=/home/cpeasyapache/src/httpd-2.2.6/srclib/apr --with-apr-util=/home/cpeasyapache/src/httpd-2.2.6/srclib/apr-util --with-apxs=/usr/local/apache/bin/apxs
    
    make clean
    
    make
    
    make install
    4) Make sure the following lines are in your httpd.conf:
    LoadModule dav_svn_module /usr/lib/httpd/modules/mod_dav_svn.so
    LoadModule authz_svn_module /usr/lib/httpd/modules/mod_authz_svn.so

    5) Create a respository folder inside of an account, but outside the web root. I just add the following to httpd.conf for the appropriate account (this created domain.com/repos), #something# highlights things to change:
    <Location /#repos#>
    DAV svn
    SVNPath /home/#username#/#reposfolderyoucreated#
    AuthType Basic
    AuthName "#Something To Appear in Auth Window#"
    AuthUserFile /home/#username#/#passwdfile#
    Require valid-user
    </Location>

    These are not comprehensive instructions, just based on my shorthand notes on the installation, but it should get people started on an installation.

    Michael

  2. #2
    Registered User
    Join Date
    May 2007
    Posts
    1

    Default

    centos 4.6, cpanel 11

    I don't have /usr/lib/httpd/ directory. I can't find mod_dav_svn.so and mod_authz_svn.so (whereis mod_authz_svn.so)

    So, I use "yum install mod_dav_svn" but not work:

    Code:
    [root@localhost ~]# yum install mod_dav_svn
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package mod_dav_svn.i386 0:1.1.4-2.ent set to be updated
    --> Running transaction check
    --> Processing Dependency: httpd-mmn = 20020903 for package: mod_dav_svn
    --> Finished Dependency Resolution
    Error: Missing Dependency: httpd-mmn = 20020903 is needed by package mod_dav_svn

    Edit: Ok is here: /usr/local/apache/modules, but why whereis not find this ?

  3. #3
    Registered User
    Join Date
    Aug 2010
    Posts
    2

    Default A useful link

    Hey all,

    Just thought you might like to check out this post. Its similar to the info above but a little more in depth. I haven't tried it yet but I will be, so can cannot yet tell you if it works. Thought it may be helpful though.

    /http://www.edugeek.net/forums/nix/26101-subversion-whm-cpanel-11-a.html

  4. #4
    Registered User
    Join Date
    Oct 2010
    Posts
    1

    Default

    I've been struggling with installing svn on the new cPanel with easy apache 3.2, so I decided to write a guide for it, you can find it here:

    /http://sven.webiny.com/subversion-on-cpanel-3-with-centos-55-and-easyapache-32/

    Hope it helps

  5. #5
    Member
    Join Date
    May 2005
    Posts
    12

    Thumbs up Re: Installation Intructions For Subversion On CPanel

    Just wanted to thank everyone who took effort to write how-tos. Very useful!

  6. #6
    Registered User
    Join Date
    Mar 2011
    Posts
    1

    Default Re: Installation Intructions For Subversion On CPanel

    Hi
    I just have completed setup unfuddle SVN with cPanel shared hosting by shell script, no cost and easy setup steps. Here is the link.
    /http://codefighters.blogspot.com/2011/03/unfuddle-svn-setup-with-cpanel-shared.html

    thanks

  7. #7
    Registered User
    Join Date
    May 2011
    Posts
    1

    Default Re: Installation Intructions For Subversion On CPanel

    Hi, I followed the tutorials and was able to establish it.

    The problem is, I'm also using mod_rewrite on my web root (all hosts). Unfortunately, mod_rewrite also masks <Location /svn> and prevents it from getting handled by mod_dav_svn.

    Any workarounds?

    Regards

Similar Threads

  1. Subversion with cPanel?
    By boughtonp in forum cPanel Developers
    Replies: 21
    Last Post: 04-24-2008, 04:13 AM
  2. Subversion SVN and TRAC Installation
    By duckxtales in forum New User Questions
    Replies: 10
    Last Post: 03-01-2008, 07:21 AM
  3. Subversion with cPanel
    By etono in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-18-2007, 03:05 AM
  4. CPanel/Subversion
    By bberglund in forum New User Questions
    Replies: 3
    Last Post: 08-22-2006, 11:36 AM