<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; LAMP</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/lamp/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux下apache虚拟主机配置多版本php同时运行</title>
		<link>https://www.osyunwei.com/archives/10174.html</link>
		<comments>https://www.osyunwei.com/archives/10174.html#comments</comments>
		<pubDate>Mon, 01 Jul 2019 05:16:31 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=10174</guid>
		<description><![CDATA[学习本教程须掌握： 1、Linux下指定版本编译安装LAMP https://www.osyunwei.com/archives/9224.html 2、Linux下Apache虚拟主机配置 https://www.osyunwei.com/archives/9232.html 3、CentOS 7.x编译安装Nginx1.10.3+MySQL5.7.16+PHP5.2 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3多版本全能环境 https://www.osyunwei.com/archives/10057.html 安装约定： Apache版本：2.2 Apache安装路径：/usr/local/apache Apache虚拟主机配置文件：/usr/local/apache/conf/vhost php版本：支持php5.2到最新的php7.3 php安装路径：/usr/local/php56      /usr/local/php73 开始配置： 1、安装Apache的mod_fcgid模块   #mod_fcgid模块可以实现Apache下多版本php同时运行 cd  /usr/local/src wget   https://mirrors.tuna.tsinghua.edu.cn/apache/httpd/mod_fcgid/mod_fcgid-2.3.9.tar.gz   #下载 tar -zxvf mod_fcgid-2.3.9.tar.gz cd mod_fcgid-2.3.9 APXS=/usr/local/apache/bin/apxs      ./configure.apxs make make install 2、修改apache配置文件 cp  /usr/local/apache/conf/httpd.conf   /usr/local/apache/conf/httpd.conf-bak   #备份 vi  /usr/local/apache/conf/httpd.conf   #编辑 #在Group apache下面一行添加如下代码，如果配置文件有就不用重复添加。 LoadModule fcgid_module modules/mod_fcgid.so [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/10174.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/10174.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下指定版本编译安装LAMP</title>
		<link>https://www.osyunwei.com/archives/9224.html</link>
		<comments>https://www.osyunwei.com/archives/9224.html#comments</comments>
		<pubDate>Mon, 24 Aug 2015 08:41:29 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=9224</guid>
		<description><![CDATA[说明： 操作系统：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 ACCEPT -A INPUT -p icmp -j ACCEPT [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/9224.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/9224.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 5.11安装配置LAMP服务器(Apache+PHP5+MySQL)</title>
		<link>https://www.osyunwei.com/archives/8880.html</link>
		<comments>https://www.osyunwei.com/archives/8880.html#comments</comments>
		<pubDate>Tue, 16 Dec 2014 06:28:01 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=8880</guid>
		<description><![CDATA[准备篇： CentOS 5.x系统安装配置图解教程 http://www.osyunwei.com/archives/7002.html 1、配置防火墙，开启80端口、3306端口 vi /etc/sysconfig/iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT :wq! #保存退出 添加好规则后的防火墙配置文件如下图所示： /etc/init.d/iptables restart #重启防火墙使配置生效 2、关闭SELINUX vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/8880.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/8880.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 6.6安装配置LAMP服务器(Apache+PHP5+MySQL)</title>
		<link>https://www.osyunwei.com/archives/8415.html</link>
		<comments>https://www.osyunwei.com/archives/8415.html#comments</comments>
		<pubDate>Sat, 01 Nov 2014 04:23:00 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[CentOS]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=8415</guid>
		<description><![CDATA[准备篇： CentOS 6.6系统安装配置图解教程 http://www.osyunwei.com/archives/8398.html 1、配置防火墙，开启80端口、3306端口 vi /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT :wq! #保存退出 添加好规则后的防火墙配置文件如下图所示： /etc/init.d/iptables restart #重启防火墙使配置生效 2、关闭SELINUX vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 SELINUX配置文件如下图所示： 系统运维 www.osyunwei.com [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/8415.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/8415.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 7.0安装配置LAMP服务器(Apache+PHP+MariaDB)</title>
		<link>https://www.osyunwei.com/archives/7882.html</link>
		<comments>https://www.osyunwei.com/archives/7882.html#comments</comments>
		<pubDate>Tue, 08 Jul 2014 03:13:10 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[CentOS 7]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=7882</guid>
		<description><![CDATA[准备篇： CentOS 7.0系统安装配置图解教程 http://www.osyunwei.com/archives/7829.html 一、配置防火墙，开启80端口、3306端口 CentOS 7.0默认使用的是firewall作为防火墙，这里改为iptables防火墙。 1、关闭firewall： systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 2、安装iptables防火墙 yum install iptables-services #安装 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 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/7882.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/7882.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RHEL 7.0安装配置LAMP服务器(Apache+PHP+MariaDB)</title>
		<link>https://www.osyunwei.com/archives/7782.html</link>
		<comments>https://www.osyunwei.com/archives/7782.html#comments</comments>
		<pubDate>Thu, 03 Jul 2014 01:42:12 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[RHEL]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[MariaDB]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=7782</guid>
		<description><![CDATA[准备篇： RHEL 7.0系统安装配置图解教程：http://www.osyunwei.com/archives/7702.html 一、使用系统镜像文件配置本地yum源 1、使用WinSCP.exe等工具上传系统镜像文件rhel-server-7.0-x86_64-dvd.iso到/usr/local/src目录 2、使用Putty.exe工具远程连接到RHEL服务器 3、挂载系统镜像文件 mkdir /media/cdrom #新建镜像文件挂载目录 cd /usr/local/src #进入系统镜像文件存放目录 ls #列出目录文件，可以看到刚刚上传的系统镜像文件 mount -t iso9660 -o loop /usr/local/src/rhel-server-7.0-x86_64-dvd.iso /media/cdrom #挂载系统镜像 cd /media/cdrom #进入挂载目录，使用ls命令可以看到已经有文件存在了 备注：umount /media/cdrom #卸载系统镜像 4、设置开机自动挂载系统镜像文件 vi /etc/fstab #添加以下代码。实现开机自动挂载 /usr/local/src/rhel-server-7.0-x86_64-dvd.iso /media/cdrom iso9660 defaults,ro,loop 0 0 :wq! #保存退出 备注：iso9660使用df -T 查看 5、配置本地yum源 cd /etc/yum.repos.d/ #进入yum配置目录 touch rhel-media.repo #建立yum配置文件 vi rhel-media.repo #编辑配置文件，添加以下内容 [rhel-media] [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/7782.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/7782.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 6.4安装配置LAMP服务器(Apache+PHP5+MySQL)</title>
		<link>https://www.osyunwei.com/archives/5884.html</link>
		<comments>https://www.osyunwei.com/archives/5884.html#comments</comments>
		<pubDate>Tue, 12 Mar 2013 12:30:47 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[CentOS]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=5884</guid>
		<description><![CDATA[准备篇： 1、配置防火墙，开启80端口、3306端口 vi /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT   #允许80端口通过防火墙 -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT   #允许3306端口通过防火墙 备注：很多网友把这两条规则添加到防火墙配置的最后一行，导致防火墙启动失败， 正确的应该是添加到默认的22端口这条规则的下面 如下所示： ############################## 添加好之后防火墙规则如下所示 ############################## # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/5884.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/5884.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>CentOS 6.3安装配置LAMP服务器(Apache+PHP5+MySQL)</title>
		<link>https://www.osyunwei.com/archives/4947.html</link>
		<comments>https://www.osyunwei.com/archives/4947.html#comments</comments>
		<pubDate>Sun, 22 Jul 2012 03:24:40 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[CentOS 6.3]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=4947</guid>
		<description><![CDATA[准备篇： 1、配置防火墙，开启80端口、3306端口    vi /etc/sysconfig/iptables    -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT   #允许80端口通过防火墙    -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT   #允许3306端口通过防火墙 备注：很多网友把这两条规则添加到防火墙配置的最后一行，导致防火墙启动失败， 正确的应该是添加到默认的22端口这条规则的下面 如下所示： 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容版权所有,转载请注明出处及原文链接 ######################################################## # Firewall configuration written by system-config-firewall # Manual customization of this [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/4947.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/4947.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CentOS 6.2编译安装Apache2.4.1+MySQL5.5.21+PHP5.3.10</title>
		<link>https://www.osyunwei.com/archives/2696.html</link>
		<comments>https://www.osyunwei.com/archives/2696.html#comments</comments>
		<pubDate>Fri, 24 Feb 2012 16:03:48 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Apache2.4.1+MySQL5.5.21+PHP5.3.10]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[CentOS编译安装lamp]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=2696</guid>
		<description><![CDATA[说明：    操作系统：CentOS 6.2 32位    系统安装教程：CentOS 6.2安装(超级详细图解教程)    http://www.osyunwei.com/archives/1537.html 准备篇： 一、配置好IP、DNS 、网关，确保使用远程连接工具能够连接服务器        CentOS 设置IP地址、网关、DNS教程：http://www.osyunwei.com/archives/423.html 二、配置防火墙，开启80端口、3306端口 vi /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT（允许80端口通过防火墙） -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT（允许3306端口通过防火墙） 特别提示：很多网友把这两条规则添加到防火墙配置的最后一行，导致防火墙启动失败，正确的应该是添加到默认的22端口这条规则的下面 添加好之后防火墙规则如下所示： 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容版权所有,转载请注明出处及原文链接 ######################################################### # Firewall [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/2696.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/2696.html/feed</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 11.10安装配置lamp（Apache+MySQL+PHP）</title>
		<link>https://www.osyunwei.com/archives/2527.html</link>
		<comments>https://www.osyunwei.com/archives/2527.html#comments</comments>
		<pubDate>Sat, 18 Feb 2012 12:08:20 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Apache+MySQL+PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu lamp]]></category>
		<category><![CDATA[Ubuntu Server]]></category>
		<category><![CDATA[Ubuntu安装配置lamp]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=2527</guid>
		<description><![CDATA[准备篇： 1、配置防火墙，开启80端口、3306端口 说明：Ubuntu默认安装是没有开启任何防火墙的，为了服务器的安全，建议大家安装启用防火墙设置，这里推荐使用iptables防火墙。 whereis iptables #查看系统是否安装防火墙 iptables: /sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz #表示已经安装iptables apt-get install iptables #如果默认没有安装，请运行此命令安装防火墙 iptables -L #查看防火墙配置信息，显示如下： 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 ##################################################### Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ##################################################### nano /etc/iptables.default.rules #添加以下内容 ################################################################################################## *filter [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/2527.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/2527.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Debian 6.0.4安装配置lamp（Apache+MySQL+PHP）</title>
		<link>https://www.osyunwei.com/archives/2372.html</link>
		<comments>https://www.osyunwei.com/archives/2372.html#comments</comments>
		<pubDate>Wed, 15 Feb 2012 08:35:48 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Apache+MySQL+PHP]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debian安装配置lamp]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=2372</guid>
		<description><![CDATA[准备篇： 1、配置防火墙，开启80端口、3306端口 说明：debian默认安装是没有开启任何防火墙的，为了服务器的安全，建议大家安装启用防火墙设置，这里推荐使用iptables防火墙。 whereis iptables   #查看系统是否安装防火墙 iptables: /sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz  #表示已经安装iptables apt-get install iptables   #如果默认没有安装，请运行此命令安装防火墙 iptables -L  #查看防火墙配置信息，显示如下： 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 ##################################################### Chain INPUT (policy ACCEPT) target     prot opt source               destination Chain FORWARD (policy ACCEPT) target     prot opt source               destination Chain OUTPUT (policy ACCEPT) target     prot opt source               destination ##################################################### nano /etc/iptables.default.rules    #添加以下内容 ################################################################################################## *filter [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/2372.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/2372.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 6.2安装配置LAMP服务器(Apache+PHP5+MySQL)</title>
		<link>https://www.osyunwei.com/archives/1566.html</link>
		<comments>https://www.osyunwei.com/archives/1566.html#comments</comments>
		<pubDate>Wed, 21 Dec 2011 05:42:51 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS 6.2]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=1566</guid>
		<description><![CDATA[准备篇： 1、配置防火墙，开启80端口、3306端口    vi /etc/sysconfig/iptables    -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT（允许80端口通过防火墙）    -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT（允许3306端口通过防火墙） 特别提示：很多网友把这两条规则添加到防火墙配置的最后一行，导致防火墙启动失败，正确的应该是添加到默认的22端口这条规则的下面 添加好之后防火墙规则如下所示： ######################################################### # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. *filter :INPUT [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/1566.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/1566.html/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>CentOS 6.1安装配置LAMP服务器(Apache+PHP5+MySQL)</title>
		<link>https://www.osyunwei.com/archives/1453.html</link>
		<comments>https://www.osyunwei.com/archives/1453.html#comments</comments>
		<pubDate>Fri, 16 Dec 2011 08:41:46 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[CentOS 6.1]]></category>
		<category><![CDATA[CentOS 安装]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=1453</guid>
		<description><![CDATA[准备篇： 1、配置防火墙，开启80端口、3306端口    vi /etc/sysconfig/iptables    -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT（允许80端口通过防火墙）    -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT（允许3306端口通过防火墙）      /etc/init.d/iptables restart  #重启防火墙使配置生效 2、关闭SELINUX    vi /etc/selinux/config    #SELINUX=enforcing       #注释掉    #SELINUXTYPE=targeted    #注释掉    SELINUX=disabled         #增加    :wq  [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/1453.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/1453.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>RHEL 6.1最小化编译安装Apache2.2.21+MySQL5.5.17+PHP5.3.8+Zend Guard</title>
		<link>https://www.osyunwei.com/archives/1079.html</link>
		<comments>https://www.osyunwei.com/archives/1079.html#comments</comments>
		<pubDate>Thu, 10 Nov 2011 08:48:26 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[RHEL 6.1]]></category>
		<category><![CDATA[编译安装]]></category>

		<guid isPermaLink="false">http://w66416.s75.chinaccnet.cn/?p=1079</guid>
		<description><![CDATA[引言：    操作系统：RHEL 6.1 32位 下载地址：请自行下载，这里提供一个下载地址，仅供参考 ed2k://&#124;file&#124;[红帽企业Linux.6.1].rhel-server-6.1-i386-dvd.iso&#124;3066486784&#124;492a4ccae7c2c52cca87196c72a4e24f&#124;h=hzsovcxap52sc2y2wfapxrratgnbpn72&#124;/ 安装方式：采用最小化安装，在安装系统的时候选择最小安装模式，不含有任何可选安装包，最小化安装完成之后，系统占用800M左右磁盘空间。  备注：操作系统的安装，这里就不演示了，如果有疑问可以参考相关教程          安装前准备： 1、配置好IP、DNS、网关，确保使用远程连接工具能够连接服务器 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 vi /etc/sysconfig/network-scripts/ifcfg-eth0  #添加以下配置信息(具体IP等信息改为你自己的) ONBOOT=yes IPADDR=192.168.1.2  #配置ip地址 NETMASK=255.255.255.0 #子网掩码 GATEWAY=192.168.1.1  #设置网关 DNS1=8.8.8.8 DNS2=8.8.4.4 service network restart  #重启网络服务 2、关闭selinux vi /etc/selinux/config 把SELINUX=enforcing SELINUXTYPE=targetede 注释掉，然后新加一行为：SELINUX=disabled 3、开启防火墙相应端口，apache需要开启80端口  MySQL需要开启3306端口    vi /etc/sysconfig/iptables    添加下面的内容    -A INPUT -m state --state NEW -m tcp -p tcp [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/1079.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/1079.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CentOS 6.0安装配置LAMP服务器(Apache+PHP5+MySQL)</title>
		<link>https://www.osyunwei.com/archives/698.html</link>
		<comments>https://www.osyunwei.com/archives/698.html#comments</comments>
		<pubDate>Wed, 02 Nov 2011 15:03:42 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[配置LAMP服务器]]></category>

		<guid isPermaLink="false">http://w66416.s75.chinaccnet.cn/?p=698</guid>
		<description><![CDATA[准备篇：   配置防火墙，开启80端口、3306端口    vi /etc/sysconfig/iptables    -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT（允许80端口通过防火墙）    -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT（允许3306端口通过防火墙）   重启防火墙使配置生效     /etc/init.d/iptables restart     service iptables restart 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 安装篇： 一、安装Apache    1、检查是否已安装Apache       rpm -qa&#124;grep httpd [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/698.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/698.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
