Cd Chen's Services

ba ba ba la~~

不分類

FC4 升級到 FC5

Fedora Project 已經於 2006/03/20 正式發表了 Fedora Core 5 (FC5) 了,相信許多喜歡 Fedora Core 的朋友,一定知道這個令人興奮的好消息。

如果您目前使用 Fedora Core 4,甚至更早以前的版本的朋友,都很想要知道,如何把 Fedora Core 升級到最新的版本。大致上來說,升級到 FC5 的方法有兩種:

  • 離線升級 (Offline Upgrade)

    這是大家最常用來升級系統的方法。採用此種方式,必須先下載回 Fedora Core 5 的安裝光碟,然後關閉系統,利用安裝光碟進行開機,透過 Ananconda -- Fedora Core 的安裝程式進行升級。

    這種方法最大的缺點,就是在升級過程中,得關閉系統。這意味著,如果您的 Fedora Core 是作為正式的 Server,在升級過程中,別人將無法使用您提供的服務。


  • 線上升級 (Online Upgrade)

    這是另外一種升級的方式,透過 yum 的運作,可以在開機的狀態下,升級您的 Fedora Core 系統。待升級完畢後,再重新開機即可。


若對線上升級有興趣的朋友,可以參考 Fedoar Project 提供的 "Yum Upgrade FAQ" 這篇文章的介紹。雖然 Fedora Project 尚未補上 FC4 升級至 FC5 的方法,但我剛剛試過了,您也可使用 FC3 升級到 FC4 的步驟,直接把 FC4 升級成 FC5。

芬蘭小子Linus 顛覆微軟價值

今天在中時電子報看到 "芬蘭小子Linus 顛覆微軟價值 " 新聞,因為極具參考價值,所以記錄在此:

赫爾辛基大學孕育了一位年輕的國際偶像─LinusTorvalds。這位芬蘭小子今年才卅七歲。揚名全球已有十多年。他名列「最偉大的芬蘭人」第十六名。

一九九一年,廿二歲的芬蘭小子Linus,在赫大寫出Linux作業系統,開放原始碼成為自由軟體。掀起了全球網路軟體青年中的超級旋風。「自由軟體」和「商業專利軟體」最大的不同是:自由取得、自由使用、自由複製、自由研究改良和自由散播。這些都不是微軟等商業專利軟體所允許的。

微軟的這種商業專利軟體,收取授權費用,並且兩三年升級一次,使用者必須不斷支付授權金,換來並不一定等值或非要不可的新產品。而且,軟體專利掌握在商業專利軟體賣主手上,不但形成實質壟斷,原始碼的無法掌握,更涉及國家安全。

Linus堅信,公開原始碼的自由軟體,可以成為更穩定的軟體。絕對是未來軟體科技該走的正確的路。他把自由軟體和商業專利軟體,比喻成科學和魔法。

他說,自由軟體的系統,建立在人人看得到的結果之上,並且在這個基礎下開始,這就是科學。人人站在巨人的肩膀上,不必重新製造輪子。魔法總有個不為人知的秘密,保護這個秘密不允許別人瞭解,這就是魔法。歷史證明,魔法已死,傳統商業專利軟體也將和魔法一樣。

Linux的出現立刻對微軟構成強大的壓力,尤其是Linus個人所表現出的軟體科技天分,和高度道德性,吸引了許多全球年輕人的崇拜和追隨,全球開發自由軟體的熱潮風起雲湧。目前,中國已經把開發Linux系統,列為國家最重大的發展計畫之一。

Linus在接受媒體訪問時,被問到後不後悔當初開放自己的Linux,錯過了當世界鉅富的機會。他自然自在地說:不會。

如果,微軟代表美國式的自由競爭的商業利益價值,Linus代表的正是芬蘭人更重視精神與價值的追求。

「如果Linus是台灣人的孩子,他會有甚麼命運?」我認為,台灣的教育絕對不可能培育出這樣一個企圖顛覆世界商業秩序的孩子。

