Install and deploy SVN 1.8.10 in CentOS 6.5
Environment: CentOS 6.5
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
Subversion configuration instances in Linux
CentOS 6.2 SVN setup (YUM installation)
Deploy Apache + SVN in CentOS 6.5
Build an SVN server using Apache + SVN
Set up and use the SVN server in Windows + reset the password on the client
Install SVN in Ubuntu Server 12.04 and migrate Virtual SVN data
Build svn service and migration method on Ubuntu Server
Build SVN server with online storage