6/29/2008

VMware 1.06 on Ubuntu 8.04

Platform: Ubuntu 8.04
Software: VMWare 1.06

1. Install all needed packages
sudo apt-get install build-essential linux-headers-`uname -r` xinetd

2. Download VMware 1.06 and place it in an instalation directory (/usr/local/src)

3. Extract and install VMware
cd /usr/local/src/
tar zxvf VMware-server-1.0.6-91891.tar.gz
cd vmware-server-distrib
sudo ./vmware-install.pl

select default

4. Post installation
sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1
sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0

Enable USB devices
1. Enable USB device sharing
gedit gedit /etc/fstab
# USB for vmware
none /proc/bus/usb usbfs devgid=46,devmode=664 0 0

2. Reboot and re-start VMWare Server.

3. Add usb controller for guest.

4. Start your guest
"VM" -> Removable devices -> USB devices -> Select the USB device to share with your guest.

Mount an ISO/IMG image under Linux

Platform: Ubuntu 8.04

1. Create an mount point (e.g. floppy)
sudo mkdir -p /mnt/floppy

2. Use mount command to mount image
sudo mount -o loop floppy.img /mnt/floppy

3. Change dir to list content
cd /mnt/floppy

6/11/2008

How to install and setup Eclipse with Sun’s Java and PyDev

Platform: Ubuntu 8.04

1. Install Sun's java in Ubuntu
apt-get install sun-java6-jdk

2. Make Sun's java as default
sudo update-java-alternatives -s java-6-sun

3. Download Eclipse classic 3.3.2 from http://www.eclipse.org/downloads/

4. Install Eclipse in my home dir
cd ~
tar zxvf eclipse-SDK-3.3.2-linux-gtk.tar.gz

5. Installing Pydev with the update site
Help->Software Updates->Find and Install
Select "Search for new features for install"
Click "new remote site"
Set the 'Pydev Extensions' update site: http://www.fabioz.com/pydev/updates
Click "Finish"
Select both features and click "next"
Accept the license, click "next" and in the next screen, review it and click "finish"

6. Checking the installation

help->about->plug in details and checking if there are at least 5 plugins with the 'plug-in Id' starting with 'com.python.pydev' and at least other 5 starting with 'org.python.pydev' (and check if they have the version you got).