顯示具有 ubuntu 標籤的文章。 顯示所有文章
顯示具有 ubuntu 標籤的文章。 顯示所有文章

2010年7月20日 星期二

VMware vmmon compilation issues on 64-bit kernel 2.6.35

The vmmon module in VMware Player 3.x and Workstation 7.x fails to compile on the latest 64-bit linux kernel 2.6.35:
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.35-2-generic/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-2-generic'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
........
........

make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-2-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'



resolve
cd /tmp
tar xvf /usr/lib/vmware/modules/source/vmmon.tar -C /tmp
perl -pi -e 's,_range,,' vmmon-only/linux/iommu.c
tar cvf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only



How to fix Firefox slow problem in ubuntu 10.04(Lucid)

This tutorial will explain how to fix slow problem in ubuntu 10.04(Lucid)

Open your Firefox and type about:config at URL address bar and hit enter. To make a False into True, select the line to change, and double click. On the 2nd option change, right click and select Modify

- network.http.pipelining > Make it True

- network.http.pipelining.maxrequests > Make it 8 or 10

- network.http.proxy.pipelining > Make it True

- network.dns.disableIPv6 > Make it True

I hope this helps for some users

2010年5月11日 星期二

Ubuntu sun Java 6.0

$ locate libnpjp2.so
/usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libnpjp2.so
$ ln -s /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libnpjp2.so $HOME/.mozilla/plugins/

2010年4月27日 星期二

Install Openoffice 3.2 in Ubuntu 9.1

This tutorial will explain how to install latest version of openoffice in ubuntu

You can check what is new in openoffice 3.2 from here

First go to the OpenOffice website and download the Linux .deb file (On your desktop)

1 - Once you have done that, extract the .deb file,

OOo_3.2.0_LinuxIntel_install_en-US_deb.tar.gz

Run the following command from terminal or just right click select extract

tar xzvf OOo_3.2.0_LinuxIntel_install_en-US_deb.tar.gz

Then you’ll see a file called OOO320_m12_native_packed-1_en-US.9483

2 - You can remove the existing version of OpenOffice if you wish with this command:

sudo apt-get remove openoffice*.*

3 - Copy and paste OOO320_m12_native_packed-1_en-US.9483 onto the desktop then open Terminal and paste this command:

sudo dpkg -i ~/Desktop/OOO320_m12_native_packed-1_en-US.9483/DEBS/*.deb

4 - Then paste this command:

sudo dpkg -i ~/Desktop/OOO320_m12_native_packed-1_en-US.9483/DEBS/desktop-integration/openoffice.org3.2-debian-menus_3.2-9472_all.deb

Once you’ve done that you’ll find OpenOffice 3.2 in Office.

2010年4月24日 星期六

2010年4月20日 星期二

Iphone with ubuntu

#deb http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty main
#deb-src http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty main
#sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 951DC1E2
#sudo apt-get update
Install the blueman

Wireless peer to peer (即 Ad-hoc) USB, 和Bluetooth 都是有機會用來讓 iPhone
上網的途徑。

PC 端 Ubuntu 的設定
1 先確定 Ubuntu 能透過 LAN 網路線上網,這應該都沒問題。
2 再確定 Ubuntu 能透過 Wireless 上網,這是為了確定你的 Wireless 在 PC 上是好的。
3 我的 Ubuntu 是 9.04 版。 系統>偏好設定>網路連線 ,這裡可以看到好幾個 tab 分別為 [有線][無線網路][行動寬頻][VPN][DSL] 點選
[無線網路]
4 [無線網路] tab 下列出了你用過的 Wireless 連線 (所以也可能是空的)。> 加入
5 連線名稱 。。。 取個名字,就叫 "iPhone ad-hoc" 吧!
6 [無線網路] tab 下, [SSID] 也叫 "iPhone ad-hoc"。[模式] 一定要選 ad-hoc, 其他 [BSSID][MAC 位址] 都留白 ==> 這就是我不懂的地方了,抄我
iPhone 的 Wireless MAC 地址過來填上之後會連不上,我搞不定,只好放棄。MTU 保持為 automatic。
7 [Wireless Security] tab 下,[安全] 只能設為 "無",其他設定原本以為很簡單,結果我都搞不定。會致使 iPhone
連不上來,連上來了也上不了網。這裡也要請教高明指點。
8 [IPv4 設定] tab 下,[Method] 一定要選 "Shared to other computers"。

這樣就可以了,對 iPhone 而言,它會看到一台名為 "iPhone ad-hoc" 的
Wi-fi AP (access point 上網點), 無須密碼,一選就上。故我不再贅述 iPhone 的設定。因為與一般 Wifi
上網一樣。

USB 上網
$ sudo add-apt-repository ppa:pmcenery/ppa
$ sudo apt-get update
$ sudo apt-get install gvfs ipheth-utils