介绍 |
该工具主要用于在Linux SVN服务器中使用,如果要服务器支持http方式需要在安装svn前安装serf,非常的便捷,需要的朋友赶快来下载吧。
安装步骤: 本文只基于《LAMP一键安装包》之后进行 1. 安装apr、apr-unit cd /root/lamp/source #wget #LAMP中已经下载 #wget tar xzf apr-1.4.8.tar.gz cd apr-1.4.8 ./configure --prefix=/usr/local/apache make && make install cd ../ tar xzf apr-util-1.5.2.tar.gz cd apr-util-1.5.2 ./configure --prefix=/usr/local/apache make && make install cd ../ 2. 安装serf-1.2.1 yum -y install expat-devel wget #serf-1.2.1.zip是win版有问题 tar xjf serf-1.2.1.tar.bz2 cd serf-1.2.1 ./configure --prefix=/usr/local/serf --with-apr=/usr/local/apache --with-apr-util=/usr/local/apache make && make install cd .. 3. 安装svn tar xzf subversion-1.8.1.tar.gz cd subversion-1.8.1 ./get-deps.sh ./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache/bin/apxs \ --with-apr=/usr/local/apache --with-apr-util=/usr/local/apache --with-zlib \ --with-openssl --enable-maintainer-mode --with-serf=/usr/local/serf --enable-mod-activation make && make install cd .. 4. 检查是否安装成功 安装成功会在/usr/local/apache/conf/httpd.conf自己加入下面2行 LoadModule dav_svn_module /usr/local/subversion/libexec/mod_dav_svn.so LoadModule authz_svn_module /usr/local/subversion/libexec/mod_authz_svn.so
|