Skip to content

Setting up Virtual Machine [with full version of Linux] and SensorAct system

manaswis edited this page Mar 25, 2013 · 17 revisions

STEP II: Setting up virtual machine (with full version of Linux) and SensorAct system

To setup the virtual machine, please follow the steps:

  1. Download the VM image zip. Extract it to your chosen location.

  2. Open VMPlayer

  3. Go to File->Open a Virtual Machine
    vmplayer-open

  4. Browse to the folder where you have extracted the VM image zip file. Open the SensorActVMFull folder and select the SensorActVMFull.vmx file to open.
    sensoract-vmplayer

  5. On the right-hand-side pane, select Edit Virtual Machine Settings.
    edit_settings

  6. Right click SensorAct displayed in the list and select "Play virtual machine". Or select "Play virtual machine" from the right pane in the VMPlayer window. The system will boot itself.
    vmimage-play

  7. Once the login box is displayed, use "sensoract" as the password to log in.
    login-vm

    Once you are logged in, you will see the following screen: loggedin-vm

  8. To set up SensorAct, open a terminal by clicking Ctrl+Alt+T.

  9. Type the following commands inside the virtual machine's terminal
    source sensoract update
    $ source configSA
    configSA
    Make sure your host machine is connected to the Internet. Use the host machine’s IP address of the interface (e.g. eth0 for Ethernet LAN/wlan0 for WiFi etc.) you are using to connect to the Internet. To know your host machine’s IP address, run ipconfig in the command prompt of a host machine with Windows OS and ifconfig in the terminal of a host machine with Linux OS.

    If you see an error, look at Troubleshooting section

    Additionally, you will be asked to enter username, password and email address. While doing so, please make sure that you use these same credentials while registering yourself to the broker [See Usage Guide to know more]

    $ source sensoract start
    sensoract-start

    Thats it! SensorAct system will start.

Accessing the SensorAct Application

Use the URL generated from the source configSA command to access the application from the host machine's browser. In case, you forget the URL, use source sensoract find command to get it. See Controlling SensorAct System for more instructions.
sensoract-browser

NEXT : Usage Guide