Setting up Ubuntu in VMWare for Noobs

From OpenCog
Jump to: navigation, search

THIS PAGE IS OBSOLETE. SEE HERE INSTEAD

Description

This page describes how to install VMWare Player for Windows and prepare a Ubuntu 12.04 virtual machine.

Prerequisites

This page has the following prerequisites:

  • VMWare Player for Windows (available here)
Get the 64-bit version if you have 64-bit hardware. If not, or if you're not sure, go for 32-bit. You don't need the VIX installer version.
  • The Ubuntu 14.04 image (.iso) file (available here)
Get the image that matches your VMWare Player in terms of 32-bit vs. 64-bit. You could use a newer version of Ubuntu, but non-current versions are generally more stable.

Contents

Installing VMWare Player

Doubleclick the VMware-player-5.0.0-812388.exe (or similar) file you downloaded from VMWare to start the installation.

You should see the following start screen:

VMWare Installation Screen 1.png

Click Next to navigate through the installation screens.

  • Regarding updates: it is recommend to leave this box ticked.
  • Regarding usage statistics: feel free to make your own privacy choice.
  • Regarding shortcuts: leave at least one of the boxes ticked so you can start VMWare Player after installation.

Creating a Virtual Machine for Ubuntu

Start the VMWare Player using the shortcut on your Desktop or in your Start Menu. You should see the Main Screen of VMWare Player as shown below.

VMWare Player Startup Screen.png


VMWare Player may show you a dialox box regarding an upgrade to VMWare Workstation. For our purposes the VMWare Player is sufficient, so you can dismiss this dialox box by selecting 'Skip this version'.

VMWare Player Paid Upgrade Dialog.png


Next, click 'Create a New Virtual Machine' in the main screen of VMWare Player. Select the second option here, 'Installer disc image file (iso)' and browse to the location of the Ubuntu image file (for example ubuntu-11.10-dvd-amd64.iso) that you downloaded earlier, and click 'Next' to continue.

VMWare Player Create New VM.png


You can now provide your personal information which will be used to create the first account in Ubuntu. Your username should be in lower case characters only.

The password you provide here will also be your root password. Make sure you remember it!

VMWare Player Personalize Linux.png


Next you need to specify a name for your Virtual Machine and where you would like to store it on disk. Some parts of OpenCog generate a lot of data, so you should choose a location with 20-40 GB of free disk space.

VMWare Installation Details.png


The next screen allows you to specify a maximum size for your Virtual Machine fileset. As mentioned before, aim for 40GB. The choice of single vs. multiple files is less important than it appears, you will end up with a folder full of files in both cases anyway.

VMWare Installation Disk Configuration.png


The final screen gives you an overview of your choices to make sure you are creating your VM the way you meant to. Don't worry about customizing yet, we'll do that in the next section.

Make sure the checkbox 'Power on this virtual machine after creation' is NOT CHECKED. We still have some tweaking to do in the next section.

VMWare Installation Final Confirmation.png


Click 'Finish' in the screen above and the system will take a moment to create your VM. After this you should be returned to the main VMWare Player screen with the VM you just created already selected.

VMWare Installation VM Creation Complete.png

Tweaking Virtual Machine settings

From the main screen of VMWare Player, select the VM you need to edit and click the button 'Edit virtual machne settings' at the bottom of the screen as shown in the image above.

The screen below shows the Network Adapter section of the configuration settings. In order to use a setup where you run OpenCog in the VM and Unity3D (the 3D game engine) in your main Windows environment, make sure you select 'Bridged' as shown below.

VMWare Configuration VM Settings Network.png


Depending on the amount of memory and processor cores / threads you have available you may want to adjust the values in the Memory and Processors sections as well. The free version of VMWare Player allows a maximum of 4 cores.

Next steps

Now that you have an Ubuntu VM up and running, you can start the VM by doubleclicking it in VMWare.

Ubuntu may ask you about updating to a higher version of Ubuntu, don't do that, since the rest of this tutorial is aimed at Ubuntu 12.04.

Ubuntu may also ask you about updating certain software packages which are bundled with the Ubuntu installation. This is not required but you are free to do so if you wish.

The next step is to install all the dependencies for OpenCog and get the latest version of the code: Installing OpenCog for Noobs

Q&A

No thanks, I think I can manage downloading VMWare and creating an Ubuntu environment inside it!

That's great! Feel free to move on to Installing OpenCog for Noobs!

I can't find a 32-bit image on the Ubuntu site, what now?

That's right, they only provide the installer image file in 64-bit. If you scroll down a bit you can find "Install/live DVD" which does come in a 32-bit version. You should be able to use this image file to create a Virtual Machine in VMWare using the same procedure.

Great, so we're done? Is there a shortcut called HAL I need to doubleclick now or something?

No, not quite. The process continues at Installing OpenCog for Noobs.