<?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>LeNgHoSt的小窝 &#187; VPS相关</title>
	<atom:link href="http://www.lenghost.cn/tag/vps/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lenghost.cn</link>
	<description>I did it my way, 'Cause it's my life!</description>
	<lastBuildDate>Tue, 08 Nov 2011 23:39:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VPS推荐：XEN/Windows VPS &#8211; 55元/月</title>
		<link>http://www.lenghost.cn/vps/xen-vps-windows-vps-55rmb-a-month/</link>
		<comments>http://www.lenghost.cn/vps/xen-vps-windows-vps-55rmb-a-month/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 13:59:46 +0000</pubDate>
		<dc:creator>LeNgHoSt</dc:creator>
				<category><![CDATA[VPS相关]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XEN]]></category>

		<guid isPermaLink="false">http://www.lenghost.cn/?p=871</guid>
		<description><![CDATA[CPU：Xeon E5620
内存：512MB
硬盘：15G
流量：1000G/月
独立IP：1个
操作系统：Linux/Windows/BSD
XEN-HVM完全虚拟化技术，SolusVM控制面板，可自行加载ISO镜像，安装各种版本的Linux，Windows 2003和2008。
立即购买
如果只需要运行Linux系统，推荐XEN-PV型的VPS，不能安装Windows，性能较XEN-HVM稍好。
立即购买
]]></description>
			<content:encoded><![CDATA[<p>CPU：<strong>Xeon E5620</strong><br />
内存：<strong>512MB</strong><br />
硬盘：<strong>15G</strong><br />
流量：<strong>1000G</strong>/月<br />
独立IP：<strong>1</strong>个<br />
操作系统：Linux/<strong>Windows</strong>/BSD</p>
<p>XEN-HVM完全虚拟化技术，SolusVM控制面板，可自行加载ISO镜像，安装各种版本的Linux，Windows 2003和2008。</p>
<p><a href="http://item.taobao.com/item.htm?id=6127840508" target="newwindow">立即购买</a></p>
<p>如果只需要运行Linux系统，推荐XEN-PV型的VPS，不能安装Windows，性能较XEN-HVM稍好。</p>
<p><a href="http://item.taobao.com/item.htm?id=6878595072" target="newwindow">立即购买</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lenghost.cn/vps/xen-vps-windows-vps-55rmb-a-month/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>SonicVPS Xen 192M评测</title>
		<link>http://www.lenghost.cn/vps/sonicvps-xen-192m-review/</link>
		<comments>http://www.lenghost.cn/vps/sonicvps-xen-192m-review/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 13:55:22 +0000</pubDate>
		<dc:creator>LeNgHoSt</dc:creator>
				<category><![CDATA[VPS相关]]></category>
		<category><![CDATA[SonicVPS]]></category>
		<category><![CDATA[评测]]></category>

		<guid isPermaLink="false">http://www.lenghost.cn/?p=861</guid>
		<description><![CDATA[上个月购买的SonicVPS，用了WHT上的优惠码，65% off的终生优惠，最低一款192M的不到$4/月，性价比极高，5G硬盘，50G流量，就是流量少点。买他的最大原因就是带正版WHMCS授权，要知道这个授权单买的话要$10多，其他带正版WHMCS的VPS最低也要$20多。
SonicVPS的机房位于美国西海岸的Portland，我用的联通宽带，tracert过去走的he.net的线路，节点很少。
Tracing route to 69-163-38-166.static.dnsem.com [69.163.38.166]
over a maximum of 30 hops:
  8   214 ms   215 ms   215 ms  219.158.25.46
  9   230 ms   317 ms   230 ms  gige-g5-7.core1.sjc2.he.net [216.218.209.113]
 10   248 ms   249 ms   249 ms  10gigabitethernet1-1.core1.sea1.he.net [72.52.92.50]
 11   240 ms   263 ms   239 ms  38.100.208.186
 12   254 ms   257 ms   252 ms  69-163-38-166.static.dnsem.com [69.163.38.166]
Trace complete.
VPS开通很快，购买后不到一小时就收到帐号信息，SolusVM控制面板，里面的系统模板比较丰富，CPU开了两个核心，跑了下UnixBench，121.9，分数一般。
购买后立即申请WHMCS，等了大概两天，在后台里多了一个WHMCS License，里面有序列号和WHMCS最新版的下载，装好后非常有满足感，呵呵，咱也用上正版的WHMCS了，谁知道才用了一天，第二天进后台就提示License Suspended了。然后发Ticket问客服怎么回事，又过了几天给了我一个新的License，重新安装后，进后台仍然提示License Suspended，这次客服给的答复是：
Unfortunately [...]]]></description>
			<content:encoded><![CDATA[<p>上个月购买的SonicVPS，用了WHT上的优惠码，65% off的终生优惠，最低一款192M的不到$4/月，性价比极高，5G硬盘，50G流量，就是流量少点。买他的最大原因就是带正版WHMCS授权，要知道这个授权单买的话要$10多，其他带正版WHMCS的VPS最低也要$20多。</p>
<p>SonicVPS的机房位于美国西海岸的Portland，我用的联通宽带，tracert过去走的he.net的线路，节点很少。</p>
<blockquote><p>Tracing route to 69-163-38-166.static.dnsem.com [69.163.38.166]<br />
over a maximum of 30 hops:</p>
<p>  8   214 ms   215 ms   215 ms  219.158.25.46<br />
  9   230 ms   317 ms   230 ms  gige-g5-7.core1.sjc2.he.net [216.218.209.113]<br />
 10   248 ms   249 ms   249 ms  10gigabitethernet1-1.core1.sea1.he.net [72.52.92.50]<br />
 11   240 ms   263 ms   239 ms  38.100.208.186<br />
 12   254 ms   257 ms   252 ms  69-163-38-166.static.dnsem.com [69.163.38.166]</p></blockquote>
<blockquote><p>Trace complete.</p></blockquote>
<p><span id="more-861"></span>VPS开通很快，购买后不到一小时就收到帐号信息，SolusVM控制面板，里面的系统模板比较丰富，CPU开了两个核心，跑了下UnixBench，121.9，分数一般。</p>
<p>购买后立即申请WHMCS，等了大概两天，在后台里多了一个WHMCS License，里面有序列号和WHMCS最新版的下载，装好后非常有满足感，呵呵，咱也用上正版的WHMCS了，谁知道才用了一天，第二天进后台就提示License Suspended了。然后发Ticket问客服怎么回事，又过了几天给了我一个新的License，重新安装后，进后台仍然提示License Suspended，这次客服给的答复是：</p>
<blockquote><p>Unfortunately a client here was involved in activities against the terms of WHMCS, and because of these activities our contract with WHMCS was terminated. This was out of our control, please realize that we did everything possible to reinstate this contract, which is primary reason for the delay in getting back to you. We realize this is an inconvenience to you, so we&#8217;ve credited your account for one month of FREE service.</p>
<p>Please accept our apologies, we hope you find the free month of service to be satisfactory.</p>
<p>Victor Lugo<br />
Senior Systems Administrator</p></blockquote>
<p>大致意思就是因为有些客户违反了WHMCS的TOS，他们和WHMCS的合约被终止了，暂时无法继续提供WHMCS授权，他们会尽快恢复，为了表示歉意，给我的VPS免费续费了一个月。</p>
<p>关于稳定性，刚购买后的近半个月，一直经常Time out，几乎天天都有一段时间无法访问，发Ticket问客服，客服的响应倒是很迅速，有时候不到5分钟就回复了，开始说有客户被DDOS导致网络问题，后来发现机房有台交换机有问题，直到上周，网络恢复正常了，最近一周多非常稳定，在线率100%。</p>
<p>关于速度，在VPS上安装了VPN，网络闲时可以勉强观看youtube的360p，速度不快，但可以接受，和其他美国VPS传输数据速度也不错，基本都在2-5MB/s，令人惊讶的是下载SoftLayer西雅图的100MB测试文件，速度能达到34MB/s，看来SonicVPS主机用的是1Gbps的端口。</p>
<p>已经把之前做的那个vpslook.com搬到SonicVPS上了，取消了QuickWeb的VPS，主要是这边便宜些，这个VPS就用来做个备份，装个VPN没事翻个墙什么的，实在是没必要花那么多钱在上面。相比之下，QuickWeb的VPS确实比这个要好很多，一直很稳定，没怎么出过问题，主机速度虽然是10Mbps，但看youtube比SonicVPS要快，一般不卡，而且他们的Support团队技术也很过硬。最近QuickWeb又推出了<a href="http://quickweb.co.nz/chinese" target="_blank">中文优惠页面</a>，大力进军中国市场，有需要的朋友可以去看看。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lenghost.cn/vps/sonicvps-xen-192m-review/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>DMEHosting &#8211; 不建议购买的VPS</title>
		<link>http://www.lenghost.cn/vps/dmehosting-not-recommend-vps/</link>
		<comments>http://www.lenghost.cn/vps/dmehosting-not-recommend-vps/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 17:08:23 +0000</pubDate>
		<dc:creator>LeNgHoSt</dc:creator>
				<category><![CDATA[VPS相关]]></category>
		<category><![CDATA[DMEHosting]]></category>

		<guid isPermaLink="false">http://www.lenghost.cn/?p=859</guid>
		<description><![CDATA[前两天在WHT看到DMEHosting的优惠信息，首月半价，最低配置一款384M内存才$2.98，就买了一款试用。速度是不错，网通访问走的Level3线路，机房在西海岸的Seattle。把我的图片站和小说站都转移到上面，访问速度比之前快些，本以为一切正常就转到它这里来，谁知道才用了两天，就被关了，收到一封邮件，说超资源，我还是头一次用VPS碰到超资源的。
This is to let you know that your VPS is consuming large amounts of CPU resources. This kind of usage decreases the performance for every other client on that node. This high usage can also lead to hardware failure which is why we must warn you about this. Please look into your VPS and find [...]]]></description>
			<content:encoded><![CDATA[<p>前两天在WHT看到DMEHosting的优惠信息，首月半价，最低配置一款384M内存才$2.98，就买了一款试用。速度是不错，网通访问走的Level3线路，机房在西海岸的Seattle。把我的图片站和小说站都转移到上面，访问速度比之前快些，本以为一切正常就转到它这里来，谁知道才用了两天，就被关了，收到一封邮件，说超资源，我还是头一次用VPS碰到超资源的。</p>
<blockquote><p>This is to let you know that your VPS is consuming large amounts of CPU resources. This kind of usage decreases the performance for every other client on that node. This high usage can also lead to hardware failure which is why we must warn you about this. Please look into your VPS and find out what is causing the high CPU usage. Failure to do so will lead to suspension which is something we would like to avoid at all costs.</p>
<p>Current Load Levels: 2.68, 2.11, 1.74</p>
<p>(Anything above a 1.00 is too high and warrants for a dedicated server)</p>
<p>We have turned your VPS off for now, please do not turn it back on unless you are ready to investigate your VPS and fix the issues that are causing the high loads. Turning it back on and not doing anything about the high loads may lead to suspension of your service.</p>
<p>CPU loads like this can usually be fixed pretty easily by finding the rogue hosting account or script and stopping it.</p>
<p>Thank you</p></blockquote>
<p>晕了，Load超过1.00就给我关机了，但是可以自己再进后台打开，太让人失望了，同样的两个网站放在其他两个VPS上用着都没事，在DMEHosting上这才用了两天就因为超资源被关机，所以不建议大家购买DMEHosting的VPS。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lenghost.cn/vps/dmehosting-not-recommend-vps/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>VPS推荐 &#8211; QuickWeb XEN VPS</title>
		<link>http://www.lenghost.cn/vps/vps-quickweb-xen-vps/</link>
		<comments>http://www.lenghost.cn/vps/vps-quickweb-xen-vps/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 16:38:11 +0000</pubDate>
		<dc:creator>LeNgHoSt</dc:creator>
				<category><![CDATA[VPS相关]]></category>
		<category><![CDATA[QuickWeb]]></category>
		<category><![CDATA[推荐]]></category>

		<guid isPermaLink="false">http://www.lenghost.cn/?p=857</guid>
		<description><![CDATA[前阵子在酷胖优惠码看到QuickWeb的VPS优惠信息，XEN 128M优惠后才$6.46/月，就买了一个，在硅谷机房，10Mbps不限流量，就是看中这点才买的，打算搞个PPTP的VPN玩玩。
购买很顺利，晚上12点买的，第二天早上起来就开通了，看看邮件时间是4点，开通速度还是不错的。
有SolusVM控制面板，可以自由重装系统，不过功能比起HyperVM的控制面板要简单好多。
硅谷机房的速度果然不错，之前用FsckVPS建的OpenVPN，始终无法流畅观看YouTube的视频，而这个VPS装好PPTP的VPN后，大部分时间可以流畅观看YouTube的普通视频，HD格式的稍微有点卡。
由于运行速度不错，才用了3天，打算升级到256M内存的，当时优惠价也才$9.71/月，就发Ticket给客服，回复倒是很快，可以补差价，但是要以优惠价升级需要缴纳一次性升级费$5，唉，为了长久打算，就交了$8.x费用，升级到了256M内存，之后又装了LAMP，一运行，256M内存就基本占满了。后来换成LNMP，Nginx果然省内存，运行后才用了100多M。模仿酷胖优惠码的模式也搞了个VPS优惠信息的站点（vpslook.com），不过是英文的，以后把一些搜集到的VPS配置教程也放的那儿，方便查阅。


数据中心:美国加州圣何塞San Jose, CA (USA)  - 亚洲高速连接
Xen 入门方案 - $9.95/月!  (终身优惠35% 使用优惠码: XEN35)
Xen Hypervisor &#8211; 单至强核心
128MB 内存 &#124; 256Mb 突发内存 
5GB 磁盘空间, 1 IPs &#8211; 240GB流量 10mbit端口
CentOS, Fedora, Debian, Ubuntu
自主管理
Order Now!
QuickWeb最新中文优惠页面：http://quickweb.co.nz/chinese
]]></description>
			<content:encoded><![CDATA[<p>前阵子在<a href="http://whcoupon.com" target="newwindow">酷胖优惠码</a>看到<a href="http://secure.quickweb.co.nz/system/aff.php?aff=013" target="newwindow">QuickWeb</a>的VPS优惠信息，XEN 128M优惠后才$6.46/月，就买了一个，在硅谷机房，10Mbps不限流量，就是看中这点才买的，打算搞个PPTP的VPN玩玩。<br />
购买很顺利，晚上12点买的，第二天早上起来就开通了，看看邮件时间是4点，开通速度还是不错的。<br />
有SolusVM控制面板，可以自由重装系统，不过功能比起HyperVM的控制面板要简单好多。<br />
硅谷机房的速度果然不错，之前用FsckVPS建的OpenVPN，始终无法流畅观看YouTube的视频，而这个VPS装好PPTP的VPN后，大部分时间可以流畅观看YouTube的普通视频，HD格式的稍微有点卡。<br />
由于运行速度不错，才用了3天，打算升级到256M内存的，当时优惠价也才$9.71/月，就发Ticket给客服，回复倒是很快，可以补差价，但是要以优惠价升级需要缴纳一次性升级费$5，唉，为了长久打算，就交了$8.x费用，升级到了256M内存，之后又装了LAMP，一运行，256M内存就基本占满了。后来换成LNMP，Nginx果然省内存，运行后才用了100多M。模仿酷胖优惠码的模式也搞了个VPS优惠信息的站点（<a href="http://vpslook.com" target="newwindow">vpslook.com</a>），不过是英文的，以后把一些搜集到的VPS配置教程也放的那儿，方便查阅。<br />
<span id="more-857"></span><br />
<a href="http://secure.quickweb.co.nz/system/aff.php?aff=013" target="newwindow"><img src="http://quickweb.co.nz/images/banners/qw-392x72-3a.gif" border="0" alt="" /></a></p>
<blockquote><p>数据中心:美国加州圣何塞San Jose, CA (USA)  - <em>亚洲高速连接<br />
</em><strong>Xen 入门方案 - $9.95/月!  (终身优惠35% 使用优惠码: XEN35)<br />
</strong>Xen Hypervisor &#8211; 单至强核心<strong><br />
</strong>128MB 内存 | 256Mb 突发内存 <br />
5GB 磁盘空间, 1 IPs &#8211; 240GB流量 10mbit端口<em><br />
</em>CentOS, Fedora, Debian, Ubuntu<br />
自主管理</p></blockquote>
<p><a href="http://secure.quickweb.co.nz/system/aff.php?aff=013" target="newwindow"><strong>Order Now!</strong></a></p>
<p><strong>QuickWeb最新中文优惠页面：</strong><a href="http://quickweb.co.nz/chinese" target="_blank">http://quickweb.co.nz/chinese</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lenghost.cn/vps/vps-quickweb-xen-vps/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>今天取消了FsckVPS上的VPS</title>
		<link>http://www.lenghost.cn/site-news/cancellation-request-for-fsckvp/</link>
		<comments>http://www.lenghost.cn/site-news/cancellation-request-for-fsckvp/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 05:50:22 +0000</pubDate>
		<dc:creator>LeNgHoSt</dc:creator>
				<category><![CDATA[站点日志]]></category>
		<category><![CDATA[BurstNET]]></category>
		<category><![CDATA[FsckVPS]]></category>
		<category><![CDATA[VPS相关]]></category>

		<guid isPermaLink="false">http://www.lenghost.cn/?p=856</guid>
		<description><![CDATA[FsckVPS价格上调了，现在已经更换为BurstNET的VPS，$5.95/月，配置和之前的FsckVPS那款VPS相当，经过半个月的使用，稳定性不错，数据也已经全部转移到新VPS。
Dear,
This email is to confirm that we have received your cancellation request for the service listed below.
Product/Service: 512Mb Plan &#8211; Dallas
Domain: lenghost.cn.
If you requested immediate cancellation then the service will be terminated within the next 24 hours. If however you chose end of billing cycle, it will not be cancelled until 18/12/2009.
Thank you for using [...]]]></description>
			<content:encoded><![CDATA[<p>FsckVPS价格上调了，现在已经更换为<a onmouseover="window.status='http://www.burst.net';return true;" onmouseout="window.status=' ';return true;" rel="nofollow" href="https://service.burst.net/aff2.php?aff=369&#038;affurl=0" target="_blank">BurstNET</a>的VPS，$5.95/月，配置和之前的FsckVPS那款VPS相当，经过半个月的使用，稳定性不错，数据也已经全部转移到新VPS。</p>
<blockquote><p>Dear,</p>
<p>This email is to confirm that we have received your cancellation request for the service listed below.</p>
<p>Product/Service: 512Mb Plan &#8211; Dallas<br />
Domain: lenghost.cn.</p>
<p>If you requested immediate cancellation then the service will be terminated within the next 24 hours. If however you chose end of billing cycle, it will not be cancelled until 18/12/2009.</p>
<p>Thank you for using VAServe and we hope to see you again in the future.</p>
<p>VAServe a trading name of BlueSquare VPS Ltd</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.lenghost.cn/site-news/cancellation-request-for-fsckvp/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>惊，BurstNET刚用了10天就发来催款Invoice</title>
		<link>http://www.lenghost.cn/site-news/burstnet-invoice/</link>
		<comments>http://www.lenghost.cn/site-news/burstnet-invoice/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 13:34:06 +0000</pubDate>
		<dc:creator>LeNgHoSt</dc:creator>
				<category><![CDATA[站点日志]]></category>
		<category><![CDATA[BurstNET]]></category>
		<category><![CDATA[VPS相关]]></category>

		<guid isPermaLink="false">http://www.lenghost.cn/?p=852</guid>
		<description><![CDATA[11月26号购买的VPS，刚用了10天，这就给我发来下个月的缴费邮件了……
Friday, December 4, 2009
Dear user,
This is a notice that an invoice has been generated on 12/04/2009.
Your payment method is: PayPal
Invoice #241518
Amount Due: $5.95 USD
Due Date: 12/26/2009
Invoice Items
VPS #1 (Virtual Private Server) &#8211; vePortal &#8211; (12/26/2009 &#8211; 01/25/2010)
OS Template: CentOS 5 &#8211; 32-BIT
Control Panel: No Control Panel Installation / License
IP Addresses (Base Allocation): 2
External Backup Storage [...]]]></description>
			<content:encoded><![CDATA[<p>11月26号购买的VPS，刚用了10天，这就给我发来下个月的缴费邮件了……</p>
<blockquote><p>Friday, December 4, 2009</p>
<p>Dear user,</p>
<p>This is a notice that an invoice has been generated on 12/04/2009.</p>
<p>Your payment method is: PayPal</p>
<p>Invoice #241518<br />
Amount Due: $5.95 USD<br />
Due Date: 12/26/2009</p>
<p>Invoice Items</p>
<p>VPS #1 (Virtual Private Server) &#8211; vePortal &#8211; (12/26/2009 &#8211; 01/25/2010)<br />
OS Template: CentOS 5 &#8211; 32-BIT<br />
Control Panel: No Control Panel Installation / License<br />
IP Addresses (Base Allocation): 2<br />
External Backup Storage &#8211; (FTP/SSH/RSYNC/VPN/MAPPED): None<br />
Firewall Security Service &#8211; (Hardware Based): None<br />
DDOS Protection Service &#8211; (Hardware Based): Network-Level<br />
Fully Managed Service &#8211; (Phone Support, Multi-Port Monitoring, 3rd Party Script Basic Assistance, Limited Free O/S Re-installs): None<br />
CPanel/WHM Add-On &#8211; Fantastico &#8211; (Script &#038; Open-Source Software Auto-Installer): None<br />
Plesk Add-On &#8211; Power Pack &#8211; (Bundle of SpamAssassin, Application Pack, Helpdesk, PostgreSQL/MSSQL, Tomcat, &#038; ColdFusion Add-Ons): None<br />
Plesk Add-On &#8211; Language Pack &#8211; Additional Language: None $5.95 USD<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Sub Total: $5.95 USD<br />
Credit: $0.00 USD<br />
Total: $5.95 USD<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.lenghost.cn/site-news/burstnet-invoice/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>BurstNET的VPS安装OpenVPN教程总结</title>
		<link>http://www.lenghost.cn/vps/burstnet-vps-openvpn-install/</link>
		<comments>http://www.lenghost.cn/vps/burstnet-vps-openvpn-install/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 07:11:51 +0000</pubDate>
		<dc:creator>LeNgHoSt</dc:creator>
				<category><![CDATA[VPS相关]]></category>
		<category><![CDATA[BurstNET]]></category>
		<category><![CDATA[OpenVPN]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[教程]]></category>

		<guid isPermaLink="false">http://www.lenghost.cn/?p=851</guid>
		<description><![CDATA[今天在BurstNET的VPS上尝试安装OpenVPN成功，过程比较繁琐，在这里做个总结，留作以后备用，呵呵
安装之前，请先确认VPS已经开启tun/tap支持，并且加载了iptables支持NAT。BurstNET的VPS默认是不支持的，无法正常使用OpenVPN。
如何确认是否开启了tun/tap？
cat /dev/net/tun
如果返回信息为：cat: /dev/net/tun: File descriptor in bad state. 说明已经开启。
你可以直接给客服发个Ticket告诉他你要用OpenVPN，让他开启tun/tap就行了。
我是这样说的：（不知道语法对不对哈，反正客服能看懂意思就行了，嘿嘿）
Can you help me enable tun/tap?
I want to run openvpn, need tun/tap support.
不一会客服就回复说：
This has been added to your container. Have a good day.

确认开启了tun/tap后，就可以安装OpenVPN了。
我是用yum安装的，网上搜到的教程大部分都是直接下载源码，自己make install的，有点复杂。
但是用yum安装需要一个前提，因为OpenVPN不在CentOS默认的库里，直接运行yum install openvpn会失败，要先安装RPMForge，RPMForge是一个Linux社区的软件仓库，包含了支持CentOS或者Redhat的4000多个软件。软件是通过RPM包的形式提供，支持yum安装管理工具。
安装RPMForge：
下载rpmforge-release
i386: http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
x86_64: http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
导入KEY

rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

安装
rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm
测试
yum check-update
安装OpenVPN：
可能系统之前没有安装openssl相关组件，先安装下
yum install openssl openssl-devel -y
然后再安装openvpn
yum install openvpn -y
根据提示会下载几个相关的软件包，一路按y确定就可以了。
生成证书和key：
find / -name easy-rsa #搜索easy-rsa目录
#一般会在下面的目录中找到
cd /usr/share/doc/openvpn-2.0.9/easy-rsa
. vars #注意：点和vars之间有个空格
chmod [...]]]></description>
			<content:encoded><![CDATA[<p>今天在BurstNET的VPS上尝试安装OpenVPN成功，过程比较繁琐，在这里做个总结，留作以后备用，呵呵</p>
<p>安装之前，请先确认VPS已经开启tun/tap支持，并且加载了iptables支持NAT。BurstNET的VPS默认是不支持的，无法正常使用OpenVPN。</p>
<p><strong>如何确认是否开启了tun/tap？</strong><br />
<em>cat /dev/net/tun</em><br />
如果返回信息为：<em>cat: /dev/net/tun: File descriptor in bad state.</em> 说明已经开启。</p>
<p>你可以直接给客服发个Ticket告诉他你要用OpenVPN，让他开启tun/tap就行了。<br />
我是这样说的：（不知道语法对不对哈，反正客服能看懂意思就行了，嘿嘿）<br />
<em>Can you help me enable tun/tap?<br />
I want to run openvpn, need tun/tap support.</em><br />
不一会客服就回复说：<br />
<em>This has been added to your container. Have a good day.</em><br />
<span id="more-851"></span><br />
确认开启了tun/tap后，就可以安装OpenVPN了。<br />
我是用yum安装的，网上搜到的教程大部分都是直接下载源码，自己make install的，有点复杂。<br />
但是用yum安装需要一个前提，因为OpenVPN不在CentOS默认的库里，直接运行yum install openvpn会失败，要先安装RPMForge，RPMForge是一个Linux社区的软件仓库，包含了支持CentOS或者Redhat的4000多个软件。软件是通过RPM包的形式提供，支持yum安装管理工具。</p>
<p><strong>安装RPMForge：</strong><br />
下载rpmforge-release<br />
i386: http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm<br />
x86_64: http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm<br />
导入KEY<br />
<em>
<pre>rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt</pre>
<p></em><br />
安装<br />
<em>rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm</em><br />
测试<br />
<em>yum check-update</em></p>
<p><strong>安装OpenVPN：</strong><br />
可能系统之前没有安装openssl相关组件，先安装下<br />
<em>yum install openssl openssl-devel -y</em><br />
然后再安装openvpn<br />
<em>yum install openvpn -y</em><br />
根据提示会下载几个相关的软件包，一路按y确定就可以了。</p>
<p><strong>生成证书和key：</strong><br />
<em>find / -name easy-rsa</em> #搜索easy-rsa目录<br />
#一般会在下面的目录中找到<br />
<em>cd /usr/share/doc/openvpn-2.0.9/easy-rsa</em><br />
<em>. vars</em> #注意：点和vars之间有个空格<br />
<em>chmod 777 *</em><br />
<em>./clean-all</em><br />
<em>./build-ca</em> #Common Name输入server，其他默认<br />
<em>./build-key-server server</em> #Comman Name输入server，其他默认，最后按y生成证书<br />
<em>./build-key client01</em> #Comman Name输入client01，其他默认，最后按y生成证书<br />
#如果需要多个客户端登录，依次生成其他客户端证书/key<br />
<em>./build-key client02</em><br />
<em>./build-key client03</em><br />
&#8230;&#8230;<br />
#要注意，每个客户端的Comman Name必须不同<br />
<em>./build-dh</em><br />
<em>mkdir /etc/openvpn</em><br />
<em>cp keys /etc/openvpn -r</em> #将keys文件夹复制到/etc/openvpn目录<br />
<em>tar -cf keys.tar keys</em> #将打包好的keys.tar文件下载到本地</p>
<p><strong>修改配置文件：</strong><br />
<em>cd ..</em><br />
<em>cd sample-config-files</em><br />
<em>cp server.conf /usr/local/etc</em><br />
<em>vi /usr/local/etc/server.conf</em><br />
服务端配置文件：</p>
<blockquote><p>
local <em>你VPS的IP地址</em><br />
port 1194<br />
proto tcp<br />
dev tun<br />
ca /etc/openvpn/keys/ca.crt<br />
cert /etc/openvpn/keys/server.crt<br />
key /etc/openvpn/keys/server.key<br />
dh /etc/openvpn/keys/dh1024.pem<br />
server 10.8.0.0 255.255.255.0<br />
push &#8220;dhcp-option DNS 10.8.0.1&#8243;<br />
push &#8220;dhcp-option DNS 208.67.222.222&#8243;<br />
push &#8220;dhcp-option DNS 208.67.220.220&#8243;<br />
client-to-client<br />
keepalive 10 120<br />
comp-lzo<br />
persist-key<br />
persist-tun<br />
status /etc/openvpn/keys/openvpn-status.log<br />
verb 4</p></blockquote>
<p><em>cp client.conf /usr/local/etc</em><br />
<em>vi /usr/local/etc/client.conf</em><br />
客户端配置文件：</p>
<blockquote><p>client<br />
dev tun<br />
proto tcp<br />
remote 你vps的ip 1194<br />
persist-key<br />
persist-tun<br />
ca ca.crt<br />
cert client01.crt<br />
key client01.key<br />
#这里的两个文件名必须和前面生成的证书文件名一样<br />
ns-cert-type server<br />
comp-lzo<br />
verb 3<br />
redirect-gateway def1</p></blockquote>
<p><strong>运行OpenVPN：<br />
</strong><em>
<pre>/usr/sbin/openvpn --config /usr/local/etc/server.conf &#038;</pre>
<p></em></p>
<p><strong>配置iptables转发规则：</strong><br />
<em>
<pre>/sbin/iptables -t nat -A POSTROUTING -s 10.8.0.0/255.255.255.0 -j SNAT --to-source 你vps的ip</pre>
<p></em><br />
<em>/etc/init.d/iptables save</em><br />
<em>/etc/init.d/iptables restart</em><br />
开启ip-forward：<br />
运行：<em>sysctl -a | grep for</em></p>
<blockquote><p>net.ipv6.conf.lo.force_mld_version = 0<br />
net.ipv6.conf.lo.forwarding = 1<br />
net.ipv6.conf.default.force_mld_version = 0<br />
net.ipv6.conf.default.forwarding = 1<br />
net.ipv6.conf.all.force_mld_version = 0<br />
net.ipv6.conf.all.forwarding = 1<br />
net.ipv4.ip_forward = 1<br />
net.ipv4.conf.tun0.force_igmp_version = 0<br />
net.ipv4.conf.tun0.mc_forwarding = 0<br />
net.ipv4.conf.tun0.forwarding = 1<br />
net.ipv4.conf.venet0.force_igmp_version = 0<br />
net.ipv4.conf.venet0.mc_forwarding = 0<br />
net.ipv4.conf.venet0.forwarding = 1<br />
net.ipv4.conf.lo.force_igmp_version = 0<br />
net.ipv4.conf.lo.mc_forwarding = 0<br />
net.ipv4.conf.lo.forwarding = 1<br />
net.ipv4.conf.default.force_igmp_version = 0<br />
net.ipv4.conf.default.mc_forwarding = 0<br />
net.ipv4.conf.default.forwarding = 1<br />
net.ipv4.conf.all.force_igmp_version = 0<br />
net.ipv4.conf.all.mc_forwarding = 0<br />
net.ipv4.conf.all.forwarding = 1</p></blockquote>
<p>如果你的主机上列数值不是为1, 则要将其改成1<br />
例如：<em><strong>sysctl -w net.ipv4.ip_forward=1</strong></em></p>
<p><strong>设置OpenVPN开机自动运行：</strong><br />
<em>vi /etc/rc.local</em><br />
在最后面加入此行:<br />
<em>
<pre>/usr/sbin/openvpn --config /usr/local/etc/server.conf > /dev/null 2>&#038;1 &#038;</pre>
<p></em></p>
<p>Windows下客户端的安装配置：<br />
下载OpenVPN GUI For Windows</p>
<p>http://openvpn.se/files/install_packages/openvpn-2.0.9-gui-1.0.3-install.exe</p>
<p>依屏幕指示安装OpenVPN GUI<br />
安装结束后，进入安装文件夹的config目录，将之前在VPS上建立的<em>client.conf</em>文件下载到该目录，并更名为<em>client.ovpn</em><br />
把之前打包的keys.tar也解压到config目录里。<br />
然后右键点击<em>client.ovpn</em>选择<em>Start OpenVPN on this config file</em><br />
或者从开始菜单里运行OpenVPN GUI，在右下角图标上点右键选<em>Connect</em></p>
<p>成功连接后，右下角的OpenVPN GUI图标会由红色变为绿色<br />
这时打开www.ip138.com查看当前IP地址就会显示你VPS的IP了</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lenghost.cn/vps/burstnet-vps-openvpn-install/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>BurstNET廉价VPS推荐</title>
		<link>http://www.lenghost.cn/vps/burstnet-cheap-vps-introduce/</link>
		<comments>http://www.lenghost.cn/vps/burstnet-cheap-vps-introduce/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 14:42:09 +0000</pubDate>
		<dc:creator>LeNgHoSt</dc:creator>
				<category><![CDATA[VPS相关]]></category>
		<category><![CDATA[BurstNET]]></category>

		<guid isPermaLink="false">http://www.lenghost.cn/?p=850</guid>
		<description><![CDATA[上个月，FsckVPS开始涨价了，已经不再是最实惠的VPS了。这几天一直在网上寻找其他的VPS，打算减少一下每月的开支。最后看到BurstNET一款512M的VPS非常实惠($5.95/月)，刚用了几天，还比较满意，当然稳定性怎么样，这个需要长期考验。
BurstNET简介
BurstNET是一家成立于1991年，致力于网络主机服务的，位于宾夕法尼亚州东北，面积超过11000平方公尺，服务于全球100多个国家的独立服务器提供商。
最低配置低的一款基于OpenVZ的VPS只要$5.95/月：
VPS Software: vePortal™ / OpenVZ™
CPU: 1000MHZ GUARANTEED
Memory: 512MB GUARANTEED
Disk Space: 20GB (RAID BASED CONFIG)
Bandwidth: 1000GB/MONTH
IP Addresses: 2
Management: BASIC MANAGED
DDOS Protection: CISCO™ GUARD
FREE SETUP $5.95/MONTH 
这个配置在同价位的VPS中是不多见的。
2个独立IP，DDOS Protection，这都是在低价位VPS中没见过的。

买回来后，装上了免费的Kloxo控制面板，把我FsckVPS上的几个站全部转移到新VPS上，实际访问速度感觉比FsckVPS的LA机房稍慢些，ping的延迟比较高，在350ms-400ms之间，之前的LA机房在260ms左右，不过FTP上传速度不慢，下载速度一般，绝对对得起它的价格，呵呵。看了下cpuinfo，是Intel Xeon X3220，四核2.4G。
总体来说这款BurstNET的VPS还是不错的，打算再测试一个月，如果新VPS能稳定运行一个月的话，下个月就不再续费FsckVPS了，一个月能省下差不多$7的支出呢。
]]></description>
			<content:encoded><![CDATA[<p>上个月，FsckVPS开始涨价了，已经不再是最实惠的VPS了。这几天一直在网上寻找其他的VPS，打算减少一下每月的开支。最后看到<a href="https://service.burst.net/aff2.php?aff=369&#038;affurl=5" target="newwindow">BurstNET</a>一款512M的VPS非常实惠($5.95/月)，刚用了几天，还比较满意，当然稳定性怎么样，这个需要长期考验。</p>
<p><strong>BurstNET简介</strong></p>
<blockquote><p><a href="https://service.burst.net/aff2.php?aff=369&#038;affurl=5" target="newwindow">BurstNET</a>是一家成立于1991年，致力于网络主机服务的，位于宾夕法尼亚州东北，面积超过11000平方公尺，服务于全球100多个国家的独立服务器提供商。</p></blockquote>
<p>最低配置低的一款基于OpenVZ的VPS只要$5.95/月：</p>
<blockquote><p>VPS Software: vePortal™ / OpenVZ™<br />
CPU: <strong>1000MHZ</strong> GUARANTEED<br />
Memory: <strong>512MB</strong> GUARANTEED<br />
Disk Space: <strong>20GB</strong> (RAID BASED CONFIG)<br />
Bandwidth: <strong>1000GB</strong>/MONTH<br />
IP Addresses: <strong>2</strong><br />
Management: <strong>BASIC MANAGED</strong><br />
DDOS Protection: <strong>CISCO™ GUARD</strong><br />
FREE SETUP <strong>$5.95</strong>/MONTH </p></blockquote>
<p>这个配置在同价位的VPS中是不多见的。<br />
2个独立IP，DDOS Protection，这都是在低价位VPS中没见过的。<br />
<span id="more-850"></span><br />
买回来后，装上了免费的Kloxo控制面板，把我FsckVPS上的几个站全部转移到新VPS上，实际访问速度感觉比FsckVPS的LA机房稍慢些，ping的延迟比较高，在350ms-400ms之间，之前的LA机房在260ms左右，不过FTP上传速度不慢，下载速度一般，绝对对得起它的价格，呵呵。看了下cpuinfo，是Intel Xeon X3220，四核2.4G。</p>
<p>总体来说这款<a href="https://service.burst.net/aff2.php?aff=369&#038;affurl=5" target="newwindow">BurstNET</a>的VPS还是不错的，打算再测试一个月，如果新VPS能稳定运行一个月的话，下个月就不再续费FsckVPS了，一个月能省下差不多$7的支出呢。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lenghost.cn/vps/burstnet-cheap-vps-introduce/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>SSH连接VPS做socks5代理服务器(通过plink.exe)</title>
		<link>http://www.lenghost.cn/vps/make-your-vps-to-socks5-proxy-via-ssh-and-plink/</link>
		<comments>http://www.lenghost.cn/vps/make-your-vps-to-socks5-proxy-via-ssh-and-plink/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 15:34:24 +0000</pubDate>
		<dc:creator>LeNgHoSt</dc:creator>
				<category><![CDATA[VPS相关]]></category>
		<category><![CDATA[plink]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[代理]]></category>

		<guid isPermaLink="false">http://www.lenghost.cn/?p=845</guid>
		<description><![CDATA[今天用了PUTTY中自带的plink.exe，通过ssh做了个socks5代理服务器。
通过我的VPS主机做代理，速度还不错呢;)

以前一直是在putty里设置代理的，比较麻烦，还需要敲用户名密码登录vps。
今天上网偶然发现原来putty自带的plink可以省掉不少步骤。

为plink.exe新建一个一个快捷方式，然后加入以下参数：
plink.exe -v -C -N -D 127.0.0.1:7000 -l root -P xx 98.143.xxx.xxx
格式翻译过来就是：
plink.exe -显示详细信息 -启用数据压缩 -不显示shell -端口动态转发 代理IP:端口 -l 远程主机用户名 -P 远程主机端口 远程主机IP
双击该快捷方式，会显示登录信息，最后停在输入密码的位置，然后输入远程主机的密码，回车，代理就启用了。
启用代理后，在Firefox里这样设置：

现在访问下http://www.ip138.com，会发现ip已经变为你主机的ip了。
附plink.exe下载：
http://the.earth.li/~sgtatham/putty/latest/x86/plink.exe
]]></description>
			<content:encoded><![CDATA[<p>今天用了PUTTY中自带的plink.exe，通过ssh做了个socks5代理服务器。<br />
通过我的VPS主机做代理，速度还不错呢;)<br />
<img src="http://www.lenghost.cn/wp-content/uploads/2009/10/0829351ei.jpg" alt="putty" /><br />
以前一直是在putty里设置代理的，比较麻烦，还需要敲用户名密码登录vps。<br />
今天上网偶然发现原来putty自带的plink可以省掉不少步骤。<br />
<span id="more-845"></span><br />
为plink.exe新建一个一个快捷方式，然后加入以下参数：</p>
<blockquote><p><strong>plink.exe -v -C -N -D 127.0.0.1:7000 -l root -P xx 98.143.xxx.xxx</strong></p></blockquote>
<p>格式翻译过来就是：</p>
<blockquote><p><strong>plink.exe -显示详细信息 -启用数据压缩 -不显示shell -端口动态转发 代理IP:端口 -l 远程主机用户名 -P 远程主机端口 远程主机IP</strong></p></blockquote>
<p>双击该快捷方式，会显示登录信息，最后停在输入密码的位置，然后输入远程主机的密码，回车，代理就启用了。<br />
启用代理后，在Firefox里这样设置：<br />
<img src="http://www.lenghost.cn/wp-content/uploads/2009/10/0829365zv.jpg" alt="firefox" /><br />
现在访问下http://www.ip138.com，会发现ip已经变为你主机的ip了。</p>
<p>附plink.exe下载：<br />
<a href="http://the.earth.li/~sgtatham/putty/latest/x86/plink.exe" target="newwindow">http://the.earth.li/~sgtatham/putty/latest/x86/plink.exe</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lenghost.cn/vps/make-your-vps-to-socks5-proxy-via-ssh-and-plink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google PR最近总是默默的变化？！</title>
		<link>http://www.lenghost.cn/site-news/google-pr-is-back/</link>
		<comments>http://www.lenghost.cn/site-news/google-pr-is-back/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 14:35:28 +0000</pubDate>
		<dc:creator>LeNgHoSt</dc:creator>
				<category><![CDATA[站点日志]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[PageRank]]></category>
		<category><![CDATA[VPS相关]]></category>

		<guid isPermaLink="false">http://www.lenghost.cn/something/google-pr%e6%9c%80%e8%bf%91%e6%80%bb%e6%98%af%e9%bb%98%e9%bb%98%e7%9a%84%e5%8f%98%e5%8c%96%ef%bc%9f%ef%bc%81/</guid>
		<description><![CDATA[前阵子我的博客PR突然不见了，不是降为0，而是N/A，今天上来看又恢复到3了，看看其他几个站，cobeta.cn的PR降为0了，其余没变化。
难道09年Google第一次PR开始更新了？
由于前阵子博客的PR不见了，导致我Backlinks的收入少了50%，我博客上原来卖出了6个链接的，晕啊，又要重新开始，希望能赶在月底前尽快卖出去几个链接，填补下购买VPS的费用。
]]></description>
			<content:encoded><![CDATA[<p>前阵子我的博客PR突然不见了，不是降为0，而是N/A，今天上来看又恢复到3了，看看其他几个站，cobeta.cn的PR降为0了，其余没变化。<br />
难道09年Google第一次PR开始更新了？</p>
<p>由于前阵子博客的PR不见了，导致我Backlinks的收入少了50%，我博客上原来卖出了6个链接的，晕啊，又要重新开始，希望能赶在月底前尽快卖出去几个链接，填补下购买VPS的费用。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lenghost.cn/site-news/google-pr-is-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

