User Tools

Site Tools


vb:run_webhmi_as_virtual_machine

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vb:run_webhmi_as_virtual_machine [2024/04/04 12:36] – [Run Virtual Box WebHMI image] emozolyakvb:run_webhmi_as_virtual_machine [2024/04/05 08:33] (current) emozolyak
Line 14: Line 14:
   - [[#add_the_image_to_your_virtual_machines|Add it to your virtual machines]]   - [[#add_the_image_to_your_virtual_machines|Add it to your virtual machines]]
   - [[#network_setup|Setup network]]   - [[#network_setup|Setup network]]
-  - Setup serial portsif necessary +  - [[#running_vm|Run the VM]] 
-  - Run the VM+  - [[#adding_serial_ports_to_vm|Setup serial ports (if necessary)]] 
  
 You can also export your machine to other virtualization systems like VMware, Proxmox, etc.  You can also export your machine to other virtualization systems like VMware, Proxmox, etc. 
Line 23: Line 24:
 You can download VirtualBox image at [[https://level2.webhmi.com.ua/apps/downloads/list| Level2 system]]. You can download VirtualBox image at [[https://level2.webhmi.com.ua/apps/downloads/list| Level2 system]].
  
-{{vb:vbox_download_new.png?direct&800|}}+{{vb:vbox_download_new.png?direct&688|}}
  
 ===== Add the image to your virtual machines ===== ===== Add the image to your virtual machines =====
Line 30: Line 31:
  
 {{:vb:install:vbox-machine-definition.png?direct|}} {{:vb:install:vbox-machine-definition.png?direct|}}
- 
-This is how it looks on Linux systems: 
- 
-{{ network:vm-2.jpg?nolink&912 |}} 
  
 After this WebHMI VM will be in your system.  After this WebHMI VM will be in your system. 
  
-{{:vb:install:webhmi-vm-in-your-vbox.png?direct|}}+{{:vb:install:webhmi-vm-in-your-vbox.png?direct&688|}}
  
 ===== Network setup ===== ===== Network setup =====
  
-Upon installation, there will be one network adapter in the virutal machine with static IP address of 192.168.1.1 bound to one of your PC's network adapters. If your PC network differs from 192.168.1.0 network, you won't be able to connect to your virtual machine yet. +Upon installation, there will be one network adapter in the virtual machine with static IP address of 192.168.1.1 bound to one of your PC's network adapters (bridge mode) 
 +<WRAP center round important 60%> 
 +If your PC network differs from 192.168.1.0 network, you won't be able to connect to your virtual machine yet, becuase adapter's IP is set inside the VM. 
 +</WRAP>
  
-Enter setting and make changes accordingly.+Enter setting and make neccessary network changes accordingly.
 {{ network:vm-3.jpg?nolink&800 |}} {{ network:vm-3.jpg?nolink&800 |}}
  
-Also you might need to select correct network adapter on **Network->Adapter 1** tab.+Select the PC'network adapter on **Network->Adapter 1** tab you want to share with VM's network #1 adapter 
  
 {{ network:vm-5.jpg?nolink&912 |}} {{ network:vm-5.jpg?nolink&912 |}}
  
 +Also we reccomend add another **Adapter #2** to your VM in the //virtual host adapter mode// to be able to connect to VM for sure. Please refer to this [[#create_virtual_network|section]]
 +
 +{{:vb:install:vbox-host-adapter.png?direct&600|}}
 +
 +===== Running VM =====
  
 Close settings window and click **Start** button.  Close settings window and click **Start** button. 
Line 77: Line 82:
  
  
-====== Adding serial ports to the virtual image ======+====== Adding serial ports to VM ======
  
 ===== Windows 10 host system ===== ===== Windows 10 host system =====
Line 89: Line 94:
 {{ :vb:v_box_usb_serial_mapping.png?direct&600 |}} {{ :vb:v_box_usb_serial_mapping.png?direct&600 |}}
  
-Select your serial device in the connection properties, as shown below:+Inside WebHMI project, select your serial device in the connection properties, as shown below: 
 + 
 +{{ :vb:install:vm-select-usb-uart.png?direct&600 |}}
  
-{{network:addting_xtra_ports.png}}  
 ====== Troubleshooting ====== ====== Troubleshooting ======
  
vb/run_webhmi_as_virtual_machine.1712234199.txt.gz · Last modified: 2024/04/04 12:36 by emozolyak

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki