Export and publish the Library to the Ubuntu SVN server from the Windows SVN Server
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
Http://www.oklinux.cn/html/network/ser/20090706/71698.html