Change Linode VPS hostname on Ubuntu
這個問題已經困擾了我好一陣子,但是也不太影響功能運作所以我也就放著了,今天偶然搜尋到這篇文章,才讓我恍然大悟。
主要的目標是要更換 Ubuntu 上面的 hostname,這原本只是一件再簡單不過的是,然而,至少在 linode 上你必須多做一個動作才能辦到。一般來說更動 hostname 是去修改 /etc/hostname 即可,但是在 linode 上的 ubuntu 11.10,無論你把 hostname 改成什麼都會被 linode dhcp server 指定的 hostname 給覆蓋(通常是 lixxx-xxx)。所以在更改 /etc/hostname 之後還要到 /etc/default/dhcpcd,找到
這行,把它改成
然後重開機就可以了。重開機的目的主要是讓他所有設定能夠徹底的重跑,login 的時候也能順便確認是不是已經順便 apply 自己的 hostname 了。
brew install irssi issue on OS X Lion
The main problem is during the installation of irrsi through Homebrew. Since Apple has altered the perl lib path to a different location, therefore we are gonna have to modify the formula to get it done. However, there’s a folk has personally released his own version to be a temp solution for now, as following:
this quick post is just to memo, in case i need it someday …
Ubuntu 10.10 Youtube 全螢幕問題
實在是受不了 windows deploy 開發環境的種種麻煩,就決定把 laptop 換 Ubuntu Desktop,又因為 11 還有些問題存在,所以就先裝 10.10。大致上都用得很爽,剛剛想看 youtube 的時候,發現全螢幕模式 freeze 了,google 看了幾個方法後,紀錄一下對我有用的方法(也有人說去右鍵調 setting 就可以,但是對我無效)。
「如果你是用 Ubuntu 10.10 又用 Intel 的內建顯卡,看 flash base video player 開全螢幕會卡住(有聲音影像不動)」,解法如下:
sudo su
sudo echo \"OverrideGPUValidation = 1\" >> /etc/adobe/mms.cfg
以上。
Fred Wilson’s 10 Golden Principles of Successful Web Apps
The 10 Golden Principles of Successful Web Apps from Carsonified on Vimeo.
Spend some time for this, it should be worth listening.







Recent Comments