Friday, 1 December 2017

How to create new SVN repository



SVN repository creation is a simple task. The svnadmin utility that comes with subversion provides a subcommand svnadmin create for creating the new SVN repository.

Environment:

 The Subversion repository is already configured and the SVNParentPath is /var/www/html/

Create a Repository:

[root@ linuxcnf ~]# cd /var/www/html/
[root@ linuxcnf html]# mkdir testrepo
[root@ linuxcnf html]# svnadmin create testrepo
[root@ linuxcnf html]# chown apache.apache -R testrepo

Now you can access the new created repository using server URL.

No comments:

Post a Comment