Installation
sudo apt-get install subversion
Create SVN warehouse address to store files
Svnadmin Create/usr/local/svndata
Settings for access permissions
Modify File/usr/local/svndata/conf/svnserve.conf[General]#匿名访问的权限, can be read,write,none, default is readAnon-access = NoneAuthentication User's permission, can be Read,write,none, default is writeauth-access = Write#密码数据库的路径, get rid of the front #password-db = passwdSet up Users
edit/usr/local/svnserver/conf/passwd as follows:
[Users]
Test = 123456
edit/home/svnuser/etc/authz as follows
[Groups]
admin = Test
[/]
@admin =RW
Test belongs to the test group, which has read and write permissions
Start SVN service
Svnserve-d-r/usr/local/svndata
Create a new TheProject folder under Svndata
-D is running in the background
-r Specifies the root location of the file system (the repository's root directory) so that the client can access the repository without entering the full path
such as: Svn://127.0.0.1/theproject
At this point, the SVN client can upload
Ubuntu Install SVN server and operation