Thursday, March 22, 2012

Ubuntu Linux

使用 Ubuntu Linux 的相關資訊。

查看 Ubuntu Linux 版本資訊
於安裝 Ubuntu 8.10 (Intrepid Ibex) 64-bit PC (AMD64) Server 的機器
$ cat /etc/issue
Ubuntu 8.10 \n \l

$ uname -a
Linux hostname 2.6.27-7-server #1 SMP Fri Oct 24 07:20:47 UTC 2008 x86_64 GNU/Linux

於安裝 Ubuntu 8.10 (Intrepid Ibex) 64-bit PC (AMD64) Desktop 的機器
$ uname -a
Linux hostname 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 x86_64 GNU/Linux

或者使用 lsb_release 指令以顯示 distribution-specific information。
$ lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 8.10
Release:        8.10
Codename:       intrepid
更新套件

The software repositories configuration file: /etc/apt/sources.list

$ apt-get update

$ apt-get install package

更新舊版 Ubuntu
備份原來的 software repositories configuration file
$ sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

因為舊版 Ubuntu 已經移至 old-releases.ubuntu.com,修改 source.list 檔案
$ sudo sed -i -e 's/tw.archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
$ sudo sed -i -e 's/security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

先使用 update 選項與 /etc/apt/sources.list 中的安裝來源同步化 package index files,然後使用 dist-upgrade 選項(必須先使用 update 選項) 將系統已安裝的 package 升級(即安裝新版 package)。
$ sudo apt-get update && sudo apt-get dist-upgrade
$ sudo apt-get -f install

參考 How do I install packages to an 8.10 system?, http://askubuntu.com/questions/104373/how-do-i-install-packages-to-an-8-10-system

安裝常用套件

安裝 GNU libc manual pages
$ sudo apt-get install manpages-dev


安裝 Desktop 環境於 Ubuntu Server

安裝 Ubuntu (Gnome) desktop
$ sudo apt-get install ubuntu-desktop

或者安裝 Kubuntu (KDE) desktop
$ sudo apt-get install kubuntu-desktop

參考 Add a desktop to an Ubuntu Server, http://ubuntuguide.org/wiki/Ubuntu:All#Add_a_desktop_to_an_Ubuntu_Server

修正 Static IP address 問題 (Ubuntu 8.10)
參考 How to Set a Static IP address in Ubuntu 8.10 (Intrepid Ibex)

References:
RepositoriesUbuntu, https://help.ubuntu.com/community/Repositories/Ubuntu

Tuesday, March 13, 2012

信用卡使用市區免費停車





三大連鎖停車場
中興嘟嘟房
台灣聯通
永固24TPS 


參考資料
市區免費停車有門檻 信用卡優惠全攻略 (2012/01/11) http://www.cardu.com.tw/news/detail.htm?nt_pk=4&ns_pk=15057