Difference between revisions of "AXY:Virtual Box MIB"

From SoftMC-Wiki
Jump to: navigation, search
(Abstract)
(Stand alone Eclipse Configuration)
Line 9: Line 9:
  
 
In addition to that build machines we also explain how to configure various tools on top the various build machine.
 
In addition to that build machines we also explain how to configure various tools on top the various build machine.
 
== Stand alone Eclipse Configuration  ==
 
This is a short document explains how to configure eclipse on top of the virtual build machine.
 
 
 
{| style="border-spacing:0;"
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| <center>Step</center>
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| <center>Description</center>
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| <center>VBOX (linux)</center>
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| <center>Host (windows)</center>
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| <center>Note</center>
 
 
|-
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| <center>0</center>
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| Open shell
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"|
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| sh
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"|
 
 
|-
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| <center>1</center>
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| Create a user
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| adduser build
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"|
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| Linux will ask for password, type “qwerty” for example
 
 
|-
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| <center>2</center>
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| Create rsa keys
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"|
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| ssh-keygen
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| Passphrase must be empty
 
 
|-
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| <center>3</center>
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| Copy key to VBOX
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"|
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| ssh-copy-id [mailto:build@192.168.56.101 build@192.168.56.101]
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| SSH will ask for password, type “qwerty”
 
 
|-
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| <center>4</center>
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| Check connection
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"|
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| ssh build@192.168.56.101
 
| style="border:0.5pt solid #00000a;padding-top:0in;padding-bottom:0in;padding-left:0.075in;padding-right:0.075in;"| Ssh shall not ask for password!
 
 
|}
 
Builds commands in eclipse are depicted bellow.
 
 
sh -c "ssh build@192.168.56.101 'make -C /media -j2'"
 
 
[[File:eclipsebuild.png|picture|eclipse build command]]
 

Revision as of 15:40, 16 October 2012

This document describe how to install and build a MIB in a virtual box.

Abstract

There are several usage for the Virtual Box MIB.

  • Virtual MIB as a build machine
  • Virtual MIB as a Codeasys

In addition to that build machines we also explain how to configure various tools on top the various build machine.