II & #183; install Subversion (based on Centos7) and subversioncentos7

Source: Internet
Author: User

Ii. Install Subversion (based on Centos7) and subversioncentos7

1. Download the corresponding website at http://archive.apache.org/dist/subversion/and my operating system is centos,

So I downloaded Linux generic subversion-1.7.0.tar.gz.

 

2. Download the dependency package openssl and openssl-devel screenshots as follows:

First install openssl using yum

Select whether to install and enter y

Then install openssl-devel,

Select y to complete installation.

 

3. Create a Linux User svn

Create user svn and specify the user's main directory

Set a password for user svn

 

4. Upload the installation package to the system.

After installing the system for the first time, the sz/rz command is not found. Install

Upload all source code files to the svn user's home directory.

5. Install

(1) install expat

Go to directory expat-2.0.1

./Configure

The gcc compiler does not exist. Install it first.

Run./configure again

Make

Make install

(2-0.install neon-0.25.5.tar.gz

Tar-zxvf neon-0.25.5.tar.gz

   

 

 

 

 

Cp ../sqlite-autoconf-3070900/sqlite3.c sqlite-amalgamation/

 

./Configure -- prefix =/usr/local/subversion -- with-neon =/usr/local/neon

The following error occurs:

The error message is: If apr is not installed, run the installation.

Wget http://mirrors.cnnic.cn/apache/apr/apr-1.4.8.tar.gz and

Wget requests

The installation directories are/usr/local/apr and/usr/local/apr-util.

 

Run and install subversion again

. /Configure -- prefix =/usr/local/subversion -- with-neon =/usr/local/neon -- with-apr =/usr/local/apr -- with-apr-util = /usr/local/apr-util

 

 

 

Download: expat-2.0.1.tar.gz, neon-0.25.5.tar.gz, sqlite-autoconf-3070900.tar.gz, subversion-1.7.0.tar.gz

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.