-
Recent Posts
Recent Comments
Archives
- December 2013
- November 2013
- March 2012
- February 2012
- December 2011
- November 2011
- October 2011
- August 2011
- July 2011
- June 2011
- May 2011
- March 2011
- February 2011
- January 2011
- October 2010
- August 2010
- July 2010
- May 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
Categories
Meta
友站連結
Category Archives: Unix-Like
Zero-downtime service migration
When I am running my website, now.in, I did encounter a trouble. That is, when there is a bug in the production server, then I need to restart them. Sounds fine, right? Just to restart a server. Yes, for most … Continue reading
Posted in English Articles, Python, Unix-Like, 分享
Tagged 0-down-time, hot code swap, migration, Python, service
1 Comment
VirtualBox下跑FreeBSD的網路問題和安裝Python模組心得
昨天在VirtualBox上裝了FreeBSD,但是卻遇到無法上網的問題 #ping google.com ping: cannot resolve google.com: No address associated with name 看起來是網路沒有設定好,連DNS都找不到的樣子,於是在網路上找了一找,終於找到了解決方法 ifconfig pcn0 down ifcontig pcn0 media 10baseT/UTP ifconfig pcn0 up dhclient pcn0 解決了之後終於成功地在上面執行了我在Windows下寫的程式,一開始我連什麼指令用來抓檔案都不知道,我只知道curl這樣的指令,但它好像沒有這樣的指令,後來知到有fetch可以用,就裝好了easy_install之後就很方便,接著裝了Twisted,和lxml,而lxml並不是直接用easy_install就可以用,還得先安裝並編譯libxml2和libxslt,但其實也很簡單,先fetch下來,解開壓縮,然後執行 ./configure make install 編譯要花一小段時間,但沒想到這麼順利,沒有什麼編譯錯誤跑出來,完成後再用easy_install安裝lxml就可以了 寫一個小程式來測試 然後執行 Wow! 成功了!
這個網站的主機商 : WebFaction
主機商WebFaction 今天我要介紹我的網站所使用的主機商 : WebFaction
Posted in Unix-Like, 中文文章, 網站, 設計
Tagged Django, Hosting, Plone, Rail on Ruby, TurboGears, WebFaction, 主機商, 架站
4 Comments