Installing VMWare Player 3.1.6 on Ubuntu 12.04 LTS Precise x86 (32 bit)

Filed in Software Developement | Ubuntu 21 Comments

similar to my previous post on this topic, this is an updated post for the latest vmware player on the latest ubuntu. Precise comes with kernel 3.2 (or at least that’s what i’m running today), vmware player only supports 3.0 for the 3.x series (which is the last series compatible with an x86 CPU). The process is very similar to before. im not going to script it this time around, i’ll just describe where to get stuff and how to make it happen.

  1. Download VMWare Player 3.1.6
  2. Download The Patch (don’t worry about it being for WS 7.1.5, it is also for Player 3.1.5)
  3. Download The Patch (UPDATED, now directly compatible with 3.1.6)
  4. Extract the patch
    tar -xf vmware715fixlinux320.tar.gz
    tar -xf vmware716fixlinux340.tar.bz2
  5. Edit the script
    vim patch-modules_3.2.0.sh

    • change plreqver=3.1.5 to plreqver=3.1.6
    • save and exit
      :wq
  6. Install VMWare Player
    sudo sh VMware-Player-3.1.6-744570.i386.bundle
  7. Run the script
    sudo sh patch-modules_3.2.0.sh
    sudo sh patch-modules_3.4.0.sh

That should be it, the script should patch the required files and then begin the build, which should complete successfully.

As an extra side note, for those of you who have an ESXi server setup, you can use the linux version of vmware player to easily connect to your ESXi server simply by running

vmplayer -h ESXi_HOST -u USER -p PASSWORD

Of course you don’t need to supply the user or password, there will be a prompt to type that in if you don’t supply both.

UPDATE

I have updated the links and the instructions to work with the latest patch files. You can go to Weltall’s blog to read more about the process if you are curious.

, , , , , , , , , ,

Installing VMWare Player on Ubuntu 11.10 Oneiric x86 (32 bit)

Filed in Ubuntu 1 Comment

I use a netbook for most of my day to day personal computing, an HP mini 311. While i think this netbook is the best ever, it does have one flaw. It comes with the ION chip, but the caveat is the CPU uses a 32 bit instruction set. This means obviously that i am restricted to 32 bit operating system installs. In the past this hasn’t really been much of an issue (i have owned this netbook for quite some time now). But recently 32 bit CPU’s are a bit of a rarity, and support for 32 bit appears to be waning, if not at least with respect to vmware.

I just finished setting a nice new ESXi 5.0.0 U1 server and wanted to start playing around with it. This is when things got complicated. VMWare offers an i386 installer for Player 4.0.2 but contrary to what you’d think, this installer is not supported on a 32 bit CPU. this installer is available for those who install i386 arch onto a 64 bit CPU. If you, like me, don’t have a 64 bit CPU then you have to live with 3.1.5 (VMware-Player-3.1.5-491717.i386.bundle at the time of posting, sorry i can’t find a live link). This installs as you would expect, by running sudo sh VMware-Player-3.1.5-491717.i386.bundle and following the GUI installer. You may remember from earlier vmware installs that you need to compile kernel modules in order for things to work “smooth” and this install is no different. Where this install differs is when you are using a 3.x linux kernel, such as the one that comes with Oneiric. For whatever reason, vmware assumes that nobody upgrades their linux kernel regularly and left us to patch the module sources ourselves. Fortunately, someone has done the heavy work for everyone already (my source for this info is here: http://ved-antani.com/2011/10/vmplayer-not-compiling-for-latest-linux-kernel/ ) so that you can quickly build the modules manually.

the instructions at the original source are not quite perfect, so here is what i did to compile my modules.
# you need to do this stuff as root
sudo su

# make a directory to build the modules and cd to it
mkdir /tmp/vmware-build
cd /tmp/vmware-build

# extra the module sources to our build directory
find /usr/lib/vmware/modules/source -name "*.tar" -exec tar xf '{}' \;

# get the patch archive and extract it
wget http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/05/vmware2.6.39patchv3.tar.bz2
tar -xf vmware2.6.39patchv3.tar.bz2

# update the patch for 3.1.5 (it is designed for 3.1.4)
sed -i -e 's/plreqver=3\.1\.4/plreqver=3.1.5/' patch-modules_2.6.39.sh

# patch the source and start the build
./patch-modules_2.6.39.sh

# after the build is finished the modules will be installed

, , , , , , ,

Upgrade rtorrent in karmic 9.10 THE EASY WAY

Filed in Ubuntu Leave a comment

This is just a quick follow-up to my earlier post. I now have the rtorrent package source up and running on my ppa. So now you just need to do the following:

echo -e "deb http://ppa.launchpad.net/patricksissons/rtorrent/ubuntu karmic main \ndeb-src http://ppa.launchpad.net/patricksissons/rtorrent/ubuntu karmic main" | sudo tee /etc/apt/sources.list.d/rtorrent.list && sudo apt-get update && sudo apt-get install rtorrent

This will add my rtorrent ppa to your custom sources, update your source cache, then install the updated version of rtorrent (as well as libtorrent and xmlrpc). Combine this with rutorrent and you have a pretty sweet headless torrent server.

, ,

TOP