subversion 1.7 with apache module

newbie001
newbie001
Hello,     I am new to the subversion install and trying to install subversion 1.7 on RHEL 5 (64bit) with apache module.     I have downloaded the subversion-1.7.9.tar.    a. Do I have to create a database before installing subversion?  b. Where can I find instructions to install the subversion with apache module?    Thank you,

Last updated

pburma
pburma
newbie001;134103Hello,     I am new to the subversion install and trying to install subversion 1.7 on RHEL 5 (64bit) with apache module.     I have downloaded the subversion-1.7.9.tar.    a. Do I have to create a database before installing subversion?  b. Where can I find instructions to install the subversion with apache module?    Thank you,
   It''s easier to install Subversion from Yum or RPM. I would create a .repo file for the WANdisco binaries here are some examples for SVN 1.7 and 1.8 which you only need to create a file called /etc/yum.repos.d/WANdisco-SVN.repo and add one of the following into there:    [WANdisco-dev]  name=WANdisco SVN Repo 1.7  enabled=1  baseurl=http://opensource.wandisco.com/rhel/6/svn-1.7/RPMS/x86_64/  gpgcheck=1  gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco    [WANdisco-SVN-1.8]  name=WANdisco SVN Repo 1.8  enabled=1  baseurl=http://opensource.wandisco.com/rhel/6/svn-1.8/RPMS/x86_64/  gpgcheck=1  gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco    Then run "yum install subversion mod_dav_svn". This will install all the Subversion and Apache components but you still have some work to do.    First you need to create a Subversion repository let's use a path like this:    mkdir /opt/repo  cd /opt/repo  svnadmin create test  #This will create a test repository  touch svn.passwd  htpasswd svn.passwd pat  --set passwd for pat  #This will enable a user log of pat:pat you can rerun this command to add more users  vi /etc/httpd.conf.d/subversion.con  Change the SVNPath to SVNParentPath /opt/repo  Change the AuthUser file path to /opt/repo/svn.pass  Save and quit vi  Restart apache (service httpd restart or /etc/init.d/httpd restart)  Browse to http://server_name/svn/test  Login with your user/pass  Use the svnadmin create command to add additional repos, they will be available right away no httpd restart is necessary after that.

1-2 of 2

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.