Export and publish the Library to the ubuntu svn server from the windows svn Server

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.