linux安装说明(于此不作说明)
mysql安装说明
本说明采用mysql4.0.14
shell>groupadd mysql
shell>useradd -g mysql mysql
shell>tar xvf XXXXmysql.tar.gz
shell>cd /usr/mysql
shell>ln -s /PATH-to-mysql 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 &
apache安装说明
本说明采用http2.0.54
shell>cd /usr/
shell>tar xvfz httpd-2.0.54.tar.gz
shell>cd httpd-2.0.54
shell>./configure --prefix=/usr/apache --enable-module=so
shell>make
shell>make install
shell>/usr/apache/conf
shell>vi ./httpd.conf
将Listen 80 修改为Listen :80
将ServerName 修改为ServerName :80
在DirectoryIndex中添加 index.jsp
shell>cd /usr/apache/bin/
shell>./apachectl configtest
若显示Syntax ok则表明安装成功
shell>./apachectl start
启动apache服务,访问本机80端口,查看端口是否正常
shell>./apachectl stop
php的安装说明
本安装采用版本php4.4.0
shell>tar zxvf php4.4.0.tar.gz
shell>cd php4.4.0
shell>./configure --prefix=/usr/php --with-apxs2=/usr/apache/bin/apxs --with-xml --with-mysql=/usr/mysql
shell>make
shell>make install
shell>vi /usr/apache/conf/httpd.conf
添加
AddType application/x-httpd-php .php
AddType application/x-httpd
| 对此文章发表了评论 |
