日韩黑丝制服一区视频播放|日韩欧美人妻丝袜视频在线观看|九九影院一级蜜桃|亚洲中文在线导航|青草草视频在线观看|婷婷五月色伊人网站|日本一区二区在线|国产AV一二三四区毛片|正在播放久草视频|亚洲色图精品一区

分享

subversion 1.2.3 for Redhat linux AS 4 源碼包安裝文檔

 不會(huì)游泳的魚(yú) 2006-06-27

subversion 1.2.3 for Redhat linux AS 4 源碼包安裝文檔

發(fā)表 : mills
評(píng)分 : 平均評(píng)分 : 10.00 來(lái)自 1 投票數(shù)


安裝環(huán)境:REDHAT AS 4
時(shí)間:2005-11-21
作者:millsguo
Blog:http://bbs./blog/mills

安裝步驟:
系統(tǒng)默認(rèn)安裝包:



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]
在安裝完后出現(xiàn)以下問(wèn)題:
svn: PROPFIND request failed on ‘/svn/repository‘
svn:Could not open the requested SVN filesystem
GOOGLE了半天后,終于發(fā)現(xiàn)是httpd.conf中的<location>標(biāo)簽中的路徑?jīng)]設(shè)好。
<Location /svn>
    DAV svn
    SVNPath /data/svn/root
</Location>
訪問(wèn)方式:http://blog./svn
[/quote]








論壇鏈接

關(guān)于此文章的討論在以下地址:
http://bbs./index.php?showtopic=527

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多