Linux-related operations under svn
A first look at the installation location svn:
Command: find / -name svn
/ Var / svn: installation directory
/ User / bin / svn: indicates that the command directory
We can see that the svn address is var / svn
So in the end it is not: We look to this directory:
Second, start or restart
1 First check the process svn:
View process command: ps -ef (view all processes); if you want to filter with grep, svn screening process command: ps -ef | grep svn.
2 killing the main process:
the command to kill the process id of the process with the kill -9.
3: Start svn:
start the svn command svnserve -d -r installation path
-d represent svnserve.exe as a service running in the background; -r said it would svn directory as the root directory.
It is this command: svnserve -d -r / var / svn / svnrepos
svn started the
4. Verify again ps -ef | grep svn
Three, svn data storage location
There are two ways to store svn: BDB and FSFS, most are currently using FSFS way, this way, it is usually stored in the \ db \ revs file folder, there are a bunch of files named with version number, such as: 0 1,2,3,4 ......, that it wants to.
0 svn first version of the state compressed into one file, and then every time you do an updated version for some changes in a compressed file, every incremental increase in a package, and finally on the server can be seen from the file named 0 start to the final version of a series of documents.