

係滴…這就是新的Fedora5,這次學聰明瞭,用公司的網路下載DVD版本,大約花了5個小時在限速模式下完成3.3G的資料。
本來想用升級模式將FC4升成FC5,但考慮到xorg的不同,所以還是使用重新安裝模式,只是原先的/tool跟/home不使用格式化,其餘的/和/swap和/boot是有重新格式化的。
這次安裝,並未備份很多資料,因為FC4時,資料是備份在/home和/tool裡頭,只要這二個分割區有掛上來,基本上該有的都有了。不過其中也遇到很多資料備份後沒寫說明,所以在還原使用習慣上花了很多力氣去找資料。。。。不過這次有抓了Ooo202中文加強版,所以我沒安裝預設的辦公軟體,但這個決定是錯誤的,因為用中文加強版無法順利啟動,這部份還在研究中。。。 ><
網路設定跟FC4一樣,從「桌面」→「管理」→「網路」,設定網卡是192.168.99.2/255.255.255.0;增加一個xDSL連線,輸入「網路供應商」「帳號」「密碼」,設定為開機啟動,就可以開始以下的更新程序囉。。。
第一步:使用如何使用本伺服器的 YUM 服務(for Fedora Core 5)做全系統更新。這次已換成yum系統,不過只有新竹縣的core;update;extras;freshrpms還是無法成習慣用的程式抓回來,還得使用livna的更新伺服,才能抓到更多好東東呦(例如totem-xine等等)。
To start using the rpm.livna.org repository in yum simply install the livna-release-5 rpm package:
rpm -ivh http://rpm.livna.org/livna-release-5.rpm
第二步:中文輸入法。這次的中文輸入法,由FC4的gcin要換成scim,所以原本的嘸蝦米表已經不能用了,得轉換成scim用的bin檔。
參考資料
首先從/tool裡把以前抓的noseeing6.tar.gz抓出來用。修改掉以下的表頭,不然會在選字時出現問題。
%ename liu5
%prompt µL½¼¦Ì
%selkey 1234567890
%dupsel 9
%keyname begin a ....
%quick begin
%quick end
%sel1st begin
%sel1st end
- 注意:請執行 uuidgen 取得 UUID (把下面的 UUID 換成你的 UUID)
- serial number 只是個流水號,你不改也可以.
- ICON = @SCIM_ICONDIR@/liu5.png 這個是輸入法的 icon,弄個你喜歡的取代吧.
- icon 放在 /usr/share/scim/icons/liu5.png
- 記得字碼表要貼到在 BEGIN_TABLE 及 END_TABLE之間.
- nosseing6里頭大約是32937字,使用gedit去編輯,記得用成UTF-8存檔。
- 下指令:scim-make-table liu5.txt -b -o Liu5.bin
- 複製進scim系統:cp Liu5.bin /usr/share/scim/tables
- 登出登入後就可以使用囉。。。。
### This file must be encoded into UTF-8.
### This file comes from xcin module.
SCIM_Generic_Table_Phrase_Library_TEXT
VERSION_1_0
### Begin Table definition.
BEGIN_DEFINITION
### An unique id to distinguish this table among others.
### Use uuidgen to generate this kind of id.
UUID = 49e3b641-8ac6-46f4-8900-b458c2391a6f
### A unique number indicates the version of this file.
### For example the last modified date of this file.
### This number must be less than 2^32.
SERIAL_NUMBER = 20060414.57
ICON = @SCIM_ICONDIR@/liu5.png
### The default name of this table
NAME = Liu5
### The local names of this table
NAME.zh_CN = 嘸蝦米
NAME.zh_TW = 嘸蝦米
NAME.zh_HK = 嘸蝦米
### Supported languages of this table
LANGUAGES = zh_TW,zh_HK,zh_CN,zh_SG
### Prompt string to be displayed in the status area.
STATUS_PROMPT = 中
### If true then the first candidate phrase
### will be selected automatically during inputing.
AUTO_SELECT = TRUE
### If true then a multi wildcard will be appended
### at the end of inputing string automatically.
AUTO_WILDCARD = TRUE
### If true then the result string will be committed to client automatically.
### This should be used with AUTO_SELECT = TRUE.
AUTO_COMMIT = FALSE
### If true then the inputted string will be automatically splitted during inputing.
AUTO_SPLIT = TRUE
### If true then the phrases' frequencies will be adjusted dynamically.
DYNAMIC_ADJUST = TRUE
### If true then the preedit area will be filled up by the current candidate phrase automatically.
AUTO_FILL = FALSE
ALWAYS_SHOW_LOOKUP = TRUE
### Use full width punctuation by default
DEF_FULL_WIDTH_PUNCT = TRUE
### Use full width letter by default
DEF_FULL_WIDTH_LETTER = FALSE
### The maxmium length of a key.
MAX_KEY_LENGTH = 6
### Valid input chars.
VALID_INPUT_CHARS = abcdefghijklmnopqrstuvwxyz,.[]
### Single wildcard char, can have multiple chars.
### SINGLE_WILDCARD_CHAR = ?
### Multi wildcard char.
MULTI_WILDCARD_CHAR = *
### The key strokes to split inputted string.
SPLIT_KEYS = quoteright
### The key strokes to commit the convert result to client.
COMMIT_KEYS = space
### The key strokes to forward the inputted string to client.
FORWARD_KEYS = Return
### The key strokes to select candidiate phrases.
SELECT_KEYS = 1,2,3,4,5,6,7,8,9,0
### The key strokes to page up the lookup table.
PAGE_UP_KEYS = Page_Up,comma,minus
### The key strokes to page down the lookup table.
PAGE_DOWN_KEYS = Page_Down,period,equal
END_DEFINITION
### Begin Table data.
BEGIN_TABLE
這裡是字表
a 對
aa 寸
aaa 鑫
…
…
..v ¨
..s ─
''' 〞
'''v 〞
END_TABLE
- 下載「fireflysung-1.3.0.tar.gz」,準備好要裝的字型如mingliu.ttc等等。。。
- tar zxvf fireflysung-1.3.0.tar.gz;cd fireflysung-1.3.0
- 安裝xttmgr,因為yum裡頭沒有這個套件,所以要自已去找點下載
- rpm -Uvh xttmgr-0.9.6-3.fc3.i386.rpm
- ln -sf xorg.conf XF86Config
- xttmgr --add fireflysung.ttf;這裡可以再加入想要的字型。
- xttmgr --auto
- fc-cache -f -v
- 這時候就可以使用文鼎新宋字體嚕。。。。
-
到「http://www.mplayerhq.hu/MPlayer/releases/codecs/」網站,下載「all-20050412.tar.bz2」
- tar jxvf all-20050412.tar.bz2
- mv all-20050412 /usr/local/lib/codecs
- ln -s /usr/local/lib/codecs /usr/lib/win32
- 進入家目錄,在隱藏目錄裡 .gnome2有個totem.addons的資料夾,我會刪除掉,然後連結至/usr/lib/win32,這樣我只要更新win32的codecs就可以了,只是,不知為何,我的drv4.so.6.0無法播放rm檔…好怪喔…
- 修改Selinux的安全等級為permissive後暫時可用。調查中…
- yum remove totem;yum install totem-xine
- 這樣就可以播放大部份的影音檔(目前除了rm檔以外)
- 要聽ntfs裡頭的音樂,要安裝linux-ntfs喔…
- 註:xmms目前吃不到xorg的字型,所以不裝了(選單會呈亂碼狀)
- 順便裝了bmp替代xmms
- yum install bmp bmp-mp3 bmp-wma bmp-aac bmp-mac bmp-musepack
- 到Linux-ntfs下載檔案安裝。由於剛剛更新過系統,所以要下載2080的版本,如何看自己的版本呢。下達 unam -mr,就可以看到核心版本了
- 在/media裡新建c和d的目錄:mkdir /media/c;mkdir /media/d
- 用Gedit打開/etc/fstab,加入設定如下,然後下mount -a就可以使用XP分割了
- #use UTF-8
/dev/hdc1 /media/c ntfs defaults,umask=000,iocharset=utf8 0 0
/dev/hdc5 /media/d ntfs defaults,umask=000,iocharset=utf8 0 0
- 下載蕭易玄的powerpack150套件包:http://homepage.mac.com/eshen/firefox/ff150pp.zip
- 解開後用powerpack.html來安裝套件
- 下載Flash Player Download Center Linux
- 解壓後用su身份執行./flashplayer-installer;其中會輸入預設目錄為/usr/lib/mozilla;這樣就完成flash player的安裝了。
- 下載mplayerplug-in和mplayerplug-in Mozilla Extension
- 用su身份執行yum install mplayer
- 接著rpm -Uvh mplayerplug-in-3.25-fc5.i386.rpm
- 然後打開firefox,用套件安裝把mplayerplug-in-0.2.1.xpi裝進來,就可以線上聽音樂啦…哇哈哈!
- 附圖是firefox裡的套件。

