一.下载svn
下载地址:http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74
选择subversion-1.6.1.tar.gz 和 subversion-deps-1.6.1.tar.gz
二.安装
cd /usr/local/
tar zxvf subversion-1.6.1.tar.gz
tar zxvf subversion-deps-1.6.1.tar.gz #会自动解压到subversion-1.6.1下
cd subversion-1.6.1
按照一些网络资料的介绍,执行如下命令即可完成安装
./configure --without-berkeley-db --prefix=/usr/local/subversion
make
make install
#错误提示1#
configure: error: We require OpenSSL; try --with-openssl
解决方法:
错误提示需要安装openssl,所以我就安装了一个openssl,安装方法如下:
cd /usr/local
wget http://www.openssl.org/source/openssl-1.0.0a.tar.gz
tar -zxvf openssl-1.0.0a.tar.gz
cd openssl-1.0.0a
./config
./config -t
make depend
make
make test
make install
安装之后会在/usr/local下生成一个ssl目录
设置环境变量,在/etc/profile的PATH中增加如下内容:
PATH=/usr/local/ssl/bin:/sbin/:$PATH:/usr/sbin
export PATH
ok,错误提示1解决。
重新执行./configure --with-openssl=/usr/local/ssl #这里加上--with-openssl参数
#错误提示2#
configure: error: subversion requires zlib
解决方法:
cd /usr/local
wget http://zlib.net/zlib-1.2.5.tar.gz
tar -xvzf zlib-1.2.5.tar.gz
cd zlib-1.2.5
./configure
make
make install
cd /usr/local
ln -s zlib-1.2.5 zlib
ok,错误提示2解决。
重新执行./configure --with-openssl=/usr/local/ssl --with-zlib=/usr/local/zlib ,成功!
接着执行如下命令:
make
make install
完成后屏幕会提示
You don't seem to have Berkeley DB version 4.0.14 or newer
installed and linked to APR-UTIL. We have created Makefiles which
will build without the Berkeley DB back-end; your repositories will
use FSFS as the default back-end. You can find the latest version of
Berkeley DB here:
http://www.oracle.com/technology/software/products/berkeley-db/index.html
make && make install
ok,svn安装完成。
建立版本库
svnadmin create /work/svndata
进入/tmp目录下,然后进行checkout操作
svn co svn://192.168.1.111/svntest
查看文件log的历史记录
[root@CentOS_Test_Server svntest]# svn log test
分享到:
相关推荐
SUSE11G linuxSVN详细配置
linux上安装svn,svn信赖于zlib,openssl。
svn subversion linux suse svn subversion linux suse svn subversion linux suse
Open SUSE 11 下,安装subversion 1.8.9 client 安装前请仔细阅读 subversion-1.8.9目录中的INSTALL文件。 下面描述安装过程以及安装时遇到并解决的问题。如遇到其他类似的问题解决方法相似。
在SUSE 10sp3上试过了,没有问题
本文当是在 Suse下的安装过程 希望大家能有用处
基于SUSE Linux Enterprise Server 11.3整理好的Linux版SVN工具subversion,版本1.8.11。安装后可以将虚拟机映射到win上直接使用。
我在suse下安装subversion-1.7.6.tar.gz时,发现缺少很多包,于是一个个的把它们找齐了,并把它们放在一起方便各位使用。 subversion(简称svn)是近年来崛起的版本管理软件系统,是cvs的接班人。目前,绝大多数开源...
-ADD Support for SuSE 11.4 Linux 32/64 (With dual personality for freepascal) -ADD Support for Fedora 15 Linux 32/64 -ADD Support for Debian 6.0.2.1 Linux 32/64 -ADD Support for CentOS 6.0 Linux ...
openSUSE Hardware Compatibility List - The following pages are used by the openSUSE community to record the compatibility of various hardware and full systems with SUSE Linux. Please share your ...