PCDVD數位科技討論區
PCDVD數位科技討論區   註冊 常見問題 標記討論區為已讀

回到   PCDVD數位科技討論區 > 電腦硬體討論群組 > 系統組件
帳戶
密碼
 

  回應
 
主題工具
冰漾
Major Member
 
冰漾的大頭照
 

加入日期: Jul 2004
文章: 259
Ubuntu 使用心得與簡單教學...

一、心得
截至目前為止, 使用時間還未滿一星期, 但是大致設定已經告一段落, 目前僅有一張電視卡未運作還有 *.ape 檔案還未安裝正確編碼、無法播放之外, 其餘都很正常...

二、建議
建議一般使用者, 只有上網、聊天、打報告、聽音樂的人可以轉用 Ubuntu, 穩定度、速度都很不錯...
硬體方面, 不建議最新的使用者安裝, 會有驅動程式無法支援的可能...

三、必記語法
使用 Ubuntu 必記語法:
代碼:
sudo pppoeconf

這是設定 pppoe 連線的語法, 只要能夠連上網路, 其餘一切都不成問題...
當初看著雜誌安裝的時候竟然找不到上網的方法, 害我跑去多買了一本書, 結果一道指令就解決了XD

四、非官方中文使用手冊
內容相當詳細, 連上網路之後, 你只要打開它, 一切就搞定!!
詳見:http://wiki.ubuntu.org.tw/index.php/Ubuntu6.10Guidet

五、簡易安裝步驟說明
1. 插入安裝光碟(註一), 並設定為光碟開機。
2. 進入光碟之後, 按 F2 選擇『正體中文』, 按 F4 選擇正確的螢幕解析度, 選擇第一個選項進入 LiveCD 的桌面系統, 以啟動安裝。
3. 經過一小段硬體掃描、驅動選用階段, 正式開啟進入 LiveCD 的桌面系統, 點選桌面的『安裝』來安裝 Ubuntu。
4. 照著系統的只是安裝, 記得在選擇安裝磁區的地方分割至少一個 ext3、一個 swap。(註二)
5. 安裝完畢重新開機, 取出光碟並設定安裝硬碟為開機硬碟
6. 登入之後打開『應用程式』>>『附屬應用程式』>>『終端機』, 輸入『eudo pppoeconf』按下 Enter 之後開始設定 PPPoe 上網, 如果沒有錯的話, 系統會自行抓取數據機資訊, 請確定您的網路連接無誤, 接著一直按『是』、『確定』, 看到『username』的地方輸入 pppoe 連線名稱, passwd 則是輸入密碼, 卻下來也是一直按『是』、『確定』, 完畢之後程式會自動連線, 以後開機完畢也會自動連線上網
7. 打開『系統』>>『管理』>>『語言支援』, 此時若跳出密碼輸入框, 則輸入使用者密碼, 接著會更新部份程式的語系
8. 打開『系統』>>『管理』>>『更新管理員』, 進行系統更新
9. 打開 Firefox, 連到『這裡』按照顯示卡廠商選擇正確的語法進行顯示卡驅動安裝, 並重新啟動

註一:光碟可至下面網址下載:http://releases.ubuntu.com/6.10/
註二:安裝的時候建議只掛著一顆硬碟, 小弟掛著另外兩顆硬碟安裝都會出錯...QQ

六、新增套件庫
1. 打開『應用程式』>>『附屬應用程式』>>『終端機』, 入下面語法:
代碼:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list

2. 用以下內容取代:
代碼:
####
# edgy
####

# apt.ubtw

deb http://apt.ubuntu.org.tw/ubuntu edgy-updates main restricted universe multiverse
deb-src http://apt.ubuntu.org.tw/ubuntu edgy-updates main restricted universe multiverse
 
deb http://apt.ubuntu.org.tw/ubuntu edgy main universe multiverse restricted
deb-src http://apt.ubuntu.org.tw/ubuntu edgy main universe multiverse restricted

