Installation/VirtualBox

From PaparazziUAV
Revision as of 17:25, 13 August 2013 by Jkg (talk | contribs) (created page and added first pass directions for installation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

Running through a virtual machine (in this case Virtualbox) allows you to use Paparazzi from many different operating systems, including Windows. It is also good way to 'get your feet wet' with Paparazzi without having to get things up and running yourself.

Installation:

  • Download the Virtualbox installer for your host OS from https://www.virtualbox.org/wiki/Downloads and install.
  • If you plan to program autopilots, you'll also need to download the VirtualBox Extension Pack on the same page.
  • Download the virtual machine hard disk image from a secret location. Decompress the file to a convenient place - a good place is a folder called 'VirtualBox VMs' in your user folder (Linux, MacOS) or the My Documents folder (Windows).
  • Open Virtualbox, and install the extension pack by going to File->Preferences and clicking Extensions. Hit the 'add package' button widget (diamond w yellow triangle) on the right and choose the Extension Pack file. Click OK to close settings.
  • Choose 'Add..' from the Machine menu and choose the file 'Ubuntu 12 64bit.vbox' from inside the Ubuntu 12 64bit folder you downloaded in step 3.
  • A new VM should appear in the left column of the VM manager.
  • Hit the big green start arrow and it should start booting. If you are running Virtualbox in Windows, MAKE SURE TO READ THE POPUP WINDOWS that come up telling you about which key is the magic one that lets you jump OUT of the VM - otherwise you can be 'stuck' inside the virtual Linux machine since Windows likes to hide the menu bar.
  • In Windows 7, the default host key to 'escape' from Linux is the right CTRL key, so you press for example rctrl-C to toggle scaled view on/off, rctrl-F to toggle fullscreen, etc.
  • for now you don't want to be in either of those modes since it hides the Virtualbox menu bar - so if it says its entering scaled mode or something just follow the directions to exit it, so you see a grey menubar along the top that has Machine/View/Devices/Help
  • if not try hitting the keys I mentioned above
  • Once the machine is booted up, log in with the username 'pprz' and password 'password'. You are now running Linux inside your OS!
  • Once at the desktop, choose 'Install Guest Additions' from the Devices menu. Note that this is a menu from your host OS, not the Linux OS. If you can't find this menubar, see the steps above for toggling the view.
  • Run on the box that comes up to install guest additions - this is software that helps the Linux install run faster on your specific machine.