Centos restart SVN service

The installation of SVN will not be described in detail here. There are a lot of them on google.

Here is mainly to record the problem of SVN restart;

A previous article mentioned the problem of IP replacement of centos. After the replacement, eclipse needs to change the corresponding SVN server address when synchronizing the project;

The article was updated according to the article processed by google, but it was prompted that the repos could not be found (the warehouse could not be found). Later, it was found that the svn warehouse address was not specified when the svn service was started.

 

Generally, service svnserve start is used when starting svn. Since there is no svn repos configured in /ect/init.d/svnserve, the client cannot access the svn service.

 

Here you need to use the svnserve -d -r /home/svn/repos command; where /home/svn/repos is the address of the svn repository, which can be found by the following command:

find / -name '*svn*'

The red box is the address of svn, and finding the repos is the address of your svn warehouse (this refers to the default case, you can specify any directory for this repos).

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326636095&siteId=291194637