2011年8月15日

ubuntu server 切換 語言

可以在終端機中下指令

export LANG=en_US.UTF-8

或是
export LANGUAGE=en_US

之後就不會看到亂碼了(英文顯示)

參考: http://alphax-x.blogspot.com/2009/12/ubuntu-server.html

在 ubuntu desktop 中安裝 LAMP

利用 Synaptic 套件管理程式 安裝

按下「系統->管理->「Synaptic 套件管理程式」
按上方功能表「編輯->以任務配置標記套件」
勾選「LAMP server」,按下「確定」,
然後在出現的對話視窗中按下「標記」
回到 Synaptic, 再按上方之「套用」 鈕 ...
安裝 mySQL server 時, 要回答你想設的 root 密碼 (這個 root 是指 mySQL 的 root; 只適用於 mySQL, 不是 ubuntu 的 root)



如果要用 phpMyAdmin 的話, 要另外再安裝


Ubuntu 10.10之後的版本把任務配置套件功能拿掉了,所以需要用請手動
請使用以下兩個指令
sudo apt-get install tasksel
sudo tasksel install lamp-server

參考: http://it-easy.tw/ubuntu-lamp/

2011年8月7日

用 PPA 安裝 gnuplot for gretl under ubuntu 10.04

gnuplot 4.2 不 “完全” 相容於 gretl 的問題, 有更簡單的解決辦法了, 就是改用 ppa, update 後自動安裝, 不需要自行 compile 了 (自行 compile gnuplot 的方法,見我之前寫的 http://yinung2.blogspot.com/search/label/gnuplot

gnuplot 4.2 in default ubuntu 10.04 does not well support gretl. Gretl needs at least 4.4 to work normally.

You may use this ppa instead for the current version of gnuplot.

sudo add-apt-repository ppa:daniel-elstner/ppa
sudo apt-get update

Then upgrade your gnuplot to 4.4. 

see also https://launchpad.net/~daniel-elstner/+archive/ppa