JOM_CH's HOME

学会包容

原创 lamp环境搭建手记收藏

新一篇: PHP多语言系统的一种实现方式

2008-3-21 -------------------------------------------------------------------- svn 编译 [root@localhost developtools]# tar -zvxf subversion-1.3.2.tar.gz [root@localhost svn]# ./configure prefix=/user/local/svn [root@localhost bin]# ./svnserve -d

2008-3-10 -------------------------------------------------------------------- gd2 图形库的安装 [root@localhost developtools]# tar -zvxf gd-2.0.35.tar.gz [root@localhost gd2]# ./configure prefix=/user/local/gd2

2008-3-7 -------------------------------------------------------------------- Linux相关配置 set hosts [root@localhost /]# vi /etc/hosts

2008-3-7 -------------------------------------------------------------------- firefox的安装 [root@localhost developtools]# tar -zvxf firefox-2.0.0.12.tar.gz [root@localhost developtools]# cd firefox [root@localhost firefox]# ./firefox

2008-3-7 -------------------------------------------------------------------- mysql环境的编译(rpm包,server&client&devel) [root@localhost developtools]# rpm -ivh MySQL-server-community-5.0.51a-0.rhel4.i386.rpm [root@localhost developtools]# rpm -ivh MySQL-client-community-5.0.51a-0.rhel4.i386.rpm [root@localhost developtools]# rpm -ivh MySQL-devel-community-5.0.51a-0.rhel4.i386.rpm

2008-3-6 -------------------------------------------------------------------- Apache环境的编译 [root@localhost home]# tar -zvxf httpd-2.2.8.tar.gz [root@localhost home]# mv httpd-2.2.8 apache [root@localhost apache]# ./configure --prefix=/usr/local/apache --enable-moudles=so --enable-rewrite [root@localhost apache]# make [root@localhost apache]# make install [root@localhost apache]# vi /usr/local/apache/conf/httpd.conf change `ServerName www.example.com:80` to `ServerName localhost:80` [root@localhost apache]# /usr/local/apache/bin/apachectl start

//加入开机自动运行 [root@localhost apache]# vi /etc/rc.d/rc.local /usr/local/apache/bin/apachectl start

//加入Apache的php支持 [root@localhost apache]# vi /usr/local/apache/conf/httpd.conf AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps

2008-3-6 -------------------------------------------------------------------- PHP环境的编译 [root@localhost php]# ./configure --prefix=/usr/local/php --enable-mbstring --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr --with-gd=/usr/local/gd2

// 示例 ./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-iconv=/usr/local --enable-mbstring --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-freetype-dir=/usr/local --with-ttf --enable-gd-native-ttf --with-zlib-dir=/usr --with-dom=/usr/local --with-mysql=/usr/local --with-ldap=/usr/local --with-curl=/usr/local

发表于 @ 2008年03月07日 20:14:00|评论(loading...)|编辑|收藏

旧一篇: DOCTYPE用法详解

评论:没有评论。

发表评论  


当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
Csdn Blog version 3.1a
Copyright © jom_ch