go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Create SVN repository and users
 
Subject: Create SVN repository and users
Author: Linux
In response to: Install Subversion
Posted on: 11/04/2017 05:40:30 AM


Repository xyz:

$ sudo mkdir -p /var/lib/svn/
$ sudo svnadmin create /var/lib/svn/xyz          <-- create repository named 'xyz'
$ sudo chown -R www-data:www-data /var/lib/svn   <-- change owner
$ sudo chmod -R 775 /var/lib/svn


Users
$ sudo htpasswd -cm /etc/apache2/dav_svn.passwd admin  <-- admin
$ sudo htpasswd -m /etc/apache2/dav_svn.passwd user1   <-- user1
$ sudo htpasswd -m /etc/apache2/dav_svn.passwd user2   <-- user2


 

> On 11/04/2017 05:39:02 AM Linux wrote:

First, the subversion packages and their dependencies:
$ sudo apt-get install subversion libapache2-mod-svn libapache2-svn libsvn-dev


Check the version
$ svn --version
svn, version 1.9.3 (r1718519)
   compiled Aug 10 2017, 16:59:15 on x86_64-pc-linux-gnu

Copyright (C) 2015 The Apache Software Foundation.





References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.