The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Installation Intructions For Subversion On CPanel

Discussion in 'General Discussion' started by greetingsc, Jan 24, 2008.

  1. greetingsc

    greetingsc Active Member

    Joined:
    May 18, 2004
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    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. angelside

    angelside Registered

    Joined:
    May 7, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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. gazzwi86

    gazzwi86 Registered

    Joined:
    Aug 24, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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. SlasherZ

    SlasherZ Registered

    Joined:
    Oct 25, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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. IbnKuldun

    IbnKuldun Member

    Joined:
    May 6, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Just wanted to thank everyone who took effort to write how-tos. Very useful!
     
  6. mostanser

    mostanser Registered

    Joined:
    Mar 19, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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. abiusx

    abiusx Registered

    Joined:
    May 13, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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
     
Loading...

Share This Page