在VMware 的選單
VM > Settings > Options > Shared Folders
就可以增加共享資料夾
在ubuntu linux 內的/mnt/hgfs 目錄就可以使用共享資料夾
20100330
20100328
VirtualBox Image copy
在 Ubuntu 下的 VirtualBoX 若要直接copy一個做好系統的 vdi 檔是不行的
會出現 uuid 碼重復的問題
這時得要下指令的方式copy才行
sudo VBoxManage clonehd image1.vdi image2.vdi
複製出來的檔案會位於 /root/.VirtualBox/HardDisks 底下,所以要移動一下
該檔案權限屬於root,必須要更改擁有者才能執行(要先切換到該資料夾下)
sudo chown user:group image2.vdi
會出現 uuid 碼重復的問題
這時得要下指令的方式copy才行
sudo VBoxManage clonehd image1.vdi image2.vdi
複製出來的檔案會位於 /root/.VirtualBox/HardDisks 底下,所以要移動一下
sudo mv /root/.VirtualBox/HardDisks/image2.vdi /home/user/VirtualBox/HardDisks/
該檔案權限屬於root,必須要更改擁有者才能執行(要先切換到該資料夾下)
sudo chown user:group image2.vdi
20100326
Ubuntu底下各種軟體之安裝
7-zip:sudo apt-get install p7zip-full p7zip-rar
RAR解壓縮:sudo aptitude install unrar
Dia(繪工程圖、網路架構圖:sudo apt-get install dia
Scribus(專業排版):sudo apt-get install scribus
RAR解壓縮:sudo aptitude install unrar
Dia(繪工程圖、網路架構圖:sudo apt-get install dia
Scribus(專業排版):sudo apt-get install scribus
20100310
GCIN輸入法安裝及反安裝
1.先確認:是否有舊版的GCIN設定及檔案,若有必須刪除。
rm .gcin -fr =>刪除 .gcin 這個隱藏資料夾,這資料夾裡有以前的設定檔。
cd /var/cache/apt/archives
ls | grep gcin =>尋找是否有gcin相關檔案
2.安裝:
sudo apt-get install gcin
im-switch -s gcin
3.重新登入後即可切換至gcin
4.反安裝
sudo gedit /etc/apt/sources.list
mark底下兩行
#deb http://debian.luna.com.tw/jaunty ./
#deb-src http://debian.luna.com.tw/jaunty ./
sudo aptitude purge gcin
4.反安裝
sudo gedit /etc/apt/sources.list
mark底下兩行
#deb http://debian.luna.com.tw/jaunty ./
#deb-src http://debian.luna.com.tw/jaunty ./
sudo aptitude purge gcin
conky---一個簡單的系統狀態監控程式
環境:ubuntu 9.04 (64bit+32bit)
1.安裝
sudo aptitude install conky2.設定,建立".conkyrc"檔案
gedit ~/.conkyrc20100308
萬用揭示板本機存放路徑
FLASH存資料在本機時,是放在player預設的路徑,
存的也不是一般檔案,而是flash自己的格式。
範例:
C:\Documents and Settings\ming\Application Data\Macromedia\Flash Player\#SharedObjects\Q8NKB5FG\163.21.193.5\flash\magic_board.swf 資料夾
其中的ming是我再本機開機登入的帳號,
Q8NKB5FG 是flash隨機決定的字串,
每一台電腦都不一樣。
存的也不是一般檔案,而是flash自己的格式。
範例:
C:\Documents and Settings\ming\Application Data\Macromedia\Flash Player\#SharedObjects\Q8NKB5FG\163.21.193.5\flash\magic_board.swf 資料夾
其中的ming是我再本機開機登入的帳號,
Q8NKB5FG 是flash隨機決定的字串,
每一台電腦都不一樣。
20100305
Ubuntu的pppoe連線設定
設定連線:sudo pppoeconf
建立DSL連線:pon dsl-provider
中斷連線:poff
檢視連線狀態:plog
瀏覽網路介面資訊:ifconfig ppp0
建立DSL連線:pon dsl-provider
中斷連線:poff
檢視連線狀態:plog
瀏覽網路介面資訊:ifconfig ppp0
在 Linux 上移除 CNNIC 憑證
1.打開終端機
2.sudo dpkg-reconfigure ca-certificates
3.找到 mozilla/Entrust.net_Secure_Server_CA.crt 一列,反選取之,選擇確認即可。
ps.其他windows瀏覽器的移除方法請參閱 http://felixcat.net/2010/01/throw-out-cnnic/
2.sudo dpkg-reconfigure ca-certificates
3.找到 mozilla/Entrust.net_Secure_Server_CA.crt 一列,反選取之,選擇確認即可。
ps.其他windows瀏覽器的移除方法請參閱 http://felixcat.net/2010/01/throw-out-cnnic/
訂閱:
文章 (Atom)