让4热 发表于 2014-4-25 11:28:58

CentOS 5.4 +apache 2.4.2 编译安装SVN服务器 neon (含所需软件包)

服务端下载http://subversion.apache.org/download/
客户端下载http://tortoisesvn.net/downloads.html
tar zxvf svn_install.tar.gz -C /home/soft/
其中svn_install.tar.gz 包含以下软件包:
apr-1.4.6.tar.gz
zxvf apr-util-1.4.1.tar.gz
pcre-8.12.tar.gz
httpd-2.4.2.tar.gz
sqlite-amalgamation-3071300.zip
neon-0.29.6.tar.gz
subversion-1.7.5.tar.gz
所需软件包 svn_install.tar.gz百度云盘下载地址: http://pan.baidu.com/s/1bneTDpX
svn需要SQLite支持,下载sqlite-amalgamation-3071300.zip 下载链接http://www.sqlite.org/download.html
svn需要neon,用于svn 命令行支持http或者https协议访问svn 下载链接http://www.webdav.org/neon/
   1yum install gcc gcc-cc+
   2yum install gcc gcc-c++
   3ll
   4yum remove apr-util-devel apr apr-util-mysql apr-docs apr-devel apr-util apr-util-docs
   5yum -y install lrzsz zlib zlib-devellibxml2 libxml2-devel expat
   6rz
   7ll
   8tar zxvf svn_install.tar.gz -C /home/soft
   9mkdir -pv /home/soft
10ll
11tar zxvf svn_install.tar.gz -C /home/soft
12cd /home/soft/
13ll
14ll
15mv svn_install/*.
16ll
17tar zxvf apr-1.4.6.tar.gz
18cd apr-1.4.6
19ll
20sed -i 's/^.*$RM "$cfgfile"$/# $RM "$cfgfile"/' configure
21./buildconf
22yum install autoconf
23yum install libtool
24./configure --prefix=/usr/local/apr
25make && make install
26cd ..
27tar zxvf apr-util-1.4.1.tar.gz
28cd apr-util-1.4.1
29ll
30./configure--prefix=/usr/local/apr--with-apr=/usr/local/apr
31make && make install
32cd ..
33ll
34tar zxvf pcre-8.12.tar.gz
35cd pcre-8.12
36ll
37./configure
38make && make install
39history
40cd ..
41ll
42tar zxvf httpd-2.4.2.tar.gz
43cd httpd-2.4.2
44ll
45./configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/bin/apr-1-config--with-apr-util=/usr/local/apr/bin/apu-1-config --enable-so --enable-dav--enable-dav-fs --enable-dav-lock--enable-maintainer-mode --enable-rewrite
46make && make install
47history
48cd ,,
49cd ..
50tar zxvf neon-0.29.6.tar.gz
51cd neon-0.29.6
52./configure
53make && make install
54history
55cd ..
56unzip sqlite-amalgamation-3071300.zip
57tar zxvf subversion-1.7.5.tar.gz
58mkdir -p /home/soft/subversion-1.7.5/sqlite-amalgamation
59cp sqlite-amalgamation-3071300/sqlite3.c/home/soft/subversion-1.7.5/sqlite-amalgamation/
60cd subversion-1.7.5
61./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apr/bin/apr-1-config--with-apr-util=/usr/local/apr/bin/apu-1-config --with-ssl --with-zlib--enable-maintainer-mode --with-neon=/usr/local

make && make install

页: [1]
查看完整版本: CentOS 5.4 +apache 2.4.2 编译安装SVN服务器 neon (含所需软件包)