SVN ubuntu environment to build

Check whether the system is equipped with svn, svn console input Enter to see if there is information to help.
Tip:
Ali cloud server then pay attention to the open port number 3690
1. Installation instructions

apt-get update
apt-get install subversion

2. SVN version installed View

svnserve --version

3.svn repository creation

cd /usr
mkdir svn
cd /svn
mkdir repository
chmod -R 777 /repository

Create a svn repository

svnadmin create /usr/svn/repository

After creating the directory below the warehouse
Here Insert Picture Description
4. db file repository directory permissions

chmod -R 777 db

5. Set access permissions
to modify the configuration file conf / svnserve.conf

vim svnserve.conf

The location of the content corresponding to the comments cancel, provided passwd file password profile
Here Insert Picture Description
6. Add the user. Modify config / passwd file

Here the account password is set for liang 123456
Here Insert Picture Description

7. Set user permissions
added last code authz FIG.
Here Insert Picture Description

admin = wang //用户liang属于admin权限组
@admin = rw //admin权限组的权限是读和写
* = r 所有的组都具有读权限

ok! setup is complete. The next step is to test use. Oh, no, no start svn service shut down

Start svn service

svnserve -d -r /usr/svn/
-d:表示在后台运行
-r:指定服务器的根目录

Check whether a successful start

ps aux | grep svnserve

Close svn Service

killall svnserve

// server ip / repository server to access the svn: then you can svn. Let yourself slightly off-site office
to get hold of this is mainly to solve the problem of git upload file size limit. Resources can be reached svn, group management.

Note
window on the svn small turtle TortoiseSVN
on mac instructs the wow or use SourceTree (https://www.jianshu.com/p/612c2ae0e1bc)

Reference:
https://blog.csdn.net/zengsange/article/details/80618301
https://www.jianshu.com/p/612c2ae0e1bc
Ali cloud version of the access failure Refer
https://blog.csdn.net/qq_26582649 / article / details / 102835608

Published 90 original articles · won praise 26 · Views 100,000 +

Guess you like

Origin blog.csdn.net/sky_person/article/details/103542353