快速业务通道

linux 下subversion安装

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-19
linux 下subversion安装 系统环境: centos5
内核:2.6.18-8.el5
apache:2.2.8
www(W@NeiWang0401) 下载软件包:
apache: wget http://apache.mirror.phpchina.com/httpd/httpd-2.2.6.tar.bz2
berkeley-db: wget http://download.oracle.com/berkeley-db/db-4.6.21.tar.gz
subversion: wget http://subversion.tigris.org/downloads/subversion-1.4.5.tar.bz2 一、安装apache
a. tar zxf httpd-2.2.8.tar.gz
b.安装apr apr-util
# cd srclib/apr
#./configure --prefix=/usr/local/apr
# make
# make install # cd apr-util/
#./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/
# make
# make install
c.安装apache
#./configure --prefix=/usr/local/apache2 --enable-module=so --enable-mods-shared=all --enable-cache --enable-file-cache --enable-mem-cache --enable-disk-cache --enable-static-support --enable-static-htpasswd --enable-static-htdigest --enable-static-rotatelogs --enable-static-logresolve --enable-static-htdbm --enable-static-ab --enable-static-checkgid --with-mpm=worker --enable-ssl --enable-deflate --with-included-apr --enable-so --enable-rewrite --enable-proxy=share --enable-proxy-ajp=share --enable-dav=share --enable-dav-fs --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/
#make
#make install (测试一下apache是否安装成功)
二、安装php 下载 ming-0.4.0.beta4.tar.gz
wget http://downloads.sourceforge.net/ming/ming-0.4.0.beta4.tar.gz?modtime=1174994374&big_mirror=0
# tar zxf ming-0.4.0.beta4.tar.gz
# cd ming-0.4.0.beta4
# ./configure
# make
# make install # tar zxf php-5.2.5.tar.gz
# cd ming-0.4.0.beta4/php_ext/
# cp * /home/web/php-5.2.5/ext/ming/ (出现是否让覆盖的提示是选择否就ok了)

# cd php-5.2.5
# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --prefix=/usr/local/php --enable-track-var --with-dom --enable-wddx --with-zlib --enable-bcmath --with-bz2 --enable-calendar --with-curl --with-curlwrappers --enable-exif --enable-ftp --with-gettext --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-soap --enable-sockets --with-iconv --enable-xslt --with-xslt-ablot=/usr/local/sablot/lib --enable-mbstring=all --enable-mbstr-enc-trans --enable-mbregex --with-pdo --with-pdo-mysql --with-pdo-sqlite --with-pdo-pqsql --with-xmlrpc --with-config-file-path=/etc --with-openssl --with-libxml-dir=/usr/include/libxml2/libxml --enable-memory-limit --enable-static --enable-maintainer-zts --enable-zend-multibyte --enable-inline-optimization --enable-zend-multibyte --with-expat-dir --with-xsl --with-gd --with-jpeg-dir --with-zlib-dir --with-png-dir --with-freetype-dir --with-ttf --enable-fastcgi --enable-force-cgi-redirect --disable-cli --enable-cal --with-kerberos --with-ming
Empire CMS,phome.net

# make
# make install # cp php.ini-dist /etc/php.ini
在apache配置文件中添加下面内容
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
测试apache和php的整合情况 三、安装subversion
a. # tar jxf subversion-1.4.5.tar.bz2
b. # cd subversion-1.4.5
c. # ./configure --prefix

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号