CentOS5 安装 Apache MySQL PHP Zend Optimizer

系统环境:Centos 5.8

更新系统内核
yum -y update

1、安装Apahce、PHP、MySQL、PHP连接MySQL库组件;
yum -y install httpd php mysql mysql-server php-mysql
安装MySQL扩展;
yum -y install mysql-connector-odbc mysql-devel libdbi-dbd-mysql
mysqladmin -u root password ‘设置密码’; (引号内填密码)

查看mysql版本号
mysql -V

2、PHP的安装
yum -y install php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc php-mcrypt

3、安装Apache扩展
yum -y install httpd-manual mod_ssl mod_perl mod_auth_mysql

4、安装Zend Optimizer
cd /usr/local/src
wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
tar xzvf ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz

有暗转说明。。。

五、启动服务配置
/sbin/chkconfig httpd on (设置Apache为自启动)
/sbin/chkconfig –add mysqld (MySQL服务)
/sbin/chkconfig mysqld on (mysqld服务)
service httpd start (自启动httpd服务)
service mysqld start (自启动mysqld服务)

One Reply to “CentOS5 安装 Apache MySQL PHP Zend Optimizer”

Comments are closed.