说明:
操作系统:CentOS 6.5 64位
需求:
编译安装LAMP运行环境
各软件版本如下:
MySQL:mysql-5.1.73
Apache:httpd-2.2.31
PHP:php-5.2.17
具体操作:
准备篇
一、配置防火墙,开启80端口、3306端口
vi /etc/sysconfig/iptables #编辑防火墙配置文件
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCE...
Apache, LAMP, linux, php阅读全文