Subversion Server Setup on RedHat AS 4

Installing the SVN Server

Download and install svn approved version from YUM repository with:

yum -c http://yumserver/repository/patch/current/rhel4-i386.conf -y install subversion*

Configure Apache by adding the following to httpd.conf:

    LoadModule dav_module         modules/

        LoadModule dav_fs_module      modules/

        LoadModule dav_svn_module     modules/

LoadModule authz_svn_module modules/

Verify modules listed above exist in /usr/lib/httpd/modules/, if not move them there

Create directory /SVN then add the following to /etc/httpd/conf/httpd.conf:

<Location /svn>

DAV svn



Restart Apache with:

service httpd restart

Example Add of Puppet data to SVN repository:

svn import -m "New puppet config import" etc/puppet http://svnserver/svn/puppetmaster/conf

svn import -m "New puppet dist files import" dist http://svnserver/svn/puppetmaster/dist

Try network checkout using the unix client:

svn co http://localhost/svn/puppetmaster wc

Checkout code with TortoiseSVN:


No comments: