Ubuntu_7.04
安裝過程參考
http://wiki.ubuntu.org.tw/index.php/Ubuntu7.04Install
以下為系統更新與安裝常用軟體之步驟
增加更新來源
sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
- # 在原有的檔案中附加下列內容
# MEDIBUNTU (Unsupported. May contain illegal packages. Use at own risk.) deb http://packages.medibuntu.org/ feisty free non-free # CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu # servers. RealPlayer10, Opera, DesktopSecure and more to come.) deb http://archive.canonical.com/ubuntu feisty-commercial main # Official Skype Repository (有skype哦) deb http://download.skype.com/linux/repos/debian/ stable non-free # google deb http://dl.google.com/linux/deb/ stable non-free # VirtualBox deb http://www.virtualbox.org/debian feisty non-free # KompoZer deb http://ppa.launchpad.net/tonyyarusso/ubuntu feisty universe # easycam2 deb http://blognux.free.fr/debian unstable main # 國網中心 deb http://free.nchc.org.tw/ubuntu feisty main restricted universe multiverse
匯入金鑰 GPG key
cd /tmp wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - wget http://dl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add - wget -q http://www.virtualbox.org/debian/innotek.asc -O- | sudo apt-key add -
系統更新
sudo aptitude update sudo aptitude upgrade -y sudo aptitude dist-upgrade -y
安裝apt-build(下載原始碼在本機重新編譯)
sudo aptitude install apt-build
以apt-build安裝軟體範例
sudo apt-build -y --force-yes install inkscape sudo apt-build -y --force-yes install memstat
鍵盤數字鍵自動啟用
sudo aptitude install -y numlockx
重新開機
sudo reboot
更換輸入法架構為gcin
sudo aptitude install -y gcin im-switch -z zh_TW -s gcin sudo im-switch -z zh_TW -s gcin
手動設定環境
設定開機自動登入 設定工作區有4個 設定nautilus為按一下圖示為執行 設定終端機的顏色 設定輸入法為酷音,鍵盤排列為倚天 firefox安裝google toolbar並設定啟動時的首頁
安裝多媒體解碼器(Multimedia Codecs)
sudo aptitude install -y gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse
安裝DVD播放能力及Win 32 Codecs解碼器
sudo aptitude install -y libdvdcss2 w32codecs
改用totem-xine引擎的播放軟體
sudo aptitude install -y libxine-extracodecs totem-xine totem-xine-firefox-plugin
修正播放rmvb「有影無聲」的情形
gedit ~/.xine/catalog.cache 找到 [/usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so] 把 decoder_priority 增加到 10
安裝mp3播放軟體
sudo aptitude install -y audacious
安裝DVD影片備份K9Copy
sudo aptitude install -y k9copy
安裝編譯程式
sudo aptitude install -y build-essential linux-headers-`uname -r` manpages-dev
安裝Flash
sudo aptitude install -y flashplugin-nonfree
安裝FTP使用端軟體 Filezilla 3.0
sudo aptitude install -y filezilla
安裝Acrobat Reader
sudo aptitude install -y acroread
安裝ssh server
sudo aptitude install -y ssh
安裝視窗版磁碟分割軟體
sudo aptitude install -y gparted
安裝pcman檔案管理員
sudo aptitude install -y pcmanfm
安裝好用的文字介面程式
sudo aptitude install -y lftp sudo aptitude install -y mc
安裝gmail檢查
sudo aptitude install -y checkgmail
安裝ISO檔掛載軟體 gISOMount
sudo aptitude install gisomount
安裝關鍵詞的程式載入軟體
sudo aptitude install -y katapult
安裝解壓縮軟體
sudo aptitude install -y rar p7zip
安裝即時通訊軟體 kopete
sudo aptitude install -y kopete
安裝skype
sudo apt-get install -y --force-yes skype
安裝amule
sudo aptitude install -y amule
安裝BT下載軟體
sudo aptitude install -y deluge-torrent
安裝google desktop
sudo aptitude install -y google-desktop-linux
安裝opera
sudo aptitude install opera cd /tmp wget http://www.opera.com/download/lng/923/ouw923_zh-tw.lng sudo cp ouw923_zh-tw.lng /usr/share/opera/locale/ # 開啟Opera,在工具列上依序找到: # Tools -> Preferences -> General -> Details... -> User interface language # 輸入 /usr/share/opera/locale/ouw923_zh-tw.lng # 若在網際網路功能表中沒有看到Opera,可自行利用偏好設定中的Main Menu增加
安裝MadEdit
cd /tmp wget http://nchc.dl.sourceforge.net/sourceforge/madedit/madedit_0.2.8-1_i386.deb sudo dpkg -i madedit_0.2.8-1_i386.deb
安裝ManDVD
cd /tmp wget http://ubuntu.org.ua/getdeb/ma/mandvd_2.4-1~getdeb1_i386.deb sudo dpkg -i mandvd_2.4-1~getdeb1_i386.deb
安裝網頁編輯軟體kompozer
sudo gedit /etc/apt/sources.list
# KompoZer deb http://ppa.launchpad.net/tonyyarusso/ubuntu feisty universe sudo aptitude install -y kompozer
下載中文語系
wget http://rt.openfoundry.org/Foundry/Project/Download/Attachment/93169/63956/kz-0710-zhTW.20070927.xpi
# 後續調整參考 http://tw.myblog.yahoo.com/jw!Z3YOJZSGER5taqtYmemK3uSU/article?mid=608&prev=618&l=d&fid=28
安裝視訊攝影機軟體easycam2
sudo gedit /etc/apt/sources.list # easycam2 deb http://blognux.free.fr/debian unstable main sudo aptitude install -y easycam2
安裝封包分析軟體wireshark
sudo aptitude install wireshark
安裝燒錄軟體gnomebaker
sudo aptitude install gnomebaker
安裝電子檔.chm閱讀器
sudo aptitude install gnochm
將電子檔.chm反轉為.html
sudo aptitude install archmage
指令用法:archmage chm名稱 解壓縮目錄名稱
archmage test.chm test
安裝OO.o美工圖庫
sudo aptitude install -y openclipart
安裝OO.o簡報範本
cd /tmp wget http://technology.chtsai.org/impress/impress_templates_otp.zip unzip impress_templates_otp.zip sudo mv *.otp /usr/lib/openoffice/share/template/zh-TW/presnt/
安裝星際譯王stardict
sudo aptitude install -y stardict
下載與安裝星際譯王的字典檔
wget http://prdownloads.sourceforge.net/stardict/stardict-oxford-big5-2.4.2.tar.bz2 wget http://prdownloads.sourceforge.net/stardict/stardict-langdao-ec-big5-2.4.2.tar.bz2 wget http://prdownloads.sourceforge.net/stardict/stardict-langdao-ce-big5-2.4.2.tar.bz2 wget http://prdownloads.sourceforge.net/stardict/stardict-21shijishuangxiangcidian-big5-2.4.2.tar.bz2 wget http://prdownloads.sourceforge.net/stardict/stardict-21shijishuangyukejicidian-big5-2.4.2.tar.bz2 tar -xjvf stardict-oxford-big5-2.4.2.tar.bz2 tar -xjvf stardict-langdao-ec-big5-2.4.2.tar.bz2 tar -xjvf stardict-langdao-ce-big5-2.4.2.tar.bz2 tar -xjvf stardict-21shijishuangxiangcidian-big5-2.4.2.tar.bz2 tar -xjvf stardict-21shijishuangyukejicidian-big5-2.4.2.tar.bz2 rm stardict*.bz2 sudo mv stardict-* /usr/share/stardict/dic/
安裝微軟正黑體
sudo cp -R ttf-msjh-fonts /usr/share/fonts/truetype/ sudo chmod -R 655 ttf-msjh-fonts/ sudo fc-cache -f -v
安裝virtualbox
sudo gedit /etc/apt/sources.list # VirtualBox deb http://www.virtualbox.org/debian feisty non-free wget http://www.virtualbox.org/debian/innotek.asc sudo apt-key add innotek.asc sudo apt-get update sudo aptitude install -y build-essential linux-headers-`uname -r` sudo apt-get install virtualbox sudo /etc/init.d/vboxdrv setup sudo usermod -G vboxusers -a peter # sudo chown peter.vboxusers /dev/vboxdrv sudo groupadd usbusers sudo usermod -G usbfs -a peter sudo vim /etc/udev/rules.d/40-permissions.rules 搜尋下面這段文字: # USB devices (usbfs replacement) SUBSYSTEM=="usb_device", MODE="0664" 改成: # USB devices (usbfs replacement) SUBSYSTEM=="usb_device", GROUP="usbusers", MODE="0664"
安裝wine
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add - sudo apt-get update sudo apt-get install wine cabextract msttcorefonts winecfg sudo gedit /usr/share/X11/locale/zh_TW.UTF-8/XLC_LOCALE # fs2 class (Chinese Han Character (Traditional)) #fs2 { # charset { # name BIG5-0:GLGR # } # font { # primary BIG5-0:GLGR # substitute BIG5-0:GLGR # } #}
vi ~/.wine/user.reg
[Software\\Wine\\X11 Driver] "ClientSideAntiAliasWithRender"="N" [Software\\Wine\\Fonts\\Replacements] "System"="文鼎PL細上海宋Uni" "Arial"="文鼎PL細上海宋Uni" "Fixedsys"="文鼎PL細上海宋Uni" "Microsoft Sans Serif"="文鼎PL細上海宋Uni" "MS UI Gothic"="文鼎PL細上海宋Uni" "Tahoma"="文鼎PL細上海宋Uni" "Terminal"="文鼎PL細上海宋Uni" "MingLiU"="文鼎PL細上海宋Uni" "PMingLiU"="文鼎PL細上海宋Uni"
vi ~/.wine/system.reg
[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts] "LogPixels"=dword:00000082
vi ~/.wine/drive_c/windows/win.ini
[Desktop] menufontsize=13 messagefontsize=13 statusfontsize=13 IconTitleSize=13
安裝ie6
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz tar zxvf ies4linux-latest.tar.gz cd ies4linux-* ./ies4linux vim ~/.ies4linux/ie6/drive_c/windows/win.ini [Desktop] menufontsize=13 messagefontsize=13 statusfontsize=13 IconTitleSize=13
安裝nvidia驅動程式
要先備份X11的設定,因為安裝Nvidia的驅動程式,有可能造成無法進入X喔
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup sudo aptitude install -y nvidia-glx
檢查 3D 效能
glxgears -info
重新設定XWindow(GeForce 7100 1680*1050)
sudo dpkg-reconfigure xserver-xorg
設定開機自動執行的程式
系統/偏好設定/作業階段/初始啟動程式
- amule
- checkgmail
- katapult
- kopete
- skype
- tomboy
Ubuntu_7.04 (last edited 2008-08-06 16:26:26 by localhost)