1. Server-side Direct apt install subversion install svn;
2 Suppose you want to deploy the project test in the/var/www/html directory, open it, and then svnadmin Create test;
Open conf folder under 3test directory;
4 Edit the Authz file, for example the user is test, the group is admin
[Groups]
admin = Test
[/]
Test = RW
5 Edit the passwd file, for example Authz the user is test, set the password to 123456
[Users]
test=123456
6 Edit svnserve.conf File
# # # anon-access = Read
# # # auth-access = Write
# # # password-db = passwd
# # # authz-db = Authz
# # # (here is a space) to delete (remember 4,5,6 step after the completion of the Save), so that the setup is complete
7 Upload file in PC (Window System) Right-click SVN checkout, Prompt for account password, then SVN commit
8 return to the server side, open/var/www/html, such as your project called TEST,SVN Co SVN://IP address/test, and then enter the password, the user name password and then yes OK
9 You can see the uploaded files on the server side!!! The next time you update, for example, the project is test, open/var/www/html/test, and then SVN update it!
SVN installation tutorial with Ubuntu system