出處:中時電子報

GRUB splash.xpm.gz 圖檔製作

剛剛在 Figaro's Blog 看到 "GRUB splash.xpm.gz 圖檔製作" 這篇文章,裡面提到如何製作 GRUB 開機的底圖:

一成不變的GRUB開機splash看久了也會挺膩的,如果各位跟我ㄧ樣有這樣的問題時,可以準備一張640×480 16 色的圖片,便可以輕易的改裝你的splash了。製作方式如下:

(1) 準備一張640×480 16色圖片,檔案類型為JPG的格式

(2) [root@Fedora figaro]# convert -geometry 640×480 -colors 14 Image.jpe Image.xpm

(3) [root@Fedora figaro]# gzip -9 Image.xpm

(4) [root@Fedora figaro]# cp Image.xpm.gz /boot/grub

(5) 修改 /boot/grub/menu.lst,將splashimage=(hd0,0)/grub/splash.xpm.gz,把splash.xpm.gz改成我們剛才製作好的 Image.xpm.gz。完工^^

有興趣的朋友,可以參考一下。 :)

出處:Figaro's Blog

Fedora Core 5 Released

根據 digg 的 "Fedora Core 5 Released" 文章中提到:

It seems as though Fedora has released the next installment of Fedora Core three days early. On the Fedora Forums, there's a link to an ftp server servering isos for the x86_64 and i386 DVD versions. Someone get these and start serving them on bittorrent! Yay!

所以,Fedora Core 5 已經正式發佈了。要當白老鼠的請趕快~~ :p

出處:digg

First look: Fedora Core 5

Linux.com 發表了 "First look: Fedora Core 5" 文章,裡面提到未來的 Fedora Core 5 一些新的功能,有興趣的朋友,可以自己看一下。

不過,最近真的很忙,實在沒有時間逐一測試 Fedora Core 5 的新功能與特色。您願意幫我測試看看嗎??

出處:Linux.com

Five reasons why you should never use PostgreSQL -- ever

剛剛看到 "Five reasons why you should never use PostgreSQL -- ever" 文章,裡面提到:

Within the past two years, Oracle, IBM and Microsoft have all released freely available versions of their flagship database servers, a move that would have been unheard of just a few years ago. While their respective representatives would argue the move was made in order to better accommodate the needs of all users, it's fairly clear that continued pressure from open source alternatives such as MySQL and PostgreSQL have caused these database juggernauts to rethink their strategies within this increasingly competitive market.

While PostgreSQL's adoption rate continues to accelerate, some folks wonder why that rate isn't even steeper given its impressive array of features. One can speculate that many of the reasons for not considering its adoption tend to be based on either outdated or misinformed sources.

In an effort to dispel some of the FUD (fear, uncertainty, and doubt) surrounding this impressive product, instead, I'll put forth several of the most commonplace reasons companies have for not investigating PostgreSQL further.

文章中提到不推薦使用 PostgreSQL 的理由如下:

  • Reason #1: It doesn't run on Windows
  • Reason #2: No professional development and administration tools
  • Reason #3: PostgreSQL doesn't support my language
  • Reason #4: There's nobody to blame when something goes wrong
  • Reason #5: You (don't) get what you (don't) pay for

文中也逐一推翻上述的理由。

的確,我也不認為 Oracle、IBM 這些大公司的論點,畢竟 PostgreSQL 還是 OpenSource Database 中的首選。

出處:SearchOpenSource.com

Finally! Thunderbird Addressbook integration!

換用小銀後,最覺得無奈的,應該是電子郵件的部份。由於我是大量的電子郵件的使用者,每天要處理、閱讀的郵件數量,幾乎以百為單位。

然而 MacOSX 中的 Apple Mail 卻無法讓我滿足。除了寄出 email 時需自行轉碼外,還有許多的問題。逼不得已的情況下,只好換用 Thunderbird。然而,使用 Thunderbird 最大的問題,就是無法享用 Apple AddressBook 中的資料,這讓我得費心處理兩個不同系統間的資料。雖然辛苦,但也無奈。