deb http://apt.ubuntu.org.tw/ubuntu edgy-backports main universe multiverse restricted
deb-src http://apt.ubuntu.org.tw/ubuntu edgy-backports main universe multiverse restricted

deb http://apt.ubuntu.org.tw/ubuntu edgy-security main restricted universe multiverse
deb-src http://apt.ubuntu.org.tw/ubuntu edgy-security main restricted universe multiverse


# ubtw
deb http://apt.ubuntu.org.tw ubtw/
deb http://apt.ubuntu.org.tw ubtw-edgy/
#deb http://apt.ubuntu.org.tw ubtw-testing/

# candyz
deb http://cle.linux.org.tw/candyz/Ubuntu/edgy i386/

# PLF
# deb http://packages.freecontrib.org/ubuntu/plf/ edgy free non-free
# deb-src http://packages.freecontrib.org/ubuntu/plf/ edgy free non-free

3. 儲存之後離開並回到終端機, 輸入以下語法以加入 GPG Key:
代碼:
wget http://cle.linux.org.tw/candyz/Ubuntu/candyz.key -O -|sudo apt-key add

4. 在終端機下輸入下面語法以更新套件庫:
代碼:
sudo apt-get update

5. 打開『系統』>>『管理』>>『更新管理員』檢查更新

(待續)
     
      
舊 2006-12-29, 11:21 PM #1
回應時引用此文章
冰漾離線中  
冰漾
Major Member
 
冰漾的大頭照
 

加入日期: Jul 2004
文章: 259
七、中文輸入法支援(註三)
1. 打開『應用程式』>>『附屬應用程式』>>『終端機』, 輸入下面語法以安裝輸入法套件(註四):
代碼:
sudo apt-get install scim
sudo apt-get install scim-chinese
sudo apt-get install scim-config-socket
sudo apt-get install scim-gtk2-immodule
sudo apt-get install scim-tables-zh

2. 設定 SCIM 啟動檔, 在終端機輸入下面語法:
代碼:
sudo touch /etc/X11/Xsession.d/74custom-scim_startup
sudo chmod 646 /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XMODIFIERS="@im=SCIM"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export GTK_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XIM_PROGRAM="scim -d"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export QT_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'scim -f x11 -d' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'scim -f socket  -d' >>/etc/X11/Xsession.d/74custom-scim_startup
sudo chmod 644 /etc/X11/Xsession.d/74custom-scim_startup

3. 安裝新酷音輸入法(選擇安裝), 在終端機輸入下面語法:
代碼:
sudo apt-get install scim-chewing

4. 安裝完畢請重新開機

註三:系統預設安裝 SCIM, SCIM 只是一個輸入法的『平台』而已, 還需要安裝輸入法才可以, 其他的輸入法平台還有『GCIN』、『OXIM』; KDE 底下則是『SKIM』...
註四:小弟僅選擇額外安裝新酷音輸入法(scim-chewing)而已...

八、SCIM 設定(註五)
1. 打開『系統』>>『偏好設定』>>『SCIM 輸入法設定』
2. 『介面』>>『全域設定』>>『下一種輸入法』及『上一種輸入法』, 使用下面設定:
代碼:
Shift+Shift_L+KeyRelease,Shift+Shift_R+KeyRelease

3. 『輸入法引擎』>>『全域設定』, 僅啟用英文鍵盤、中文(繁體), 其他全部停用; 展開『中文(繁體)』設定快速鍵:
代碼:
Control+space

4. 『輸入法引擎』>>『新酷音』>>『鍵盤』>>『切�**銦z使用下面設定:
代碼:
Ctrl+space

5. 『輸入法引擎』>>『新酷音』>>『鍵盤』>>『新酷音中英切�**銦z使用下面設定:
代碼:
Shift+Shift_L+KeyRelease,Shift+Shift_R+KeyRelease

6. 完成上面設定, 按下確定離開之後請重新啟動

註五:這是小弟自己慣用的設定, 不一定要照著設定

