2011年4月26日星期二

Full Circle – Issue 48

Full Circle – the independent magazine for the Ubuntu Linux community are proud to announce the release of our forty-eighth issue.

Celebrating our fourth year!

This month:
* Command and Conquer.
* How-To : Program in Python – Part 22, LibreOffice – Part 3, Finding eBooks and Using an Arduino in Ubuntu.
* Linux Lab – Swappiness Part One.
* Review – Remastersys.
* Top 5 – Project Management Tools.
plus: Ubuntu Women, Ubuntu Games, My Story, and much much more!

Get it while it's hot!
http://fullcirclemagazine.org/issue-48/

and don't forget:
Full Circle Special Edition: The Perfect Server
A special issue dedicated to the Perfect Server articles featured in FCM#31-34:

http://fullcirclemagazine.org/special-edition-1-the-perfect-server/

and:
Python Special Edition Part One – a compilation of parts one to eight:

http://fullcirclemagazine.org/python-special-edition-1/

Part Two coming soon…

http://fullcirclemagazine.org/2011/04/22/full-circle-magazine-48-released/

2011年4月21日星期四

檢查 Ubuntu/Debian VM 檔案移機自動重新設定網卡

大家都知道如果 Ubuntu 或是 Debian 的 VM 檔案從 A 主機移動到 B 主機, 有時候疏忽導致網卡被重新設定, 由原本的 eth0 自動變為  eth1, 那麼如果是遠端移機就慘了, 整台主機就因此失連, 除非連到 VM 的 console 重新設定過一次, 但是往往 VM 的服務平台可能是別人或是別家公司管理的, 如果發生悲劇往返溝通不但費時也費力, 為了保證每次移機或是轉移都能保證一定是 eth0 開機, 可以使用下列的小程序處理, 來確認每次移機之後都可以確保網路設定不會跑掉

check_nic.sh 

 #!/bin/bash

ifconfig eth0

if [ $? != 0 ]; then

   rm -f /etc/udev/rules.d/70-persistent-net.rules

   echo "eth0 seems changed, I will reboot to setup again..."

   sleep 3

   sync

   reboot

fi

基本上加到 rc.local 就可以了, 起碼以後移機或是轉移可以少一個問題

http://superstanwu.blog.ithome.com.tw/post/775/96191

2011年4月8日星期五

慶祝 Linux 20 週歲

20 年前的這個夏天,你牛死.脫襪子 (Linus Torvalds) 勇敢的決定向全世界共享他編寫的操作系統,不久之後,他又選擇了 GPL 協議作為發佈許可證。也就是從此開始, Linux 逐漸壯大,從而有了今天的成就。

目前,Linux 已經深入到我們生活中的方方面面,存在於你的手機中、ATM 機中、你的桌面、電影中、你的汽車中等等許許多多的地方及領域內,可以說是無處不在。之前 Linux 基金會執行董事 Jim Zemlin 就表示,在 Linus Torvalds 開發 Linux 操作系統內核 20 年之後,微軟和 Linux 之間的鬥爭已經結束,Linux 取得了勝利。

除了桌面外,Linux 在幾乎所有市場都取得了壓倒性勝利,包括服務器端和移動計算。Zemlin 宣稱,現在已經無需再關注微軟了,它曾經是主要競爭對手,但現在和它競爭就好像是踢小狗。從 Android 和亞馬遜的 Kindle,到嵌入式設備和消費電子產品,到全球最大網站和超級計算機,Linux 幾乎佔領了所有計算類別,除了桌面。[來源: Solidot]

而在 Linux 誕生 20 週年到來之際,Linux 基金會發文宣佈舉行 Linux 20 週歲慶祝活動計劃,同時作為 Linux 用戶的你也可以參與其中,比如可以提交 1 分鐘的慶祝視頻,錄製你的音頻消息,述說你與 Linux 的故事等等。

慶祝活動頁面: http://www.linuxfoundation.org/20th/

- 附:

圖:Linux 發展史上里程碑事件圖

宣傳視頻:The Story of Linux: Commemorating 20 Years of the Linux Operating System [ YouTube / 土豆 ]

http://wowubuntu.com/linux-20-year.html