SVN, short for subversion, is a commonly used version control system. I will not talk about the advantages of SVN here.
I. Here I will briefly introduce how to deploy the SVN version control management system on sentos.
01. Download the Subversion source code:
You can go to the subversion of the official website to download the source code, here I give my own installation of the use of the source code connection address: http://dl.dbank.com/c0ifdgh7b7 a total of three download files: apr-1.4.6.tar.gz apr-util-1.4.1.tar.gz subversion-1.7.5.tar.gz
02. decompress the downloaded source code:
Tar xzvf apr-1.4.6.tar.gz
Tar xzvf apr-util-1.4.1.tar.gz
Tar xzvf subversion-1.7.5.tar.gz
Unzip and get the apr-1.4.6 apr-util-1.4.1 subversion-1.7.5 three directories under the working directory.
03. Compile
Because of the dependency, first you need to compile the apr-1.4.6:
CD apr-1.4.6
./Configure
Make
Then compile apr-util-1.4.1:
CD apr-utial-1.4.1
./Configure -- With-Apr = ../apr-1.4.6
Make
Finally, compile the Subversion:
CD subversion-1.7.5
./Configure -- With-Apr = ../apr-1.4.6 -- With-Apr-util = ../apr-util-1.4.1
Make
04. Installation (root permission required, or add the current user name to the/etc/sudoers configuration file)
Install the apr-1.4.6 first and go to the apr-1.4.6 directory to execute sudo make install
Then install the apr-util-1.4.1, go to the apr-util-1.4.1 directory, and execute sudo make install
Finally, install the subversion. Go to the subversion-1.7.5 directory and run sudo make install.
So far, SVN is successfully installed.
2. Create a simple SVN Repository
Iii. Integration of SVN and Apache
4. View SVN through web (install websvn)
V. SVN client configuration and Practicality
6. Use of subversion hooks