<?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>常州SEO果冻</title>
	<atom:link href="http://www.vr188.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vr188.com</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 07:15:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>zencart 在商品详细页，随机显示一定数量的同类产品</title>
		<link>http://www.vr188.com/seo/zencart-%e5%9c%a8%e5%95%86%e5%93%81%e8%af%a6%e7%bb%86%e9%a1%b5%ef%bc%8c%e9%9a%8f%e6%9c%ba%e6%98%be%e7%a4%ba%e4%b8%80%e5%ae%9a%e6%95%b0%e9%87%8f%e7%9a%84%e5%90%8c%e7%b1%bb%e4%ba%a7%e5%93%81/</link>
		<comments>http://www.vr188.com/seo/zencart-%e5%9c%a8%e5%95%86%e5%93%81%e8%af%a6%e7%bb%86%e9%a1%b5%ef%bc%8c%e9%9a%8f%e6%9c%ba%e6%98%be%e7%a4%ba%e4%b8%80%e5%ae%9a%e6%95%b0%e9%87%8f%e7%9a%84%e5%90%8c%e7%b1%bb%e4%ba%a7%e5%93%81/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 07:15:37 +0000</pubDate>
		<dc:creator>常州SEO</dc:creator>
				<category><![CDATA[SEO探讨]]></category>

		<guid isPermaLink="false">http://www.vr188.com/?p=334</guid>
		<description><![CDATA[此模块取自lightinthebox

1, 创建一个新文件 随意命名 没重复就行 例如：tpl_product_info_similar.php
复制该文件到includes\templates\你的模板\templates\目录下
打开该文件，把以下代码复制进去并保存

&#60;div id="similar_product"&#62;
&#60;h2&#62;Related Products&#60;/h2&#62;
&#60;ul&#62;
&#60;?php

$products_id = (int)$_GET['products_id'];

$flash_page_id_con = array();
$flash_page_images_con = array();
$flash_page_price_con = array();
$flash_page_name_con = array();
$flash_page_query = "select p.products_id,p.products_image,pd.products_name from " . TABLE_PRODUCTS ." p, ". TABLE_PRODUCTS_DESCRIPTION . " pd where p.`products_id`=pd.`products_id` AND p.`products_status`='1'  AND pd.`language_id` = '" . (int)$_SESSION['languages_id'] . "' AND p.`master_categories_id` = " . zen_get_products_category_id($products_id) . " ORDER BY rand() limit 12";
$flash_page = $db-&#62;Execute($flash_page_query);
while(!$flash_page-&#62;EOF){
$flash_page_items[] = $flash_page-&#62;fields;
$flash_page_id_con[]    = $flash_page-&#62;fields['products_id'];
$flash_page_images_src = is_int(strpos($flash_page-&#62;fields['products_image'],','))? substr($flash_page-&#62;fields['products_image'],0,strpos($flash_page-&#62;fields['products_image'],',')):$flash_page-&#62;fields['products_image'];
$flash_page_images_con[]    = '"'.(zen_not_null($flash_page-&#62;fields['products_image']) ? $flash_page_images_src : PRODUCTS_IMAGE_NO_IMAGE ).'"';
$flash_page_price_con[]    = '"'.$currencies-&#62;display_price(zen_get_products_base_price($flash_page-&#62;fields['products_id']),zen_get_tax_rate($product_check-&#62;fields['products_tax_class_id'])).'"';
$flash_page_name_con[]    = '"'.zen_output_string(zen_get_products_name($flash_page-&#62;fields['products_id'])).'"';
$flash_page-&#62;MoveNext();
}

$flash_page_id = implode(",", $flash_page_id_con);
$flash_page_images = implode(",", $flash_page_images_con);
$flash_page_price = implode(",", $flash_page_price_con);
$flash_page_name = implode(",", $flash_page_name_con);
$flash_page_display_num    = $flash_page-&#62;RecordCount();
?&#62;

&#60;?php for($i = 0; $i&#60; $flash_page_display_num ; $i++){?&#62;
&#60;li id="li&#60;?php echo $i;?&#62;" style="display:block;float:left;padding-left:10px;width:22%;"&#62;
&#60;a href="&#60;?php echo zen_href_link(zen_get_info_page($flash_page_items[$i]['products_id']), 'products_id=' . $flash_page_items[$i]['products_id']);?&#62;"&#62;&#60;?php echo zen_image(DIR_WS_IMAGES . $flash_page_items[$i]['products_image'], $flash_page_items[$i]['products_name'], IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH, IMAGE_FEATURED_PRODUCTS_LISTING_HEIGHT); ?&#62;&#60;/a&#62;&#60;p style="text-align:center;"&#62;&#60;a href="&#60;?php echo zen_href_link(zen_get_info_page($flash_page_items[$i]['products_id']), 'products_id=' . $flash_page_items[$i]['products_id']);?&#62;"&#62;&#60;?php echo $flash_page_items[$i]['products_name']; ?&#62;&#60;/a&#62;&#60;br /&#62;&#60;strong id="cell_price&#60;?php echo $i?&#62;" class="red"&#62;&#60;?php echo $currencies-&#62;display_price((zen_get_products_base_price($flash_page_items[$i]['products_id']) == 0 ? zen_get_products_sample_price($flash_page_items[$i]['products_id']): zen_get_products_base_price($flash_page_items[$i]['products_id'])),zen_get_tax_rate($product_check-&#62;fields['products_tax_class_id'])); ?&#62;&#60;/strong&#62;&#60;/p&#62;
&#60;/li&#62;
&#60;?php
//print_r($flash_page_items[$i]);
}
?&#62;
&#60;/ul&#62;
&#60;/div&#62;

&#160;

&#160;

2，找到includes\templates\你的模板\templates\tpl_product_info_display.php文件
在相应的位置加上以下代码：
&#60;?php require($template-&#62;get_template_dir('你创建的文件 tpl_product_info_similar.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/你创建的文件tpl_product_info_similar.php'); ?&#62;

一般可以加到&#60;?php require($template-&#62;get_template_dir('tpl_modules_also_purchased_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_also_purchased_products.php');?&#62;

&#160;

整相关产品显示的数量:ORDER BY rand() limit 12 找到这段 12就是显示的个数

&#160;

IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH 图的宽度 自己随便设好了 ZENCART都是按比例的
IMAGE_FEATURED_PRODUCTS_LISTING_HEIGHT 图的高度

&#60;li id="li&#60;?php echo $i;?&#62;" style="display:block;float:left;padding-left:10px;width:22%;"&#62;
width:22%; 每行大概显示4个
显示2个就 50% 最好设49% 一般少一个百分点 因为考虑到IE的兼容性
显示3个 就 33%
显示5个 19% 咯
自己调试

&#160;

&#160;

这个模块可以显示商品的一般价格，我想也显示商品的折扣价，请问该怎么改呢？效果如：
Price:$500 $450

&#60;?php echo $currencies-&#62;display_price((zen_get_products_base_price($flash_page_items[$i]['products_id']) == 0 ? zen_get_products_sample_price($flash_page_items[$i]['products_id']): zen_get_products_base_price($flash_page_items[$i]['products_id'])),zen_get_tax_rate($product_check-&#62;fields['products_tax_class_id'])); ?&#62;
修改为
&#60;?php echo zen_get_products_display_price($flash_page_items[$i]['products_id']); ?&#62;

就显示Price:$500 $450了

&#160;

&#160;

&#60;?php
if($mn%3 == 0){
echo "&#60;/tr&#62;";$mn=0;
}
}
if($mn&#60;3){
$cols = 3-$mn;
echo "&#60;td colspan='".$cols."'&#62;&#60;td&#62;&#60;/tr&#62;";
}
?&#62;

3就是每行显示3个。

&#160;

&#160;

要怎样才能截取显示标题的前50个字符呢

&#60;?php echo substr($flash_page_items[$i]['products_name'],0,34); ?&#62;]]></description>
			<content:encoded><![CDATA[<p>此模块取自lightinthebox</p>
<p>1, 创建一个新文件 随意命名 没重复就行 例如：tpl_product_info_similar.php<br />
复制该文件到includes\templates\你的模板\templates\目录下<br />
打开该文件，把以下代码复制进去并保存</p>
<p>&lt;div id=”similar_product”&gt;<br />
&lt;h2&gt;Related Products&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;?php</p>
<p>$products_id = (int)$_GET['products_id'];</p>
<p>$flash_page_id_con = array();<br />
$flash_page_images_con = array();<br />
$flash_page_price_con = array();<br />
$flash_page_name_con = array();<br />
$flash_page_query = “select p.products_id,p.products_image,pd.products_name from ” . TABLE_PRODUCTS .” p, “. TABLE_PRODUCTS_DESCRIPTION . ” pd where p.`products_id`=pd.`products_id` AND p.`products_status`=&#8217;1&#8242;  AND pd.`language_id` = &#8216;” . (int)$_SESSION['languages_id'] . “&#8216; AND p.`master_categories_id` = ” . zen_get_products_category_id($products_id) . ” ORDER BY rand() limit 12&#8243;;<br />
$flash_page = $db-&gt;Execute($flash_page_query);<br />
while(!$flash_page-&gt;EOF){<br />
$flash_page_items[] = $flash_page-&gt;fields;<br />
$flash_page_id_con[]    = $flash_page-&gt;fields['products_id'];<br />
$flash_page_images_src = is_int(strpos($flash_page-&gt;fields['products_image'],&#8217;,'))? substr($flash_page-&gt;fields['products_image'],0,strpos($flash_page-&gt;fields['products_image'],&#8217;,')):$flash_page-&gt;fields['products_image'];<br />
$flash_page_images_con[]    = &#8216;”&#8216;.(zen_not_null($flash_page-&gt;fields['products_image']) ? $flash_page_images_src : PRODUCTS_IMAGE_NO_IMAGE ).&#8217;”&#8216;;<br />
$flash_page_price_con[]    = &#8216;”&#8216;.$currencies-&gt;display_price(zen_get_products_base_price($flash_page-&gt;fields['products_id']),zen_get_tax_rate($product_check-&gt;fields['products_tax_class_id'])).&#8217;”&#8216;;<br />
$flash_page_name_con[]    = &#8216;”&#8216;.zen_output_string(zen_get_products_name($flash_page-&gt;fields['products_id'])).&#8217;”&#8216;;<br />
$flash_page-&gt;MoveNext();<br />
}</p>
<p>$flash_page_id = implode(“,”, $flash_page_id_con);<br />
$flash_page_images = implode(“,”, $flash_page_images_con);<br />
$flash_page_price = implode(“,”, $flash_page_price_con);<br />
$flash_page_name = implode(“,”, $flash_page_name_con);<br />
$flash_page_display_num    = $flash_page-&gt;RecordCount();<br />
?&gt;</p>
<p>&lt;?php for($i = 0; $i&lt; $flash_page_display_num ; $i++){?&gt;<br />
&lt;li id=”li&lt;?php echo $i;?&gt;” style=”display:block;float:left;padding-left:10px;width:22%;”&gt;<br />
&lt;a href=”&lt;?php echo zen_href_link(zen_get_info_page($flash_page_items[$i]['products_id']), &#8216;products_id=&#8217; . $flash_page_items[$i]['products_id']);?&gt;”&gt;&lt;?php echo zen_image(DIR_WS_IMAGES . $flash_page_items[$i]['products_image'], $flash_page_items[$i]['products_name'], IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH, IMAGE_FEATURED_PRODUCTS_LISTING_HEIGHT); ?&gt;&lt;/a&gt;&lt;p style=”text-align:center;”&gt;&lt;a href=”&lt;?php echo zen_href_link(zen_get_info_page($flash_page_items[$i]['products_id']), &#8216;products_id=&#8217; . $flash_page_items[$i]['products_id']);?&gt;”&gt;&lt;?php echo $flash_page_items[$i]['products_name']; ?&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong id=”cell_price&lt;?php echo $i?&gt;” class=”red”&gt;&lt;?php echo $currencies-&gt;display_price((zen_get_products_base_price($flash_page_items[$i]['products_id']) == 0 ? zen_get_products_sample_price($flash_page_items[$i]['products_id']): zen_get_products_base_price($flash_page_items[$i]['products_id'])),zen_get_tax_rate($product_check-&gt;fields['products_tax_class_id'])); ?&gt;&lt;/strong&gt;&lt;/p&gt;<br />
&lt;/li&gt;<br />
&lt;?php<br />
//print_r($flash_page_items[$i]);<br />
}<br />
?&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>2，找到includes\templates\你的模板\templates\tpl_product_info_display.php文件<br />
在相应的位置加上以下代码：<br />
&lt;?php require($template-&gt;get_template_dir(&#8216;你创建的文件 tpl_product_info_similar.php&#8217;,DIR_WS_TEMPLATE, $current_page_base,&#8217;templates&#8217;). &#8216;/你创建的文件tpl_product_info_similar.php&#8217;); ?&gt;</p>
<p>一般可以加到&lt;?php require($template-&gt;get_template_dir(&#8216;tpl_modules_also_purchased_products.php&#8217;, DIR_WS_TEMPLATE, $current_page_base,&#8217;templates&#8217;). &#8216;/&#8217; . &#8216;tpl_modules_also_purchased_products.php&#8217;);?&gt;</p>
<p>&nbsp;</p>
<p>整相关产品显示的数量:ORDER BY rand() limit 12 找到这段 12就是显示的个数</p>
<p>&nbsp;</p>
<p>IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH 图的宽度 自己随便设好了 ZENCART都是按比例的<br />
IMAGE_FEATURED_PRODUCTS_LISTING_HEIGHT 图的高度</p>
<p>&lt;li id=”li&lt;?php echo $i;?&gt;” style=”display:block;float:left;padding-left:10px;width:22%;”&gt;<br />
width:22%; 每行大概显示4个<br />
显示2个就 50% 最好设49% 一般少一个百分点 因为考虑到IE的兼容性<br />
显示3个 就 33%<br />
显示5个 19% 咯<br />
自己调试</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>这个模块可以显示商品的一般价格，我想也显示商品的折扣价，请问该怎么改呢？效果如：<br />
Price:$500 $450</p>
<p>&lt;?php echo $currencies-&gt;display_price((zen_get_products_base_price($flash_page_items[$i]['products_id']) == 0 ? zen_get_products_sample_price($flash_page_items[$i]['products_id']): zen_get_products_base_price($flash_page_items[$i]['products_id'])),zen_get_tax_rate($product_check-&gt;fields['products_tax_class_id'])); ?&gt;<br />
修改为<br />
&lt;?php echo zen_get_products_display_price($flash_page_items[$i]['products_id']); ?&gt;</p>
<p>就显示Price:$500 $450了</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&lt;?php<br />
if($mn%3 == 0){<br />
echo “&lt;/tr&gt;”;$mn=0;<br />
}<br />
}<br />
if($mn&lt;3){<br />
$cols = 3-$mn;<br />
echo “&lt;td colspan=&#8217;”.$cols.”&#8216;&gt;&lt;td&gt;&lt;/tr&gt;”;<br />
}<br />
?&gt;</p>
<p>3就是每行显示3个。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>要怎样才能截取显示标题的前50个字符呢</p>
<p>&lt;?php echo substr($flash_page_items[$i]['products_name'],0,34); ?&gt;</p>
<h2  class="related_post_title">随机日志</h2><ul class="related_post"><li>2011 年 12 月 22 日 -- <a href="http://www.vr188.com/seo/magento-%e4%bf%ae%e6%94%b9%e6%89%80%e6%9c%89%e5%95%86%e5%93%81%e7%9a%84%e4%bb%b7%e6%a0%bc%e4%b8%ba%e5%8e%9f%e6%9d%a5%e7%9a%841-2%e5%80%8d%e7%a4%ba%e4%be%8b/" title="magento &#8212; 修改所有商品的价格为原来的1.2倍示例">magento &#8212; 修改所有商品的价格为原来的1.2倍示例</a> (0)</li><li>2011 年 12 月 22 日 -- <a href="http://www.vr188.com/seo/magento%e5%b8%b8%e7%94%a8%e6%8f%92%e4%bb%b6%e6%95%b4%e7%90%86%e6%94%b6%e9%9b%86/" title="Magento常用插件整理收集 ">Magento常用插件整理收集 </a> (0)</li><li>2012 年 1 月 11 日 -- <a href="http://www.vr188.com/seo/how-to-make-your-site-pr5-in-31-days/" title="How to make your site PR5 in 31 days">How to make your site PR5 in 31 days</a> (0)</li><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/replica/seo%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e4%bb%80%e4%b9%88/" title="SEO需要掌握什么 ">SEO需要掌握什么 </a> (1)</li><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/share/google%e6%83%a9%e7%bd%9agoogle-penalty-checker10%e6%ad%a5%e5%88%86%e6%9e%90/" title="google惩罚(Google Penalty Checker)10步分析">google惩罚(Google Penalty Checker)10步分析</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.vr188.com/seo/zencart-%e5%9c%a8%e5%95%86%e5%93%81%e8%af%a6%e7%bb%86%e9%a1%b5%ef%bc%8c%e9%9a%8f%e6%9c%ba%e6%98%be%e7%a4%ba%e4%b8%80%e5%ae%9a%e6%95%b0%e9%87%8f%e7%9a%84%e5%90%8c%e7%b1%bb%e4%ba%a7%e5%93%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用Virtualmin/Webmin管理虚拟主机</title>
		<link>http://www.vr188.com/seo/%e4%bd%bf%e7%94%a8virtualminwebmin%e7%ae%a1%e7%90%86%e8%99%9a%e6%8b%9f%e4%b8%bb%e6%9c%ba/</link>
		<comments>http://www.vr188.com/seo/%e4%bd%bf%e7%94%a8virtualminwebmin%e7%ae%a1%e7%90%86%e8%99%9a%e6%8b%9f%e4%b8%bb%e6%9c%ba/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 01:13:17 +0000</pubDate>
		<dc:creator>常州SEO</dc:creator>
				<category><![CDATA[SEO探讨]]></category>

		<guid isPermaLink="false">http://www.vr188.com/?p=332</guid>
		<description><![CDATA[<p id="ctrlfssummary">核心提示：Virtualmin是基于Webmin(功能强大的基于Web的Unix系统开源管理工具)的功能强大以及灵活性强的一个虚拟主机控制面板，适用于Linux和UNIX操作系统。Virtualmin功能全面，界面友好。能管理邮箱，数据库，应用程序，甚至整个服务器。 下面的所有操作是在CentOS 5.5中进行。</p>
<strong>Virtualmin简介</strong>

Virtualmin是基于Webmin(功能强大的基于Web的Unix系统开源管理工具)的功能强大以及灵活性强的一个虚拟主机控制面板，适用于Linux和UNIX操作系统。Virtualmin功能全面，界面友好。能管理邮箱，数据库，应用程序，甚至整个服务器。 <!--more-->下面的所有操作是在CentOS 5.5中进行。

<strong>安装Virtualmin</strong>

1、以root登录SSH，下载install.sh脚本。
<table width="95%" border="0" cellspacing="0" cellpadding="6" align="center">
<tbody>
<tr>
<td bgcolor="#ddedfb">wget http://software.virtualmin.com/gpl/scripts/install.sh</td>
</tr>
</tbody>
</table>
2、执行脚本安装Virtualmin
<table width="95%" border="0" cellspacing="0" cellpadding="6" align="center">
<tbody>
<tr>
<td bgcolor="#ddedfb">chmod +x install.sh ./install.sh</td>
</tr>
</tbody>
</table>
安装成功后，你可以使用https://ip:10000或者https://你的域名:10000（注意是用https的），用户名是root，密码是root的密码。

更详细的安装过程请查看：<a href="/Webbiz/Exp/021215T152011.html" target="_blank">如何安装Virtualmin/Webmin在centos5上</a>

3、设定界面语言为简体中文。 设置方法如下图：
<p align="center"><img title="setlanguage" src="http://upload.chinaz.com/upimg/allimg/110315/1611470.jpg" alt="" /></p>
<p align="center"><img title="setlanguage2" src="http://upload.chinaz.com/upimg/allimg/110315/1611471.jpg" alt="" /></p>
之后点击Change Language，刷新页面就设置成功了。

<strong>针对小内存VPS的优化</strong>

默认安装的Virtualmin是以最大性能模式配置的，而不是针对小内存VPS。对于小内存VPS,按照如下设置能适当减少内存占用量。

1、减少Apache内存使用

依次点击Webmin-&#62;服务器-&#62;Apache服务器,在右侧切换到Global configuration-&#62;进程和限度，设备最大空闲服务器进程数为“3”,最小空闲服务器进程数为“2”，初始服务器进程数为“3”，这些参数你也可以根据自己的内存相应地调整。
<p align="center"><img title="config-apache1" src="http://upload.chinaz.com/upimg/allimg/110315/1611472.jpg" alt="" /></p>
2、关闭不必要的服务

你可以到System Information-&#62;Status来选择关闭自己不需要的服务，这样能有效减少内存使用。
<p align="center"><img title="reduce-service" src="http://upload.chinaz.com/upimg/allimg/110315/1611474.jpg" alt="" /></p>
3、优化MySQL

Webmin-&#62;服务器-&#62;MySQL数据库服务器,在全局选项中点击MySQL Server Configuration。按照下图进行设置。
<p align="center"><img title="setmysql" src="http://upload.chinaz.com/upimg/allimg/110315/1611475.jpg" alt="" /></p>
当然你也可以直接编辑文件/etc/my.cnf，MySQL总的占用内存参考方程是：key_buffer_size+(read_buffer_size+sort_buffer_size)*max_connections=Total Memory。

<strong>创建虚拟主机</strong>

Virtalmin-&#62;Creat Virtual Server，填入域名（包含www），设置管理员密码，在已启用功能中，选择此虚拟主机需要启动的服务。如图：
<p align="center"><img title="creathosting" src="http://upload.chinaz.com/upimg/allimg/110315/1611476.jpg" alt="" /></p>
<strong>添加FTP用户</strong>

Virtualmin-&#62;编辑邮件和FTP用户，点击“添加一个网站FTP用户”，如图设置：
<p align="center"><img title="addftp" src="http://upload.chinaz.com/upimg/allimg/110315/1611477.jpg" alt="" /></p>
<p align="left"><strong>管理数据库</strong></p>
Virtualmin-&#62;编辑数据库，如图，你可以新建数据库，可以管理数据库，还能修改数据库密码等的操作。
<p align="center"><img title="editmysql" src="http://upload.chinaz.com/upimg/allimg/110315/1611478.jpg" alt="" /></p>
<strong>备份与还原数据</strong>

Virtualmin-&#62;备份和恢复，有三个选项Scheduled Backups(即定时备份)，备份虚拟服务器（手动备份），Backup Logs(备份日志)，恢复备份。手动备份截图：
<p align="center"><img title="backup" src="http://upload.chinaz.com/upimg/allimg/110315/1611479.jpg" alt="" width="916" height="679" /></p>
<strong>添加和绑定IP地址</strong>

购买IP之后，找到IP的相关信息。如添加IP为192.168.1.2,子网掩码是255.255.255.255。

1、配置IP Webmin-&#62;网络-&#62;网络配置-&#62;增加接口，如图：
<p align="center"><img title="addip1" src="http://upload.chinaz.com/upimg/allimg/110315/16114710.jpg" alt="" /></p>
&#160;

&#160;

2、添加IP到Virtualmin的共享IP列表。

Virtualmin-&#62;Addresses and Networking-&#62;共享的IP地址，填入需要增加的IP，并保存。
<p align="center"><img title="addip2" src="http://upload.chinaz.com/upimg/allimg/110315/16114711.jpg" alt="" /></p>
3、绑定IP到域名

Virtualmin-&#62;服务器配置-&#62;修改IP地址，在Shared address的下拉菜单选择192.168.1.2。
<p align="center"><img title="addip3" src="http://upload.chinaz.com/upimg/allimg/110315/16114712.jpg" alt="" /></p>
<p align="left"><strong>在线解压缩文件</strong></p>
Webmin-&#62;其它-&#62;文件管理器,进入文件管理器，选择需要解压的文件，点击Extract解压。

<strong>重启apache，重启vps或服务器</strong>

1、重启apache
<p align="center"><img title="restart1" src="http://upload.chinaz.com/upimg/allimg/110315/16114713.jpg" alt="" /></p>
2、重启vps或服务器

Webmin-&#62;系统-&#62;引导和关机，点击重新启动系统按钮。
<p align="center"><img title="restart2" src="http://upload.chinaz.com/upimg/allimg/110315/16114714.jpg" alt="" /></p>
<strong>卸载virtualmin/webmin</strong>

如果你觉得这控制面板不好用，除了重装系统之外，Virtualmin自带了一个卸载程序。 sh install.sh --uninstall 关于如何使用Virtualmin的教程就写到这里了，Virtualmin强大的功能还需要你自己挖掘。

&#160;

&#160;

&#160;]]></description>
			<content:encoded><![CDATA[<p id="ctrlfssummary">核心提示：Virtualmin是基于Webmin(功能强大的基于Web的Unix系统开源管理工具)的功能强大以及灵活性强的一个虚拟主机控制面板，适用于Linux和UNIX操作系统。Virtualmin功能全面，界面友好。能管理邮箱，数据库，应用程序，甚至整个服务器。 下面的所有操作是在CentOS 5.5中进行。</p>
<p><strong>Virtualmin简介</strong></p>
<p>Virtualmin是基于Webmin(功能强大的基于Web的Unix系统开源管理工具)的功能强大以及灵活性强的一个虚拟主机控制面板，适用于Linux和UNIX操作系统。Virtualmin功能全面，界面友好。能管理邮箱，数据库，应用程序，甚至整个服务器。 <span id="more-332"></span>下面的所有操作是在CentOS 5.5中进行。</p>
<p><strong>安装Virtualmin</strong></p>
<p>1、以root登录SSH，下载install.sh脚本。</p>
<table width="95%" border="0" cellspacing="0" cellpadding="6" align="center">
<tbody>
<tr>
<td bgcolor="#ddedfb">wget http://software.virtualmin.com/gpl/scripts/install.sh</td>
</tr>
</tbody>
</table>
<p>2、执行脚本安装Virtualmin</p>
<table width="95%" border="0" cellspacing="0" cellpadding="6" align="center">
<tbody>
<tr>
<td bgcolor="#ddedfb">chmod +x install.sh ./install.sh</td>
</tr>
</tbody>
</table>
<p>安装成功后，你可以使用https://ip:10000或者https://你的域名:10000（注意是用https的），用户名是root，密码是root的密码。</p>
<p>更详细的安装过程请查看：<a href="/Webbiz/Exp/021215T152011.html" target="_blank">如何安装Virtualmin/Webmin在centos5上</a></p>
<p>3、设定界面语言为简体中文。 设置方法如下图：</p>
<p align="center"><img title="setlanguage" src="http://upload.chinaz.com/upimg/allimg/110315/1611470.jpg" alt="1611470 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p align="center"><img title="setlanguage2" src="http://upload.chinaz.com/upimg/allimg/110315/1611471.jpg" alt="1611471 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p>之后点击Change Language，刷新页面就设置成功了。</p>
<p><strong>针对小内存VPS的优化</strong></p>
<p>默认安装的Virtualmin是以最大性能模式配置的，而不是针对小内存VPS。对于小内存VPS,按照如下设置能适当减少内存占用量。</p>
<p>1、减少Apache内存使用</p>
<p>依次点击Webmin-&gt;服务器-&gt;Apache服务器,在右侧切换到Global configuration-&gt;进程和限度，设备最大空闲服务器进程数为“3”,最小空闲服务器进程数为“2”，初始服务器进程数为“3”，这些参数你也可以根据自己的内存相应地调整。</p>
<p align="center"><img title="config-apache1" src="http://upload.chinaz.com/upimg/allimg/110315/1611472.jpg" alt="1611472 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p>2、关闭不必要的服务</p>
<p>你可以到System Information-&gt;Status来选择关闭自己不需要的服务，这样能有效减少内存使用。</p>
<p align="center"><img title="reduce-service" src="http://upload.chinaz.com/upimg/allimg/110315/1611474.jpg" alt="1611474 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p>3、优化MySQL</p>
<p>Webmin-&gt;服务器-&gt;MySQL数据库服务器,在全局选项中点击MySQL Server Configuration。按照下图进行设置。</p>
<p align="center"><img title="setmysql" src="http://upload.chinaz.com/upimg/allimg/110315/1611475.jpg" alt="1611475 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p>当然你也可以直接编辑文件/etc/my.cnf，MySQL总的占用内存参考方程是：key_buffer_size+(read_buffer_size+sort_buffer_size)*max_connections=Total Memory。</p>
<p><strong>创建虚拟主机</strong></p>
<p>Virtalmin-&gt;Creat Virtual Server，填入域名（包含www），设置管理员密码，在已启用功能中，选择此虚拟主机需要启动的服务。如图：</p>
<p align="center"><img title="creathosting" src="http://upload.chinaz.com/upimg/allimg/110315/1611476.jpg" alt="1611476 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p><strong>添加FTP用户</strong></p>
<p>Virtualmin-&gt;编辑邮件和FTP用户，点击“添加一个网站FTP用户”，如图设置：</p>
<p align="center"><img title="addftp" src="http://upload.chinaz.com/upimg/allimg/110315/1611477.jpg" alt="1611477 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p align="left"><strong>管理数据库</strong></p>
<p>Virtualmin-&gt;编辑数据库，如图，你可以新建数据库，可以管理数据库，还能修改数据库密码等的操作。</p>
<p align="center"><img title="editmysql" src="http://upload.chinaz.com/upimg/allimg/110315/1611478.jpg" alt="1611478 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p><strong>备份与还原数据</strong></p>
<p>Virtualmin-&gt;备份和恢复，有三个选项Scheduled Backups(即定时备份)，备份虚拟服务器（手动备份），Backup Logs(备份日志)，恢复备份。手动备份截图：</p>
<p align="center"><img title="backup" src="http://upload.chinaz.com/upimg/allimg/110315/1611479.jpg" alt="1611479 使用Virtualmin/Webmin管理虚拟主机" width="916" height="679" /></p>
<p><strong>添加和绑定IP地址</strong></p>
<p>购买IP之后，找到IP的相关信息。如添加IP为192.168.1.2,子网掩码是255.255.255.255。</p>
<p>1、配置IP Webmin-&gt;网络-&gt;网络配置-&gt;增加接口，如图：</p>
<p align="center"><img title="addip1" src="http://upload.chinaz.com/upimg/allimg/110315/16114710.jpg" alt="16114710 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>2、添加IP到Virtualmin的共享IP列表。</p>
<p>Virtualmin-&gt;Addresses and Networking-&gt;共享的IP地址，填入需要增加的IP，并保存。</p>
<p align="center"><img title="addip2" src="http://upload.chinaz.com/upimg/allimg/110315/16114711.jpg" alt="16114711 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p>3、绑定IP到域名</p>
<p>Virtualmin-&gt;服务器配置-&gt;修改IP地址，在Shared address的下拉菜单选择192.168.1.2。</p>
<p align="center"><img title="addip3" src="http://upload.chinaz.com/upimg/allimg/110315/16114712.jpg" alt="16114712 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p align="left"><strong>在线解压缩文件</strong></p>
<p>Webmin-&gt;其它-&gt;文件管理器,进入文件管理器，选择需要解压的文件，点击Extract解压。</p>
<p><strong>重启apache，重启vps或服务器</strong></p>
<p>1、重启apache</p>
<p align="center"><img title="restart1" src="http://upload.chinaz.com/upimg/allimg/110315/16114713.jpg" alt="16114713 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p>2、重启vps或服务器</p>
<p>Webmin-&gt;系统-&gt;引导和关机，点击重新启动系统按钮。</p>
<p align="center"><img title="restart2" src="http://upload.chinaz.com/upimg/allimg/110315/16114714.jpg" alt="16114714 使用Virtualmin/Webmin管理虚拟主机"  /></p>
<p><strong>卸载virtualmin/webmin</strong></p>
<p>如果你觉得这控制面板不好用，除了重装系统之外，Virtualmin自带了一个卸载程序。 sh install.sh &#8211;uninstall 关于如何使用Virtualmin的教程就写到这里了，Virtualmin强大的功能还需要你自己挖掘。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2  class="related_post_title">随机日志</h2><ul class="related_post"><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/replica/seo%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e4%bb%80%e4%b9%88/" title="SEO需要掌握什么 ">SEO需要掌握什么 </a> (1)</li><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/share/%e8%b0%b7%e6%ad%8c%e5%af%b9%e7%9b%ae%e5%bd%95%e5%92%8c%e5%ad%90%e5%9f%9f%e5%90%8d%e9%87%8d%e5%ae%9a%e5%90%91%e7%9a%84%e8%a7%84%e8%8c%83/" title="谷歌对目录和子域名重定向的规范">谷歌对目录和子域名重定向的规范</a> (0)</li><li>2011 年 8 月 19 日 -- <a href="http://www.vr188.com/seo/%e5%a4%96%e8%b4%b8seo%e5%b7%a5%e5%85%b7senuke-x%e4%b8%ad%e6%96%87%e7%89%88%e5%9b%be%e6%96%87%e6%95%99%e7%a8%8b-%e4%b8%80%e8%b5%b7%e5%ad%a6%e4%b9%a0senukex/" title="外贸seo工具senuke x中文版图文教程 一起学习SenukeX">外贸seo工具senuke x中文版图文教程 一起学习SenukeX</a> (0)</li><li>2011 年 8 月 27 日 -- <a href="http://www.vr188.com/seo/%e6%b5%b7%e8%b4%b8%e4%bc%9a%e7%bb%8f%e5%85%b8%e9%9b%86%e7%b2%b9%ef%bc%88%e4%ba%8c%ef%bc%89/" title="海贸会经典集粹（二）">海贸会经典集粹（二）</a> (3)</li><li>2011 年 12 月 27 日 -- <a href="http://www.vr188.com/seo/%e7%ae%80%e5%8d%955%e6%ad%a5%e6%90%9e%e5%ae%9amagento%e4%ba%a7%e5%93%81%e4%b8%8d%e5%9c%a8%e5%89%8d%e5%8f%b0%e6%98%be%e7%a4%ba%e7%9a%84%e9%9a%be%e9%a2%98/" title="简单5步搞定magento产品不在前台显示的难题">简单5步搞定magento产品不在前台显示的难题</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.vr188.com/seo/%e4%bd%bf%e7%94%a8virtualminwebmin%e7%ae%a1%e7%90%86%e8%99%9a%e6%8b%9f%e4%b8%bb%e6%9c%ba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPS上安装virtualmin/webmin并升级php版本到5.2.11</title>
		<link>http://www.vr188.com/seo/vps%e4%b8%8a%e5%ae%89%e8%a3%85virtualminwebmin%e5%b9%b6%e5%8d%87%e7%ba%a7php%e7%89%88%e6%9c%ac%e5%88%b05-2-11/</link>
		<comments>http://www.vr188.com/seo/vps%e4%b8%8a%e5%ae%89%e8%a3%85virtualminwebmin%e5%b9%b6%e5%8d%87%e7%ba%a7php%e7%89%88%e6%9c%ac%e5%88%b05-2-11/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 15:11:01 +0000</pubDate>
		<dc:creator>常州SEO</dc:creator>
				<category><![CDATA[SEO探讨]]></category>

		<guid isPermaLink="false">http://www.vr188.com/?p=329</guid>
		<description><![CDATA[Linux 的web控制面板有不少，常用的有cPanel、DirectAdmin、Virtualmin/Webmin、Kloxo这几种，cP和DA是收费的，而且价格不便宜，不过有些vps商会送DA面板，比如ECVPS；当然大部分还是没有DA面板送的，所以喜欢控制面板来管理网站的朋友就要选择 Virtualmin/Webmin或者Kloxo了，Kloxo使用的朋友很多，但是我个人推荐用Virtual/Webmin，因为Virtual /Webmin在使用上非常好上手，功能该有的都有了，给一个代购的朋友安装了Virtual/Webmin，他使用后觉得十分满意！现在就来看看安装 Virtual/Webmin并升级PHP版本的详细步骤吧(以Centos5.4为例)：一、首先我们到手的vps，一般默认会安装有apache，为了后面的正常安装我们要卸载掉apache然后再安装Virtual/Webmin，执行以下命令即可完成所有的安装步骤： yum -y remove httpd yum -y install file yum -y install patch yum -y update wget http://www.CTOHome.com/linux-vps-pack/virtualmin.sh;sh ./virtualmin.sh; 命令执行完毕后，在安装Zend的过程中需要设置一下参数的，只需要一直回车就可以了，到最后是重启apache，然后会返回到SSH的命令行界面，并且会给出Virtual/Webmin的登录信息，一般都是： https://ip地址:10000 用户:root 密码:root帐号的密码 至此， Virtual/Webmin已经顺利安装完成! 二、登录Virtual/Webmin并且优化一下，将不需要的功能去掉 三、关键步骤，升级PHP版本，从5.1.6升级到5.2.11 升级的原因，因为某些程序推荐PHP版本为5.2，虽然5.1版本也不影响功能，但是部分程序运行不了，例如新版本的phpmyadmin就要求PHP版本最低是5.2以上，因此建议大家升级吧，升级的步骤比较简单，如下所述： rpm --import http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andywget -P /etc/yum.repos.d/ http://repo.webtatic.com/yum/webtatic.repo yum --enablerepo=webtatic --exclude=php*5.3* list php yum --enablerepo=webtatic --exclude=php*5.3* update -y php]]></description>
			<content:encoded><![CDATA[<p>Linux 的web控制面板有不少，常用的有cPanel、DirectAdmin、Virtualmin/Webmin、Kloxo这几种，cP和DA是收费的，而且价格不便宜，不过有些vps商会送DA面板，比如ECVPS；当然大部分还是没有DA面板送的，所以喜欢控制面板来管理网站的朋友就要选择 Virtualmin/Webmin或者Kloxo了，Kloxo使用的朋友很多，但是我个人推荐用Virtual/Webmin，因为Virtual /Webmin在使用上非常好上手，功能该有的都有了，给一个代购的朋友安装了Virtual/Webmin，他使用后觉得十分满意！现在就来看看安装 Virtual/Webmin并升级PHP版本的详细步骤吧(以Centos5.4为例)：一、首先我们到手的vps，一般默认会安装有apache，为了后面的正常安装我们要卸载掉apache然后再安装Virtual/Webmin，执行以下命令即可完成所有的安装步骤： yum -y remove httpd yum -y install file yum -y install patch yum -y update wget http://www.CTOHome.com/linux-vps-pack/virtualmin.sh;sh ./virtualmin.sh; 命令执行完毕后，在安装Zend的过程中需要设置一下参数的，只需要一直回车就可以了，到最后是重启apache，然后会返回到SSH的命令行界面，并且会给出Virtual/Webmin的登录信息，一般都是： https://ip地址:10000 用户:root 密码:root帐号的密码 至此， Virtual/Webmin已经顺利安装完成! 二、登录Virtual/Webmin并且优化一下，将不需要的功能去掉 三、关键步骤，升级PHP版本，从5.1.6升级到5.2.11 升级的原因，因为某些程序推荐PHP版本为5.2，虽然5.1版本也不影响功能，但是部分程序运行不了，例如新版本的phpmyadmin就要求PHP版本最低是5.2以上，因此建议大家升级吧，升级的步骤比较简单，如下所述： rpm &#8211;import http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andywget -P /etc/yum.repos.d/ http://repo.webtatic.com/yum/webtatic.repo yum &#8211;enablerepo=webtatic &#8211;exclude=php*5.3* list php yum &#8211;enablerepo=webtatic &#8211;exclude=php*5.3* update -y php</p>
<h2  class="related_post_title">随机日志</h2><ul class="related_post"><li>2012 年 1 月 9 日 -- <a href="http://www.vr188.com/seo/%e5%a6%82%e4%bd%95%e5%9c%a8magento%e9%a1%b5%e9%9d%a2%e5%b7%a6%e8%be%b9%e5%a2%9e%e5%8a%a0%e5%88%86%e7%b1%bb%e8%8f%9c%e5%8d%95/" title="如何在Magento页面左边增加分类菜单">如何在Magento页面左边增加分类菜单</a> (0)</li><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/share/%e8%b0%b7%e6%ad%8c%e5%af%b9%e7%9b%ae%e5%bd%95%e5%92%8c%e5%ad%90%e5%9f%9f%e5%90%8d%e9%87%8d%e5%ae%9a%e5%90%91%e7%9a%84%e8%a7%84%e8%8c%83/" title="谷歌对目录和子域名重定向的规范">谷歌对目录和子域名重定向的规范</a> (0)</li><li>2011 年 12 月 22 日 -- <a href="http://www.vr188.com/seo/magento-%e4%bf%ae%e6%94%b9%e6%89%80%e6%9c%89%e5%95%86%e5%93%81%e7%9a%84%e4%bb%b7%e6%a0%bc%e4%b8%ba%e5%8e%9f%e6%9d%a5%e7%9a%841-2%e5%80%8d%e7%a4%ba%e4%be%8b/" title="magento &#8212; 修改所有商品的价格为原来的1.2倍示例">magento &#8212; 修改所有商品的价格为原来的1.2倍示例</a> (0)</li><li>2011 年 11 月 1 日 -- <a href="http://www.vr188.com/share/%e5%a4%96%e8%b4%b8prestashop%e7%bd%91%e7%ab%99%e5%86%85%e9%83%a8seo%e4%bc%98%e5%8c%96%e8%ae%be%e7%bd%ae%e5%bf%83%e5%be%97%e5%88%86%e4%ba%ab/" title="外贸prestashop网站内部seo优化设置心得分享">外贸prestashop网站内部seo优化设置心得分享</a> (2)</li><li>2011 年 8 月 22 日 -- <a href="http://www.vr188.com/seo/8%e4%b8%aaprestashop%e5%ae%89%e8%a3%85%e5%b8%b8%e8%a7%81%e9%97%ae%e9%a2%98%e5%8f%8a%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/" title="8个Prestashop安装常见问题及解决方法">8个Prestashop安装常见问题及解决方法</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.vr188.com/seo/vps%e4%b8%8a%e5%ae%89%e8%a3%85virtualminwebmin%e5%b9%b6%e5%8d%87%e7%ba%a7php%e7%89%88%e6%9c%ac%e5%88%b05-2-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux vps安装Virtualmin/Webmin面板</title>
		<link>http://www.vr188.com/seo/linux-vps%e5%ae%89%e8%a3%85virtualminwebmin%e9%9d%a2%e6%9d%bf/</link>
		<comments>http://www.vr188.com/seo/linux-vps%e5%ae%89%e8%a3%85virtualminwebmin%e9%9d%a2%e6%9d%bf/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 15:10:28 +0000</pubDate>
		<dc:creator>常州SEO</dc:creator>
				<category><![CDATA[SEO探讨]]></category>

		<guid isPermaLink="false">http://www.vr188.com/?p=327</guid>
		<description><![CDATA[虽然Virtualmin/Webmin面板对于新手来说比较复杂，不太适合，但是它比较稳定，在国外口碑比较好。适合懂得ssh并有linux管理经验的人使用。本脚本，推荐使用 centos 5 32位/64位 一行命令安装virtualmin面板： wget http://www.CTOHome.com/linux-vps-pack/virtualmin.sh;sh ./virtualmin.sh; 安装的最后，会自动安装zend optimizer,一路回车即可。完成后，进入 https://your-ip:10000/ ，用户名root，密码就是root密码。 好消息：安装webmin/virtualmin后，只占用70M-100M的内存。 上面的命令，还作了什么事情吗？ 安装了webmin + virtualmin 安装了rar文件解压软件 安装了zend optimizer软件（国内很多php程序都需要它） 安装了unrar解压软件，方便国内大部分人喜欢用rar压缩文件的习惯。 修改时区为中国上海时区，方便国外vps客户就不用另外设置了。 修改了apache默认的编码UTF-8为OFF，使得gbk简体中文默认不乱码 减少了apache的启动进程，降低内存消耗 mysql数据库禁用了skip-innodb 和 skip-bdb，降低内存消耗（如果需要，请在my.cnf注释掉即可） 停止了mailman等90%的网站不需要的域名邮局，dns等服务，降低内存消耗 将系统里的软件库自动升级到最新稳定版本 安装了最新的virtualmin中文语言包（不断完善中） webmin 初始化设置： 进入 https://your-ip:10000/ ，用户名root，密码就是root密码，一路next，记得设置好mysql的root密码！然后：webmin初始化/设置成中文界面 节约内存等资源，关闭webmin的send email，BIND DNS服务 网页乱码，webmin如何修改apache的默认编码UTF-8改成OFF？ 网站无法写入文件，无法写入数据库！webmin如何取消磁盘限额？ 完工，可以开网站了！如何使用webmin添加域名/增加网站/FTP/Mysql 写给懂SSH的站长： php配置文件php.ini 在哪里？ /etc/php.ini apache配置文件 httpd.conf 在哪里？ /etc/httpd/conf/httpd.conf ，注意此conf文件还包含了 /etc/httpd/conf.d/ 目录里面的所有conf文件 mysql配置文件my.cnf在哪里？ /etc/my.cnf 提醒：尽量不需要手工去修改这些文件，在webmin面板里面都可以修改他们。 什么是Virtualmin？ Virtualmin是一个基于Webmin的虚拟主机管理模块。在自己的虚拟机上安装了Virtualmin，发现他的功能十分强大。个人感觉不比商业化的虚拟主机管理工具如DirectAdmin差。Virtualmin提供了完美的中文支持。 Virtualmin默认使用如下组件： Apache, BIND, Postfix ,MySQL ,ProFTPD 支持那些操作系统？ The systems currently supported by install.sh are: CentOS 4 and 5 on i386 and x86_64 Debian 4.0 and 5.0 on i386 and amd64 Ubuntu 8.04 LTS on i386 and amd64 Virtualmin和webmin有什么区别和关系？ webmin是一个可运行于Linux/freebsd的web界面的主机管理系统，本身自带以及有人贡献了不少模块。而virtualmin则是它的一个虚拟主机管理模块]]></description>
			<content:encoded><![CDATA[<p>虽然Virtualmin/Webmin面板对于新手来说比较复杂，不太适合，但是它比较稳定，在国外口碑比较好。适合懂得ssh并有linux管理经验的人使用。本脚本，推荐使用 centos 5 32位/64位 一行命令安装virtualmin面板： wget http://www.CTOHome.com/linux-vps-pack/virtualmin.sh;sh ./virtualmin.sh; 安装的最后，会自动安装zend optimizer,一路回车即可。完成后，进入 https://your-ip:10000/ ，用户名root，密码就是root密码。 好消息：安装webmin/virtualmin后，只占用70M-100M的内存。 上面的命令，还作了什么事情吗？ 安装了webmin + virtualmin 安装了rar文件解压软件 安装了zend optimizer软件（国内很多php程序都需要它） 安装了unrar解压软件，方便国内大部分人喜欢用rar压缩文件的习惯。 修改时区为中国上海时区，方便国外vps客户就不用另外设置了。 修改了apache默认的编码UTF-8为OFF，使得gbk简体中文默认不乱码 减少了apache的启动进程，降低内存消耗 mysql数据库禁用了skip-innodb 和 skip-bdb，降低内存消耗（如果需要，请在my.cnf注释掉即可） 停止了mailman等90%的网站不需要的域名邮局，dns等服务，降低内存消耗 将系统里的软件库自动升级到最新稳定版本 安装了最新的virtualmin中文语言包（不断完善中） webmin 初始化设置： 进入 https://your-ip:10000/ ，用户名root，密码就是root密码，一路next，记得设置好mysql的root密码！然后：webmin初始化/设置成中文界面 节约内存等资源，关闭webmin的send email，BIND DNS服务 网页乱码，webmin如何修改apache的默认编码UTF-8改成OFF？ 网站无法写入文件，无法写入数据库！webmin如何取消磁盘限额？ 完工，可以开网站了！如何使用webmin添加域名/增加网站/FTP/Mysql 写给懂SSH的站长： php配置文件php.ini 在哪里？ /etc/php.ini apache配置文件 httpd.conf 在哪里？ /etc/httpd/conf/httpd.conf ，注意此conf文件还包含了 /etc/httpd/conf.d/ 目录里面的所有conf文件 mysql配置文件my.cnf在哪里？ /etc/my.cnf 提醒：尽量不需要手工去修改这些文件，在webmin面板里面都可以修改他们。 什么是Virtualmin？ Virtualmin是一个基于Webmin的虚拟主机管理模块。在自己的虚拟机上安装了Virtualmin，发现他的功能十分强大。个人感觉不比商业化的虚拟主机管理工具如DirectAdmin差。Virtualmin提供了完美的中文支持。 Virtualmin默认使用如下组件： Apache, BIND, Postfix ,MySQL ,ProFTPD 支持那些操作系统？ The systems currently supported by install.sh are: CentOS 4 and 5 on i386 and x86_64 Debian 4.0 and 5.0 on i386 and amd64 Ubuntu 8.04 LTS on i386 and amd64 Virtualmin和webmin有什么区别和关系？ webmin是一个可运行于Linux/freebsd的web界面的主机管理系统，本身自带以及有人贡献了不少模块。而virtualmin则是它的一个虚拟主机管理模块</p>
<h2  class="related_post_title">随机日志</h2><ul class="related_post"><li>2011 年 12 月 27 日 -- <a href="http://www.vr188.com/seo/%e4%b8%8d%e5%be%97%e4%b8%8d%e7%9f%a5%e7%9a%8410%e4%b8%aa%e5%85%8d%e8%b4%b9%e5%bc%ba%e5%a4%a7%e7%9a%84magento%e6%8f%92%e4%bb%b6/" title="不得不知的10个免费强大的Magento插件">不得不知的10个免费强大的Magento插件</a> (0)</li><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/seo/%e7%ac%ac%e4%ba%8c%e4%bf%ae%e6%94%b9zen-cart%e4%ba%8c%e6%ac%a1%e5%bc%80%e5%8f%91%e6%95%99%e7%a8%8b/" title="第二修改zen-cart二次开发教程">第二修改zen-cart二次开发教程</a> (0)</li><li>2011 年 12 月 27 日 -- <a href="http://www.vr188.com/seo/%e4%bf%ae%e6%94%b9magento%e5%ba%95%e9%83%a8%e9%93%be%e6%8e%a5%ef%bc%88footer-link%ef%bc%89/" title="修改magento底部链接（footer link）">修改magento底部链接（footer link）</a> (0)</li><li>2011 年 8 月 11 日 -- <a href="http://www.vr188.com/seo/zencart-seo-url-change/" title="共享个人觉得比较完美的SEO URL修改方式 ">共享个人觉得比较完美的SEO URL修改方式 </a> (0)</li><li>2011 年 8 月 13 日 -- <a href="http://www.vr188.com/zen-cart/zencart_zhannei_seo/" title="zencart网站的站内优化">zencart网站的站内优化</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.vr188.com/seo/linux-vps%e5%ae%89%e8%a3%85virtualminwebmin%e9%9d%a2%e6%9d%bf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10个不得不装的Zencart插件</title>
		<link>http://www.vr188.com/seo/10%e4%b8%aa%e4%b8%8d%e5%be%97%e4%b8%8d%e8%a3%85%e7%9a%84zencart%e6%8f%92%e4%bb%b6/</link>
		<comments>http://www.vr188.com/seo/10%e4%b8%aa%e4%b8%8d%e5%be%97%e4%b8%8d%e8%a3%85%e7%9a%84zencart%e6%8f%92%e4%bb%b6/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 05:26:02 +0000</pubDate>
		<dc:creator>常州SEO</dc:creator>
				<category><![CDATA[SEO探讨]]></category>

		<guid isPermaLink="false">http://www.vr188.com/?p=324</guid>
		<description><![CDATA[<p style="text-align: right;">我们都知道Zencart是应用最广泛的电子交易平台之一，以至于用过了再也不想换其他的软件平台。不光是应用广泛，起外挂模块资源也是非常之丰富。如果 你建了一个新的Zen Cart B2C网站，有没有一些免费的方式快速地展现在互联网上？并获得订单？答案是肯定的，这里有些插件模块，可以大大提高Zen Cart平台的性能，客户转化率以及客户满意度。</p>
       这里的Top 10模块，绝不是最完整的，只有没发现的，这些是基于我打造一个Zen Cart B2C购物网站所使用的模块。应该说的是，每个Zen Cart B2C购物网都不同，所以也不一定完全需要，这取决于你自己。只是希望这些模块能够为大多数Zen Cart网店提供改善的可能。

<strong>1. Google Base Feeder</strong>
发布者: Numinix
-www.numinix.com/zen-cart-modules/marketing/google-base-feeder
这模块干什么的呢？它会自动创建一个你的产品所有Feed，并提交给谷歌产品搜索，客户可以在Google Shopping找到你的产品，并引领潜在买家到你的网站完成购买。
为什么说这是最好的模块呢？因为它可以获得免费的，与产品高度相关的流量！这怎能不说是一个最好的方式呢？它会经常会从谷歌搜索结果直接到链接到产品中并 带来潜在商机。最重要的是，一旦你设置好模块，他会自动创建Feed，你可以设置谷歌定期自动抓取Feed。换句话说，一旦你进行了设置，它会日复一日不 断产生免费的相关性流量。所以每个商店都应该使用这个模块。

<strong>2. Recover Cart Sales</strong>
发布者: Various
-www.zen-cart.com/index.php?main_page=product_contrib_info&#38;products_id=100
通过这个模块创建了一个管理页面，您可以看到客户在购物车中没有付款的物品。管理员可以采取行动针对客户的发送电子邮件推进，并找出客户为什么没有完成购买的原因。而且它会生成一个小报告，以便您查看购物车中被遗弃的物品是否成功出售等等。

<strong>3. Mailbeez Aftersale Email Module</strong>
发布者: MailBeez
-www.mailbeez.com/
这个模块建立了一个框架，每天自动发送电子邮件给完成了购物的客户。它支持包括Win-backd等多个子模块。每个订单将被发送预先设定的电子邮件，可 以让你与客户保持联系。例如，您可以设置模块发送一个优惠券代码，或者新产品，在他们最后购买行为的第60天，让客户回访并带来新的销售机会。所以，我们 也可以理解为电子邮件营销系统吧！

<strong>4. Sitemaps XML</strong>
发布者: Andrew Berezin
-www.zen-cart.com/index.php?main_page=product_contrib_info&#38;products_id=544
这个模块大家很熟悉了，它自动建立一个针对搜索引擎抓取的XML sitemap，并自动提交sitemapindex.xml给各大搜索引擎（谷歌，雅虎，MSN，Live和Ask），让它们知道一个新的 Sitemap更新版本已可供下载，Sitemap中包括产品，分类，EZ页，评论和推荐产品等。不过需注意的是确保你的robots.txt文件包含 sitemapindex.xml路径，使搜索引擎容易找到网站的Sitemap并抓取你的网站。

<strong>5. Simple Google Analytics</strong>
发布者: Econcepts
-www.Zencartoptimization.com/downloads/
这个模块可以快速添加谷歌Analytics跟踪代码。如果你不知道什么是 Google Analytics， 那太可惜了，谷歌分析可以方便地让你了解Analytics帮你收集的数据，并加以分析你的每个购物流程。可以说Analytics是最重要的工具之一， 不会影响网站速度，信息收集全面等。比如说为什么很多客户把产品放进购物车，却在某个页面停止，并离开，这可能说明你的某个流程让他不方便等，这一切谷歌 Analytics都可以给你快速，准确地答案。了解关于 Google Analytics请到这里

<strong>6. Fast and Easy Checkout</strong>
发布者: Numinix
-www.numinix.com/zen-cart-modules/checkout/fast-and-easy-checkout-for-zen-cart
前面举例提到可能用户到达某个步骤，最后选择离开。我们可以设想可能是客户嫌注册太繁琐、或者没有适合他的付款方式等，这个模块给我们建立了一个简单的结 帐系统，插入在Zen Cart Checkout页面里的单独链接。这个模块直接跳过注册进入付款环节，通过减少点击次数和网页数量，提高顾客结账的可能性并完成购买。

<strong>7. CSS JS Loader</strong>
发布者: Rubik Integration
blog.rubikintegration.com/2009/08/08/Zencart-css-javascript-loader-released/
CJ Loader能基于在特定环境使用特定的顺序，提供你加载特定的css/javascript 文件。这个模块同时允许你在css文件中使用PHP代码。这种灵活特性将帮助你加快你的开发过程。假如说你安装2个同时都需要 Jquery的模块，正常情况下你可能会被强制加载jquery两次，这将明显的减慢你的网站。CJ Loader能防止一个文件被加载多次。

<strong>8. Simple SEO URLs</strong>
发布者: Rubik Integration
simple-SEO-url.com
这个模块我就不多介绍了，大家都很熟悉。Simple SEO URL主要功能是转换页面路径形式，站内相关页面地址静态化，以频道形式优化url。不过这个模块会生成大量的Cache文件，如果你的服务器对文件个数 有限制，可以选择使用ultimate seo urls。只能说各有利弊，没有最好的只有最合适的。

<strong>9. Image Handler 2</strong>
发布者: Various
-www.zen-cart.com/index.php?main_page=product_contrib_info&#38;products_id=117
这也是一个应用广泛的模块之一，Zen Cart本身不会自动转换图片，只能自定义图片的大小，而大图小图只是缩放，同一个图片文件通过缩放成为大小图，这会严重影响到页面加载速度。如果每个产 品都去处理大、中、小三个图片的话也不现实，所以这个模块可以帮到你（此插件为中文版所集成，用英文版需要下载安装）。

<strong>10. Store Credit and Reward Points</strong>
发布者: Numinix and Rubik Integration
-www.numinix.com/zen-cart-modules/taxes-order-totals/store-credit-and-rewards-points
这个模块可以让店铺拥有者为他们的客户提供积分积累，积分设置可以在管理后台完成。简而言之当客户每次购买后，给予客户一定百分比的信用，用于以后的购买 折扣。这样可以粘合客户，为了积分还得回来购买你店内的物品，而这一切，只要你人工设置后，都可以在后台自动完成，一劳永逸。

这其中的2和4强烈推荐大家去装，非常有用，至于8和9，现在的中文汉化版，也就是Jack修改的，已经都带有这2个插件，并不需要再去安装，除非你下载的是官方原版的无任何插件的。]]></description>
			<content:encoded><![CDATA[<p style="text-align: right;">我们都知道Zencart是应用最广泛的电子交易平台之一，以至于用过了再也不想换其他的软件平台。不光是应用广泛，起外挂模块资源也是非常之丰富。如果 你建了一个新的Zen Cart B2C网站，有没有一些免费的方式快速地展现在互联网上？并获得订单？答案是肯定的，这里有些插件模块，可以大大提高Zen Cart平台的性能，客户转化率以及客户满意度。</p>
<p>       这里的Top 10模块，绝不是最完整的，只有没发现的，这些是基于我打造一个Zen Cart B2C购物网站所使用的模块。应该说的是，每个Zen Cart B2C购物网都不同，所以也不一定完全需要，这取决于你自己。只是希望这些模块能够为大多数Zen Cart网店提供改善的可能。</p>
<p><strong>1. Google Base Feeder</strong><br />
发布者: Numinix<br />
-www.numinix.com/zen-cart-modules/marketing/google-base-feeder<br />
这模块干什么的呢？它会自动创建一个你的产品所有Feed，并提交给谷歌产品搜索，客户可以在Google Shopping找到你的产品，并引领潜在买家到你的网站完成购买。<br />
为什么说这是最好的模块呢？因为它可以获得免费的，与产品高度相关的流量！这怎能不说是一个最好的方式呢？它会经常会从谷歌搜索结果直接到链接到产品中并 带来潜在商机。最重要的是，一旦你设置好模块，他会自动创建Feed，你可以设置谷歌定期自动抓取Feed。换句话说，一旦你进行了设置，它会日复一日不 断产生免费的相关性流量。所以每个商店都应该使用这个模块。</p>
<p><strong>2. Recover Cart Sales</strong><br />
发布者: Various<br />
-www.zen-cart.com/index.php?main_page=product_contrib_info&amp;products_id=100<br />
通过这个模块创建了一个管理页面，您可以看到客户在购物车中没有付款的物品。管理员可以采取行动针对客户的发送电子邮件推进，并找出客户为什么没有完成购买的原因。而且它会生成一个小报告，以便您查看购物车中被遗弃的物品是否成功出售等等。</p>
<p><strong>3. Mailbeez Aftersale Email Module</strong><br />
发布者: MailBeez<br />
-www.mailbeez.com/<br />
这个模块建立了一个框架，每天自动发送电子邮件给完成了购物的客户。它支持包括Win-backd等多个子模块。每个订单将被发送预先设定的电子邮件，可 以让你与客户保持联系。例如，您可以设置模块发送一个优惠券代码，或者新产品，在他们最后购买行为的第60天，让客户回访并带来新的销售机会。所以，我们 也可以理解为电子邮件营销系统吧！</p>
<p><strong>4. Sitemaps XML</strong><br />
发布者: Andrew Berezin<br />
-www.zen-cart.com/index.php?main_page=product_contrib_info&amp;products_id=544<br />
这个模块大家很熟悉了，它自动建立一个针对搜索引擎抓取的XML sitemap，并自动提交sitemapindex.xml给各大搜索引擎（谷歌，雅虎，MSN，Live和Ask），让它们知道一个新的 Sitemap更新版本已可供下载，Sitemap中包括产品，分类，EZ页，评论和推荐产品等。不过需注意的是确保你的robots.txt文件包含 sitemapindex.xml路径，使搜索引擎容易找到网站的Sitemap并抓取你的网站。</p>
<p><strong>5. Simple Google Analytics</strong><br />
发布者: Econcepts<br />
-www.Zencartoptimization.com/downloads/<br />
这个模块可以快速添加谷歌Analytics跟踪代码。如果你不知道什么是 Google Analytics， 那太可惜了，谷歌分析可以方便地让你了解Analytics帮你收集的数据，并加以分析你的每个购物流程。可以说Analytics是最重要的工具之一， 不会影响网站速度，信息收集全面等。比如说为什么很多客户把产品放进购物车，却在某个页面停止，并离开，这可能说明你的某个流程让他不方便等，这一切谷歌 Analytics都可以给你快速，准确地答案。了解关于 Google Analytics请到这里</p>
<p><strong>6. Fast and Easy Checkout</strong><br />
发布者: Numinix<br />
-www.numinix.com/zen-cart-modules/checkout/fast-and-easy-checkout-for-zen-cart<br />
前面举例提到可能用户到达某个步骤，最后选择离开。我们可以设想可能是客户嫌注册太繁琐、或者没有适合他的付款方式等，这个模块给我们建立了一个简单的结 帐系统，插入在Zen Cart Checkout页面里的单独链接。这个模块直接跳过注册进入付款环节，通过减少点击次数和网页数量，提高顾客结账的可能性并完成购买。</p>
<p><strong>7. CSS JS Loader</strong><br />
发布者: Rubik Integration<br />
blog.rubikintegration.com/2009/08/08/Zencart-css-javascript-loader-released/<br />
CJ Loader能基于在特定环境使用特定的顺序，提供你加载特定的css/javascript 文件。这个模块同时允许你在css文件中使用PHP代码。这种灵活特性将帮助你加快你的开发过程。假如说你安装2个同时都需要 Jquery的模块，正常情况下你可能会被强制加载jquery两次，这将明显的减慢你的网站。CJ Loader能防止一个文件被加载多次。</p>
<p><strong>8. Simple SEO URLs</strong><br />
发布者: Rubik Integration<br />
simple-SEO-url.com<br />
这个模块我就不多介绍了，大家都很熟悉。Simple SEO URL主要功能是转换页面路径形式，站内相关页面地址静态化，以频道形式优化url。不过这个模块会生成大量的Cache文件，如果你的服务器对文件个数 有限制，可以选择使用ultimate seo urls。只能说各有利弊，没有最好的只有最合适的。</p>
<p><strong>9. Image Handler 2</strong><br />
发布者: Various<br />
-www.zen-cart.com/index.php?main_page=product_contrib_info&amp;products_id=117<br />
这也是一个应用广泛的模块之一，Zen Cart本身不会自动转换图片，只能自定义图片的大小，而大图小图只是缩放，同一个图片文件通过缩放成为大小图，这会严重影响到页面加载速度。如果每个产 品都去处理大、中、小三个图片的话也不现实，所以这个模块可以帮到你（此插件为中文版所集成，用英文版需要下载安装）。</p>
<p><strong>10. Store Credit and Reward Points</strong><br />
发布者: Numinix and Rubik Integration<br />
-www.numinix.com/zen-cart-modules/taxes-order-totals/store-credit-and-rewards-points<br />
这个模块可以让店铺拥有者为他们的客户提供积分积累，积分设置可以在管理后台完成。简而言之当客户每次购买后，给予客户一定百分比的信用，用于以后的购买 折扣。这样可以粘合客户，为了积分还得回来购买你店内的物品，而这一切，只要你人工设置后，都可以在后台自动完成，一劳永逸。</p>
<p>这其中的2和4强烈推荐大家去装，非常有用，至于8和9，现在的中文汉化版，也就是Jack修改的，已经都带有这2个插件，并不需要再去安装，除非你下载的是官方原版的无任何插件的。</p>
<h2  class="related_post_title">随机日志</h2><ul class="related_post"><li>2012 年 1 月 11 日 -- <a href="http://www.vr188.com/seo/how-to-make-your-site-pr5-in-31-days/" title="How to make your site PR5 in 31 days">How to make your site PR5 in 31 days</a> (0)</li><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/replica/%e5%8d%9a%e5%ae%a2%e8%87%aa%e5%8a%a8ping-%e6%9c%8d%e5%8a%a1%e5%88%97%e8%a1%a8/" title="博客自动ping 服务列表 ">博客自动ping 服务列表 </a> (0)</li><li>2011 年 8 月 11 日 -- <a href="http://www.vr188.com/zen-cart/zencart_meta_tag_seo/" title="Zencart程序之Meta标签优化">Zencart程序之Meta标签优化</a> (0)</li><li>2011 年 11 月 1 日 -- <a href="http://www.vr188.com/share/%e5%a4%96%e8%b4%b8prestashop%e7%bd%91%e7%ab%99%e5%86%85%e9%83%a8seo%e4%bc%98%e5%8c%96%e8%ae%be%e7%bd%ae%e5%bf%83%e5%be%97%e5%88%86%e4%ba%ab/" title="外贸prestashop网站内部seo优化设置心得分享">外贸prestashop网站内部seo优化设置心得分享</a> (2)</li><li>2011 年 8 月 18 日 -- <a href="http://www.vr188.com/replica/prestashop%e7%bd%91%e7%ab%99%e8%bd%ac%e7%a7%bb%e7%a9%ba%e9%97%b4%e7%bb%8f%e5%b8%b8%e9%81%87%e5%88%b0%e7%9a%84%e9%97%ae%e9%a2%98%e5%8f%8a%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/" title="PrestaShop网站转移空间经常遇到的问题及解决方法">PrestaShop网站转移空间经常遇到的问题及解决方法</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.vr188.com/seo/10%e4%b8%aa%e4%b8%8d%e5%be%97%e4%b8%8d%e8%a3%85%e7%9a%84zencart%e6%8f%92%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zen-cart Function ereg is deprecated 错误的原因及解决方法</title>
		<link>http://www.vr188.com/seo/zen-cart-function-ereg-is-deprecated-%e9%94%99%e8%af%af%e7%9a%84%e5%8e%9f%e5%9b%a0%e5%8f%8a%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/</link>
		<comments>http://www.vr188.com/seo/zen-cart-function-ereg-is-deprecated-%e9%94%99%e8%af%af%e7%9a%84%e5%8e%9f%e5%9b%a0%e5%8f%8a%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 05:10:31 +0000</pubDate>
		<dc:creator>常州SEO</dc:creator>
				<category><![CDATA[SEO探讨]]></category>

		<guid isPermaLink="false">http://www.vr188.com/?p=320</guid>
		<description><![CDATA[今天朋友突然来个急电，说他们的网站出错不能访问已经一整天了，刚开始以为是MySQL服务器又重启更新什么的，就没有留意，可是时间一过，到了下午，问 题持续了整整10多个小时，那已经是很不正常的。我打开他们的首页，发现什么都不显示，然后打开后台，发现满屏都是出错的代码，以下仅截取一部分。
<blockquote>Deprecated: Function ereg() is deprecated in E:xampphtdocszencartincludesclassesdbmysqlquery_factory.php on line 185

Deprecated: Function ereg() is deprecated in E:xampphtdocszencartincludesclassesdbmysqlquery_factory.php on line 185

Deprecated: Function ereg() is deprecated in E:xampphtdocszencartincludesclassesdbmysqlquery_factory.php on line 421

Deprecated: Function ereg() is deprecated in E:xampphtdocszencartincludesclassesdbmysqlquery_factory.php on line 421

Deprecated: Function ereg() is deprecated in E:xampphtdocszencartincludesclassesdbmysqlquery_factory.php on line 421
………………
Fatal error: Cannot redeclare date_diff() in E:xampphtdocszencartadminincludesfunctionsgeneral.php on line 3003</blockquote>
我就问了下我那朋友，服务器有什么异常或者有没有什么软件更新过之类的，他们说今天服务器更新的PHP的版本，由原来的5.2升级到了5.3，而他们的其 他用1.39搭建的网站没有问题，就是1.38老版本的出问题。根据这个情况，可以很确定的，出现以上这样的错误，是因为PHP的版本太高导致的！

其实官方早就已经出了补丁！可以解决这样的问题！官方帖子地址：<a href="http://www.zen-cart.com/forum/showthread.php?t=140960" rel="nofollow" target="_blank">http://www.zen-cart.com/forum/showthread.php?t=140960</a>，可能需要代理才能上，我这里就直接把官网的解决方法摘录下来，方便大家去操作。

<em>=====================官方解决办法====================</em>

PHP 5.3 was released a few months ago, and along with it come many problems due to the PHP authors’ decisions to backport many PHP 6 features into 5.3 and deprecate several oft-required functions.

In so doing, they broke many things affecting Zen Cart operation in v1.3.8a and older.

We are preparing a patch which can be used by those whose hosts have upgraded (or have announced imminent plans to upgrade) to PHP 5.3.

We hope to post the patch here very soon. It’s in regression testing now.
When the patch is ready it will be announced here in the Announcements area.
<strong>
</strong><strong></strong><strong>Zen Cart v1.3.9 and newer are compatible with PHP 5.3</strong>

PHP 5.3 patch for Zen Cart v1.3.8 / v1.3.8a
===========================================

This patch is ONLY needed if you are attempting to run Zen Cart v1.3.8 on a server which is using PHP 5.3.x
(NOTE: if you’ve applied any other posted bugfixes for v1.3.8a, you’ll need to be careful when merging these files along with these patches;
For that reason, it’s not recommended to install this patch unless you *are* actually using PHP 5.3)

THIS PATCH IS **NOT** COMPATIBLE WITH PRIOR VERSIONS OF ZEN CART.
THE ATTACHED ZIP IS ONLY SUITABLE FOR v1.3.8 / v1.3.8a sites.

INSTALLATION INSTRUCTIONS:
==========================
1. Unzip the zc138a-php53patch.zip file, using the option which expands included subdirectories. It’s important that you know which subdirectory/folder each file belongs in, as indicated by its location after unzipping.

2. Copy the files to your server. NOTE THE FOLLOWING:

a) If you have NOT customized any of these 11 files on your site already, simply copy the new versions of these files overtop of your existing ones.

b) If you HAVE customized them, either by manual editing or by installing any addons that have altered the files from their original state, you’ll need to manually merge the new changes into the files yourself. WinMerge is a handy free tool for doing such merging.<a href="http://winmerge.sf.net/" rel="nofollow" target="_blank">http://winmerge.sf.net</a>

11 FILES AFFECTED:
==========================
/admin/includes/application_top.php
/admin/includes/classes/phplot.php
/admin/includes/functions/general.php
/admin/includes/functions/html_output.php
/admin/includes/header.php
/admin/includes/modules/orders_download.php
/admin/orders.php
/includes/application_top.php
/includes/functions/functions_general.php
/includes/functions/html_output.php
/includes/modules/payment/paypal/paypal_functions.php
/zc_install/includes/classes/installer.php
/zc_install/includes/application_top.php

NOTES:
- You will note that there are many similar filenames, such as application_top.php and html_output.php. TAKE CARE THAT YOU USE THE RIGHT VERSION OF THESE FILES! ie: the /admin/includes/application_top.php file IS DIFFERENT FROM the /includes/application_top.php file, which IS ALSO DIFFERENT form the /zc_install/includes/application_top.php file.

- If you are patching a live site, you DO NOT need the zc_install file update on your live server. That file is only needed if you are trying to do a new install on a server running PHP 5.3

And … for everyone who wonders …

The “missing” ?&#62; tag at the end of various files is intentional. See this related FAQ: <a href="http://tutorials.zen-cart.com/index.php?article=313" target="_blank">http://tutorials.zen-cart.com/index.php?article=313</a>

补丁文件下载：<a href="http://www.ebtcn.net/wp-content/uploads/2011/07/zc138a-php53patch.zip">zc138a-php53patch</a>

<em>=====================官方解决办法====================</em>

修改方法其实直接替换就可以了，因为除了/admin/orders.php这个文件会修改过以外，其他的基本上都不会去碰的。上面的说明里面提到的，如 果/admin/orders.php你之前做过修改，可以把文件重新再次修改。不过我测试过，用老版本的/admin/orders.php文件使用正 常。

经过上面的文件替换操作后，网站恢复了正常，遇到这样的问题的朋友，赶紧升级补丁。]]></description>
			<content:encoded><![CDATA[<p>今天朋友突然来个急电，说他们的网站出错不能访问已经一整天了，刚开始以为是MySQL服务器又重启更新什么的，就没有留意，可是时间一过，到了下午，问 题持续了整整10多个小时，那已经是很不正常的。我打开他们的首页，发现什么都不显示，然后打开后台，发现满屏都是出错的代码，以下仅截取一部分。</p>
<blockquote><p>Deprecated: Function ereg() is deprecated in E:xampphtdocszencartincludesclassesdbmysqlquery_factory.php on line 185</p>
<p>Deprecated: Function ereg() is deprecated in E:xampphtdocszencartincludesclassesdbmysqlquery_factory.php on line 185</p>
<p>Deprecated: Function ereg() is deprecated in E:xampphtdocszencartincludesclassesdbmysqlquery_factory.php on line 421</p>
<p>Deprecated: Function ereg() is deprecated in E:xampphtdocszencartincludesclassesdbmysqlquery_factory.php on line 421</p>
<p>Deprecated: Function ereg() is deprecated in E:xampphtdocszencartincludesclassesdbmysqlquery_factory.php on line 421<br />
………………<br />
Fatal error: Cannot redeclare date_diff() in E:xampphtdocszencartadminincludesfunctionsgeneral.php on line 3003</p></blockquote>
<p>我就问了下我那朋友，服务器有什么异常或者有没有什么软件更新过之类的，他们说今天服务器更新的PHP的版本，由原来的5.2升级到了5.3，而他们的其 他用1.39搭建的网站没有问题，就是1.38老版本的出问题。根据这个情况，可以很确定的，出现以上这样的错误，是因为PHP的版本太高导致的！</p>
<p>其实官方早就已经出了补丁！可以解决这样的问题！官方帖子地址：<a href="http://www.zen-cart.com/forum/showthread.php?t=140960" rel="nofollow" target="_blank">http://www.zen-cart.com/forum/showthread.php?t=140960</a>，可能需要代理才能上，我这里就直接把官网的解决方法摘录下来，方便大家去操作。</p>
<p><em>=====================官方解决办法====================</em></p>
<p>PHP 5.3 was released a few months ago, and along with it come many problems due to the PHP authors’ decisions to backport many PHP 6 features into 5.3 and deprecate several oft-required functions.</p>
<p>In so doing, they broke many things affecting Zen Cart operation in v1.3.8a and older.</p>
<p>We are preparing a patch which can be used by those whose hosts have upgraded (or have announced imminent plans to upgrade) to PHP 5.3.</p>
<p>We hope to post the patch here very soon. It’s in regression testing now.<br />
When the patch is ready it will be announced here in the Announcements area.<br />
<strong><br />
</strong><strong></strong><strong>Zen Cart v1.3.9 and newer are compatible with PHP 5.3</strong></p>
<p>PHP 5.3 patch for Zen Cart v1.3.8 / v1.3.8a<br />
===========================================</p>
<p>This patch is ONLY needed if you are attempting to run Zen Cart v1.3.8 on a server which is using PHP 5.3.x<br />
(NOTE: if you’ve applied any other posted bugfixes for v1.3.8a, you’ll need to be careful when merging these files along with these patches;<br />
For that reason, it’s not recommended to install this patch unless you *are* actually using PHP 5.3)</p>
<p>THIS PATCH IS **NOT** COMPATIBLE WITH PRIOR VERSIONS OF ZEN CART.<br />
THE ATTACHED ZIP IS ONLY SUITABLE FOR v1.3.8 / v1.3.8a sites.</p>
<p>INSTALLATION INSTRUCTIONS:<br />
==========================<br />
1. Unzip the zc138a-php53patch.zip file, using the option which expands included subdirectories. It’s important that you know which subdirectory/folder each file belongs in, as indicated by its location after unzipping.</p>
<p>2. Copy the files to your server. NOTE THE FOLLOWING:</p>
<p>a) If you have NOT customized any of these 11 files on your site already, simply copy the new versions of these files overtop of your existing ones.</p>
<p>b) If you HAVE customized them, either by manual editing or by installing any addons that have altered the files from their original state, you’ll need to manually merge the new changes into the files yourself. WinMerge is a handy free tool for doing such merging.<a href="http://winmerge.sf.net/" rel="nofollow" target="_blank">http://winmerge.sf.net</a></p>
<p>11 FILES AFFECTED:<br />
==========================<br />
/admin/includes/application_top.php<br />
/admin/includes/classes/phplot.php<br />
/admin/includes/functions/general.php<br />
/admin/includes/functions/html_output.php<br />
/admin/includes/header.php<br />
/admin/includes/modules/orders_download.php<br />
/admin/orders.php<br />
/includes/application_top.php<br />
/includes/functions/functions_general.php<br />
/includes/functions/html_output.php<br />
/includes/modules/payment/paypal/paypal_functions.php<br />
/zc_install/includes/classes/installer.php<br />
/zc_install/includes/application_top.php</p>
<p>NOTES:<br />
- You will note that there are many similar filenames, such as application_top.php and html_output.php. TAKE CARE THAT YOU USE THE RIGHT VERSION OF THESE FILES! ie: the /admin/includes/application_top.php file IS DIFFERENT FROM the /includes/application_top.php file, which IS ALSO DIFFERENT form the /zc_install/includes/application_top.php file.</p>
<p>- If you are patching a live site, you DO NOT need the zc_install file update on your live server. That file is only needed if you are trying to do a new install on a server running PHP 5.3</p>
<p>And … for everyone who wonders …</p>
<p>The “missing” ?&gt; tag at the end of various files is intentional. See this related FAQ: <a href="http://tutorials.zen-cart.com/index.php?article=313" target="_blank">http://tutorials.zen-cart.com/index.php?article=313</a></p>
<p>补丁文件下载：<a href="http://www.ebtcn.net/wp-content/uploads/2011/07/zc138a-php53patch.zip">zc138a-php53patch</a></p>
<p><em>=====================官方解决办法====================</em></p>
<p>修改方法其实直接替换就可以了，因为除了/admin/orders.php这个文件会修改过以外，其他的基本上都不会去碰的。上面的说明里面提到的，如 果/admin/orders.php你之前做过修改，可以把文件重新再次修改。不过我测试过，用老版本的/admin/orders.php文件使用正 常。</p>
<p>经过上面的文件替换操作后，网站恢复了正常，遇到这样的问题的朋友，赶紧升级补丁。</p>
<h2  class="related_post_title">随机日志</h2><ul class="related_post"><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/digital/%e7%81%ab%e8%bd%a6%e5%a4%b4%e6%a8%a1%e5%9d%97%e5%88%b6%e4%bd%9c%e6%95%99%e7%a8%8b%e5%82%bb%e7%93%9c%e6%95%99%e7%a8%8b%e7%89%8880%e5%88%86%e9%92%9f%e8%a7%86%e9%a2%91/" title="火车头模块制作教程傻瓜教程版[80分钟视频]">火车头模块制作教程傻瓜教程版[80分钟视频]</a> (0)</li><li>2011 年 9 月 21 日 -- <a href="http://www.vr188.com/share/%e5%8f%af%e4%bb%a5%e9%9a%8f%e6%84%8f%e8%bd%ac%e8%bd%bd%e6%88%96%e9%87%87%e9%9b%86%e7%9a%84%e8%8b%b1%e6%96%87%e5%85%8d%e8%b4%b9%e6%96%87%e7%ab%a0%e7%ab%99/" title="可以随意转载或采集的英文免费文章站 ">可以随意转载或采集的英文免费文章站 </a> (3)</li><li>2011 年 8 月 19 日 -- <a href="http://www.vr188.com/seo/%e5%a4%96%e8%b4%b8seo%e5%b7%a5%e5%85%b7senuke-x%e4%b8%ad%e6%96%87%e7%89%88%e5%9b%be%e6%96%87%e6%95%99%e7%a8%8b-%e4%b8%80%e8%b5%b7%e5%ad%a6%e4%b9%a0senukex/" title="外贸seo工具senuke x中文版图文教程 一起学习SenukeX">外贸seo工具senuke x中文版图文教程 一起学习SenukeX</a> (0)</li><li>2011 年 9 月 20 日 -- <a href="http://www.vr188.com/seo/%e6%96%b0%e7%bd%91%e7%ab%99%e6%8e%92%e5%90%8d%e4%b8%8d%e7%a8%b3%e5%ae%9a%e7%9a%84google%e5%b9%bd%e7%81%b5%e7%8e%b0%e8%b1%a1/" title="新网站排名不稳定的Google幽灵现象">新网站排名不稳定的Google幽灵现象</a> (2)</li><li>2012 年 1 月 18 日 -- <a href="http://www.vr188.com/seo/vps%e4%b8%8a%e5%ae%89%e8%a3%85virtualminwebmin%e5%b9%b6%e5%8d%87%e7%ba%a7php%e7%89%88%e6%9c%ac%e5%88%b05-2-11/" title="VPS上安装virtualmin/webmin并升级php版本到5.2.11">VPS上安装virtualmin/webmin并升级php版本到5.2.11</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.vr188.com/seo/zen-cart-function-ereg-is-deprecated-%e9%94%99%e8%af%af%e7%9a%84%e5%8e%9f%e5%9b%a0%e5%8f%8a%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Walk With Classy Prada Shoes For Men And Enjoy A Different Experience</title>
		<link>http://www.vr188.com/seo/walk-with-classy-prada-shoes-for-men-and-enjoy-a-different-experience/</link>
		<comments>http://www.vr188.com/seo/walk-with-classy-prada-shoes-for-men-and-enjoy-a-different-experience/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 03:11:08 +0000</pubDate>
		<dc:creator>常州SEO</dc:creator>
				<category><![CDATA[SEO探讨]]></category>

		<guid isPermaLink="false">http://www.vr188.com/seo/walk-with-classy-prada-shoes-for-men-and-enjoy-a-different-experience/</guid>
		<description><![CDATA[<p>Prada which is an Italian company has been very renowned brand; this has drawn a line in fashion proving its products to be one of the best in style and comfort. Prada, which has been a signature brand for leather good, this brand has its own clothing line, which has conquered a high status in the fashion world. Not just this Prada manufactures elegant accessories, bags, belts and the famous Prada shoes for men and women. This brand has shown its versatility in the collection of footwear's, these have very successfully helped the individuals to enhance their personality. It's very important to wear good shoes, as it can make a good impression; it's just shoes, never underestimate because it will talk a lot about your personality. Prada shoes for men are costumed with the high quality leather and a rubber sole, leather lining, for the comfort of then customers it has been designed with padded insole, these shoes will definitely narrate a classy statement about you. These Prada shoes for men will make you look smart and trendy, now you are ready to step out and leave an impression that people will always remember.</p>  <p>This brand Prada has become ladies best friend; every fashion has overwhelmed the women, making them look extraordinary in the crowd. Prada women shoes have overtaken the market because of its pioneering design that has always added grace to the women's outfit. Sneakers and Heels that Prada has customs are stylish as well as comfy. They have proven to be the best in durability, a perfect accessory to upgrade your look. Prada women shoes has no doubt won the hearts of all the women, these has become the ultimate desire of all the women. These shoes have proven to be the best brand stating its efficiency both in terms of inventive design and contentment that has satisfied all the buyers. Prada with its trendiest and the hottest collection will highlight your persona.</p>  <p>Prada always comes up with great design both formal and casual, men Prada shoes has been the preference of all the gentlemen. Either young or old Age shouldn't affect you. It's just like the size of your shoes - they don't determine how you live your life! You're either marvelous or you're boring, regardless of your age. Men's Prada shoes comes with an advanced technology, these shoes has been the best return to the investment. Now you can enjoy the latest fashion with these men's Prada shoes. This fashionable brand will make you look marvelous. Each pair is unique in design and will assure you that these shoes will provide relaxation to your feet. Walk out with these branded shoes you will be entering to a different world of fashion.</p>]]></description>
			<content:encoded><![CDATA[<p>Prada which is an Italian company has been very renowned brand; this has drawn a line in fashion proving its products to be one of the best in style and comfort. Prada, which has been a signature brand for leather good, this brand has its own clothing line, which has conquered a high status in the fashion world. Not just this Prada manufactures elegant accessories, bags, belts and the famous Prada shoes for men and women. This brand has shown its versatility in the collection of footwear&#8217;s, these have very successfully helped the individuals to enhance their personality. It&#8217;s very important to wear good shoes, as it can make a good impression; it&#8217;s just shoes, never underestimate because it will talk a lot about your personality. Prada shoes for men are costumed with the high quality leather and a rubber sole, leather lining, for the comfort of then customers it has been designed with padded insole, these shoes will definitely narrate a classy statement about you. These Prada shoes for men will make you look smart and trendy, now you are ready to step out and leave an impression that people will always remember.</p>
<p>This brand Prada has become ladies best friend; every fashion has overwhelmed the women, making them look extraordinary in the crowd. Prada women shoes have overtaken the market because of its pioneering design that has always added grace to the women&#8217;s outfit. Sneakers and Heels that Prada has customs are stylish as well as comfy. They have proven to be the best in durability, a perfect accessory to upgrade your look. Prada women shoes has no doubt won the hearts of all the women, these has become the ultimate desire of all the women. These shoes have proven to be the best brand stating its efficiency both in terms of inventive design and contentment that has satisfied all the buyers. Prada with its trendiest and the hottest collection will highlight your persona.</p>
<p>Prada always comes up with great design both formal and casual, men Prada shoes has been the preference of all the gentlemen. Either young or old Age shouldn&#8217;t affect you. It&#8217;s just like the size of your shoes &#8211; they don&#8217;t determine how you live your life! You&#8217;re either marvelous or you&#8217;re boring, regardless of your age. Men&#8217;s Prada shoes comes with an advanced technology, these shoes has been the best return to the investment. Now you can enjoy the latest fashion with these men&#8217;s Prada shoes. This fashionable brand will make you look marvelous. Each pair is unique in design and will assure you that these shoes will provide relaxation to your feet. Walk out with these branded shoes you will be entering to a different world of fashion.</p>
<h2  class="related_post_title">随机日志</h2><ul class="related_post"><li>2011 年 8 月 14 日 -- <a href="http://www.vr188.com/replica/fangpaikongjian/" title="你的仿牌空间还经常遭遇投诉">你的仿牌空间还经常遭遇投诉</a> (1)</li><li>2012 年 1 月 9 日 -- <a href="http://www.vr188.com/seo/improve-your-internal-links-with-5-simple-tips/" title="Improve your Internal Links with 5 simple Tips">Improve your Internal Links with 5 simple Tips</a> (0)</li><li>2011 年 12 月 22 日 -- <a href="http://www.vr188.com/seo/magento%e5%bf%85%e5%a4%87%e6%8f%92%e4%bb%b6%e5%a4%a7%e6%94%be%e9%80%81/" title="magento必备插件大放送 ">magento必备插件大放送 </a> (0)</li><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/zen-cart/%e6%8a%8awordpress%e9%9b%86%e6%88%90%e5%88%b0zen-cart%e9%87%8c%e6%96%b9%e6%b3%95/" title="把Wordpress集成到zen-cart里方法">把Wordpress集成到zen-cart里方法</a> (0)</li><li>2011 年 8 月 13 日 -- <a href="http://www.vr188.com/seo/%e8%ae%ba%e5%9d%9b%e5%a4%96%e9%93%be%e6%9f%a5%e6%89%be%e5%8f%8a%e9%ab%98%e7%ba%a7%e8%af%ad%e6%b3%95%e7%9a%84%e5%ba%94%e7%94%a8/" title="论坛外链查找及高级语法的应用">论坛外链查找及高级语法的应用</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.vr188.com/seo/walk-with-classy-prada-shoes-for-men-and-enjoy-a-different-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make your site PR5 in 31 days</title>
		<link>http://www.vr188.com/seo/how-to-make-your-site-pr5-in-31-days/</link>
		<comments>http://www.vr188.com/seo/how-to-make-your-site-pr5-in-31-days/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 04:57:42 +0000</pubDate>
		<dc:creator>常州SEO</dc:creator>
				<category><![CDATA[SEO探讨]]></category>

		<guid isPermaLink="false">http://www.vr188.com/?p=316</guid>
		<description><![CDATA[Want to make your website PR5 whiten 31 days. I will provide you some technique that may help you to make your website PR5.

1. Submit your website to 1000 dofollow directories.
2. Post comment using your website URL/Link on 1000 dofollow blogs.
3. Submit 300 high PR article submission site.
4. Submit your website to 300 popular social bookmarking site.
5. Submit 20 videos to popular 20 videos site using your website URL in details.
6. Submit 100 forum site signature using your URL.]]></description>
			<content:encoded><![CDATA[<p>Want to make your website PR5 whiten 31 days. I will provide you some technique that may help you to make your website PR5.</p>
<p>1. Submit your website to 1000 dofollow directories.<br />
2. Post comment using your website URL/Link on 1000 dofollow blogs.<br />
3. Submit 300 high PR article submission site.<br />
4. Submit your website to 300 popular social bookmarking site.<br />
5. Submit 20 videos to popular 20 videos site using your website URL in details.<br />
6. Submit 100 forum site signature using your URL.</p>
<h2  class="related_post_title">随机日志</h2><ul class="related_post"><li>2011 年 8 月 11 日 -- <a href="http://www.vr188.com/zen-cart/zencart_meta_tag_seo/" title="Zencart程序之Meta标签优化">Zencart程序之Meta标签优化</a> (0)</li><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/replica/seo%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e4%bb%80%e4%b9%88/" title="SEO需要掌握什么 ">SEO需要掌握什么 </a> (1)</li><li>2011 年 12 月 27 日 -- <a href="http://www.vr188.com/seo/%e7%ae%80%e5%8d%955%e6%ad%a5%e6%90%9e%e5%ae%9amagento%e4%ba%a7%e5%93%81%e4%b8%8d%e5%9c%a8%e5%89%8d%e5%8f%b0%e6%98%be%e7%a4%ba%e7%9a%84%e9%9a%be%e9%a2%98/" title="简单5步搞定magento产品不在前台显示的难题">简单5步搞定magento产品不在前台显示的难题</a> (0)</li><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/zen-cart/%e7%ac%ac%e5%9b%9b%e4%bf%ae%e6%94%b9zen-cart%e4%ba%8c%e6%ac%a1%e5%bc%80%e5%8f%91%e6%95%99%e7%a8%8b/" title="第四修改zen-cart二次开发教程">第四修改zen-cart二次开发教程</a> (0)</li><li>2011 年 8 月 13 日 -- <a href="http://www.vr188.com/replica/%e4%bb%bf%e7%89%8c%e5%a4%96%e8%b4%b8%e4%b9%8bseo%e6%96%b0%e6%89%8b%e5%85%a5%e9%97%a8%e5%b8%b8%e8%af%86/" title="仿牌外贸之seo新手入门常识">仿牌外贸之seo新手入门常识</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.vr188.com/seo/how-to-make-your-site-pr5-in-31-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improve your Internal Links with 5 simple Tips</title>
		<link>http://www.vr188.com/seo/improve-your-internal-links-with-5-simple-tips/</link>
		<comments>http://www.vr188.com/seo/improve-your-internal-links-with-5-simple-tips/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 02:15:58 +0000</pubDate>
		<dc:creator>常州SEO</dc:creator>
				<category><![CDATA[SEO探讨]]></category>

		<guid isPermaLink="false">http://www.vr188.com/?p=314</guid>
		<description><![CDATA[<strong>1. Remove dead links</strong>

Google likes clean sites. It doesnt want to send its users to sites that are untidy  with lots of broken links. So when Googles spiders hits broken or dead links it affects your rankings. The quickest way to see what broken links google have found is to use the diagnosis tools in <a title="Google webmaster tools" href="http://www.google.com/webmasters/tools/" target="_self">Google Webmaster Tools</a> . Either fix those links or delete them.

<strong>2. Using absolute URLs instaed of relative URLs
</strong>

There is no way  to say that search engines spiders have a preference absolute URLs ( http://yourdomain.com/xyz.html) over relative URLs ( /xyz.html) but in general it is considered to be best practice to use absolute URLs. <a title="Google" href="http://www.google.com/" target="_blank">Google</a> can then  determine exactly where that page is on your site and of course if your content gets copied, then at least you get a  backlink that points back to your site which a relative url would not in that case.

<strong>3. Using </strong><strong>keyword-relevant </strong><strong>anchor text </strong><strong> </strong>

Webmasters often forget in their hunt for backlinks an anchor text that their own site is the most controllable environment to get the exact links and anchor text they want. If you have related posts interlink them using anchor text with the keyword you are trying to rank for. E.g. if the phrase you are trying to get ranked for is “Coffee Makers”, and the page you want people to find for that phrase is your article “The ten coffee makers”, then use that phrase as the anchor text for your link. The search engine spiders will then understand what your target page is about, and it will increase the content’s ranking strength for that phrase.

<strong>4. Using only text menus instead of Java Script or Flash
</strong>

Google and other search engine spiders dont really crawl non-text navigation menus. So simply it is better to use text menus  than those that use JavaScript or Flash.

<strong>5. Improving your website’s loading speed</strong>

Your page load speed will definetly affect your ranking in Google Serps. Again using Google Webmaster Tools and adding a sitemap to your blog. You can then look at your site performance and how quickly your pages load. Google likes pages that load in 1.5 seconds or less. Reducing or compressing any larger images and refining your code will help speed up your website.

<strong>
</strong>]]></description>
			<content:encoded><![CDATA[<p><strong>1. Remove dead links</strong></p>
<p>Google likes clean sites. It doesnt want to send its users to sites that are untidy  with lots of broken links. So when Googles spiders hits broken or dead links it affects your rankings. The quickest way to see what broken links google have found is to use the diagnosis tools in <a title="Google webmaster tools" href="http://www.google.com/webmasters/tools/" target="_self">Google Webmaster Tools</a> . Either fix those links or delete them.</p>
<p><strong>2. Using absolute URLs instaed of relative URLs<br />
</strong></p>
<p>There is no way  to say that search engines spiders have a preference absolute URLs ( http://yourdomain.com/xyz.html) over relative URLs ( /xyz.html) but in general it is considered to be best practice to use absolute URLs. <a title="Google" href="http://www.google.com/" target="_blank">Google</a> can then  determine exactly where that page is on your site and of course if your content gets copied, then at least you get a  backlink that points back to your site which a relative url would not in that case.</p>
<p><strong>3. Using </strong><strong>keyword-relevant </strong><strong>anchor text </strong><strong> </strong></p>
<p>Webmasters often forget in their hunt for backlinks an anchor text that their own site is the most controllable environment to get the exact links and anchor text they want. If you have related posts interlink them using anchor text with the keyword you are trying to rank for. E.g. if the phrase you are trying to get ranked for is “Coffee Makers”, and the page you want people to find for that phrase is your article “The ten coffee makers”, then use that phrase as the anchor text for your link. The search engine spiders will then understand what your target page is about, and it will increase the content’s ranking strength for that phrase.</p>
<p><strong>4. Using only text menus instead of Java Script or Flash<br />
</strong></p>
<p>Google and other search engine spiders dont really crawl non-text navigation menus. So simply it is better to use text menus  than those that use JavaScript or Flash.</p>
<p><strong>5. Improving your website’s loading speed</strong></p>
<p>Your page load speed will definetly affect your ranking in Google Serps. Again using Google Webmaster Tools and adding a sitemap to your blog. You can then look at your site performance and how quickly your pages load. Google likes pages that load in 1.5 seconds or less. Reducing or compressing any larger images and refining your code will help speed up your website.</p>
<p><strong><br />
</strong></p>
<h2  class="related_post_title">随机日志</h2><ul class="related_post"><li>2011 年 12 月 27 日 -- <a href="http://www.vr188.com/seo/%e4%bf%ae%e6%94%b9magento%e5%ba%95%e9%83%a8%e9%93%be%e6%8e%a5%ef%bc%88footer-link%ef%bc%89/" title="修改magento底部链接（footer link）">修改magento底部链接（footer link）</a> (0)</li><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/zen-cart/%e7%ac%ac%e4%b8%80%e4%bf%ae%e6%94%b9zen-cart%e4%ba%8c%e6%ac%a1%e5%bc%80%e5%8f%91%e6%95%99%e7%a8%8b/" title="第一修改zen-cart二次开发教程">第一修改zen-cart二次开发教程</a> (0)</li><li>2011 年 8 月 14 日 -- <a href="http://www.vr188.com/digital/zen-cart_caiji/" title="采集各类Zencart购物网站商品数据，产品图片！">采集各类Zencart购物网站商品数据，产品图片！</a> (0)</li><li>2011 年 8 月 22 日 -- <a href="http://www.vr188.com/seo/%e9%bb%91%e5%b8%bdseo%e5%b7%a5%e5%85%b7%e4%b8%8e%e4%ba%ba%e8%82%89%e7%9a%84%e4%bc%98%e5%8a%a3/" title="黑帽SEO工具与人肉的优劣">黑帽SEO工具与人肉的优劣</a> (4)</li><li>2011 年 8 月 13 日 -- <a href="http://www.vr188.com/zen-cart/zen-cart%e7%bd%91%e5%ba%97%e5%a6%82%e4%bd%95%e5%a2%9e%e5%8a%a0%e4%b8%80%e4%b8%aa%e5%8f%af%e4%b8%8b%e8%bd%bd%e7%9a%84%e5%95%86%e5%93%81/" title="zen cart网店如何增加一个可下载的商品">zen cart网店如何增加一个可下载的商品</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.vr188.com/seo/improve-your-internal-links-with-5-simple-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>值得推荐的新闻发布插件 &#8211; news</title>
		<link>http://www.vr188.com/seo/%e5%80%bc%e5%be%97%e6%8e%a8%e8%8d%90%e7%9a%84%e6%96%b0%e9%97%bb%e5%8f%91%e5%b8%83%e6%8f%92%e4%bb%b6-news/</link>
		<comments>http://www.vr188.com/seo/%e5%80%bc%e5%be%97%e6%8e%a8%e8%8d%90%e7%9a%84%e6%96%b0%e9%97%bb%e5%8f%91%e5%b8%83%e6%8f%92%e4%bb%b6-news/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 02:14:45 +0000</pubDate>
		<dc:creator>常州SEO</dc:creator>
				<category><![CDATA[SEO探讨]]></category>

		<guid isPermaLink="false">http://www.vr188.com/?p=312</guid>
		<description><![CDATA[Magento中的CMS系统已经不错的了，但是新闻发布相关的好像不怎么好实现，现在有了这一个插件就很好了，看下图的显示效果也不错的，对于要实现简单的网站新闻发布很好。插件：news。

<strong>Magento Connect：magento-community/news</strong>
<h3>特点：</h3>
可以实现在前台显示最新的5条新闻，在后台可以管理新闻信息，添加，编辑，删除功能都有。

效果图：

<img src="http://www.magentocommerce.com/images/modules/news_9ccf53ae4c60323dd7d3efb32a6fda49_screen.gif" alt="" width="1007" height="525" border="0" />]]></description>
			<content:encoded><![CDATA[<p>Magento中的CMS系统已经不错的了，但是新闻发布相关的好像不怎么好实现，现在有了这一个插件就很好了，看下图的显示效果也不错的，对于要实现简单的网站新闻发布很好。插件：news。</p>
<p><strong>Magento Connect：magento-community/news</strong></p>
<h3>特点：</h3>
<p>可以实现在前台显示最新的5条新闻，在后台可以管理新闻信息，添加，编辑，删除功能都有。</p>
<p>效果图：</p>
<p><img src="http://www.magentocommerce.com/images/modules/news_9ccf53ae4c60323dd7d3efb32a6fda49_screen.gif" alt="news 9ccf53ae4c60323dd7d3efb32a6fda49 screen 值得推荐的新闻发布插件   news" width="1007" height="525" border="0" title="值得推荐的新闻发布插件   news" /></p>
<h2  class="related_post_title">随机日志</h2><ul class="related_post"><li>2011 年 8 月 16 日 -- <a href="http://www.vr188.com/share/%e4%b8%ba%e4%bb%80%e4%b9%88%e8%b0%b7%e6%ad%8c%e5%85%81%e8%ae%b8%e8%bf%99%e4%b9%88%e5%a4%9a%e7%9a%84%e5%9e%83%e5%9c%be%e7%bd%91%e9%a1%b5%e5%a4%96%e9%93%be%e6%93%8d%e7%ba%b5%e5%85%8d%e4%ba%8e%e6%83%a9/" title="为什么谷歌允许这么多的垃圾网页/外链操纵免于惩罚？">为什么谷歌允许这么多的垃圾网页/外链操纵免于惩罚？</a> (0)</li><li>2011 年 8 月 27 日 -- <a href="http://www.vr188.com/seo/%e6%b5%b7%e8%b4%b8%e4%bc%9a%e7%bb%8f%e5%85%b8%e9%9b%86%e7%b2%b9%ef%bc%88%e4%b8%89%ef%bc%89/" title="海贸会经典集粹（三）">海贸会经典集粹（三）</a> (1)</li><li>2011 年 12 月 22 日 -- <a href="http://www.vr188.com/seo/magento-%e4%bf%ae%e6%94%b9%e6%89%80%e6%9c%89%e5%95%86%e5%93%81%e7%9a%84%e4%bb%b7%e6%a0%bc%e4%b8%ba%e5%8e%9f%e6%9d%a5%e7%9a%841-2%e5%80%8d%e7%a4%ba%e4%be%8b/" title="magento &#8212; 修改所有商品的价格为原来的1.2倍示例">magento &#8212; 修改所有商品的价格为原来的1.2倍示例</a> (0)</li><li>2011 年 8 月 27 日 -- <a href="http://www.vr188.com/seo/%e6%b5%b7%e8%b4%b8%e4%bc%9a%e7%bb%8f%e5%85%b8%e9%9b%86%e7%b2%b9%ef%bc%88%e4%ba%8c%ef%bc%89/" title="海贸会经典集粹（二）">海贸会经典集粹（二）</a> (3)</li><li>2011 年 9 月 10 日 -- <a href="http://www.vr188.com/share/%e5%b8%b8%e8%a7%81http-header%e8%bf%94%e5%9b%9e%e7%8a%b6%e6%80%81%e8%af%a6%e8%a7%a3%ef%bc%9a/" title="常见Http Header返回状态详解：">常见Http Header返回状态详解：</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.vr188.com/seo/%e5%80%bc%e5%be%97%e6%8e%a8%e8%8d%90%e7%9a%84%e6%96%b0%e9%97%bb%e5%8f%91%e5%b8%83%e6%8f%92%e4%bb%b6-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

