1. Install the dependency package
In the Linux kernel, when compiling and installing the latest version of subversion, you must install the following dependency packages:
Apr-1.5.1, apr-util-1.5.4, zlib-1.2.8, OpenSSL, expat-2.1.0, serf-1.2.1, sqlite-amalgamation-3080700
1. Install the APR module (1.5.1)
Official website URL: http://apr.apache.org/
Installation command:
# Tar zxvf apr-1.5.1.tar.gz
# Cd apr-1.5.1
#./Configure
# Make & make install
2. Install the APR-util module (1.5.4)
Official website URL: http://apr.apache.org/
Installation command:
# Tar zxvf apr-util-1.5.4.tar.gz
# Cd apr-util-1.5.4
#./Configure -- With-Apr =/usr/local/APR
# Make & make install
3. Install the zlib module (1.2.8)
Http://www.zlib.net/
Installation command:
# Tar zxvf zlib-1.2.8.tar.gz
# Cd zlib-1.2.8
#./Configure
# Make & make install
4. Install the OpenSSL module (1.0.1h)
Http://www.openssl.org/
Installation command:
# Tar zxvf openssl-1.0.1h.tar.gz
# Cd openssl-1.0.1h
#./Config
# Make & make install
5. Install the expat module (2.1.0)
Http://sourceforge.net/projects/expat/files/expat/2.1.0/
Installation command:
# Tar zxvf expat-2.1.0.tar.gz
# Cd expat-2.1.0
#./Configure
# Make & make install
6. Install the serf module (1.2.1)
Official website URL: http://serf.googlecode.com/files/serf-1.2.1.tar.bz2
It is difficult to download this module due to restrictions on Google's official website. Shared by csdn:
Http://download.csdn.net/detail/attagain/8071513
Note:
(1) Before version 1.8, you need to add Neon. After version 1.8, You need to discard neon and change serf;
(2) serf-1.2.1 is used here. An exception occurs when serf-1.8 is used in Subversion 1.3.0.
Installation command:
# Tar xjvf serf-1.2.1.tar.bz2
# Cd serf-1.2.1
#./Configure
# Make & make install
7. decompress the Subversion
# Tar xvf subversion-1.8.10.tar.gz
8. sqlite-amalgamation-3080700
Official website URL: http://www.sqlite.org/download.html
Decompress the package to the Subversion directory. The decompressed directory is named SQLite-amalgamation:
# Unzip sqlite-amalgamation-3080700.zip-D./subversion-1.8.10
# Mv./subversion-1.8.10/sqlite-amalgamation-3080700./subversion-1.8.10/SQLite-Amalgamation
Ii. Install Subversion
Official website URL: http://subversion.apache.org/download/
# Cd subversion-1.8.10
#./Configure -- prefix =/usr/local/subversion \
-- With-Apr =/usr/local/APR \
-- With-Apr-util =/usr/local/APR \
-- With-serf =/usr/local/serf \
-- With-OpenSSL
# Make & make install
View version information:
$ SVN -- version
SVN, version 1.8.10 (r1615264)
Compiled on Oct 23 ,19: 09: 19 in x86_64-unknown-linux-gnu
Copyright (c) 2014 the Apache Software Foundation.
This software consists of contributions made by province people;
See the notice file for more information.
Subversion is open source software, see http://subversion.apache.org/
You can use the following versions to access the module:
* Ra_svn: the module that uses the svn network protocol to access the version library. -Use Cyrus SASL for authentication
-Handle the "SVN" SOLUTION
* Ra_local: access the version library module of the local disk.
-Process the "file" SOLUTION
* Ra_serf: module for accessing a repository via WebDAV protocol using serf.
-Using serf 1.2.1
-Handling the "HTTP" Scheme
-Handling the "HTTPS" SOLUTION
3. Configure the system search path
Edit the initialization file/home/TSP/. bash_profile of the current user script and add the Subversion path after path. The result is as follows:
Path = $ path: $ home/bin:/usr/local/subversion/bin
Deploying svn1.8.10 in centos6.5