SVN Server Installation on Oracle Enterprise Linux 6.4

In this article, I will mention about SubVersioN (SVN) installation on Oracle Linux Server. SVN is a type of version control system. Basically it allows a team to manage sharing a code base. Also, it allows to keep revisions of codes and enables to turn back to old code.

Let’s begin with installation.

  • Install SVN packages on a RHEL based operating system:
  • Below commands create a new SVN repository. Our repository name will be testRepo.
  • Change owner of testRepo to apache.
  • Edit SVN configuration file as below.
    You can change /etc/httpd/conf.d/subversion.conf file accourding to your configuration.
  • SVNParentPath shows path of directory of SVN Repositories.
    AuthUserFile shows path of SVN users file.
    AuthzSVNAccessFile shows path of SVN User and Repository authentication file.
    You can create SVN users with “htpasswd” command.
    If you are running this command for the first time, you should use “-cm” parameter to create a new password file.
  • If you have existing users on SVN, you should use “-m” parameter to update existed password file.
  • You can list content of password files.
  • You can authenticate users and repositories with authz file. You can change it according to your configuration.
  • Restart Httpd service and add httpd to chkconfig
That’s all. You can use svn server with you svn clients.

Onur Çınar
Author: Onur Çınar

Leave a Reply

Your email address will not be published. Required fields are marked *