1. Export
A) In windowscmd, type svnadmin dump xxx> xxx. dump.
2. Import
A) create a version library svnadmincreate xxx in ubuntu.
B) Import xxx. dump to the new version library svnadminload xxx <xxx. dump
C) modify the three files in the conf folder.
I. Authz version permission Control
Ii. Basic configurations of Svnserve. conf
Iii. Passwd has been moved to the/home folder for unified management
D) restart xinetd/etc/init. d/xinetd restart.
Stop the svn server killall svnserve
Start svn server svnserve-d-r/home -- listen-host192.168.19.103
Open Server Port/sbin/iptables-a input-p tcp-dport 3690-j ACCEPT
/Sbin/serviceiptables save
Version library permission management
/Home/authz
Password File
/Home/passwd
Add users
Sudo htpasswd/banbenku/passwd user_name
Delete a user
Sudo htpasswd-d/banbenku/passwd user_name
Restart apache
/Etc/init. d/apache2 restart
The permission file cannot be added to the apache configuration file using the parent directory. Therefore, all projects are assigned a separate permission file.
/Etc/apache2/mod-available/dav_svn.conf
Configuration modification takes effect
Sudo/etc/init. d/apache2 restart
In addition, access _
When creating a version library, you must change the user and group. Otherwise, the client cannot submit
Sudo chown-R www-data: subversion svn