CentOS SVN installation and migration

Source: Internet
Author: User

Machine room adjustment, you need to migrate an SVN server.

The steps are as follows:

Source IP 1.1.1.1 Subversion version 1.8.0 destination IP 2.2.2.2

The 1.8.x version is also installed on the target machine to avoid unforeseen problems.

Find a bit of source installation are also more trouble, this time with RPM package installation:

Vim/etc/yum.repos.d/svn.repo
[Wandiscosvn]name=wandisco SVN repobaseurl=http://opensource.wandisco.com/centos/7/svn-1.8/rpms/$basearch/ Enabled=1gpgcheck=0


Yum Install Subversion

I am here 7 If it is CENTOS6 then it is 6.

The environment is ready and you can continue the migration. Let's have the most convenient hotcopy. It is best to stop the service

Because the project is more than a script execution:

Then package the SCP onto the destination server.

Continue script execution: similar to the above, the order of the directories is changed.

#!/bin/bash svndir= "/DATA/BKSVN" dsndir= "/DATA/SVN" for svn in ' ls ${svndir} ' do mkdir ${dsndir}/${svn} Svnadmin hotcopy ${SVNDIR}/${SVN} ${dsndir}/${svn}done


Last boot:

svnserve-d--listen-port 5566-r/DATA/SVN


The test is normal. Over

This article from "Good memory than bad writing" blog, please be sure to keep this source http://cobweb.blog.51cto.com/390607/1866185

CentOS SVN installation and migration

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.