richliu’s blog

Linux, 工作, 生活.

richliu’s blog header image 4

升級 Gentoo, Postfix 遇到的小問題.

September 21st, 2006 · No Comments

今天晚上睡不著, 無聊升級 Gentoo 到 2006.01/server .
連帶著 POSTFIX 也從 2.2.10 升級到 2.3.2.
本來以為只是一般性的升級, 結果出現了一點點小狀況,
我的 Mailerwrapper 說找不到 /usr/sbin/ssmtp.
看了一下, 應該是 net-mail/mailwrapper 這個套件作怪,
只要修改 /etc/mail/mailer.conf
將原來屬於 sendmail 的 configure mark 掉, 換成 Postfix 的設定就可以了.....

Tags: Gentoo

[Read more →]

Tags: Gentoo

OpenVPN 試用.

September 5th, 2006 · 3 Comments

因為看到有人說 OpenVPN 非常好用, 所以就用 OpenVPN 2.0.7 架了一個站, 在一個晚上試誤之下,
將文件寫到我的 Wiki, OpenVPN
如果有任何問題, 可以在我的 Comment 留言, wiki 不開放修改.

Tags: Gentoo, Linux, Network, Software

[Read more →]

Tags: Gentoo · Linux · Network · Software

Linux 下己經支援完整的 NTFS 系統了.

July 16th, 2006 · 2 Comments

Linux NTFS Project支援 User Space 的 NTFS FileSystem.
這個 Driver 使用 FUSE(Filesystem implement in userspace)做介面,
剛剛試了一下, UTF-8 下中文沒有問題, 可以正常讀寫, 建立目錄.
如果要安裝, 請先安裝 fuse, 在 Gentoo 下是使用
emerge sys-fs/fuse
安裝即可, 接下來按照 [announcement] ntfs-3g: open source read-write driver 安裝 ntfs-3g
下載 ntfs-3g
# cd /home/temp
# wget http://mlf.linux.rulez.org/mlf/ezaz/ntfs-3g-20070714-BETA.tgz
# cd ntfs-3g-20070714-BETA
# ./configure
# make
# make install
Mount FileSystem
ntfs-3g /dev/hda1 /mnt/windows -o silent,umask=0,locale=zh_TW.utf8
寫在 /etc/fstab
/dev/hda1 [...]

[Read more →]

Tags: Gentoo · Linux

BMPx in Gentoo

June 13th, 2006 · No Comments

Gentoo 不知道那一版開始就沒有支援 BMP(舊版)
目前都是使用 BMPx .
如果裝好預設的 BMPx 後, 直接執行會出現
beep-media-player-2: Couldn't connect to session bus: Unable to determine the address of the message bus
這時請將執行的指令改成
dbus-launch --auto-syntax --exit-with-session beep-media-player-2
就可以了.

Tags: Gentoo, Linux

[Read more →]

Tags: Gentoo · Linux

Gentoo 的 Library Depedency

June 7th, 2006 · No Comments

最近升級 expat (XML Parser) 從 1.95 到 2.0 之後, 就發生一些災難了, 像是常常會發生類似這樣的訊息.
/bin/uic: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
而且影響的不是單一套件, 而是整個系統.
我個人發現, expat 這個 packet 大概是繼 glibc 以外, 最常被 reference 到的 library 之一.
這個時候, 就跑一次
# revdep-rebuild

就可以了.

Tags: Gentoo

[Read more →]

Tags: Gentoo

Native Windows NTFS driver

April 28th, 2006 · No Comments

Captive一個 Native Windows NTFS Driver
gentoo 有 portage

* sys-fs/captive
Available versions: 1.1.7-r1
Installed: none
Homepage: http://www.jankratochvil.net/project/captive/
Description: [...]

[Read more →]

Tags: Gentoo

在 Gentoo 下玩 Mame.

March 18th, 2006 · 1 Comment

因為準備出差了, 總是要替自己找一些娛樂(不是到大陸包二奶呀, 那個不算是娛樂)
之前本來就有想要在 Linux 下跑 mame 的打算. 所以晚上試了一下, 原來可以跑起來了

Tags: GAME, Gentoo, Linux

[Read more →]

Tags: GAME · Gentoo · Linux

Gentoo Released 2006.0

February 28th, 2006 · No Comments

Gentoo 出 2006.0 了, 不過對我是沒有什麼影響就是了, 我的 notebook 都是用 unstable 的版本.........
不過幾個站台都是用 Stable 的版本, 也應該升級一下, 避免一些安全上的問題
機器放在網路上, 最大的麻煩還是 Security 的問題, 要不然到是不用一直升級.
補充一下, 2006.0 預設的環境是
KDE 3.4.3,
GNOME 2.12.2,
XFCE 4.2.2,
GCC 3.4.4 及
2.6.15 kernel.

Tags: Gentoo

[Read more →]

Tags: Gentoo

eix 在 portage 2.1 上的小問題…

December 31st, 2005 · No Comments

當使用 eix , 然後你的 portage 升級到 2.1 的時候, Database 會亂掉.
出現一堆看得懂, 但是很礙眼的訊息, 像是這樣
# eix ^eix$
* app-portage/eix
Available versions: !0.3.0-r1 !0.3.0-r2 !0.5.0
Installed: 0.5.0
Homepage: [...]

[Read more →]

Tags: Gentoo

Linux 下的 Desktop Search.

December 13th, 2005 · No Comments

大家都知道在 Windows 下, 有一個好用的 Google Desktop Search.
但是在 Linux 下呢? 有沒有好用的工具?
答案當然是有的, 就是 beagle 這一套工具.
基本上找 .pdf 沒有問題, 也支援 evolution 和 kmail (根據 Beagle FAQ 的說法, beagle 目前不支援 Thunderbird).
檔案和中文也都 OK (我的系統是用 UTF-8)
這樣對目前我的要求應該是夠用.
Gentoo 目前也有相對應的 Portage. 基本上按照 Beagle Gentoo Install的 Step 就可以了
要安裝 Beagle 需要注意的是,
1. 會安裝 mono(C# in linux), 還有 mozilla (不是 firefox 哦)
這些都是很肥的軟體.
2. mozilla 的版本要在 1.8 之前, 我是使用 1.7
Gentoo 的用戶請修改 [...]

[Read more →]

Tags: Gentoo · Linux · Software