今天看到 "Finally! Thunderbird Addressbook integration!" 這篇新聞,裡頭提到:

Thanks to Peter Van der Beken Addressbook integration has arrived in Thunderbird. He has provided/fixed the patch so now it works with the latest trunk. I’ve just build trunk with his patch applied and as you type your recipients address will show you suggestions from your addressbook. Awesome! …all I ever wanted! According to Peter it is not just read-only and not throughly tested yet …so you better backup your data before you give it a try. But I reckon it’s again time to vote for this bug to get it at least committed into trunk! (Yes, yes, yes! :-)

In case someone wants the compiled app - drop me a mail.

, , ,

看起來,應該在下一個版本的 Thunderbird 中,可以直接使用 Apple AddressBook,這對我來說,無異是最好的消息。我剛 mail 給作者本人,希望能拿到他編譯的版本,然後再來測試。呼呼,現在唯一能作的事情,就是期待對方的回應了!!

Update:

  • 2006/03/12:今天收到 Torsten Curdt 寄來的 Thunderbird Trunk 20060311 Patch,謝謝 Torsten Curdt!!

出處:Torsten's weblog

Technorati Tags: , , ,

IBM Not To Use Vista - But Will Move to Linux Desktops

不知道是真的假的,digg 上發佈了 "IBM Not To Use Vista - But Will Move to Linux Desktops" 這則新聞,裡頭提到:

Andreas Pleschek also told that IBM has canceled their contract with Microsoft as of October this year. That means that IBM will not use Windows Vista for their desktops. Beginning from July, IBM employees will begin using IBM Workplace on their new, Red Hat-based platform.

如果此事成真,那麼,Linux 的成功案例又多一個了。

出處:digg

在 Mac 中使用 Windows 共用印表機

因為公司的政策,每一段時間需重新設定密碼,而且採用了討厭的安全政策,對密碼的複雜度要求相當高。每一段時間變更密碼時,就是我最痛苦的時間。

痛苦的原因是,我使用小銀,尤其是小銀上的印表機設定常讓我痛不欲生。

眾所皆知的,MacOS X 上使用的是 CUPS 列印系統,MacOS X 也提供了一個管理工具,可以讓使用者方便的設定印表機。然而,其印表機組態精靈最後產生的 printers.conf,會有一個非常討厭的事情,竟然會搞爛 Windows 的 Shared Printer 之 URI!!

以下是採用 MacOS X 的印表機組態精靈產生的 printers.conf 部份內容:


DeviceURI smb://DOMAIN%5cUSERNAME:PASSWORD@PRINTER_UNC

這樣的 URI 事實上是標準的格式!! 然而,問題就在這樣的 URI 送到 Windows 2000/2003 的 AD 時,會造成登入失敗的狀況。以前因為沒有太多時間去理他,所以都沒有深入去處理。

除此之外,MacOSX 產生的 DeviceURI 中的密碼,也會自動進行編碼,這也會造成登入失敗的狀況。

後來參考了 "10.4: Fix an NT_STATUS printing error" 這篇文章的介紹,最後使用 CUPS 內建的 Web Administration 來設定印表機,將上述的 URI 改成:


DeviceURI smb://USERNAME:PASSWORD@PRINTER_UNC

這樣就解決了長期以來困擾我許久的問題了。

最近....

很久沒有上來寫自己的部落格了,因為最近很忙。

手上目前有好幾項工作進行著:

  • 準備 Linux Programming 課程
  • 協助老婆完成 Samba3 Example 的翻譯稿件
  • 撰寫新的一日之旅課程教材
  • 準備 Open Source Enterprise Message System 課程之內容
  • ...

總之,好多事情要忙。不過,今天總算完成了其中一項。正在考慮要不要公開該課程的 Slide 中...

You are here