今天來公司最主要是把網路環境弄好XD
因為公司的內部網頁是 ie only 嘗試用過fire fox和google chrome都不行 0rz
雖然很爛但是沒辦法...在Linux下想用ie目前比較方便的作法就是用wine搭配winetricks來下載並安裝ie瀏覽器。
不免俗的先介紹wine和winetricks是何方神聖:
wine wiki:http://en.wikipedia.org/wiki/Wine_%28software%29
winetricks:http://wiki.winehq.org/winetricks
簡言之,wine就是夠在Linux上執行windows的平台,而wintricks就是能夠幫您下載windows所需的函式庫,感覺很像是ubuntu上的lazyscript, XD。
下載wine的方式很簡便,依照官網的說明把來源加入進去後
sudo apt-get update
sudo apt-get install wine 就好,或是使用Synaptic這套GUI介面的套件管理程式下載
我是使用Synaptic安裝,不過在安裝過程中它一直卡在 ttf-mscorefonts-installer,terminal畫面則是顯示ariald32.exe這東西下載不下來Http request不到,上網找了解答對岸有人有提出solution,在這裡。
下這行指令:sudo aptitude purge ttf-mscorefonts-installer ubuntu-restricted-extras
就可以把這問題給解決了。
目前先紀錄到這裡,看來wine還有些地雷要踩踩。
2010年9月7日 星期二
2010年9月6日 星期一
Ubuntu10.04裝mono2.6
說到會安裝mono這套在linux上面可以開發ASP.NET的平台,其實都是因為工作上會需要用到。因為我才剛進公司不久9/1進去到今天也才上班日第三天,所以並沒有個人的電腦,而我為了不悶到發慌也就只好帶著自己的 Lenovo SL410 去公司解悶順便練習在 Linux 上面開發ASP.NET 的應用,讓 Linux 可以跟 Windows 更無間隙,終極目標就是未來都使用 Linux 系統,連玩遊戲也要用 Linux XD。
關於Mono到底是什麼我想 Wiki有很詳細的說明:
會分成Mono和Monodevelop我們可以先想成一個是編譯器另一個是IDE,所以才有這樣分成兩個的情況,不過我想大多數的人應該都是一起裝得,畢竟有整合環境的話開發應用會快很多 :D 。
今天一早去公司的時候我原本想說自行下載原始碼來編譯,但是編譯完
libgdiplus-2.6.7、mono-2.6.7之後要安裝其他的packeg就會出現路徑問題,因為實在是煩不盛煩所以就放棄自行編譯了 0rz 。
最後還是去投靠 badgerports 這個非官方的計畫,雖然是非官方但是他裡面所提供的服務卻是相當棒!預設來說 Ubuntu 10.04 的 mono應該是2.4版,但是用這個計畫所提供的solution卻可以讓你無痛升級到mono2.6 版!這樣當然超方便的啊~我也就義無反顧的投靠它了XD。
為什麼會這麼執著於升到mono2.6呢?貼個 release note出來~ Release_Note_Mono 2.6 我們可以看到這個版本可以支援到一小部份的 C# 4.0 和 ASP.NET 4.0。另外也修正不少的bug,還有一個很大的原因,就是我比較喜歡用新的XD。
好啦~反正就是很無腦的就把mono給安裝完畢,也可以直接把先前寫得code拿來編譯了 :D 。以後公司的電腦來了,就灌灌Windows吧~同事都是用Windows就自己用Linux顯得很不合群XD。
最後貼上一個我常看的部落格:如何將
2010年6月1日 星期二
[Ubuntu]套件更新GPG驗證失敗
當下達 sudo apt-get update 時出現:
W: GPG error: http://ppa.launchpad.net hardy Release: 由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY 6AF0E1940624A220
GPG Key是用來驗證正確的軟體來源,保護電腦免於惡意軟體的威脅,因此有必要解決驗證失敗的問題
Step 1 →
W: GPG error: http://ppa.launchpad.net hardy Release: 由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY 6AF0E1940624A220
GPG Key是用來驗證正確的軟體來源,保護電腦免於惡意軟體的威脅,因此有必要解決驗證失敗的問題
Step 1 →
使用 keyserver來尋找 KEY_ID
語法:gpg --keyserver keyserver.ubuntu.com --recv-key [KEY_ID]
語法:gpg --keyserver keyserver.ubuntu.com --recv-key [KEY_ID]
ps.這裡的 KEY_ID 就是 6AF0E1940624A220
在終端機輸入下列:
gpg --keyserver keyserver.ubuntu.com --recv-key 6AF0E1940624A220
若出現下列字樣gpg: 正在請求金鑰 0624A220 自 hkp 伺服器 keyserver.ubuntu.com
gpg: 金鑰 6AF0E1940624A220: "Launchpad PPA for OpenOffice.org Scribblers" 未改變
gpg: 處理總量: 1 gpg: 未改變的: 1代表這個金鑰屬於「Launchpad PPA for OpenOffice.org Scribblers」
gpg: 金鑰 6AF0E1940624A220: "Launchpad PPA for OpenOffice.org Scribblers" 未改變
gpg: 處理總量: 1 gpg: 未改變的: 1代表這個金鑰屬於「Launchpad PPA for OpenOffice.org Scribblers」
Step 2 →匯出存成GPG檔
gpg --export --armor 60D11217247D1CFF > ooo.gpg
Step 3 →匯入GPG檔
sudo apt-key add ooo.gpg
Step 4 → 重新執行
sudo apt-get update
就不會出現錯誤了
2010年5月26日 星期三
How to Install Pidgin 2.6.x in Ubuntu
這是提供 solutioin 的網址
http://www.ubuntugeek.com/install-pidgin-2-6-0-in-ubuntu.html
Method:
1.Download all package here.
http://www.getdeb.net/app/pidgin
2.After download all package type follow command in terminal
sudo dpkg -i packagename
3.edit /etc/apt/source.list
sudo gedit /etc/apt/source.list or sudo vi /etc/apt/source.list
4. add follow lines in file
for junty version (Ubuntu 9.04)
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu jaunty main
for intrepid version (Ubuntu 8.10)
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu intrepid main
5.add GPG key using the following command
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 67265eb522bdd6b1c69e66ed7fb8bee0a1f196a8
6.update the source list
udo apt-get update
7.Install pidgin using following command
sudo apt-get install pidgin
http://www.ubuntugeek.com/install-pidgin-2-6-0-in-ubuntu.html
Method:
1.Download all package here.
http://www.getdeb.net/app/pidgin
2.After download all package type follow command in terminal
sudo dpkg -i packagename
3.edit /etc/apt/source.list
sudo gedit /etc/apt/source.list or sudo vi /etc/apt/source.list
4. add follow lines in file
for junty version (Ubuntu 9.04)
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu jaunty main
for intrepid version (Ubuntu 8.10)
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu intrepid main
5.add GPG key using the following command
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 67265eb522bdd6b1c69e66ed7fb8bee0a1f196a8
6.update the source list
udo apt-get update
7.Install pidgin using following command
sudo apt-get install pidgin
2010年5月4日 星期二
在 Linux 下安裝OpenOffice
Step 1.到官方下載 .deb 檔案:
http://download.openoffice.org/other.html
選擇:Download Full Istallation Sets
再從中選擇適合的版本...我選的是「正體中文3.2.0 Linux 32-bit DEB」...
Step 2.移除OpenOffice 2.4版本:
sudo apt-get remove --purge openoffice.org-common
Step 3.進入解壓縮後裡面的 DEBS 資料夾:
sudo dpkg -i *.deb
dpkg → 操作deb套件包的指令
-i → dpkg的參數,代表安裝
ps.裡面有 "DEBS" "licenses" "readmes" "update"四個資料夾
DEBS很多.deb檔...請進入該資料夾執行上面的指令
Step 4.安裝選單:
cd desktop-integration
sudo dpkg -i *.deb
Step 5. 完成!
訂閱:
文章 (Atom)