第八步:安裝星際譯王的字典檔
- 複製下面的檔案,命名為install.sh,命令列輸入chmod +x install.sh,再輸入./install.sh;接著就自動安裝啦…
- 我裝了二本日英,三本英漢/漢英
#!/bin/sh
#!JEDict dictionary
wget http://nchc.dl.sourceforge.net/sourceforge/stardict/stardict-JEDict-2.4.2-1.noarch.rpm
#!JMDict-ja-en dictionary
wget http://switch.dl.sourceforge.net/sourceforge/stardict/stardict-jmdict-ja-en-2.4.2-1.noarch.rpm
#!JMDict-en-ja dictionary
wget http://nchc.dl.sourceforge.net/sourceforge/stardict/stardict-jmdict-en-ja-2.4.2-1.noarch.rpm
#!世紀雙語科技詞典
wget http://jaist.dl.sourceforge.net/sourceforge/stardict/stardict-21shijishuangyukejicidian-big5-2.4.2-1.noarch.rpm
#!朗道漢英字典
wget http://nchc.dl.sourceforge.net/sourceforge/stardict/stardict-langdao-ce-big5-2.4.2-1.noarch.rpm
#!朗道英漢字典
wget http://nchc.dl.sourceforge.net/sourceforge/stardict/stardict-langdao-ec-big5-2.4.2-1.noarch.rpm
rpm -Uvh stardict*.rpm
第九步
第十步
第十一步