SVN
SVN:SVN is the abbreviation of subversion, is an open Code version control system, compared to RCS, CVS, it uses the branch management system, its design goal is to replace CVS. Many version controller services on the Internet have migrated from CVs to subversion.
environment and raw materials
Operating system: Linux (CentOS version)
SVN version: subversion-1.9.3.tar.gz (: Http://subversion.apache.org/download)
ARP Software: apr-1.5.2.tar.gz (: http://apache.fayea.com//apr/apr-1.5.2.tar.gz)
Arp-util Software: apr-util-1.5.4.tar.gz (: http://apache.fayea.com//apr/apr-util-1.5.4.tar.gz)
SQLite database: sqlite-autoconf-3100200.tar.gz (: http://www.sqlite.org/download.html);
Zlib Library: zlib-1.2.8.tar.gz (: http://www.zlib.net)
Installation steps
1. Unzip the package to the/USER/SVN directory, command:tar xfvz subversion-1.9.3.tar.gz-c/usr/svn/
2. go to the installation package, perform the check Environment operation, command:./configure --prefix=/usr/svn/subversion
You may get an error when performing a check Environment command:APR not found(a runtime for Apache not found)
Download apr-1.5.2.tar.gz (: http://apache.fayea.com//apr/apr-1.5.2.tar.gz);
-
- Decompression ARP: tar xfvz apr-1.5.2.tar.gz-c/usr/svn/
- Enter Apr directory:CD /usr/svn/apr-1.5.2
- Execute configuration command:./configure --PREFIX=/USR/SVN/APR
- Execute command: make
- Install command:make install (installation error can be cleared using makes clean)
Download apr-util-1.5.4.tar.gz (: http://apache.fayea.com//apr/apr-util-1.5.4.tar.gz);
-
- decompression arp: tar xfvz apr-util-1.5.4.tar.gz -c/usr/svn/
- Enter the APR directory: CD /usr/svn/ apr-util-1.5.4
- Execute configuration command: . Configure --prefix=/usr/svn/apr-util--with-apr=/usr/svn/apr
- Execute command: make
- install command: make install
go to SVN unzip directory, perform check environment operation again, command:./configure --prefix=/usr/svn/subversion -- WITH-APR=/USR/SVN/APR--with-apr-util=/usr/svn/apr-util
Possible error: Subversion requires SQLite (SVN requires SQLite database)
Download sqlite-autoconf-3100200.tar.gz (: http://www.sqlite.org/download.html);
-
- decompression Arp: tar xfvz sqlite-autoconf-3100200.tar.gz -c/usr/svn/
- Enter the APR directory: CD /usr/svn/sqlite-autoconf-3100200
- Execute configuration command: ./configure < /strong> --prefix=/usr/svn/sqlite
- Execute command: make
- install command: make install
Go to SVN unzip directory, perform check environment operation again, command:./configure --prefix=/usr/svn/subversion--with-apr=/usr/svn/apr--with-apr-util =/usr/svn/apr-util
--with-sqlite=/usr/svn/sqlite
Possible error: Subversion requires zlib (SVN requires zlib)
Download zlib-1.2.8.tar.gz (: http://www.zlib.net);
-
- decompression arp: tar xfvz zlib-1.2.8.tar.gz -c/usr/svn/
- Enter the APR directory: CD /usr/svn/ zlib-1.2.8
- Execute configuration command: ./ Configure --prefix=/usr/svn/zlib
- Make
- make install
Go to SVN unzip directory, perform check environment operation again, command:./configure --prefix=/usr/svn/subversion--with-apr=/usr/svn/apr--with-apr-util =/usr/svn/apr-util
--with-sqlite=/usr/svn/sqlite--with-zlib=/usr/svn/zlib
3. under SVN decompression directory, execute command: Make
4. in the SVN decompression directory, execute the install command : Make install
5. Add SVN to Path
-
-
- Open profile:vi /etc/profile
- Added at the end of the file: Export path=/usr/svn/subversion/bin: $PATH
- Exit Save and Execute execution:. /etc/profile
6. Test if SVN is installed successfully, execute: Svnserve--version
Installation and configuration of "Linux" svn