使用者推薦
https://addons.mozilla.org/zh-TW/firefox/collections/ohmkao/enduser/
開發者推薦
https://addons.mozilla.org/zh-TW/firefox/collections/ohmkao/developer/
2013年8月23日 星期五
2013年8月7日 星期三
windows 7 hosts 檔案位置
windows 7 hosts 檔案位置
C:\Windows\System32\drivers\etc\hosts 按右鍵 選 「開啟 > 記事本」
範例:
192.168.1.100 pc001
(中間可以用tab推開)
前面是IP後面是主機名,編輯完後 存檔關閉即可(立即生效)
C:\Windows\System32\drivers\etc\hosts 按右鍵 選 「開啟 > 記事本」
範例:
192.168.1.100 pc001
(中間可以用tab推開)
前面是IP後面是主機名,編輯完後 存檔關閉即可(立即生效)
2013年7月14日 星期日
Ubuntu Server fstab 錯誤導致無法開機修復法
Ubuntu Server fstab 錯誤導致無法開機修復法
- 重開機 進入 GRUB 時,選 (recovery mode)的項目
- Recovery Menu 選單出來後,選 root
- 移除掛載 > sudo umount /
- 重新掛載成rw > mount -o remount,rw /
- 找尋UUID > sudo fdisk -l
- 重新編輯 > vi /etc/fstab
- 重開機 > reboot
2013年6月17日 星期一
Ubuntu Server 校正時間
Ubuntu Server 校正時間
選擇時區:
> sudo dpkg-reconfigure tzdata
安裝NTP自動校時:
> sudo apt-get install ntp
選擇時區:
> sudo dpkg-reconfigure tzdata
安裝NTP自動校時:
> sudo apt-get install ntp
2013年5月22日 星期三
Ubuntu Server 安裝 桌面環境
Ubuntu Server 安裝 桌面環境
完整:
> sudo apt-get install ubuntu-desktop
精簡:
> sudo apt-get install --no-install-recommends ubuntu-desktop
完整:
> sudo apt-get install ubuntu-desktop
精簡:
> sudo apt-get install --no-install-recommends ubuntu-desktop
2013年5月2日 星期四
2013年4月19日 星期五
linux screen 便利設定
從網路上找來的
替 screen 加入方便的標籤顯示
檔案 『/home/user1/.screenrc』裡面填入
caption always "%{= wk} %{= KY} [%n]%t @ %H %{-} %= %{= KR} %l %{-} | %{= KG} %Y-%m-%d %{-} "
hardstatus alwayslastline " %-Lw%{= Bw}%n%f %t%{-}%+Lw %=| %0c:%s "
vbell off
ssh連入後自動進入 screen 裡面
檔案『/home/user1/.bashrc』最後面
if [ -z "$STY" ]; then
exec screen -dR
fi
訂閱:
文章 (Atom)