码迷,mamicode.com
首页 > 系统相关 > 详细

linux下svn安装

时间:2016-12-09 20:20:38      阅读:299      评论:0      收藏:0      [点我收藏+]

标签:linux centos7 源码 svn

一、安装apr 

  1. wget http://mirror.bit.edu.cn/apache//apr/apr-1.5.2.tar.gz

  2. tar -zxvf apr-1.5.2.tar.gz

  3. cd apr-1.5.2

  4. ./configure --prefix=/usr/local/apr

  5. make && make install

  6. /usr/local/apr/bin/apr-1-config --version     //验证安装

二、安装apr-util

  1. wget http://mirrors.cnnic.cn/apache/apr/apr-util-1.5.4.tar.gz 

  2. tar -zxvf apr-util-1.5.4.tar.gz

  3. cd apr-util-1.5.4

  4. ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr

  5. make && make install

  6. /usr/local/apr-util/bin/apu-1-config --version   //验证安装

三、安装pcre

  1. ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.39.tar.gz

  2. tar -zxvf pcre-8.39.tar.gz

  3. cd pcre-8.39

  4. ./configure --prefix=/usr/local/pcre

  5. make && make install

四、安装openssl及openssl-devel

  1. wget http://www.openssl.org/source/openssl-1.1.0c.tar.gz 

  2. tar -zxvf openssl-1.1.0c.tar.gz

  3. cd openssl-1.1.0c

  4. ./config --prefix=/usr/local/openssl

  5. make && make install

  6. yum install openssl-devel -y

五、安装apache

  1. wget http://apache.dataguru.cn/httpd/httpd-2.4.23.tar.gz 

  2. tar -zxvf httpd-2.4.23.tar.gz

  3. cd httpd-2.4.23

  4. ./configure --prefix=/usr/local/apache --enable-so --enable-dav --enable-dav-fs --enable-ssl --enable-maintainer-mode --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-pcre=/usr/local/pcre --with-opanssl

  5. maek && make install

六、安装zlib

  1. wget http://zlib.net/zlib-1.2.8.tar.gz

  2. tar -zxvf zlib-1.2.8.tar.gz

  3. cd zlib-1.2.8

  4. ./configure --prefix=/usr/local/zlib

  5. make && make install

七、安装sqlite

  1.  wget http://sqlite.org/2013/sqlite-autoconf-3150200.tar.gz

  2. tar -zxvf sqlite-autoconf-3150200.tar.gz

  3. cd sqlite-autoconf-3150200

  4. ./configure --prefix=/usr/local/sqlite

  5. make && make install

八、安装subversion

  1.  wget http://mirrors.cnnic.cn/apache/subversion/subversion-1.8.17.tar.bz2

  2. tar -jxvf subversion-1.8.17.tar.bz2

  3. cd subversion-1.8.17

  4. ./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-openssl --with-zlib=/usr/local/zlib --enable-maintainer-mode --with-sqlite=/usr/local/sqlite

  5. make && make install

  6. /opt/svn/subversion/bin/svnserve --version    //验证安装



linux下svn安装

标签:linux centos7 源码 svn

原文地址:http://4476361.blog.51cto.com/4466361/1881118

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!