<?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>Graygift@ye &#187; Apache</title>
	<atom:link href="http://www.graygift.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.graygift.com</link>
	<description>我是孤独的根号5      </description>
	<lastBuildDate>Sun, 08 Nov 2009 02:13:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Xampp无法启动的解决方法</title>
		<link>http://www.graygift.com/wordpress/can-not-start-xampp-solution/</link>
		<comments>http://www.graygift.com/wordpress/can-not-start-xampp-solution/#comments</comments>
		<pubDate>Mon, 25 May 2009 07:59:28 +0000</pubDate>
		<dc:creator>Graygift</dc:creator>
				<category><![CDATA[knowledge]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://www.graygift.com/?p=793</guid>
		<description><![CDATA[由于要更改主题，为什么呢？因为inove出1.4了所以我也来赶时髦啊！ :grin: ，我不得不用重新安装一下xampp这个软件。怎么安装的我就不具体讲的我以前也写过！ :razz: 。 现在来关心一下啊重要... ]]></description>
			<content:encoded><![CDATA[<p>由于要更改主题，为什么呢？因为inove出1.4了所以我也来赶时髦啊！ :grin: ，我不得不用重新安装一下xampp这个软件。怎么安装的我就不具体讲的我以前也写过！ :razz: 。<br />
现在来关心一下啊重要的两个组件的启动问题apache和mysql（PS：我的xampp安装在C:\Program Files\xampp文件夹内，如安装位置不同可以把自己安装的目录替换掉查看！）<br />
（1）apache 这个软件是web服务器。启动时经常发现说80端口被占，BUSY! 所以我也不去一个个禁用80端口了，我直接把它的监听端口改为8080。OK！完事！ <img src='http://www.graygift.com/wordpress/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' />  。<br />
<span id="more-793"></span>步骤如下<br />
Xampp要修改两个地方才能启动Apache。要不然就把模块Mod_SSL给注释掉。那样就可以不用理会443端口了。<br />
我选择修改两个端口。80和443端口</p>
<blockquote><p>打开C:\Program Files\xampp\apache\conf\httpd.conf文件</p></blockquote>
<p>用记事本打开，找到“Listen   80”语句。把“80”改为“8080”；</p>
<blockquote><p>打开C:\Program Files\xampp\apache\conf\extra\httpd-ssl.conf文件</p></blockquote>
<p>用记事本打开，找到“Listen   433”语句。把“443”修改为“4433”或者关闭SSL扩展；<br />
可以在命令行下输入“netstat -nab”查看当前端口使用情况.<br />
XAMPP启动出现问题时，你也可以查看下列日志，帮助查找原因</p>
<blockquote><p>C:\Program Files\xampp\apache\error下文件；<br />
C:\Program Files\xampp\apache\logs下文件。</p></blockquote>
<p>当然你如要改虚拟目录就要到这里去改</p>
<blockquote><p>C:\Program Files\xampp\apache\conf\extra\httpd-xampp.conf这个文件。</p></blockquote>
<p>（2）mysql这个软件是数据库软件。启动时经常发现说80端口被占，BUSY!这是由于mysql要用到3306端口。老办法<br />
步骤如下<br />
开始&#8211;运行&#8211;输入cmd&#8211;输入netstat  -ano。看这几个端口是否占用，若占用，记住PID，然后在任务管理器里对于相应的PID，结束即可。没PID显示的话点击任务管理器的查看，然后点选择列，勾选PID即可。<br />
如果上面的方法不行的话。使用以下方法！  :wink:<br />
出现以下文字  “error:mysql  service not started [-1]”</p>
<blockquote><p>运行C:\Program Files\xampp\mysql\mysql_installservice.bat 弹出dos窗口后按任意键关闭<br />
然后运行C:\Program Files\xampp\mysql\mysql_uninstallservice.bat 即可，</p></blockquote>
<p>在XAMPP的控制版面可以成功启动 MySql啦，  :grin:<br />
我也不知道什么回事，太奇怪了！</p>
<ul class="related_post"><li><a href="http://www.graygift.com/wordpress/xampp-for-wordpress/" title="安装XAMPP实现Wordpress本地化">安装XAMPP实现Wordpress本地化</a></li><li><a href="http://www.graygift.com/software/sun-and-its-software/" title="Sun和它的软件">Sun和它的软件</a></li><li><a href="http://www.graygift.com/network/apache-for-windows/" title="Apache for windows">Apache for windows</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.graygift.com/wordpress/can-not-start-xampp-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache for windows</title>
		<link>http://www.graygift.com/network/apache-for-windows/</link>
		<comments>http://www.graygift.com/network/apache-for-windows/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 13:18:59 +0000</pubDate>
		<dc:creator>Graygift</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.graygift.com/?p=390</guid>
		<description><![CDATA[安装完整的Apach... ]]></description>
			<content:encoded><![CDATA[<p>以前我用xampp装了简易的Apache，现在来安装完整的Apache。</p>
<p>Apache 起初由伊利诺伊大学香槟分校的国家超级电脑应用中心（NCSA）开发。此後，Apache Httpd被开放源代码团体的成员不断的发展和加强。Apache Http网站服务器拥有牢靠可信的美誉，已经在全球超过半数的网站中被使用－特别是几乎所有最热门和访问量最大的网站。比方说，维基百科网站服务器就是使用Apache的。<br />
<span id="more-390"></span>刚开始发展时，Apache只是Netscape网页服务器（现在是Sun ONE）之外的开放源代码选择之一。慢慢地，它开始在功能和速度超越其他基于Unix的HTTP服务器。到了Apache 2.x的时代，实际效率又比Apache 1.x更快，2.x比1.x能同时服务更多的网页连线数。<br />
1996年4月以来，Apache一直是Internet上最流行的HTTP服务器：1999年5月它在57%的网页服务器上运行，到了2005年7月这个比例上升到了69%。在2005年11月最风光的时候达到接近70％的市占率，不过在部份拥有大量域名的主机域名商转换为微软IIS平台后，Apache市占率近年来呈现些微下滑。同时搜寻引擎巨擘Google自己的网页服务器平台GWS推出后(也可说是一种修改版的Apache[2])，再加上nginx、Lighttpd等轻量化网页服务器软件在市场上有一些能见度，这些因素都反应在整体网页服务器市占率的消长，Apache的市占率就随之滑落。根据在2009年2月的最新统计数据，Apache的市占率已经降为49.41％，IIS降为34％，GWS 8.39％，nginx 2.95％。尽管如此，Apache仍旧是当前互联网市场上，市占率最高的网页服务器软件。</p>
<p>安装过程：</p>
<p>1、下载apache软件<br />
通过官方网站 <a href="http://www.apache.org ">http://www.apache.org </a>下载，或<br />
通过搜索引擎搜索”apache”后下载，注意：需下载windows版本。<br />
2、获取本机ip地址<br />
在dos模式下运行ipconfig命令，记录本机ip地址。</p>
<p>虚拟机可以直接自己设置IP地址</p>
<p><a href="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/0.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-full wp-image-391" title="设置IP" src="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/0.jpg" alt="设置IP" width="402" height="441" /></a><br />
3、安装apache，访问服务器<br />
1）运行安装程序。<br />
2）输入服务器信息<br />
Network Domain 和 Server Name 输入本机ip地址，输入管理员email。</p>
<p><a href="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/13.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-full wp-image-392" title="apache安装设置" src="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/13.jpg" alt="apache安装设置" width="504" height="380" /></a></p>
<p>3）选择典型安装。<br />
4）安装完毕，apache自动运行。电脑右下角出现如下图标</p>
<p><a href="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/21.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-full wp-image-393" title="apache图标" src="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/21.jpg" alt="apache图标" width="148" height="46" /></a><br />
5）访问本机服务器。在浏览器中输入 <a href="http://localhost/"> http://localhost/ </a>或http://xx.xx.xx.xx(xx.xx.xx.xx为本机ip地址），,出现如下页面，说明服务器安装成功。</p>
<p><a href="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/32.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-full wp-image-394" title="验证启动" src="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/32.jpg" alt="验证启动" width="361" height="114" /></a></p>
<p>4、创建网页<br />
1）运行Microsoft Word，建立一个新的文件。<br />
2）随意输入文件内容。<br />
3）保存文件，选择文件类型为”网页”，文件名为”index.html”,保存路径为”c:Program FilesApache GroupApache2htdocs”，如安装在其他盘或目录相应修改，index.html文件必须被保存在安装目录的”..Apache2htdocs”下。<br />
4）在浏览器中输入http://localhost/，出现新的页面。<br />
5）远程访问。在其他计算机运行浏览器，键入http://xx.xx.xx.xx(xx.xx.xx.xx为需访问的计算机ip地址），即可访问网页内容。</p>
<ul class="related_post"><li><a href="http://www.graygift.com/diary/over-the-tomato-garden/" title="番茄花园OVER了">番茄花园OVER了</a></li><li><a href="http://www.graygift.com/diary/vista-run%e7%ba%a2%e8%ad%a62/" title="vista下运行红警2！">vista下运行红警2！</a></li><li><a href="http://www.graygift.com/it/the-official-version-of-windows-7-rtm/" title="Windows 7 RTM正式版">Windows 7 RTM正式版</a></li><li><a href="http://www.graygift.com/windows/windows-system-version/" title="windows 系统版本">windows 系统版本</a></li><li><a href="http://www.graygift.com/it/dell-customers-can-upgrade-to-windows7/" title="戴尔客户可以升级到Windows7">戴尔客户可以升级到Windows7</a></li><li><a href="http://www.graygift.com/software/windows-live-writer-to-support-the-label/" title="Windows Live Writer 支持标签">Windows Live Writer 支持标签</a></li><li><a href="http://www.graygift.com/software/windows-live-writer-offline-blog-publishing-software/" title="Windows Live Writer 离线博客发布软件">Windows Live Writer 离线博客发布软件</a></li><li><a href="http://www.graygift.com/wordpress/can-not-start-xampp-solution/" title="Xampp无法启动的解决方法">Xampp无法启动的解决方法</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.graygift.com/network/apache-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>安装XAMPP实现WordPress本地化</title>
		<link>http://www.graygift.com/wordpress/xampp-for-wordpress/</link>
		<comments>http://www.graygift.com/wordpress/xampp-for-wordpress/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 13:54:51 +0000</pubDate>
		<dc:creator>Graygift</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://www.graygift.com/?p=353</guid>
		<description><![CDATA[安装使用wordpress需要在linux系统下装上Apache 服务器+MySQL+PHP。使用linux的我想现在不会很多吧，ubuntu，redhat等等的市场占有量实在太少了，象在虚拟机上安装也太麻烦了，ubuntu不能装，redhat不支... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/32.jpg" class="highslide-image" onclick="return hs.expand(this);"></a> 安装使用wordpress需要在linux系统下装上Apache 服务器+MySQL+PHP。使用linux的我想现在不会很多吧，ubuntu，redhat等等的市场占有量实在太少了，象在虚拟机上安装也太麻烦了，ubuntu不能装，redhat不支持托进文件，要很麻烦建立SMB服务器。<br />
许多人用自己的经验从认识到安装 Apache 服务器是件不容易的事儿。如果您想添加 MySQL、PHP ，那就更难了。<br />
XAMPP 是一个易于安装且包含 MySQL、PHP 和 Perl 的 Apache 发行版。XAMPP 的确非常容易安装和使用：只需下载，解压缩，启动即可。<br />
本文介绍如何通过XAMPP软件来实现博客本地化。用来进行wordpress博客的设计优化。<br />
<span id="more-353"></span>步骤一：下载安装XAMPP<br />
XAMPP的下载地址不少，您可以到喜欢的网站下载或者Google百度一下，又或者直接通过XAMPP官方网站(<a href="http://sourceforge.net/project/showfiles.php?group_id=61776">http://sourceforge.net/project/showfiles.php?group_id=61776</a>)下载。只要下载到合适您的操作系统的XAMPP就行了。<br />
步骤二：打开XAMPP<br />
打开XAMPP，并且“Start”Apache和MySql这两项，如下图：<br />
<a href="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/1111.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-full wp-image-356" title="xampp界面" src="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/1111.jpg" alt="xampp界面" width="443" height="351" /></a><br />
步骤三：在XAMPP上建立数据库<br />
在您的浏览器地址栏输入https://127.0.0.1或者https://localhost，然后点击phpMyAdmin，创建一个数据库，如下图：<br />
<a href="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/222.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-full wp-image-355" title="建立数据库" src="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/222.jpg" alt="建立数据库" width="471" height="132" /></a>步骤四：把wordpress整个文件夹放到“xampphtdocs”目录里面<br />
WordPress的路径是xampphtdocswordpress，不要是别的。<br />
步骤五：设置wp-config.php文件<br />
这个步骤可以拆分为以下三步：<br />
1. 打开wp-config-sample.php；（最好用专业的代码软件，其他的可能写入代码错误！）<br />
2. 填入数据库名称，如图：<br />
<a href="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/4444.jpg" class="highslide-image" onclick="return hs.expand(this);"></a><a href="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/44442.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-full wp-image-363" title="wordpress数据库设置" src="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/44442.jpg" alt="wordpress数据库设置" width="429" height="303" /></a> MySql数据库用户名为root 密码为空（注：不是空格！）<br />
3. 保存然后把wp-config-sample.php重命名为wp-config.php，或者把上面修改的文件另存为wp-config.php。<br />
步骤六：安装WordPress。<br />
在浏览器地址栏上输入https://localhost/wordpress/或者https://127.0.0.1/wordpress/，输入博客名称和邮箱地址，点击安装。<br />
<a href="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/321.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-full wp-image-364" title="设置博客名" src="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/321.jpg" alt="设置博客名" width="481" height="123" /></a><a href="http://www.graygift.com/wordpress/wp-content/uploads/2009/03/32.jpg" class="highslide-image" onclick="return hs.expand(this);"></a><br />
成功啦！使用您的用户名和密码就可以登录WordPress的控制面板了，也就可以放心地随意地测试您的主题和插件了。如果您要对您的博客进行主题或者插件的修改，除非您有100%的把握，否则，建议您先在本地调试好之后再到您的虚拟主机上的博客修改。我就是见了一个win2003的虚拟机上来测试我的博客，在上面安装了Firefox，ie6，Opera，傲游。<br />
最后，当您不使用XAMPP的时候，请记得“Stop”Apache和MySql这两项，并且点击Exit退出XAMPP。</p>
<ul class="related_post"><li><a href="http://www.graygift.com/wordpress/can-not-start-xampp-solution/" title="Xampp无法启动的解决方法">Xampp无法启动的解决方法</a></li><li><a href="http://www.graygift.com/wordpress/wordpress-theme-navigation-bar-of-the-drop-down-list/" title="wordpress 主题之下拉列表导航栏">wordpress 主题之下拉列表导航栏</a></li><li><a href="http://www.graygift.com/wordpress/wordpress-themes-to-change-the-hyperlink-style/" title="wordpress 主题之更改超级链接样式">wordpress 主题之更改超级链接样式</a></li><li><a href="http://www.graygift.com/wordpress/comments-add-a-few-floors-wordpress-message-number/" title="WordPress 评论添加楼层数(留言编号)">WordPress 评论添加楼层数(留言编号)</a></li><li><a href="http://www.graygift.com/wordpress/wordpress-separately-trackbacks-pingbacks-list-and-comments/" title="WordPress中分开Trackbacks/Pingbacks 和评论列表">WordPress中分开Trackbacks/Pingbacks 和评论列表</a></li><li><a href="http://www.graygift.com/wordpress/wordpress-blog-to-show-the-current-time/" title="给wordpress博客显示当前时间">给wordpress博客显示当前时间</a></li><li><a href="http://www.graygift.com/wordpress/wordpress-theme-related-articles-code/" title="wordpress主题&ndash;相关文章代码">wordpress主题&ndash;相关文章代码</a></li><li><a href="http://www.graygift.com/wordpress/wordpress-theme-random-article-code/" title="wordpress主题&ndash;随机文章代码">wordpress主题&ndash;随机文章代码</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.graygift.com/wordpress/xampp-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

