分享

subversion 1.2.3 for Redhat linux AS 4 源码包安装文档

 不会游泳的鱼 2006-06-27

subversion 1.2.3 for Redhat linux AS 4 源码包安装文档

发表 : mills
评分 : 平均评分 : 10.00 来自 1 投票数


安装环境:REDHAT AS 4
时间:2005-11-21
作者:millsguo
Blog:http://bbs./blog/mills

安装步骤:
系统默认安装包:



autoconf-2.59-5

libtool-1.5.6-4

一、下载安装APACHE2
1、下载httpd-2.0.55.tar.gz源码包
该源码包中包含APR和APR-UTIL模块,不需重新下载


#tar xvzf httd-2.0.55.tar.gz

#cd httpd-2.0.55

//安装APR和APR-UTIL

#cd srclib/apr

#./buildconf

#./configure --prefix=/usr/local/apr

#make && make install

#cd ../apr-util

#./buildconf

#./configure --prefix=/usr/local/apr --with-apr=/usr/local/apr

#make && make install

#cd ../..

#./configure --enable-dav --enable-maintainer-mode --prefix=/usr/local/apache2 --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-mpm=worker --enable-track-vars --enable-cgi --enable-modules=so --enable-rewrite

#make && make install

修改httpd.conf文件
加入


LoadModule php4_module modules/libphp4.so

LoadModule perl_module modules/mod_perl.so

 


AddType application/x-httpd-php .php .php3 .inc

AddType application/x-httpd-php-source .phps


 

 

二、PHP安装



configure --enable-pic --with-bz2 --with-png --with-freetype-dir --with-gd --enable-gd-native-ttf --with-iconv --with-jpeg-dir=/usr/lib --with-xml --with-zlib --enable-ftp --enable-sockets --with-pear=/usr/share/pear --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --enable-mbstring=all --prefix=/usr/local/php4 --enable-exif

三、安装subversion


#./configure --prefix=/usr/local/subversion --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-apxs=/usr/local/apache2/bin/apxs

#make && make install

#/usr/local/subversion/bin/svnadmin create /data/svn/root

#chown -R nobody /data/svn

在apache2的httpd.conf中加入以下代码:


<Location /svn>

        DAV svn

        SVNPath /data/svn/root

        AuthType Basic

        AuthName "CSYL Version Control System"

        AuthUserFile /data/svn/svn-auth-file

        Require valid-user

</Location>

生成密码文件


#mkdir /data/svn

#chown -R nobody /data/svn

#/usr/local/apache2/bin/htpasswd -c /data/svn/svn-auth-file mills

 

[quote]
在安装完后出现以下问题:
svn: PROPFIND request failed on ‘/svn/repository‘
svn:Could not open the requested SVN filesystem
GOOGLE了半天后,终于发现是httpd.conf中的<location>标签中的路径没设好。
<Location /svn>
    DAV svn
    SVNPath /data/svn/root
</Location>
访问方式:http://blog./svn
[/quote]








论坛链接

关于此文章的讨论在以下地址:
http://bbs./index.php?showtopic=527

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多