2011年2月18日 星期五

setup the source of update manager

系統 / 管理 / synaptic 套件管理程式 / 設定 / 套件庫
(System / Administration / Synaptic package manager --> Settings / Repositories)

ubuntu 軟體來源 / 下載自:這一行最右方 有一個小小的倒三角形 按一下
(Ubuntu Software / Download from)

選其它 / 選擇最佳的伺服器
(Other... / Select best server)


開始從全球 3百多個 伺服器中選擇跟你的網路回應速度最快的伺服器
選好以後 按選擇伺服器 你可以看到 最好的伺服器 已列名在 下載自:這一行的右方
按關閉
按 重新載入 / 標記所有升級 / 套用
就開始 更新

ftp client

filezilla

  1. 把 filezilla3/bin/ 目錄下的檔案放在 /usr/local/bin 下(sudo mv filezilla3/bin/* /usr/local/bin/)。
  2. 把 filezilla3/share/ 目錄下的檔案放在 /usr/local/share/filezilla 目錄下(sudo mv filezilla3/share/filezilla /usr/local/share/)。
  3. 然後在 /usr/share/applications 下新增一個 filezilla.desktop 的檔案,內容如下:
    [Desktop Entry]
    Encoding=UTF-8
    Name=Filezilla 3
    Comment=Filezilla FTP Client
    Exec=filezilla
    Icon=/usr/local/share/filezilla/resources/filezilla.png
    Terminal=false
    Type=Application
    Categories=Application;Network;

Unix下常用壓縮格式的壓縮與解壓縮方法

  • .tar.bz2
解壓:tar jxvf FileName.tar.bz2
壓縮:tar jcvf FileName.tar.bz2 DirName
  • .tgz
解壓:tar zxvf FileName.tgz
壓縮:未知

2011年1月26日 星期三

羊角村交通

交通
羊角村距離阿姆斯特丹約 120 公里,坐火車到 Amersfoort 換車, 到Steenwijk下車。出Steenwijk車站後左前方即可看到公車站牌。轉公車 No.70 在 Ds T O Hylkemaweg (Giethoorn)下車,一小時一班車,站排上時間表表示週六週日沒有公車,所以盡量不要在週六週日安排至羊角村

公車下車後,往前走約30公尺左轉約30公尺,在右手邊就可以看到 VVV (Informaiton center),(在附近有一個超市),看到VVV 左轉約50公尺就可以看到河道,右轉沿著河道就可以看到租船,一直走到底約1.5公里,就是羊角村的步行觀光區域,與走來得路線成一個 T 字型。

2011年1月4日 星期二

ubuntu ncurses

According to http://packages.ubuntu.com/dapper/libdevel/

We can find
lib32ncurses5-dev (5.5-1ubuntu3) [universe]
Developer's libraries for ncurses (32-bit)
==> sudo apt-get install libncurses5-dev

VNC 自動登陸於 ubuntu

I have found a workaround for this issue on 10.04.
Open up Applications->Accessories->Passwords and Encryption Keys
Right click Passwords:login and unlock it.
You should be able to expand the tree and find a listing for vino. Right click and delete it.
Close Passwords and Encryption Keys.
Open gconf-editor as and navigate to /desktop/gnome/remote_access
Enter in your BASE64 encoded password into the vnc_password key.
Save the config and close the editor.
Reboot and you can now use your VNC client to connect to your machine without being first prompted with the keyring.

http://edmullen.net/mozilla/moz_base64.php

2011年1月3日 星期一

Fedora VNC

1. System - Preferences - Remote Desktop
2. Sharing
    --> Enable "Allow other users to view your desktop"
3. Security
    --> Disable "You must confirm each access to this machine"
    --> Enable "Require the user to enter this password:" and input a password
4. vi /etc/sysconfig/iptables
    --> Add "-A INPUT -m state --state NEW -m tcp -p tcp -- dport 5900 -j ACCEPT"
5. issue "service iptables restart"