九、讓 Ubuntu 自動登入
1. 打開『系統』>>『管理』>>『登入畫面』, 跳出密碼輸入框的時候請輸入使用者密碼
2. 轉跳至『安全性』頁面, 勾選『啟動自動登入』並選擇自動登物的使用者帳戶, 完成後關閉視窗即可, 下次開機就會自動以選擇的帳戶自動登入

十、讓 Firefox 飆車:SwiftFox
1. 打開『應用程式』>>『附屬應用程式』>>『終端機』, 輸入下面語法以開啟套件庫列表:
代碼:
sudo gedit /etc/apt/sources.list

2. 在套件庫列表最後下面新增下面字串:
代碼:
deb http://getswiftfox.com/builds/debian unstable non-free

3. 完成後儲存、離開並回到終端機, 輸入下面語法, 更新套件庫, 並安裝 SwiftFox(適用於Athlon XP 註六):
代碼:
apt-get update && apt-get install swiftfox-athlon-xp

4. 或者直接到『這裡』下載, deb 檔案直接點取並執行安裝即可

註六:除非 Ubuntu 是安裝 AMD64 的版本, 否則 K8 也請安裝 Athlon XP 版本, 或者改裝 Pentium 4 的版本

十一、中文化 SwiftFox
1. 到 MozTW 下載 Linux 版的 Firefox 並解壓縮
2. 打開『系統』>>『管理』>>『登入畫面』, 跳出密碼輸入框的時候請輸入使用者密碼
3. 轉跳至『安全性』頁面, 勾選『允許本地系統管理員登入』, 關閉離開
4. 打開『應用程式』>>『附屬應用程式』>>『終端機』, 輸入下面語法修改管理員密碼:
代碼:
passwd root

5. 密碼修改完畢之後, 登出並以『root』以及剛剛更改的密碼登入
6. 打開剛剛解壓縮的目錄, 複製『chrome』裡的『zh-TW.jar』、『zh-TW.manifest』兩個檔案
7. 打開『位置』>>『電腦』>>『檔案系統』>>『usr』>>『lib』>>『swiftfox』>>『chrome』>>貼上, 然後把『en-US.jar』、『en-US.manifest』刪除
8. 登出, 再以一使用者帳號登入
9. 打開『系統』>>『管理』>>『登入畫面』, 跳出密碼輸入框的時候請輸入使用者密碼
10. 轉跳至『安全性』頁面, 取消勾選『允許本地系統管理員登入』, 關閉離開

