How to start SVN service under linux

First go to the installation directory of SVN, for example, you are installed under /home/svn.

Then go to the bin directory, where you can see a file called svnserve, we need to use this to start the SVN service.
Try svnserve --help to see the help group for this command. There are -d and -r, which represent the background operation and the data warehouse directory, respectively.
The data warehouse directory represents the place where you save the data. For example, if you save the project information under /home/svndata, this svndata is your data warehouse directory.
 
Once you figure this out, you can start:
 
input the command:
svnserve -d -r /home/svndata 
The latter one needs to follow your own data warehouse directory.
In this way, we start SVN, and SVN listens to 3690 by default. Sometimes we need to change the listening port, then we need to set the listening port, follow the following command:
svnserve --listen-port 9999 -d -r /opt/svndata
In this way, we changed the listening port to 9999. Of course, you can also change 9999 to the port you want to listen to~
 
 
keep learning~~
 

Guess you like

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