<?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; 软件</title>
	<atom:link href="http://www.zhangzhenfeng.com/topics/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zhangzhenfeng.com</link>
	<description>阵风：天生我材必有用</description>
	<lastBuildDate>Wed, 14 Sep 2011 09:51:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>修改服务器（vps）的VNC访问密码</title>
		<link>http://www.zhangzhenfeng.com/modify-vncpasswd/</link>
		<comments>http://www.zhangzhenfeng.com/modify-vncpasswd/#comments</comments>
		<pubDate>Thu, 05 May 2011 17:33:46 +0000</pubDate>
		<dc:creator>阵风</dc:creator>
				<category><![CDATA[网站]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[passwd]]></category>
		<category><![CDATA[vnc]]></category>
		<category><![CDATA[vncpasswd]]></category>
		<category><![CDATA[vnc_viewer]]></category>

		<guid isPermaLink="false">http://www.zhangzhenfeng.com/?p=326</guid>
		<description><![CDATA[修改linux类系统密码的命令passwd。修改后发现putty连接的root密码变了，VNC_Viewer连接密码却没变，因为修改VNC_Viewer连接密码的指令是 vncpasswd而非passwd。]]></description>
			<content:encoded><![CDATA[<p>之前用国外的VPS服务器，一般都用putty连接的，需要输入系统用户名（默认root）和密码。这次用了国内的vps，centos系统有VNC_Viewer可以进行可视化远程控制，不过连接时只需要输入密码。</p>
<p>没怎么用过centos系统，就百度了一下，找到修改linux类系统密码的命令passwd。修改后发现putty连接的root密码变了，VNC_Viewer连接密码却没变。又认真百度了一下，才明白修改VNC_Viewer连接密码的指令是 vncpasswd而非passwd。<span id="more-326"></span></p>
<p><img class="aligncenter size-full wp-image-328" title="modify-vncpasswd" src="http://www.zhangzhenfeng.com/wp-content/uploads/2011/05/modify-vncpasswd.jpg" alt="修改VNC登录密码" width="527" height="310" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhangzhenfeng.com/modify-vncpasswd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在FireFox浏览器下使用QQ快速登录</title>
		<link>http://www.zhangzhenfeng.com/firefox-qq-quick-login/</link>
		<comments>http://www.zhangzhenfeng.com/firefox-qq-quick-login/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 13:47:33 +0000</pubDate>
		<dc:creator>阵风</dc:creator>
				<category><![CDATA[软件]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[qq]]></category>
		<category><![CDATA[快速登陆]]></category>

		<guid isPermaLink="false">http://www.zhangzhenfeng.com/?p=301</guid>
		<description><![CDATA[如果你已经在电脑上登录了QQ，在网站登录QQ相关服务时往往可以一键登录。如果用的不是IE核心浏览器，而是FireFox，可能就不能一键登录了——当然，如果设置FireFox为默认浏览器，很多QQ服务自然也可以一键登录。 我用FireFox浏览器比较频繁，但我的FireFox浏览器开了很多账号，不方便作为默认浏览器。我给浏览器安装了Coral IE Tab，可以切换到IE核心浏览一些不兼容FireFox的网站。由于Coral IE Tab可以同步cookies，我在访问QQ服务登录页面时先切换到IE核心，使用快速登录后再切换到FireFox核心就已经登录成功了！ 虽然FireFox可以调用IE核心，但是对于兼容FireFox的网站，尽量不要使用FireFox调用插件来浏览，那样会影响浏览器效率，甚至可能造成浏览器崩溃。另外，如果设置浏览器启动时自动打开上次未关闭页面，那么使用FireFox直接浏览可以保存登录状态。 说明：快速登录似乎不是总是可用，有时看不到这个链接——即使使用IE浏览器。 相关文章： Firefox附加组件：IE tab与Coral IE tab FireFox的多账户管理]]></description>
			<content:encoded><![CDATA[<p>如果你已经在电脑上登录了QQ，在网站登录QQ相关服务时往往可以一键登录。如果用的不是IE核心浏览器，而是FireFox，可能就不能一键登录了——当然，如果设置FireFox为默认浏览器，很多QQ服务自然也可以一键登录。</p>
<p><img class="aligncenter size-full wp-image-302" title="QQ服务登录窗口旁显示“快速登录链接”" src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/12/QQ-login-2.jpg" alt="QQ服务登录窗口旁显示“快速登录链接”" width="405" height="242" /><span id="more-301"></span></p>
<p><img class="aligncenter size-full wp-image-303" title="检测到电脑上已经登录了QQ，就可以快速登录了" src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/12/QQ-quick-login.jpg" alt="检测到电脑上已经登录了QQ，就可以快速登录了" width="409" height="235" /></p>
<p>我用FireFox浏览器比较频繁，但我的FireFox浏览器开了很多账号，不方便作为默认浏览器。我给浏览器安装了Coral IE Tab，可以切换到IE核心浏览一些不兼容FireFox的网站。<span style="color: #ff0000;">由于Coral IE Tab可以同步cookies，我在访问QQ服务登录页面时先切换到IE核心，使用快速登录后再切换到FireFox核心就已经登录成功了！</span></p>
<p>虽然FireFox可以调用IE核心，但是对于兼容FireFox的网站，尽量不要使用FireFox调用插件来浏览，那样会影响浏览器效率，甚至可能造成浏览器崩溃。另外，如果设置浏览器启动时自动打开上次未关闭页面，那么使用FireFox直接浏览可以保存登录状态。</p>
<p>说明：快速登录似乎不是总是可用，有时看不到这个链接——即使使用IE浏览器。</p>
<p>相关文章：<br />
<a href="http://www.zhangzhenfeng.com/firefox-plugin-coral-ie-tab/">Firefox附加组件：IE tab与Coral IE tab</a><br />
<a href="http://www.zhangzhenfeng.com/mozilla-firefox-shortcut-customer/">FireFox的多账户管理</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhangzhenfeng.com/firefox-qq-quick-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FireFox的多账户管理</title>
		<link>http://www.zhangzhenfeng.com/mozilla-firefox-shortcut-customer/</link>
		<comments>http://www.zhangzhenfeng.com/mozilla-firefox-shortcut-customer/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 16:49:19 +0000</pubDate>
		<dc:creator>阵风</dc:creator>
				<category><![CDATA[软件]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[多开]]></category>
		<category><![CDATA[多账户登录]]></category>
		<category><![CDATA[游戏多开]]></category>

		<guid isPermaLink="false">http://www.zhangzhenfeng.com/?p=236</guid>
		<description><![CDATA[玩网页游戏有时希望可以同时登录多个帐号，这个需要安装多个浏览器；360安全浏览器也可以通过设置不同窗口cookies不同步来实现。其实Mozilla Firefox可以很方便的实现多开，而且更方便——可以保存部分登录信息，下次访问某些网站时可能就不需要登录了。FireFox插件丰富，功能强大，对站长来说更是如此。安装了插件多了难免影响FireFox的运行速度，而且某些插件并不常用。FireFox的各个账号的插件管理是互不影响的，因此可以把不常用的插件安装的专门的FireFox账号，这样就达成了FireFox功能与速度的和谐。]]></description>
			<content:encoded><![CDATA[<p>玩网页游戏有时希望可以同时登录多个帐号，这个需要安装多个浏览器；360安全浏览器也可以通过设置不同窗口cookies不同步来实现。其实Mozilla Firefox可以很方便的实现多开，而且更方便——可以保存部分登录信息，下次访问某些网站时可能就不需要登录了。</p>
<p>FireFox插件丰富，功能强大，对站长来说更是如此。安装了插件多了难免影响FireFox的运行速度，而且某些插件并不常用。FireFox的各个账号的插件管理是互不影响的，因此可以把不常用的插件安装的专门的FireFox账号，这样就达成了FireFox功能与速度的和谐。<span id="more-236"></span></p>
<p>建立FireFox账号的步骤如下：<br />
1、<strong>右击FireFox快捷方式，选择“属性”</strong>，如下图。<br />
<a href="http://www.zhangzhenfeng.com/mozilla-firefox-shortcut-customer/mozilla-firefox-shortcut/" rel="attachment wp-att-237"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/08/Mozilla-Firefox-shortcut.jpg" alt="Mozilla Firefox 快捷方式属性" title="Mozilla Firefox 快捷方式属性" width="357" height="461" class="aligncenter size-full wp-image-237" /></a></p>
<p>2、在“目标（T）：”一栏的最后输入“ -P customer -no-remote”（不含引号），其中“-P”的前后各有一个空格，“-no”前面也有一个空格（后面没有），如下图。<br />
<a href="http://www.zhangzhenfeng.com/mozilla-firefox-shortcut-customer/firefox-shortcut-customer/" rel="attachment wp-att-238"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/08/Firefox-shortcut-customer.jpg" alt="给Firefox快捷方式增加参数" title="给Firefox快捷方式增加参数" width="357" height="464" class="aligncenter size-full wp-image-238" /></a></p>
<p>3、点击“确定”按钮保存后再重新通过快捷方式打开FireFox，如下图。<br />
<a href="http://www.zhangzhenfeng.com/mozilla-firefox-shortcut-customer/firefox-shortcut-customer3/" rel="attachment wp-att-239"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/08/Firefox-shortcut-customer3.jpg" alt="Firefox多账户管理" title="Firefox多账户管理" width="361" height="254" class="aligncenter size-full wp-image-239" /></a></p>
<p>4、点击左侧的“创建配置文件”即可新增账号，可以自定义配置文件名和路径，如下图。<br />
<a href="http://www.zhangzhenfeng.com/mozilla-firefox-shortcut-customer/firefox-shortcut-customer4/" rel="attachment wp-att-241"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/08/Firefox-shortcut-customer4.jpg" alt="Firefox创建配置文件" title="Firefox创建配置文件" width="531" height="402" class="aligncenter size-full wp-image-241" /></a><br />
<a href="http://www.zhangzhenfeng.com/mozilla-firefox-shortcut-customer/firefox-shortcut-customer5/" rel="attachment wp-att-242"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/08/Firefox-shortcut-customer5.jpg" alt="Firefox创建配置文件默认账号" title="Firefox创建配置文件默认账号" width="534" height="400" class="aligncenter size-full wp-image-242" /></a><br />
<a href="http://www.zhangzhenfeng.com/mozilla-firefox-shortcut-customer/firefox-shortcut-customer6/" rel="attachment wp-att-243"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/08/Firefox-shortcut-customer6.jpg" alt="创建Firefox配置文件，可以自定义名称和路径" title="创建Firefox配置文件，可以自定义名称和路径" width="536" height="405" class="aligncenter size-full wp-image-243" /></a></p>
<p>5、以后打开FireFox的时候，选择需要启动的账户，点击“启动 FireFox”进入。如下图：<br />
<a href="http://www.zhangzhenfeng.com/mozilla-firefox-shortcut-customer/firefox-shortcut-customer7/" rel="attachment wp-att-240"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/08/Firefox-shortcut-customer7.jpg" alt="登录FireFox时需要选择账户" title="登录FireFox时需要选择账户" width="364" height="250" class="aligncenter size-full wp-image-240" /></a></p>
<p>如果需要保存本次打开的网页及其登录状态信息（cookies），需要在FireFox的“工具&#8212;选项&#8212;主要&#8212;启动”处设置“显示上次打开的窗口和标签页”（如下图）。<br />
<a href="http://www.zhangzhenfeng.com/mozilla-firefox-shortcut-customer/firefox-start/" rel="attachment wp-att-244"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/08/Firefox-start.jpg" alt="在FireFox的“工具---选项---主要---启动”处设置“显示上次打开的窗口和标签页”" title="在FireFox的“工具---选项---主要---启动”处设置“显示上次打开的窗口和标签页”" width="378" height="132" class="aligncenter size-full wp-image-244" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhangzhenfeng.com/mozilla-firefox-shortcut-customer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Putty，免费免安装的SSH软件下载</title>
		<link>http://www.zhangzhenfeng.com/putty-free-ssh/</link>
		<comments>http://www.zhangzhenfeng.com/putty-free-ssh/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 02:54:37 +0000</pubDate>
		<dc:creator>阵风</dc:creator>
				<category><![CDATA[Kloxo]]></category>
		<category><![CDATA[网站]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[putty下载]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[SSH软件]]></category>

		<guid isPermaLink="false">http://www.zhangzhenfeng.com/?p=180</guid>
		<description><![CDATA[Putty是一款免费的SSH软件，而且是免安装的绿色软件，仅有一个Exe文件，只有444KB（版本：0.60.0.0），下载后即可在Windows操作系统下使用。点此下载Putty 双击下载的Exe软件或者其快捷方式，打开如下图所示界面，填入服务器IP地址或相应主机名，点击底部的Open按钮即可进入类似命令行的界面并提示输入用户名，输入用户名后会提示输入密码；输入密码的时候屏幕是不会显示的，只管输入，输入完毕按回车键即可进入。]]></description>
			<content:encoded><![CDATA[<p>Putty是一款免费的SSH软件，而且是免安装的绿色软件，仅有一个Exe文件，只有444KB（版本：0.60.0.0），下载后即可在Windows操作系统下使用。<a href="http://www.zhangzhenfeng.com/wp-content/uploads/2010/06/putty.exe">点此下载Putty</a></p>
<p>双击下载的Exe软件或者其快捷方式，打开如下图所示界面，填入服务器IP地址或相应主机名，点击底部的Open按钮即可进入类似命令行的界面并提示输入用户名，输入用户名后会提示输入密码；输入密码的时候屏幕是不会显示的，只管输入，输入完毕按回车键即可进入。<span id="more-180"></span></p>
<div id="attachment_182" class="wp-caption aligncenter" style="width: 459px"><a rel="attachment wp-att-182" href="http://www.zhangzhenfeng.com/putty-free-ssh/putty-free-ssh-2/"><img class="size-full wp-image-182" title="putty-free-SSH" src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/06/putty-free-SSH.jpg" alt="免费、免安装的绿色SSH软件Puttyd的启动界面" width="449" height="432" /></a><p class="wp-caption-text">免费、免安装的SSH软件Putty启动界面</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.zhangzhenfeng.com/putty-free-ssh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>常用SSH命令</title>
		<link>http://www.zhangzhenfeng.com/ssh-command/</link>
		<comments>http://www.zhangzhenfeng.com/ssh-command/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 18:18:28 +0000</pubDate>
		<dc:creator>阵风</dc:creator>
				<category><![CDATA[Kloxo]]></category>
		<category><![CDATA[网站]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[cd]]></category>
		<category><![CDATA[chmod]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[du]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[pwd]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[SSH命令]]></category>
		<category><![CDATA[unzip]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.zhangzhenfeng.com/?p=164</guid>
		<description><![CDATA[在windows下用Putty连接SSH，鼠标选中文字后，点左键是复制，点右键是粘贴。常用的SSH命令有cd、ls、unzip、chmod、wget、du等。]]></description>
			<content:encoded><![CDATA[<p>在windows下用Putty连接SSH，鼠标选中文字后，点左键是复制，点右键是粘贴。<br />
1、cd命令，切换目录，参数可以是相对路径，也可以是绝对路径。例如：</p>
<blockquote><p><code>cd /home/admin  /*切换到/home/admin/目录 */<br />
cd zhangzhenfeng.com  /*切换到/home/admin/zhangzhenfeng.com */<br />
cd ..                         /*切换到上级目录，这里是/home/admin/目录 */</code></p></blockquote>
<p>  另外还有个pwd命令，可以显示当前路径。</p>
<blockquote><p><code>pwd    /*显示当前完整路径，如果继续上面的命令执行，将显示/home/admin  */</code></p></blockquote>
<p>2、ls命令，显示当前文件夹中的所有文件夹、文件列表，接下来执行其它命令时方便复制、粘贴，避免拼写出错。</p>
<p>3、unzip解压命令。如果当前目录下存在test.zip，执行如下命令可以将其解压到当前目录。</p>
<blockquote><p><code>unzip test.zip</code></p></blockquote>
<p>4、chmod命令，更改文件/文件夹权限。<span id="more-164"></span></p>
<blockquote><p><code>chmod 777 wp-content        /*将wp-content文件夹的权限改为777 */<br />
chmod 777 wp-content -R   /*将wp-content文件夹以及子文件和子文件夹的权限全部改为777 */</code></p></blockquote>
<p>5、wget下载命令。</p>
<blockquote><p><code>wget http://www.caoger.net/nothing.zip<br />
/*将www.caoger.net网站根目录下的文件nothing.zip下载到当前目录 */</code></p></blockquote>
<p>6、du命令，查看文件夹大小。<br />
du -s zhenfeng   /* 显示当前文件夹下子文件夹zhenfeng的大小，单位是KB */<br />
du -sh zhenfeng  /* 显示当前文件夹下子文件夹zhenfeng的大小，单位是MB */</p>
<p>先写到这，以后再补充。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhangzhenfeng.com/ssh-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kloxo的备份与还原</title>
		<link>http://www.zhangzhenfeng.com/kloxo-backup-restore/</link>
		<comments>http://www.zhangzhenfeng.com/kloxo-backup-restore/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 16:28:30 +0000</pubDate>
		<dc:creator>阵风</dc:creator>
				<category><![CDATA[Kloxo]]></category>
		<category><![CDATA[网站]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[备份]]></category>
		<category><![CDATA[还原]]></category>

		<guid isPermaLink="false">http://www.zhangzhenfeng.com/?p=156</guid>
		<description><![CDATA[对于站长来说，经常进行备份（Backup）是个不错的习惯。使用独立主机或者VPS并且安装了Kloxo的话，可以通过Kloxo进行整体备份。使用管理员账号可以对所有网站进行备份。登陆Kloxo，通过“admin”--“资源（Resources）”--“备份主页（Backup Home）”，随便填入一个“备份文件的初始字符（就是备份文件名字的前缀）”，点“Backup Now”按钮即可开始备份。在其它服务器还原之前，先新建一个相同的用户，然后把备份文件上传到对应的备份文件夹，再还原就可以了。]]></description>
			<content:encoded><![CDATA[<p>对于站长来说，经常进行备份（Backup）是个不错的习惯。使用独立主机或者VPS并且安装了Kloxo的话，可以通过Kloxo进行整体备份。使用管理员账号可以对所有网站进行备份。</p>
<p>登陆Kloxo，通过“admin”&#8211;“资源（Resources）”&#8211;“备份主页（Backup Home）”，随便填入一个“备份文件的初始字符（就是备份文件名字的前缀）”，点“Backup Now”按钮即可开始备份。<span id="more-156"></span>如下图：<br />
<img class="aligncenter size-full wp-image-157" title="kloxo-backup-home" src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/06/kloxo-backup-home.jpg" alt="通过Kloxo备份所有网站" width="430" height="496" /></p>
<p>我这里管理员用户是admin，备份文件在/home/kloxo/client/<strong>admin</strong>/__backup目录；上面的文件名前缀我填写的是back-2010-6-28-kloxo，备份后生成的文件是<strong>back-2010-6-28-kloxo</strong>-6.0-admin-2010-Jun-28-1277731569.tar。备份开始后会提示说，备份完将收到邮件提醒；不过能不能收到提醒很难说。我出去吃饭回来也没收到邮件，通过SSH切换到目录/home/kloxo/client/admin，执行命令du -s __backup显示备份目录文件大小为26308KB（如果执行du -sh __backup会提示是26M），过一会再执行也是如此，说明备份完毕。</p>
<p>这个备份文件不在网站目录中，没法下载，用如下命令将备份文件复制到/home/admin/caoger.net，再通过caoger.net的FTP下载后删除。</p>
<blockquote><p><code>cp /home/kloxo/client/admin/__backup/back-2010-6-28-kloxo-6.0-admin-2010-Jun-28-1277731569.tar /home/admin/caoger.net</code></p></blockquote>
<p>在其它服务器还原之前，先新建一个相同的用户，然后把备份文件上传到对应的备份文件夹，再还原就可以了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhangzhenfeng.com/kloxo-backup-restore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kloxo中网站绑定多域名以及泛解析绑定所有子域名的办法</title>
		<link>http://www.zhangzhenfeng.com/kloxo-website-multiple-domain/</link>
		<comments>http://www.zhangzhenfeng.com/kloxo-website-multiple-domain/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 10:32:10 +0000</pubDate>
		<dc:creator>阵风</dc:creator>
				<category><![CDATA[Kloxo]]></category>
		<category><![CDATA[网站]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[parked]]></category>

		<guid isPermaLink="false">http://www.zhangzhenfeng.com/?p=139</guid>
		<description><![CDATA[原来不知道如何在Kloxo面板中给一个网站绑定多个域名，只好使用笨方法：增加网站，绑定相应域名并指定相同目录。
现在终于明白重影域名就是parked domain，增加一个重影域名就相当于多绑定了一个域名。也可以在站点管理页，通过选择“解压/扩展”中“主机别名”来进行多域名绑定，不过只能增加子域名作为别名，但可以进行泛解析绑定增加来绑定所有子域名。]]></description>
			<content:encoded><![CDATA[<p>原来不知道如何在Kloxo面板中给一个网站绑定多个域名，只好使用笨方法：增加网站，绑定相应域名并指定相同目录。</p>
<p>现在终于明白重影域名就是parked domain，增加一个重影域名就相当于多绑定了一个域名。例如：caoger.net可以绑定free8.name作为parked domain。KLoxo中的说明如下：</p>
<blockquote><p><code>A parked domain is a domain that shares the document root the main domain that it points to. It is not a redirection, but rather sharing of the document roots at the core level itself. All the scripts will automatically work, but with the new domain name. A  'source.com/directory'  internally goes to  'destination.com/directory'  , though in the address bar of the browser, the url visible would be  source.com/directory. </code></p></blockquote>
<p>也可以在站点管理页，通过选择“解压/扩展”中“主机别名”来进行多域名绑定。<span id="more-139"></span>如下图：<br />
<a href="http://www.zhangzhenfeng.com/kloxo-website-multiple-domain/cname/" rel="attachment wp-att-146"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/06/cname.jpg" alt="可以在站点管理页，通过选择“解压/扩展”中“主机别名”来进行多域名绑定" title="cname" width="362" height="192" class="aligncenter size-full wp-image-146" /></a><br />
不过站点caoger.net只能增加类似bbs.caoger.net这样的子域名作为别名，不能绑定free8.name。如下图：<br />
<a href="http://www.zhangzhenfeng.com/kloxo-website-multiple-domain/add-cname-bbs/" rel="attachment wp-att-147"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/06/add-cname-bbs.jpg" alt="只能增加类似bbs.caoger.net这样的子域名作为别名" title="add-cname-bbs" width="347" height="129" class="aligncenter size-full wp-image-147" /></a><br />
另外，这里也绑定所有子域名，也就是进行泛解析绑定，上图中的bbs用*替换即可。</p>
<blockquote><p><code>	You can add  *  as an alias so that all the subdomains are automatically directed to this domain. Lxadmin will also automatically add a DNS entry for the alias. Once you configure the catchall subdomain with '*', you can add the proper logic in your script to detect the correct subdomain and do accordingly.</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.zhangzhenfeng.com/kloxo-website-multiple-domain/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>重启Kloxo解决无法访问的问题</title>
		<link>http://www.zhangzhenfeng.com/restart-kloxo/</link>
		<comments>http://www.zhangzhenfeng.com/restart-kloxo/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 12:59:28 +0000</pubDate>
		<dc:creator>阵风</dc:creator>
				<category><![CDATA[Kloxo]]></category>
		<category><![CDATA[网站]]></category>
		<category><![CDATA[软件]]></category>

		<guid isPermaLink="false">http://www.zhangzhenfeng.com/?p=129</guid>
		<description><![CDATA[发现无法访问Kloxo了，普通链接和安全链接都不行，刷新了几次也不行，用SSH命令service kloxo start重启Kloxo后，一切搞定。]]></description>
			<content:encoded><![CDATA[<p>VPS已经运行近10天了，今天发现无法访问Kloxo了，普通链接和安全链接都不行，刷新了几次也不行，弄的FireFox也罕见地崩溃了两次。</p>
<p>相关的网站都可以正常访问，数据库也没问题，但是无法访问Kloxo虚拟主机控制面板，好像是500错误；用IE访问也是这样的提升，我的浏览器没有设置“显示友好的的HTTP错误信息”，服务器也不会设置。重启VPS也没用，怀疑Kloxo没启动，但是不知道如何启动。百度了一下“ssh 启动kloxo”，发现也有人遇到无法访问Kloxo的问题；有人建议删除/home/admin下KLOXO已经归档的日志文件，有人建议用SSH命令service kloxo start重启Kloxo。</p>
<p>我登陆SSH，尝试执行如下重启命令，结果一切搞定！<span id="more-129"></span></p>
<blockquote><p><code><br />
service kloxo start<br />
</code></p></blockquote>
<p>如果这个命令搞不定，例如提示“-bash: fork: Cannot allocate memory”，可能是内存不够了，重启服务器（VPS）后再连接SSH执行一次，一般就解决了。</p>
<p>顺便提一下，如果是新添加的网站不能访问，通过Kloxo重启Apache服务器即可（描述的前一列是重启按钮），如下图：<br />
<a href="http://www.zhangzhenfeng.com/restart-kloxo/restartapache/" rel="attachment wp-att-188"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/06/restartApache.jpg" alt="通过Kloxo重启apahce服务器" title="restartApache" width="500" height="140" class="aligncenter size-full wp-image-188" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhangzhenfeng.com/restart-kloxo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>禁用LxGuard(Lx卫士 )解决Kloxo的FTP不稳定问题</title>
		<link>http://www.zhangzhenfeng.com/stop-lxguard-kloxo-ftp/</link>
		<comments>http://www.zhangzhenfeng.com/stop-lxguard-kloxo-ftp/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 12:27:52 +0000</pubDate>
		<dc:creator>阵风</dc:creator>
				<category><![CDATA[Kloxo]]></category>
		<category><![CDATA[网站]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[LxGuard]]></category>

		<guid isPermaLink="false">http://www.zhangzhenfeng.com/?p=122</guid>
		<description><![CDATA[使用KLOXO，FTP连接极不稳定，基本都不能使用。 根据百度、Google两尊大神的分析，基本可以肯定：kloxo的Lxguard功能是罪魁祸首。 解决办法： 禁用 Lx卫士 或设置白名单。我用的是网通ADLS，IP总不固定，白名单设置显然不行，就只能禁用LxGuard功能了。]]></description>
			<content:encoded><![CDATA[<p>使用KLOXO，FTP连接极不稳定，基本都不能使用。 根据百度、Google两尊大神的分析，基本可以肯定：kloxo的Lxguard功能是罪魁祸首。 解决办法： 禁用 Lx卫士 或设置白名单。我用的是网通ADLS，IP总不固定，白名单设置显然不行，就只能禁用LxGuard功能了。<span id="more-122"></span></p>
<p><a href="http://www.zhangzhenfeng.com/stop-lxguard-kloxo-ftp/stoplxguard/" rel="attachment wp-att-124"><img src="http://www.zhangzhenfeng.com/wp-content/uploads/2010/06/StopLxGuard-600x276.jpg" alt="禁用LxGuard(Lx卫士 )解决Kloxo的FTP不稳定问题" title="StopLxGuard" width="600" height="276" class="aligncenter size-large wp-image-124" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhangzhenfeng.com/stop-lxguard-kloxo-ftp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决KLOXO中文乱码的问题</title>
		<link>http://www.zhangzhenfeng.com/kloxo-chinese-coding/</link>
		<comments>http://www.zhangzhenfeng.com/kloxo-chinese-coding/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 12:01:11 +0000</pubDate>
		<dc:creator>阵风</dc:creator>
				<category><![CDATA[Kloxo]]></category>
		<category><![CDATA[网站]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[Charset]]></category>
		<category><![CDATA[httpd.conf]]></category>

		<guid isPermaLink="false">http://www.zhangzhenfeng.com/?p=120</guid>
		<description><![CDATA[我的KLOXO web服务器选择的是apache，由于apache的缺省编码是UTF-8，我的一些网页默认编码是GBK或 GB2312，结果出现中文乱码。在apache的httpd.conf里，有默认编码的设置。查找AddDefaultCharset，把 AddDefaultCharset UTF8 改为 AddDefaultCharset OFF即可，重启Apahce后生效。]]></description>
			<content:encoded><![CDATA[<p>我的KLOXO web服务器选择的是apache，由于apache的缺省编码是UTF-8，我的一些网页默认编码是GBK或 GB2312，结果出现中文乱码。在apache的httpd.conf里，有默认编码的设置。<span id="more-120"></span></p>
<p>首先用 SSH登陆VPS，执行如下2条命令打开httpd.conf文件。</p>
<blockquote><p><code><br />
cd /etc/httpd/conf/<br />
vi httpd.conf<br />
</code></p></blockquote>
<p>这时已经打开httpd.conf进入编辑状态。<br />
查找AddDefaultCharset，把 AddDefaultCharset UTF8 改为 AddDefaultCharset OFF 。这样的话，打开页面的时候就会按照网页的编码设置来打开网页。（不过对我这种新手来说，Vi还是比较令人头痛的）</p>
<p>通过Kloxo界面或者输入以下命令重启Apache即可。</p>
<blockquote><p><code>/etc/init.d/httpd restart</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.zhangzhenfeng.com/kloxo-chinese-coding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