十二、SwiftFox 終極加速
1. 先確認您電腦與網路的等級
2. 打開『應用程式』>>『附屬應用程式』>>『終端機』, 輸入下面語法以更改 Firefox/SwiftFox 設定:
代碼:
cd ~/.mozilla/firefox/*.default/
gedit prefs.js

3. 程式開啟 prefs.js 之後, 在最後面新增下面語法, 以初步加速:
代碼:
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("content.notify.backoffcount", 5);
user_pref("plugin.expose_full_path", true);
user_pref("ui.submenuDelay", 0);

4. 按照電腦等級、網路速度自行選擇下面語法, 並新增在 prefs.js 最後面:
- a. 電腦配備、網路速度
代碼:
user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("nglayout.initialpaint.delay", 0);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8);
user_pref("browser.cache.memory.capacity", 65536);

-b. 電腦配備、網路速度稍慢
代碼:
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8);
user_pref("nglayout.initialpaint.delay", 0);
user_pref("browser.cache.memory.capacity", 65536);

- c. 電腦配備、網路速度
代碼:
user_pref("browser.xul.error_pages.enabled", true);
user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 3000000);
user_pref("content.maxtextrun" 8191);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("network.http.max-connections", 32);
user_pref("network.http.max-connections-per-server", 8);
user_pref("network.http.max-persistent-connections-per-proxy", 8);
user_pref("network.http.max-persistent-connections-per-server", 4);
user_pref("nglayout.initialpaint.delay", 0);
user_pref("browser.cache.memory.capacity", 65536);

- d. 電腦配備、網路速度
代碼:
user_pref("content.max.tokenizing.time", 3000000);
user_pref("content.notify.backoffcount", 5);
user_pref("content.notify.interval", 1000000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 1000000);
user_pref("content.maxtextrun", 4095);
user_pref("nglayout.initialpaint.delay", 1000);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8);
user_pref("dom.disable_window_status_change", true);

- e. 電腦配備、網路速度
代碼:
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("nglayout.initialpaint.delay", 750);
user_pref("network.http.max-connections", 32);
user_pref("network.http.max-connections-per-server", 8);
user_pref("network.http.max-persistent-connections-per-proxy", 8);
user_pref("network.http.max-persistent-connections-per-server", 4);
user_pref("dom.disable_window_status_change", true);

5. 完成後, 儲存並離開編輯器, 重新啟動 SwiftFox 享受飆網路的快感

十三、替 Firefox/SwiftFox 安裝 Plug-in
1. 到『這裡』下載 Flash Player 的 Firefox Plug-in (註七)
2. 下載完畢並解壓縮之後, 關閉 Firefox/SwiftFox, 執行 『flashplayer-installer』, 跳出的對話框選擇『在終端機中執行』, 接著按照步驟執行就可以了...
3. 打開『應用程式』>>『附屬應用程式』>>『終端機』, 輸入下面語法以安裝 Firefox Jre Plug-in:
代碼:
sudo apt-get install sun-java5-jre sun-java5-plugin

4. 打開『應用程式』>>『附屬應用程式』>>『終端機』, 輸入下面語法以安裝 Firefox 多媒體播放外掛:
代碼:
sudo apt-get install totem-gstreamer-firefox-plugin

5. 其餘外掛(如:Mplayer Plug-in)請用 Automatix2 安裝...

註七:Flash Player 請務必安裝 7 版, 9 版會導致 Firefox 崩潰...

十四、總結
老實說, 還漏掉許多沒有打上來...
在這幾天使用期間, 小弟安裝不下 15 次, 遇到最大的兩個問題:
1. 如何上網
2. 中文輸入法無法在某些程式上正常運作
不過目前都已經解決, 剩下的看非官方中文使用手冊就可以了...

祝大家好運~
 
舊 2006-12-29, 11:23 PM #2
回應時引用此文章
冰漾離線中  
densha
Regular Member
 
densha的大頭照
 

加入日期: Oct 2005
文章: 73
好棒阿!
您真是好前輩!
舊 2006-12-29, 11:57 PM #3
回應時引用此文章
densha離線中  
Jake2003
*停權中*
 

加入日期: Sep 2003
文章: 212
http://blog.xuite.net/ericsk0313/ubuntu

我也來提供一個不錯的BLOG
舊 2006-12-30, 12:09 AM #5
回應時引用此文章
Jake2003離線中  
mc8118
Major Member
 
mc8118的大頭照
 

加入日期: Jun 2002
您的住址: WEST-TW
文章: 191
這個贊~~~~

我也有裝在nb上面,但是一直無法讓顯示器支援寬螢幕。
舊 2006-12-30, 12:52 AM #6
回應時引用此文章
mc8118離線中  
chunyi
Advance Member
 
chunyi的大頭照
 

加入日期: Feb 2002
文章: 455
感謝你的無私分享...

其實我也對Linux平台有點好奇,可惜沒有多的電腦可以讓我摸索
__________________
  1. 誠心為思想之本
  2. 忘我以求道
  3. 遍習諸藝
  4. 廣渉百業之道
  5. 了解諸事的利弊得失
  6. 培養辨別事物的眼光
  7. 洞悉肉眼不可見之事
  8. 留心細節小事
  9. 不做無功效之事
宮本武藏の五輪書
舊 2006-12-30, 01:20 AM #7
回應時引用此文章
chunyi離線中  
冰漾
Major Member
 
冰漾的大頭照
 

加入日期: Jul 2004
文章: 259
引用:
作者chunyi
感謝你的無私分享...

其實我也對Linux平台有點好奇,可惜沒有多的電腦可以讓我摸索

放心, Ubuntu 安裝光碟就是一張 LiveCD, 開機之後就能使用, 使用『sudo pppoeconf』設定過後同樣能夠上網...

邊上網邊安裝的感覺很奇特...
舊 2006-12-30, 01:54 AM #8
回應時引用此文章
冰漾離線中  
野口隆史
Elite Member
 
野口隆史的大頭照
 

加入日期: Mar 2001
您的住址: Rivia
文章: 6,968
轉貼我自己在ubuntu中國官方論壇的教學文章
這可以讓你的ubuntu擁有比VISTA還要厲害的3D桌面

引用:
以下是我參考的地方
http://wiki.beryl-project.org/index...ntu/Edgy/nVIDIA
http://forum.ubuntu.org.cn/about29152.html


首先我在edgy上按照以上的教學,一定都會在驅動安裝完要重啟的時候出現xserver錯誤
經過幾天的反覆研究,確定我安裝的方法無誤,可是卻無法成功
後來知道正確的方法了,現在就分享一下我成功的安裝方法

我的硬體配置
E6300
GIGA 965P DS3
創見DDR2 667 1G*2
PIONEER A08
NEC 1300A
WD 3200YS
SB LIVE
GeForce 7900gt

方法大致如同我參考的那兩個網頁
但為求方便,我把它放在這邊給大家參考一下


一.安裝NV驅動

1.編輯sudo gedit /etc/apt/sources.list
加入來源deb http://beryl-mirror.lupine.me.uk/beryl edgy beryl


2.在終端及下敲入
代碼:
sudo apt-get update
sudo apt-get install nvidia-glx
sudo nvidia-xconfig



3.cartl+alt+backspace
看登入的時候有沒有出現nv的logo圖


二.安裝beryl

1.加入來源
代碼:
sudo gedit /etc/apt/sources.list
加入deb http://media.blutkind.org/xgl/ edgy main-edgy

儲存後關閉


2.終端機中輸入
代碼:
wget http://media.blutkind.org/xgl/quinn.key.asc -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 beryl emerald-themes



3.終端機輸入sudo gedit /etc/gdm/gdm.conf-custom
在[servers] 的後面加入
代碼:
1=Xgl 

[server-Xgl] 
name=Xgl server 
command=/usr/bin/Xgl -fullscreen -br -accel xv:pbuffer -accel glx:pbuffer -dpi 100 -nolisten tcp 
flexible=true



4.修改sudo gedit /etc/gdm/gdm.conf 設定檔
按CARTL+F開啟搜尋
存找"0=Standard"
將其修改成"1=Standard"

再搜尋"GdmXserverTimeout=10"
再將其修改為"GdmXserverTimeout=50"


5.加入啟動
系統 >首選項>會話>啟動程序
加入"beryl-manager"跟"beryl-xgl"這兩項
sudo reboot
__________________
Folding@home with GPGPU集中討論串

Unix Review: ArchLinuxSabayonOpenSolaris 2008.5Ubuntu 8.10
AVs Review: GDTCAntiVir SSESSKIS 09NIS 09Norton 360 V3

I Always Get What I Want.
舊 2006-12-30, 03:10 AM #9
回應時引用此文章
野口隆史離線中  
野口隆史
Elite Member
 
野口隆史的大頭照
 

加入日期: Mar 2001
您的住址: Rivia
文章: 6,968
我自己的桌面截圖





__________________
Folding@home with GPGPU集中討論串

Unix Review: ArchLinuxSabayonOpenSolaris 2008.5Ubuntu 8.10
AVs Review: GDTCAntiVir SSESSKIS 09NIS 09Norton 360 V3

I Always Get What I Want.
舊 2006-12-30, 03:16 AM #10
回應時引用此文章
野口隆史離線中  


    回應


POPIN
主題工具

發表文章規則
不可以發起新主題
不可以回應主題
不可以上傳附加檔案
不可以編輯您的文章

vB 代碼打開
[IMG]代碼打開
HTML代碼關閉



所有的時間均為GMT +8。 現在的時間是06:40 PM.


vBulletin Version 3.0.1
powered_by_vbulletin 2024。