Installation Intructions For Subversion On CPanel

greetingsc

Well-Known Member
May 18, 2004
45
0
156
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
 

angelside

Registered
May 7, 2007
1
0
151
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:
[[email protected] ~]# 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 ?
 

gazzwi86

Registered
Aug 24, 2010
2
0
51
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
 

SlasherZ

Registered
Oct 25, 2010
1
0
51
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 :)
 

mostanser

Registered
Mar 19, 2011
1
0
51
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
 

abiusx

Registered
May 13, 2011
1
0
51
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