当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > mysql+httpd+gd+php+zend

Unix/Linux
Linux网管123---组态XWindow系统-1.使用X-Configurator
Linux网管123---安装及硬体组态-8.下载及安装RedHat更新程式
Linux网管123---安装及硬体组态-7.从LILO启动
Linux网管123---安装及硬体组态-1.建立一张安装磁片
Linux程式设计-11.ShellScript(bash)--(2)教学例
Linux程式设计-11.ShellScript(bash)--(1)简介
简单配置linux下的网络邻居samba
如何使用 Linux 系统下的编辑器系列教程(1)
如何将.tif\.rgb\.gif......的图片转换成.xpm的格式?
请问linux下如何查看打开的文件数?谢谢如bsd下面的pstat -T
Redhat 8.0运行一段时间就死机高手帮忙啊(重发)
filesystem type unknown
LINUX与UNIX SHELL编程指南 下载
LINUX应用程序开发指南 下载
各位大哥,请告诉我linux下的文件目录的颜色代表什么?
安装最新中文OpenOffice.org 1.1 RC3
关于redhat 9.0 打开进程打开最大文件数
如何在shell脚本程序中获取日期值?
关于dd命令的求助!!!
如何恢复grub?

Unix/Linux 中的 mysql+httpd+gd+php+zend


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 74 ::
收藏到网摘: n/a


mysql+httpd+gd+php+zend的安装
安装mysql
shell> groupadd mysql shell> useradd -g mysql mysql shell> cd /usr/local shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf - shell> ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql shell> cd mysql shell> scripts/mysql_install_db --user=mysql shell> chown -R root . shell> chown -R mysql data shell> chgrp -R mysql . shell> bin/mysqld_safe --user=mysql &
修改MYSQL口令mysql>set password for root@localhost=password('mabin');
修改mysql 连接权限GRANT ALL PRIVILEGES ON *.* TO [email protected] IDENTIFIED BY '1123456' WITH GRANT OPTION;
cp /etc/my.cnf /var/lib/my.cnf
安装httpdtar zxvf httpd-2.0.52.tar.gzcd httpd-2.0.52./configure --prefix=/var/server/apache --enable-module=so --enable-shared=max --enable-somakemake installcd ..
安装libjpeghttp://freeware.sgi.com/source/libjpeg/tar zxvf libjpeg-6b.tar.gzcd jpeg-6bmkdir -p /usr/man/man1./configure --enable-static --enable-shared --prefix=/usrmakemake install

安装linpnghttp://www.libpng.org/pub/png/libpng.htmltar xvf libpng-1.2.5.tarcd libpng-1.2.5cp scripts/makefile.std makefilemake make install
安装GDhttp://www.boutell.com/gd/http/tar zxvf gd-2.0.28.tar.gz cd gd-2.0.28makemake install
安装PHPtar zxvf php-4.3.9.tar.gzcd php-4.3.9./configure --with-mysql --with-apxs2=/var/server/apache/bin/apxs --with-gd --with-zlib --enable-versioning --with-jpeg-dir=/var/server --disable-debug --enable-track-varsmakemake installcp php.ini-dist /usr/local/lib/php.inicd ..
在htttpd.conf加AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .php3
加入默认首页DirectoryIndex index.php
加入默认中文AddDefaultCharset gb2312
安装zendhttp://www.zend.com/store/getfreefile.php?pid=13&zbid=816tar zxvf ZendOptimizer-2.5.5-linux-glibc21-i386.tar.gzcd ZendOptimizer-2.5.5-linux-glibc21-i386./install.sh