Export and publish the Library to the Ubuntu SVN server from the Windows SVN Server

Source: Internet
Author: User

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

Related Article

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.