This article briefly introduces the process of setting up SVN under Ubuntu system Update Source Install SVN Create a folder sudo mkdir /home/svn sudo mkdir /home/svn/repository sudo chmod -R 777 /home/svn/repository sudo svnadmin create /home/svn/repository cd /home/svn/repository/ sudo chmod -R 777 db Modify svnserve.conf cd /home/svn/repository/conf/ sudo vi svnserve.conf Modify these four lines as follows anon-access = none Anonymous users cannot read auth-access = write Authorized users can write password-db = passwd The password file is password authz-db = authz authority file is authz ### users have read and write access to the repository. anon-access = none auth-access = write ### The password-db option controls the location of the password ### database file. Unless you specify a path starting with a /, ### the file's location is relative to the directory containing ### this configuration file. ### If SASL is enabled (see below), this file will NOT be used. ### Uncomment the line below to use the default password file. password-db = passwd ### The authz-db option controls the location of the authorization ### rules for path-based access control. Unless you specify a path ### starting with a /, the file's location is relative to the ### directory containing this file. The specified path may be a ### repository relative URL (^/) or an absolute file:// URL to a text ### file in a Subversion repository. If you don't specify an authz-db, ### no path-based access control is done. ### Uncomment the line below to use the default authorization file. authz-db = authz ### The groups-db option controls the location of the groups file. Modify the password file and add access users sudo vi passwd [users] # harry = harryssecret # sally = sallyssecret lidata = lidata429 Add directory permissions to users sudo vi authz [groups] # harry_and_sally = harry,sally # harry_sally_and_joe = harry,sally,&joe # [/foo/bar] # harry = rw # &joe = r # * = # [repository:/baz/fuz] # @harry_and_sally = rw # * = r [/] lidata=rw Start the service and listen on port 81 Check whether SVN is started Stop service Summarize The above is the process of installing SVN on Ubuntu 16.04.5LTS introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Share some key interview questions about MySQL index
>>: Methods and steps to access Baidu Maps API with JavaScript
This article records the installation and configu...
Table of contents 1. Related configuration Case 1...
As shown below: LOCATE(substr,str) Returns the fi...
MySQL 5.7.13 installation tutorial for Mac, very ...
Using the knowledge of CSS variables, I will dire...
Rendering Define the skeleton, write HTML and CSS...
Introduction to Angular Angular is an open source...
Table of contents 1. Introduction: In this case, ...
Pop-up windows are often used in actual developme...
Disadvantages of Tables 1. Table takes up more byt...
Background In Docker, four containers are created...
<br />My previous article about CSS was not ...
Table of contents Complex query and step-by-step ...
1. Download centos7 Download address: https://mir...
MAC installs mysql8.0, the specific contents are ...