vb:run_webhmi_as_virtual_machine
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
run_webhmi_as_virtual_machine [2019/01/16 10:57] – akuzmuk | vb:run_webhmi_as_virtual_machine [2024/04/04 11:44] – emozolyak | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Run WebHMI | + | {{ : |
- | It is possible to run WebHMI as virtual machine. You can download VirtualBox image at [[https:// | + | |
+ | ====== Run Virtual Box WebHMI | ||
+ | |||
+ | It is possible to run WebHMI as virtual machine. | ||
+ | - Prerequisites - installed Oracle Virtual Box with VirtualBox Extension Pack. | ||
+ | - Download the image | ||
+ | - Add it to your virtual machines | ||
+ | - Setup network | ||
+ | - Setup serial ports, if necessary | ||
+ | |||
+ | You can also export your machine to other virtualization systems like VMware, Proxmox, etc. | ||
+ | |||
+ | ===== Downloading the image ===== | ||
+ | |||
+ | You can download VirtualBox image at [[https:// | ||
+ | |||
+ | {{vb: | ||
+ | |||
+ | ===== Add the image to your virtual machines ===== | ||
+ | |||
+ | Double click the image configuration file for auto-install. | ||
- | {{ :: | ||
You must have [[https:// | You must have [[https:// | ||
Line 8: | Line 28: | ||
Once image was downloaded, extract archive to desired destination and open **WebHMI.vbox** file with VirtualBox. | Once image was downloaded, extract archive to desired destination and open **WebHMI.vbox** file with VirtualBox. | ||
- | {{ :: | + | {{ network: |
This will run VirtualBox and add WebHMI virtual machine into it. | This will run VirtualBox and add WebHMI virtual machine into it. | ||
- | {{ :: | + | {{ network: |
You might want to adjust Processors amount on **System-> | You might want to adjust Processors amount on **System-> | ||
- | {{ :: | + | {{ network: |
Also you might need to select correct network adapter on **Network-> | Also you might need to select correct network adapter on **Network-> | ||
- | {{ :: | + | {{ network: |
Close settings window and click **Start** button. | Close settings window and click **Start** button. | ||
- | {{ :: | + | {{ network: |
Virtual machine will be started now. | Virtual machine will be started now. | ||
- | {{ :: | + | {{ network: |
In about 10-20 seconds it will complete boot process. You should see " | In about 10-20 seconds it will complete boot process. You should see " | ||
- | {{ :: | + | {{ network: |
By default virtual machine is connected to your network via bridged network adapter. It uses static ip address 192.168.1.1. So web interface of WebHMI will be available at address 192.168.1.1 too. You can change this address later via **[[http:// | By default virtual machine is connected to your network via bridged network adapter. It uses static ip address 192.168.1.1. So web interface of WebHMI will be available at address 192.168.1.1 too. You can change this address later via **[[http:// | ||
Line 39: | Line 59: | ||
Open [[http:// | Open [[http:// | ||
- | {{ :: | + | {{ network: |
+ | |||
+ | Default credentials are: | ||
+ | |Login| admin| | ||
+ | |Password| admin| | ||
Congratulations! You was able to run WebHMI on your computer. Have fun with it. | Congratulations! You was able to run WebHMI on your computer. Have fun with it. | ||
+ | |||
+ | |||
+ | ====== Adding serial ports to the virtual image ====== | ||
+ | |||
+ | ===== Windows 10 host system ===== | ||
+ | For Windows 10 host system, a USB filter should be set up in the image properties. | ||
+ | Please refer to the following picture: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Be sure you enabled the USB converter for the virtual machine: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Select your serial device in the connection properties, as shown below: | ||
+ | |||
+ | {{network: | ||
====== Troubleshooting ====== | ====== Troubleshooting ====== | ||
Line 60: | Line 101: | ||
Go to virtual machine settings, select **Network**-> | Go to virtual machine settings, select **Network**-> | ||
- | {{ : | + | {{ network: |
Save settings and start virtual machine. Wait for boot to complete. For second interface it takes a few seconds longer to initialize and get IP address from DHCP server. Wait until you will see message "New network interface connected" | Save settings and start virtual machine. Wait for boot to complete. For second interface it takes a few seconds longer to initialize and get IP address from DHCP server. Wait until you will see message "New network interface connected" | ||
- | {{ : | + | {{ network: |
In this example you can get access to WebHMI' | In this example you can get access to WebHMI' | ||
Line 75: | Line 116: | ||
To create new virtual network go to **File**-> | To create new virtual network go to **File**-> | ||
- | {{ :: | + | {{ network: |
Click " | Click " | ||
- | {{ :: | + | {{ network: |
Now go to WebHM' | Now go to WebHM' | ||
- | {{ :: | + | {{ network: |
Save settings and start virtual machine. Wait for boot to complete. For second interface it takes a few seconds longer to initialize and get IP address from DHCP server. Wait until you will see message "New network interface connected" | Save settings and start virtual machine. Wait for boot to complete. For second interface it takes a few seconds longer to initialize and get IP address from DHCP server. Wait until you will see message "New network interface connected" | ||
- | {{ :: | + | {{ network: |
In this example you can get access to WebHMI' | In this example you can get access to WebHMI' |
vb/run_webhmi_as_virtual_machine.txt · Last modified: 2024/04/05 08:33 by emozolyak