查看:1971|回复:0
如何对Apache v2.0.58+PHP v4.4.1+MySQL v5.0.22+Zend v2.6.0进行环境安装发表时间:2013-01-08 14:40:59

我爱java

0分享0主题0帖子

学徒一级

(初出茅庐)

rpm qa | grep apache
rpm qa | grep mysql
rpm qa | grep php

再顺便查查

rpm -qa | grep zlib
rpm -qa | grep libpng
rpm -qa | grep freetype
rpm -qa | grep jpeg
rpm -qa | grep gd

出来的结果必须有以下rpm包成功安装的前提!

[[email protected] local]# rpm -qa | grep zlib
zlib-1.1.4-8
zlib-devel-1.1.4-8

[[email protected] local]# rpm -qa | grep libpng
libpng-1.2.2-16
libpng-devel-1.2.2-20
libpng10-1.0.13-8
libpng10-devel-1.0.13-8

[[email protected] local]# rpm -qa | grep freetype
freetype-devel-2.1.3-6
freetype-2.1.3-6

[[email protected] local]# rpm -qa | grep jpeg
libjpeg-6b-26
libjpeg-devel-6b-26

[[email protected] local]# rpm -qa | grep gd
gdk-pixbuf-0.18.0-7
gdb-5.3post-0.20021129.18
gdbm-1.8.0-20
sysklogd-1.4.1-12
gdk-pixbuf-gnome-0.18.0-7
gdbm-devel-1.8.0-20
gd-1.8.4-11

要装PHPWind,需要gd支持水印
安装顺序:mysql > apache > php > zend

1,mysql

cd /usr/local
groupadd mysql
useradd -g mysql mysql
cd /usr/local
tar zxvf mysql-standard-5.0.22-linux-i686.tar.gz
ln -s mysql-VERSION-OS mysql
cd mysql
scripts/mysql_install_db
chown -R root /usr/local/mysql
chown -R mysql /usr/local/mysql/data
chgrp -R mysql /usr/local/mysql
chown -R root /usr/local/mysql/bin
bin/safe_mysqld --user=mysql &
cp support-files/mysql.server /etc/rc.d/init.d/mysqld

copy一个执行脚本

chkconfig --add mysqld
/etc/rc.d/init.d/mysqld start

安装成功的话,会有如下提示:Starting MySQL SUCCESS!

您需要登录以后才可以回帖    登录|注册