linux下svn安装
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux下svn安装相关的知识,希望对你有一定的参考价值。
一、安装apr
tar -zxvf apr-1.5.2.tar.gz
cd apr-1.5.2
./configure --prefix=/usr/local/apr
make && make install
/usr/local/apr/bin/apr-1-config --version //验证安装
二、安装apr-util
wget http://mirrors.cnnic.cn/apache/apr/apr-util-1.5.4.tar.gz
tar -zxvf apr-util-1.5.4.tar.gz
cd apr-util-1.5.4
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
make && make install
/usr/local/apr-util/bin/apu-1-config --version //验证安装
三、安装pcre
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.39.tar.gz
tar -zxvf pcre-8.39.tar.gz
cd pcre-8.39
./configure --prefix=/usr/local/pcre
make && make install
四、安装openssl及openssl-devel
wget http://www.openssl.org/source/openssl-1.1.0c.tar.gz
tar -zxvf openssl-1.1.0c.tar.gz
cd openssl-1.1.0c
./config --prefix=/usr/local/openssl
make && make install
yum install openssl-devel -y
五、安装apache
wget http://apache.dataguru.cn/httpd/httpd-2.4.23.tar.gz
tar -zxvf httpd-2.4.23.tar.gz
cd httpd-2.4.23
./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
maek && make install
六、安装zlib
tar -zxvf zlib-1.2.8.tar.gz
cd zlib-1.2.8
./configure --prefix=/usr/local/zlib
make && make install
七、安装sqlite
tar -zxvf sqlite-autoconf-3150200.tar.gz
cd sqlite-autoconf-3150200
./configure --prefix=/usr/local/sqlite
make && make install
八、安装subversion
wget http://mirrors.cnnic.cn/apache/subversion/subversion-1.8.17.tar.bz2
tar -jxvf subversion-1.8.17.tar.bz2
cd subversion-1.8.17
./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
make && make install
/opt/svn/subversion/bin/svnserve --version //验证安装
以上是关于linux下svn安装的主要内容,如果未能解决你的问题,请参考以下文章