<?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>ChicagoVPS &#8211; 記下來</title>
	<atom:link href="https://noter.tw/tag/chicagovps/feed/" rel="self" type="application/rss+xml" />
	<link>https://noter.tw</link>
	<description>一路上踩到的坑、遇到的問題，一點一滴記下來，希望能幫助到需要的人~</description>
	<lastBuildDate>Tue, 14 Feb 2023 08:30:34 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.3</generator>

<image>
	<url>https://noter.tw/wp-content/uploads/cropped-old-1130742_1920-1-32x32.jpg</url>
	<title>ChicagoVPS &#8211; 記下來</title>
	<link>https://noter.tw</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>盤點那些曾經陪伴過小蛙的 VPS 虛擬主機</title>
		<link>https://noter.tw/10151/vps/</link>
					<comments>https://noter.tw/10151/vps/#respond</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Sun, 14 Aug 2022 14:10:17 +0000</pubDate>
				<category><![CDATA[伺服器]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[開箱、使用心得]]></category>
		<category><![CDATA[DesiVPS]]></category>
		<category><![CDATA[Artic Host]]></category>
		<category><![CDATA[Liveinhost]]></category>
		<category><![CDATA[HiFormance]]></category>
		<category><![CDATA[Hostflyte]]></category>
		<category><![CDATA[DirectSpace]]></category>
		<category><![CDATA[虛擬主機評價]]></category>
		<category><![CDATA[ChicagoVPS]]></category>
		<category><![CDATA[虛擬主機租用]]></category>
		<category><![CDATA[虛擬主機 心得分享]]></category>
		<category><![CDATA[VPS 虛擬主機]]></category>
		<category><![CDATA[linode]]></category>
		<category><![CDATA[Racknerd]]></category>
		<category><![CDATA[Pacificrack]]></category>
		<guid isPermaLink="false">https://noter.tw/?p=10151</guid>

					<description><![CDATA[<p>第一次使用 VPS 是前同事把他不要的 VPS 給小蛙玩，用了之後決定自己也買一台，從以前到現在總共用過 DirectSpace、linode、ChicagoVPS、HiFormance、Racknerd、Pacificrack、DesiVPS、Artic Host、Liveinhost、Hostflyte ... 等，這些裡面有些過程很慘痛，有些到現在小蛙還在使用，大部份都是較低價的虛擬主機，不過低價主機真的要靠運氣，聽小蛙娓娓道來～</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/10151/vps/" data-wpel-link="internal">盤點那些曾經陪伴過小蛙的 VPS 虛擬主機</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[
<p>小蛙從使用虛擬主機 VPS 到現在，換過好多不同廠牌的 VPS，這篇大概把小蛙租用過 VPS 的心得記下來。</p>



<span id="more-10151"></span>



<p>第一次使用 VPS 是前同事把他不要的 VPS 給小蛙玩，用了之後決定自己也買一台，從以前到現在總共用過 DirectSpace、linode、ChicagoVPS、HiFormance、Racknerd、Pacificrack、DesiVPS、Artic Host、Liveinhost、Hostflyte &#8230; 等，這些裡面有些過程很慘痛，有些到現在小蛙還在使用，大部份都是較低價的虛擬主機，不過低價主機真的要靠運氣，聽小蛙娓娓道來～</p>



<p>小蛙在下面這篇文章有分享一些心得，包括怎麼挑選以及怎麼買可以更便宜</p>



<figure class="wp-block-embed aligncenter is-type-wp-embed is-provider-記下來 wp-block-embed-記下來"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="1wUQJ5UujI"><a href="https://noter.tw/176/%e5%a6%82%e4%bd%95%e6%8c%91%e9%81%b8-vps-%e6%9c%80%e5%88%92%e7%ae%97%e7%9a%84%e8%b2%b7%e6%b3%95/" data-wpel-link="internal">如何挑選 VPS + 最划算的買法</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="如何挑選 VPS + 最划算的買法 &#8212; 記下來" src="https://noter.tw/176/%e5%a6%82%e4%bd%95%e6%8c%91%e9%81%b8-vps-%e6%9c%80%e5%88%92%e7%ae%97%e7%9a%84%e8%b2%b7%e6%b3%95/embed/#?secret=937rvgcP5x#?secret=1wUQJ5UujI" data-secret="1wUQJ5UujI" width="500" height="282" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<figure class="wp-block-embed is-type-wp-embed is-provider-記下來 wp-block-embed-記下來"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="41kbtFMmRx"><a href="https://noter.tw/406/%e6%89%8b%e6%8a%8a%e6%89%8b%e6%95%99%e4%bd%a0%e5%a6%82%e4%bd%95%e8%b3%bc%e8%b2%b7-vps/" data-wpel-link="internal">手把手教你如何購買 VPS</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="手把手教你如何購買 VPS &#8212; 記下來" src="https://noter.tw/406/%e6%89%8b%e6%8a%8a%e6%89%8b%e6%95%99%e4%bd%a0%e5%a6%82%e4%bd%95%e8%b3%bc%e8%b2%b7-vps/embed/#?secret=egXErTQSjs#?secret=41kbtFMmRx" data-secret="41kbtFMmRx" width="500" height="282" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<h2 class="para wp-block-heading">用過那麼多家，心得？</h2>



<p>小蛙回憶一下各家 VPS 的差別跟優缺點（有些是很久以前使用過的，以下為很主觀的感受）</p>



<h3 class="para wp-block-heading">DirectSpace</h3>



<p>官網：<a href="https://directspace.net/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">https://directspace.net/<span class="wpel-icon wpel-image wpel-icon-6"></span></a></p>



<p>是小蛙最早使用的 VPS 主機，有著便宜的價錢，小蛙在使用上沒有什麼問題，原本也覺得會一直用下去，直到有一次遇到主機不停斷線，每次斷線都維持一段時間，資料也救不回來，陷入了無限重灌地獄，於是放棄了這家。由於是非常早期使用的，小蛙不清楚現在品質有沒有改善，不過也不太敢再去嘗試了～</p>



<figure class="wp-block-embed is-type-wp-embed is-provider-記下來 wp-block-embed-記下來"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="ZDwddhTtBS"><a href="https://noter.tw/2217/%e8%ae%93%e4%ba%ba%e5%8f%88%e6%84%9b%e5%8f%88%e6%81%a8%e7%9a%84directspace/" data-wpel-link="internal">(改標題：令人憤怒的DirectSpace)讓人又愛又恨的DirectSpace</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="(改標題：令人憤怒的DirectSpace)讓人又愛又恨的DirectSpace &#8212; 記下來" src="https://noter.tw/2217/%e8%ae%93%e4%ba%ba%e5%8f%88%e6%84%9b%e5%8f%88%e6%81%a8%e7%9a%84directspace/embed/#?secret=ZBixd9IgCJ#?secret=ZDwddhTtBS" data-secret="ZDwddhTtBS" width="500" height="282" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<h3 class="para wp-block-heading">linode</h3>



<p>官網：<a href="https://www.linode.com/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">https://www.linode.com/<span class="wpel-icon wpel-image wpel-icon-6"></span></a></p>



<p>非常穩定又老牌的一家公司，網路上有非常多人使用以及推薦，小蛙之前都是買最低規格一年份方案，來跑一些負載量比較不重的服務，後來就不確定還有沒有這些方案了，不過 linode 的穩定性應該還是不容質疑的。</p>



<h3 class="para wp-block-heading">ChicagoVPS</h3>



<p>官網：<a href="https://www.chicagovps.net/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">https://www.chicagovps.net/<span class="wpel-icon wpel-image wpel-icon-6"></span></a></p>



<p>小蛙用最最最久的 VPS（看第一筆付費紀錄是在 2012 年），當時在 <a href="https://lowendbox.com/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">LowEndBox<span class="wpel-icon wpel-image wpel-icon-6"></span></a> 上看到不少人推薦，於是就買了下來，使用上大致上沒有遇到什麼大問題，用了那麼久偶爾還是會遇到無法連線的問題（這很難避免，再穩的主機都可能會遇到，重點是常不常以及容不容易出問題），曾幾次在 Black Friday 黑色星期五時看到更划算的方案果斷交換，目前小蛙使用 2014 年撿到的方案：<strong>記憶體 2GB、流量 2TB 及儲存空間 30GB</strong>，3 年只要 49 元美金（現在已經很難撿到這種優惠了，後續價格提高且提供更穩定的品質也是一件好事！）</p>



<h3 class="para wp-block-heading">HiFormance</h3>



<p>官網：無、掛了、跑路了。</p>



<p>HiFormance 曾經一度是小蛙非常喜歡的主機商，因為它規格高又非常便宜、連線速度各方面都很棒，當時小蛙在 LowEndBox 上看到 HiFormance 越來越便宜的方案，沒有警覺還很開心，現在想想真的是太笨了，直到有一天，本來都會回覆的客服面對一堆當機及無法連線時都沒有回應 &#8230; </p>



<figure class="wp-block-embed is-type-wp-embed is-provider-記下來 wp-block-embed-記下來"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="fTrKpPGIZf"><a href="https://noter.tw/4242/%e8%a1%80%e7%9a%84%e6%95%99%e8%a8%93-hiformance-%e8%b7%91%e8%b7%af%e4%ba%86/" data-wpel-link="internal">血的教訓 &#8211; HiFormance 跑路了 &#8230;</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="血的教訓 &#8211; HiFormance 跑路了 &#8230; &#8212; 記下來" src="https://noter.tw/4242/%e8%a1%80%e7%9a%84%e6%95%99%e8%a8%93-hiformance-%e8%b7%91%e8%b7%af%e4%ba%86/embed/#?secret=ZemZrwM859#?secret=fTrKpPGIZf" data-secret="fTrKpPGIZf" width="500" height="282" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<h3 class="para wp-block-heading">Hostflyte</h3>



<p>官網：<a href="https://hostflyte.com/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">https://hostflyte.com/<span class="wpel-icon wpel-image wpel-icon-6"></span></a></p>



<p>這是小蛙買的第一台 KVM 虛擬主機，之前都是 OpenVZ 架構，買這台是為了可以練習 docker，結果沒用幾個月這家又開始出狀況，上網查了一下才知道它跟 HiFormance 同一個金主，小蛙寫這篇文章的時候 Hostflyte 又復活了，不確定是有新的金主接盤了還是什麼狀況，不過小蛙當時因為整個 Hostflyte 跑路而也放棄這家主機</p>



<figure class="wp-block-embed is-type-wp-embed is-provider-記下來 wp-block-embed-記下來"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="GXLuZDYgzh"><a href="https://noter.tw/4463/%e7%ac%ac%e4%b8%80%e6%ac%a1%e8%b2%b7-kvm-%e8%99%9b%e6%93%ac%e4%b8%bb%e6%a9%9f/" data-wpel-link="internal">第一次買 KVM 虛擬主機</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="第一次買 KVM 虛擬主機 &#8212; 記下來" src="https://noter.tw/4463/%e7%ac%ac%e4%b8%80%e6%ac%a1%e8%b2%b7-kvm-%e8%99%9b%e6%93%ac%e4%b8%bb%e6%a9%9f/embed/#?secret=6Yoju5mYge#?secret=GXLuZDYgzh" data-secret="GXLuZDYgzh" width="500" height="282" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<h3 class="para wp-block-heading">Racknerd</h3>



<p>官網：<a href="https://www.racknerd.com/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">https://www.racknerd.com/<span class="wpel-icon wpel-image wpel-icon-6"></span></a></p>



<p>也是小蛙想要有 KVM 虛擬主機、加上在 LowEndBox 上看到這家超級便宜、規格又高，於是跳進去買的，現在在 LowEndBox 上還是可以看到 Racknerd 很活躍，經常推出便宜方案以及特殊活動方案，讓小蛙有種 HiFormance 的感覺（一朝被蛇咬，十年怕草繩），希望金主不要步上 HiFormance 的後塵。目前 Racknerd 仍在服役中，小蛙從台灣連美西的主機，使用起來有時有種卡頓的感覺，不清楚原因，小蛙同樣在美西的 ChicagoVPS 不會有這種感覺。</p>



<h3 class="para wp-block-heading">Pacificrack</h3>



<p>官網：<a href="https://pacificrack.com/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">https://pacificrack.com/<span class="wpel-icon wpel-image wpel-icon-6"></span></a></p>



<p>以下四個主機上是小蛙用來跑特定服務而租的主機，會買它們主要是便宜或是在「特定區域」，Pacificrack  在小蛙把服務設定好，就讓它放著固定跑，很少動到這台，目前仍正常服役中。</p>



<h3 class="para wp-block-heading">DesiVPS</h3>



<p>官網：<a href="https://www.desivps.com/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">https://www.desivps.com/<span class="wpel-icon wpel-image wpel-icon-6"></span></a></p>



<p>同 Pacificrack，因特殊目的而購買，使用上沒有什麼特別的感覺，可能因為租用距離台灣比較線路不友善的荷蘭，因此操作時的頓挫非常明顯。</p>



<h3 class="para wp-block-heading">Artic Host</h3>



<p>官網：https://www.artichost.com/</p>



<p>貌似跑路了，目前官網連不上，小蛙收到的最後一封信是 2021 年 7 月 2 日。</p>



<h3 class="para wp-block-heading">Liveinhost</h3>



<p>官網：https://www.liveinhost.com/</p>



<p>買了英國及法國的 Windows 主機，除了距離太遙遠之外，也可能是記憶體太少，遠端操作起來非常卡頓，台灣使用者要買的話要特別注意線路速度的問題。</p>



<p>以上是小蛙自己實際使用過的 VPS 以及主觀感受，希望對正好要租用 VPS 朋友們有幫助，最近正忙著把機器搬到 Vultr 上，之後再找時間補上 Vultr 的介紹。</p>



<p><strong>網站架設系列文章：</strong></p>



<ul class="my-li bg-darkblue wp-block-list"><li><a href="https://noter.tw/10151/%e7%9b%a4%e9%bb%9e%e9%82%a3%e4%ba%9b%e6%9b%be%e7%b6%93%e9%99%aa%e4%bc%b4%e9%81%8e%e5%b0%8f%e8%9b%99%e7%9a%84-vps-%e8%99%9b%e6%93%ac%e4%b8%bb%e6%a9%9f/" data-wpel-link="internal">盤點那些曾經陪伴過小蛙的 VPS 虛擬主機</a></li><li><a href="https://noter.tw/176/%e5%a6%82%e4%bd%95%e6%8c%91%e9%81%b8-vps-%e6%9c%80%e5%88%92%e7%ae%97%e7%9a%84%e8%b2%b7%e6%b3%95/" data-wpel-link="internal">如何挑選 VPS + 最划算的買法</a></li><li><a href="https://noter.tw/406/%E6%89%8B%E6%8A%8A%E6%89%8B%E6%95%99%E4%BD%A0%E5%A6%82%E4%BD%95%E8%B3%BC%E8%B2%B7-vps/" data-wpel-link="internal">手把手教你如何購買 VPS</a></li><li><a href="https://noter.tw/4463/第一次買-kvm-虛擬主機/" data-wpel-link="internal">第一次買 KVM 虛擬主機</a></li><li><a href="https://noter.tw/4242/%e8%a1%80%e7%9a%84%e6%95%99%e8%a8%93-hiformance-%e8%b7%91%e8%b7%af%e4%ba%86/" data-wpel-link="internal">血的教訓 &#8211; HiFormance 跑路了 &#8230;</a></li><li><a href="https://noter.tw/196/%e7%82%ba%e8%87%aa%e5%b7%b1%e7%94%b3%e8%ab%8b%e4%b8%80%e5%80%8b%e5%9f%9f%e5%90%8d-hinet-%e7%82%ba%e4%be%8b/" data-wpel-link="internal">為自己申請一個域名 – HiNet 為例</a></li><li><a href="https://noter.tw/117/cloudflare-%E8%B6%85%E5%BC%B7%E5%A4%A7%E7%9A%84%E5%85%8D%E8%B2%BB-cdn/" data-wpel-link="internal">Cloudflare – 超強大的免費 CDN (?)</a></li><li><a href="https://noter.tw/195/%e4%bd%bf%e7%94%a8-cloudflare-%e4%bb%a3%e7%ae%a1%e4%bd%a0%e7%9a%84%e5%9f%9f%e5%90%8d/" data-wpel-link="internal">使用 Cloudflare 代管你的域名</a></li><li><a href="https://noter.tw/396/ubuntu-16-04-設定環境語言編碼，讓中文可以正常顯示/" data-wpel-link="internal">Ubuntu 16.04 設定環境語言編碼，讓中文可以正常顯示</a></li><li><a href="https://noter.tw/255/ubuntu-16-04-%e5%ae%89%e8%a3%9d-fail2ban/" data-wpel-link="internal">Ubuntu 16.04 安裝 fail2ban</a></li><li><a href="https://noter.tw/436/%E4%B8%80%E5%80%8B%E8%85%B3%E6%9C%AC%E6%AF%8F%E5%A4%A9%E8%87%AA%E5%8B%95%E5%82%99%E4%BB%BD/" data-wpel-link="internal">一個腳本每天自動備份</a></li><li><a href="https://noter.tw/32/linux-tar-%E5%AE%8C%E6%95%B4%E5%82%99%E4%BB%BD%E3%80%81%E5%A2%9E%E9%87%8F%E5%82%99%E4%BB%BD%E5%8F%8A%E5%B7%AE%E7%95%B0%E5%82%99%E4%BB%BD%E6%AF%94%E8%BC%83/" data-wpel-link="internal">Linux tar 完整備份、增量備份及差異備份比較</a></li><li><a href="https://noter.tw/3704/nginx-ssl-certificate-%E8%AE%93-http-%E8%AE%8A%E8%BA%AB%E6%88%90%E7%82%BA-https/" data-wpel-link="internal">nginx + SSL Certificate – 讓 http 變身成為 https</a></li><li><a href="https://noter.tw/3695/ssl-for-free-%E5%85%8D%E8%B2%BB%E5%8F%88%E6%9C%89%E7%B6%A0%E8%89%B2%E9%8E%96%E9%A0%AD%E7%9A%84-ssl-certificates/" data-wpel-link="internal">SSL For Free – 免費又有綠色鎖頭的 SSL Certificates</a></li><li><a href="https://noter.tw/8596/certbot-error/" data-wpel-link="internal">Certbot 申請 SSL certificate 錯誤問題</a></li><li><a href="https://noter.tw/9107/certbot-error-acmev1-is-deprecated/" data-wpel-link="internal">Certbot 錯誤：ACMEv1 is deprecated and you can …</a></li><li><a href="https://noter.tw/5967/ubuntu-18-04-%e5%ae%89%e8%a3%9d-awstats-%e4%be%86%e7%b5%b1%e8%a8%88%e7%b6%b2%e7%ab%99%e6%b5%81%e9%87%8f/" data-wpel-link="internal">Ubuntu 18.04 安裝 AWStats 來統計網站流量</a></li><li><a href="https://noter.tw/9287/pchome-%e8%b2%b7%e7%b6%b2%e5%9d%80%e7%ba%8c%e7%b4%84%e6%b5%81%e7%a8%8b/" data-wpel-link="internal">PCHome 買網址續約流程</a></li></ul>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/10151/vps/" data-wpel-link="internal">盤點那些曾經陪伴過小蛙的 VPS 虛擬主機</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/10151/vps/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CentOS &#8211; Couldn&#039;t open the /dev/ppp device: Permission denied</title>
		<link>https://noter.tw/3309/centos-couldnt-open-the-devppp-device-permission-denied/</link>
					<comments>https://noter.tw/3309/centos-couldnt-open-the-devppp-device-permission-denied/#respond</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Thu, 04 Dec 2014 10:51:55 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[ChicagoVPS]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[BuyVM]]></category>
		<category><![CDATA[pptpd]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[permission denied]]></category>
		<guid isPermaLink="false">http://wazai.net/?p=3309</guid>

					<description><![CDATA[<p>在不熟悉的 CentOS 6 上裝 pptpd，弄了好一陣子還是不得其門而入，原本以為是設定的問題，好不容易設定完成，debug message 卻出現「Couldn&#8217;t open the&#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/3309/centos-couldnt-open-the-devppp-device-permission-denied/" data-wpel-link="internal">CentOS &#8211; Couldn&#039;t open the /dev/ppp device: Permission denied</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[<p>在不熟悉的 CentOS 6 上裝 pptpd，弄了好一陣子還是不得其門而入，原本以為是設定的問題，好不容易設定完成，debug message 卻出現「<span style="color: #ff0000;"><strong>Couldn&#8217;t open the /dev/ppp device: Permission denied</strong></span>」錯誤。<br />
<span id="more-3309"></span><br />
<span style="line-height: 1.5em;">這次 ChicagoVPS 推出了 Black Friday 與 Cyber Monday 優惠方案，看了一下真的非常誘人，二話不說馬上買了一台來玩，算一算只比之前的 BuyVM 基本款一年方案貴一點點，整體規格卻大幅提升，來看看方案比較：</span><br />
ChicagoVPS 小蛙挑選的方案 2 GB RAM、30 GB SSD RAID 10、流量 2 TB、一次買三年 49 美元，約每年 16.34 美元，<br />
BuyVM 小蛙原本的方案是 128 MB RAM、15 GB Space、流量 500GB、每年 15 美元。<br />
怎麼看都是這次的優惠方案划算些。<br />
在 CentOS 上安裝完 pptpd 之後，怎麼連就是無法使用，都會出現「<span style="color: #ff0000;"><strong>Couldn&#8217;t open the /dev/ppp device: Permission denied</strong></span>」，Google 了一下，各式各樣的解法都有，有的說把 /dev/ppp 更改權限，有的說砍掉 blablabla &#8230;，但感覺還是怪怪的，VPS 後台的&nbsp;TUN / TAP 也已經 Enabled 了，怎麼還是不行，直到看到一篇文章寫，如果確定 VPS 供應商確認可以架設 VPN，那只要跟 VPS 供應商反應上述問題就可以了。<br />
小蛙睡前發了一張 ticket 給 ChicagoVPS，果真，白天就收到回覆「All set.」，果真搞定，但連上之後小蛙真的對 CentOS 太不熟了 &#8230; 操作起來綁手綁腳 &gt;&lt; 決定換回 Ubuntu，結束兩天的 CentOS 之旅 &#8230;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/3309/centos-couldnt-open-the-devppp-device-permission-denied/" data-wpel-link="internal">CentOS &#8211; Couldn&#039;t open the /dev/ppp device: Permission denied</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/3309/centos-couldnt-open-the-devppp-device-permission-denied/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>VPS安裝記錄</title>
		<link>https://noter.tw/2223/vps%e5%ae%89%e8%a3%9d%e8%a8%98%e9%8c%84/</link>
					<comments>https://noter.tw/2223/vps%e5%ae%89%e8%a3%9d%e8%a8%98%e9%8c%84/#respond</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Wed, 09 May 2012 13:00:39 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Dropbox]]></category>
		<category><![CDATA[心得]]></category>
		<category><![CDATA[ChicagoVPS]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[中文亂碼]]></category>
		<category><![CDATA[DirectSpace]]></category>
		<guid isPermaLink="false">http://wazai.net/?p=2223</guid>

					<description><![CDATA[<p>(2014-12-05 更新) 最近重灌VPS的次數有點多，總覺得要一直做同樣的事情很麻煩 &#8230; 記錄下來，雖然之後重灌也還是要下一堆指令，不過至少可以直接 copy paste ^__^ &#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/2223/vps%e5%ae%89%e8%a3%9d%e8%a8%98%e9%8c%84/" data-wpel-link="internal">VPS安裝記錄</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[
<p>

(2014-12-05 更新) 最近重灌VPS的次數有點多，總覺得要一直做同樣的事情很麻煩 &#8230; 記錄下來，雖然之後重灌也還是要下一堆指令，不過至少可以直接 copy paste ^__^ 省了一些麻煩事。這是小蛙自己的VPS設定，最痛苦的第一次已經過去了，也忘的差不多了，小蛙透過<strong><a href="http://wazai.net/2166/%e5%ae%9a%e6%9c%9f%e5%82%99%e4%bb%bdwordpress%e5%88%b0dropbox" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">定期備份WordPress到Dropbox<span class="wpel-icon wpel-image wpel-icon-6"></span></a></strong>做備份，因此之後的安裝(包括 lightppd.conf, my.cnf, php.ini &#8230; 等設定檔)就沿用舊的資料(要設定這些東西真的是太困難了 &#8230;)，這篇文章只記錄安裝套件、環境的操作及設定。

</p>



<span id="more-2223"></span>



<p> 2013-06-20</p>



<p>從&nbsp;<a rel="noreferrer noopener nofollow external" href="http://www.lowendbox.com/" target="_blank" data-wpel-link="external" class="wpel-icon-right">Low End Box<span class="wpel-icon wpel-image wpel-icon-6"></span></a>&nbsp;中看到不少人推薦 <strong><a rel="noreferrer noopener nofollow external" href="https://billing.chicagovps.net/aff.php?aff=723" target="_blank" data-wpel-link="external" class="wpel-icon-right">ChicagoVPS<span class="wpel-icon wpel-image wpel-icon-6"></span></a></strong> 並且找到 Coupon 之後就換了。到現在也已經一年左右了(有點忘了確切時間)，在線率還蠻高的，狀況也不多，這邊有幾個 ChicagoVPS 要注意的事情，小蛙最早買的是 RAM 1024 的，發現所有要跑的東西加上 crontab 執行的 Java 程式偶爾會有 crash 的情況(記憶體不足)，用了一段時間後，在 Low End Box 上看到有 2048 MB RAM 的優惠方案只要 $7 美金，比當時小蛙使用的便宜 &#8230; 有種被當冤大頭的樣子，二話不說馬上又是一陣忙碌，取消現有的註冊一個新的 $7 方案！</p>



<p>這個 $7 方案用了很久，直到昨天看到有每年 $55 美金的方案，小蛙 $7 方案的內容是：2048 MB RAM, 50G HD, 2T Bandwidth, 1 IPv4 &#8230; (<a rel="noreferrer noopener nofollow external" href="https://billing.chicagovps.net/aff.php?aff=723" target="_blank" data-wpel-link="external" class="wpel-icon-right">詳情<span class="wpel-icon wpel-image wpel-icon-6"></span></a>&nbsp;-&gt; OPENVZ VPS PLANS -&gt;&nbsp;Enterprise)，昨天看到的 $55 美金的內容是：3072 MB RAM, 120G HD, 3T Bandwidth, 2 IPv4 (<a rel="noreferrer noopener nofollow external" href="https://billing.chicagovps.net/aff.php?aff=723" target="_blank" data-wpel-link="external" class="wpel-icon-right">詳情<span class="wpel-icon wpel-image wpel-icon-6"></span></a>&nbsp;-&gt;整個網頁最下方有一個&nbsp;special promos)，重點來了以一整年來看 $7 * 12 = $84，$55 的方案價格上樂勝！規格上樂勝！而且還附贈原本要額外花錢購買的監控功能！一樣不用懷疑，準備&#8221;搬家&#8221;！ </p>



<p>2012-06-22</p>



<p>DirectSpace 真的令小蛙心寒，光六月份就已經掛點兩次，第一次大概一天左右，第二次停了 3~4 天，submit ticket 得到的回應是有一些 node 發生 routing 的問題，DirectSpace 工程人員正在努力搶救 &#8230; 不管發生什麼問題，掛點的機率也太高了吧 &#8230; 暫時也沒有經費切換到穩定一點的主機了 &#8230; DirectSpace 努力一點啊！</p>



<p>因為<strong><a rel="noreferrer noopener nofollow external" href="http://wazai.net/2217/%e8%ae%93%e4%ba%ba%e5%8f%88%e6%84%9b%e5%8f%88%e6%81%a8%e7%9a%84directspace" target="_blank" data-wpel-link="external" class="wpel-icon-right">讓人又愛又恨的DirectSpace<span class="wpel-icon wpel-image wpel-icon-6"></span></a></strong>提到的 OOXX 的原因，使得最近重灌 Linux 的次數已經超過小蛙研究所畢業前灌 Linux 的次數了(實際上也算不出到底有幾次，有時候設定錯了，又懶得找回復的方法，就 &#8230; reinstall &#8230; 好孩子不要學)！記得小蛙友一個朋友講過一句話，「如果每次遇到問題就重灌，就永遠學不會 Linux」，難怪小蛙只要碰到 Linux，就要花上好多時間，還不一定可以解決 &#8230; 以下就用小蛙本身重灌時的設定順序來記錄。 </p>



<h2 class="para wp-block-heading">安裝並設定 fail2ban </h2>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">sudo apt-get update
sudo apt-get install fail2ban

先備份一份原始設定，避免改壞
cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local

編輯設定
vim /etc/fail2ban/jail.local

說明
bantime = 改成自己要的秒數，如果被 ban 要多久才能
findtime = 改成自己要的秒數，如果超過 maxretry 之後要多久才能
maxretry = 3 改成自己可以允許被 try 幾次
destemail = 改成自己要收到信的 email

重新啟動
service fail2ban stop
service fail2ban start</pre>



<h2 class="para wp-block-heading">VPS顯示及輸入中文 </h2>



<p>小蛙的VPS安裝完之後所有的設定都是偏向英語系國家，需做以下設定來讓從遠端透過Pietty登入的小蛙可以呈現及輸入正體中文字，這部分小蛙試了很多奇奇怪怪的方法，但下面的方法一次就搞定！ </p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">######## 顯示中文問題
// 編輯自己家目錄下的 bash 環境
vim .bashrc

// 在最下面加入這些設定
export LANGUAGE="zh_TW.UTF-8"
export LANG="zh_TW.UTF-8"
export LC_ALL="zh_TW.UTF-8"

// 使用 source 讓設定檔生效時，發生以下錯誤
source .bashrc
-bash: warning: setlocale: LC_ALL: cannot change locale (zh_TW.UTF-8)

// 透過 locale-gen 產生 zh_TW.UTF-8 的語系
sudo locale-gen zh_TW.UTF-8
sudo update-locale LANG=zh_TW.UTF-8
// 完成後重新登入即可</pre>



<p>中文環境顯示設定參考資料 &lt;<strong><a href="http://changyy.pixnet.net/blog/post/28633165--bash%3A-warning%3A-setlocale%3A-lc_ctype%3A-cannot-change-locale-@-" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">-bash: warning: setlocale: LC_CTYPE: cannot change locale @ Ubuntu 10.04 @ 第二十四個夏天後<span class="wpel-icon wpel-image wpel-icon-6"></span></a></strong>&gt;</p>



<h2 class="para wp-block-heading">安裝 bash 自動補齊工具</h2>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">apt-get install bash-completion
source /etc/profile</pre>



<h2 class="para wp-block-heading">移除 apache2</h2>



<p>中文環境有了讓人感覺比較安心，至少不用再看到奇奇怪怪的符號及亂碼，接下來由於小蛙想降低記憶體使用量，因此把肥大的apache2刪除，改安裝lighttpd。 </p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">####### 移除 apache2
查看套件
dpkg -l | grep apache2
刪除所有 apache2 開頭的套件
apt-get remove apache2*

刪除所有相依套件
apt-get autoremove 或 apt-get remove --auto-remove

刪除所有相關設定檔
apt-get remove --purge apache2
apt-get autoremove --purge</pre>



<p>參考資料 &lt;<strong><a rel="noreferrer noopener nofollow external" href="http://fcamel-life.blogspot.com/2011/06/ubuntu-apache2.html" target="_blank" data-wpel-link="external" class="wpel-icon-right">Ubuntu 移除 apache2 的方法 @ fcamel 技術隨手記<span class="wpel-icon wpel-image wpel-icon-6"></span></a></strong>&gt;，內容提到使用aptitude，但小蛙沒有安裝該套件，就用apt-get remove來移除(應該是沒問題才對，如果有錯請留言跟小蛙說一聲，感恩！) </p>



<p>2018-06-07 補充&nbsp;<a rel="noreferrer noopener nofollow external" href="http://blog.lyhdev.com/2013/01/ubuntu-linux-apt-get.html" target="_blank" data-wpel-link="external" class="wpel-icon-right">[筆記] Ubuntu Linux 使用 apt-get 指令移除軟體並清理遺留的垃圾 @ 玩物尚誌<span class="wpel-icon wpel-image wpel-icon-6"></span></a> 中提到。</p>



<h2 class="para wp-block-heading">安裝lighttpd, php5, mysql, phpmyadmin</h2>



<p>繼續安裝 lighttpd, php5, mysql, phpmyadmin &#8230; 等網頁及資料庫相關套件，這裡應該沒什麼問題才對，使用的資料庫別及密碼別弄錯就好，還有「Configure database for phpmyadmin with dbconfig-common?」要回答「Yes」。 </p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">####### 安裝 mysql, php5, lighttpd, phpmyadmin
apt-get install lighttpd php5-cgi php5-mysql mysql-server phpmyadmin
輸入 mysql root password
再次輸入 mysql root password
選擇使用的 http server : lighttpd
Configure database for phpmyadmin with dbconfig-common? Yes
database administrator's password : (輸入剛剛的 root 密碼)
phpadmin password : phpmyadmin 的密碼
re type phpmyadmin password :</pre>



<h2 class="para wp-block-heading">安裝Dropbox</h2>



<p>2013-06-24 更新，今天在新的 VPS 安裝 Dropbox 時發現以下方法已經無法安裝，但又發現 apt-get install dropbox 可以直接安裝！順便補充，如果不小心連結錯 dropbox 帳號的解決方法(<a rel="noreferrer noopener nofollow external" href="http://ubuntuforums.org/showthread.php?t=2111361" target="_blank" data-wpel-link="external" class="wpel-icon-right">參考資料<span class="wpel-icon wpel-image wpel-icon-6"></span></a>)： </p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">dropbox stop
rm -rf ~/.dropbox*
dropbox start -i</pre>



<p>參考資料&lt;<strong><a rel="noreferrer noopener nofollow external" href="http://www.liberiangeek.net/2012/03/add-dropbox-repository-in-ubuntu-11-10-oneiric-ocelot/" target="_blank" data-wpel-link="external" class="wpel-icon-right">Add Dropbox Repository in Ubuntu 11.10 (Oneiric Ocelot) @ &nbsp;Liberian Geek.<span class="wpel-icon wpel-image wpel-icon-6"></span></a></strong>&gt;。 </p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E
vim /etc/apt/sources.list.d/dropbox.list
新增 deb http://linux.dropbox.com/ubuntu/ oneiric main
apt-get update &amp;&amp; sudo apt-get install nautilus-dropbox</pre>



<p>安裝完成啟動時候出現警告訊息，會要求以 <strong>dropbox start -i</strong> 下載什麼key之類的，選擇y下載完成後再次 <strong>dropbox start</strong> 啟動，跳出的連結視窗就完成囉！<br>以下方法小蛙今天試了一次不知為何失效了，找不到資源檔，因此新增了上面的安裝方式。 </p>



<p>(2012-09-14 更新) 如果已經新增了，會不斷出現錯誤訊息 &#8230; &nbsp;可以在&nbsp;<strong>/etc/apt/sources.list.d</strong> 找到剛剛新增的，把不要的刪除即可。<br>對小蛙來說最重要的東西Dropbox，如果沒有這東西，之前的設定檔通通消失，全部要重新設定，簡直是噩夢！參考資料 &lt;<strong><a rel="noreferrer noopener nofollow external" href="http://www.arthurtoday.com/2010/09/ubuntu-add-apt-repository.html" target="_blank" data-wpel-link="external" class="wpel-icon-right">Ubuntu 為什麼找不到 add-apt-repository 的指令 ? @ 阿舍的隨手記記、隨手寫寫&#8230;<span class="wpel-icon wpel-image wpel-icon-6"></span></a></strong>&gt;、&lt;<strong><a rel="noreferrer noopener nofollow external" href="http://raphaelhertzog.com/2011/06/06/official-debian-ubuntu-packages-for-nautilus-dropbox/" target="_blank" data-wpel-link="external" class="wpel-icon-right">Official Debian/Ubuntu packages for Dropbox<span class="wpel-icon wpel-image wpel-icon-6"></span></a></strong>&gt;，這邊要額外安裝<strong>python-software-properties</strong>。 </p>



<h2 class="para wp-block-heading">安裝Git</h2>



<p>小蛙的VPS兼職當Git Server </p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">####### 安裝 Git
apt-get install git-core</pre>



<h2 class="para wp-block-heading">安裝JDK, JRE</h2>



<p>接著安裝JDK、JRE，參考資料 &lt;<strong><a rel="noreferrer noopener nofollow external" href="http://weiwei.pixnet.net/blog/post/29999353-ubuntu-11.10-%E6%89%8B%E5%8B%95%E5%AE%89%E8%A3%9D-sun-java-6-jdk" target="_blank" data-wpel-link="external" class="wpel-icon-right">Ubuntu 11.10 手動安裝 Sun Java 6 JDK @ 維維 練肖喂～～<span class="wpel-icon wpel-image wpel-icon-6"></span></a></strong>&gt;，感覺裝了一大堆東西進去，在空間不吃緊的情況下，暫且先這樣吧！ </p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">####### 安裝 JDK
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts</pre>



<h2 class="para wp-block-heading">設定系統時間</h2>



<p>最後設定系統時間，讓 crontab 以及 php5 能塞入正常時間的設定。 </p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">####### 重新設定時區
dpkg-reconfigure tzdata
vim /etc/php5/cgi/php.ini
date.timezone=Asia/Taipei</pre>



<h2 class="para wp-block-heading">解壓縮bz2</h2>



<p>接著就是等 dropbox 把之前備份的檔案抓回來，例如：lighttpd, php5, mysql, crontab, mysqldump, /var/www &#8230; 等備份，解壓縮之前備份的 backup.tar.bz2 </p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">tar -jxv -f 壓縮檔名稱 -C 解壓縮到
tar -jxv -f tt.tar.bz2 -C /root</pre>



<h2 class="para wp-block-heading">還原 mysqldump 備份資料</h2>



<p>還原mysqldump的資料 (附上備份方式 &#8211;&nbsp;<a rel="noreferrer noopener nofollow external" href="http://dba.tw/index.php?topic=137.0" target="_blank" data-wpel-link="external" class="wpel-icon-right">使用Mysqldump備份與如何還原資料庫 @ Database Admin Fourm<span class="wpel-icon wpel-image wpel-icon-6"></span></a>) </p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">mysql -u root -p &lt; backup.sql</pre>



<h2 class="para wp-block-heading">還原 crontab 備份資料</h2>



<p>還原crontab內容 </p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">crontab backup_file</pre>



<h2 class="para wp-block-heading">安裝curl,&nbsp;sysv-rc-conf工具</h2>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">apt-get install curl
apt-get install sysv-rc-conf</pre>



<p>

到這邊重新安裝VPS大功告成！接下來就測試一下各功能有沒有問題囉！

</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/2223/vps%e5%ae%89%e8%a3%9d%e8%a8%98%e9%8c%84/" data-wpel-link="internal">VPS安裝記錄</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/2223/vps%e5%ae%89%e8%a3%9d%e8%a8%98%e9%8c%84/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
