预览加载中,请您耐心等待几秒...
1/6
2/6
3/6
4/6
5/6
6/6

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

Linux下搭建SVN服务器环境(svnserve方式)环境:redhat5(apr.apr-util.zlib.subversion的压缩文件都是放在/usr/linuxsvn目录下,下面的解压命令tarzvxf解压出来的文件就直接是放在这个目录下,文件名跟压缩文件的名字是一样的)安装apr、apr-util跟zlib下载apr、apr-util与zlibapr-1.3.3.tar.gzapr-util-1.3.4.tar.gzzlib-1.2.3.tar.gzopenssl-0.9.8k.tar.gzhttpd-2.2.9.tar.bz2libxml2-2.7.3.tar.gz解压tarzvxfapr-1.3.3.tar.gztarzvxfapr-util-1.3.4.tar.gztarzvxfzlib-1.2.3.tar.gztar-jxvfhttpd-2.2.9.tar.bz2tar–zvxfopenssl-0.9.8k.tar.gztar-zxvflibxml2-2.7.3.tar.gz安装cdapr-1.3.3./configure--prefix=/usr/local/apr//装在/usr/local/apr目录下make&&makeinstallcdapr-util-1.3.4./configure--with-apr=/usr/local/apr//装在/usr/local/apr目录下Make&&makeinstallcdhttpd-2.2.9./configure--prefix=/usr/local/apache2--enable-so--enable-dav--with-apr=/usr/local/apr/bin/apr-1-config--with-apr-util=/usr/local/apr/bin/apu-1-configmake&&makeinstall/usr/local/apache2/bin/apachectlstart(启动apache)ps-ef|grepapache查看有没有启动测试打开浏览器输入http://服务器ip如果出现ItWorks!Apache安装成功如果出现这个错误Invalidcommand'AuthDigestProvider',perhapsmisspelledordefinedbyamodulenotincludedintheserverconfiguration/usr/local/apache2/conf/extra/httpd-dav.conf提示这个文件31行有问题,那么你就Vi/usr/local/apache2/conf/extra/httpd-dav.conf找到31行,把这个注释掉#AuthDigestProviderfile这样就ok了!cdopenssl-0.9.8k./config--prefix=/usr/local/ssl/makemakeinstallcdlibxml2-2.7.3viINSTALL./configure--help./configuremakemakeinstallcdopenssl-0.9.8k./config./config-tmakedependmakemaketestmakeinstallcdzlib-1.2.3./configure--prefix=/usr/local/zlib//装在/usr/local/zlib目录下make&&makeinstallcd/usr/local/src/zlib-1.2.3catINDEX(看看而已)cd/usr/local/src/ln-szlib-1.2.3cd/usr/local/cdmkdir-p/home/svnadmin/access/usersmkdir-p/home/svnadmin/access/controlmkdir-p/home/svnadmin/reposcd/home/svnadmin/cd/usr/local/apache2/bin/cd/home/svnadmin/access/rm-rfcontrolrm-rfusers/touchcontroltouchusersviusers(建立了就有用户)cd..svnadmincreate/home/svnadmin/repos/networks(建立新库)cdrepos/lscd/usr/local/apache2/conf/cphttpd.confhttpd.conf.0818vihttpd.conf(在最后加入以下东西):<Directory"/home/svnadmin">orderallow,denyallowfromall</Directory><Location/svn>D