Difference between revisions of "Installation/VirtualBox"

From PaparazziUAV
Jump to navigation Jump to search
(created page and added first pass directions for installation)
 
m (reformatted/cleaned up some)
Line 3: Line 3:
Running through a virtual machine (in this case [http://www.virtualbox.org 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.
Running through a virtual machine (in this case [http://www.virtualbox.org 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:
==Installation==
<ul>
#Download the Virtualbox installer for your host OS from https://www.virtualbox.org/wiki/Downloads and install.
<li>Download the Virtualbox installer for your host OS from https://www.virtualbox.org/wiki/Downloads and install.
##If you plan to program autopilots, also download the VirtualBox Extension Pack on the same page. This gives the virtual Linux machine access to your computer's USB ports.
<li>If you plan to program autopilots, you'll also need to download the VirtualBox Extension Pack on the same page.
#Download the Paparazzi virtual machine hard disk image from [http://google.com 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).
<li>Download the virtual machine hard disk image from [http://google.com 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
<li>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.
#To enable USB support, install the VirtualBox 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.
<li>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.
#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.
<li>A new VM should appear in the left column of the VM manager.
#A new VM should appear in the left column of the VM manager.
<li>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.
#Hit the big green start arrow and it should start booting. If you are running Virtualbox in Windows, MAKE SURE TO READ THE POPUPS that tell you about which key lets you jump OUT of the virtual machine - otherwise you can be 'stuck' inside since Windows hides Virtualbox the menu bar.
<li>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.
##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.
<li>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
#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, follow the directions to exit it. You should now see a grey menubar along the top that has Machine, View, Devices, and Help menus.
<li>if not try hitting the keys I mentioned above
#Once the machine is booted up, log in with the username 'pprz' and password 'password'.  
<li>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 host OS menu, not the virtual Linux OS. If you can't find this menubar, see the steps above for toggling the view.
<li> 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.
#Click Run on the box that comes up to install guest additions - this is driver software that allows the Linux install run faster on your specific machine.
<li>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.
</ul>

Revision as of 18:45, 13 August 2013

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

  1. Download the Virtualbox installer for your host OS from https://www.virtualbox.org/wiki/Downloads and install.
    1. If you plan to program autopilots, also download the VirtualBox Extension Pack on the same page. This gives the virtual Linux machine access to your computer's USB ports.
  2. Download the Paparazzi 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).
  3. Open Virtualbox
  4. To enable USB support, install the VirtualBox 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.
  5. 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.
  6. A new VM should appear in the left column of the VM manager.
  7. Hit the big green start arrow and it should start booting. If you are running Virtualbox in Windows, MAKE SURE TO READ THE POPUPS that tell you about which key lets you jump OUT of the virtual machine - otherwise you can be 'stuck' inside since Windows hides Virtualbox the menu bar.
    1. 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.
  8. 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, follow the directions to exit it. You should now see a grey menubar along the top that has Machine, View, Devices, and Help menus.
  9. Once the machine is booted up, log in with the username 'pprz' and password 'password'.
  10. Once at the desktop, choose 'Install Guest Additions' from the Devices menu. Note that this is a host OS menu, not the virtual Linux OS. If you can't find this menubar, see the steps above for toggling the view.
  11. Click Run on the box that comes up to install guest additions - this is driver software that allows the Linux install run faster on your specific machine.