Workshop materials for the MeetUp on GraalVM Polyglot Interoperability on November 14th at AMIS | Conclusion
Provision your own VM image from scratch
Folder provision contains the sources that will help you create a VirtualBox VM for this workshop from scratch. In order to get going, you need a local installation of:
- Oracle VirtualBox (https://www.virtualbox.org/wiki/Downloads)
- HashiCorp Vagrant (https://www.vagrantup.com/downloads.html)
These two tools will let you assemble the VM and run it.
You may want to adjust the IP address for the VM or its memory size or other characteristics in file Vagrantfile.
- open a command line in the provision directory
- You will have to wait for many things to happen now:
- downloading the Ubuntu image
- creating the VM through VirtualBox API
- provisioning the Ubuntu environment inside the VM with: ** Ubuntu Desktop ** Java 8 ** Eclipse ** Firefox and Chrome ** GraalVM 19.2.1 plus extra features (R, Ruby, Python, native image) ** Visual Studio Source ** the GitHub Repo for the workshop resources
Note: if vagrant up fails with an error message that looks like this: `* Vagrant:
- Unknown configuration section 'vbguest'.
- Unknown configuration section 'disksize'.
then please runvagrant up` again; there may be an issue with installing the Vagrant Plugins disksize and vbguest .
After 10-15 minutes (primarily depending on download speeds) your VM will be provisioned. You could now run it from the command line (with
vagant up) but instead let's use the main entrance through the Ubuntu desktop that has been installed.
Switch to the VirtualBox client. Locate the new VM - called GraalVM Polyglot workshop - and start it. The VM starts and you will be able to enter the desktop environment.
Login with user developer and password Welcome01. Use the grid icon in the lower left hand corner of the screen to bring up an overview of applications available to you in this VM. The desktop includes icons for a number of applications, including Eclipse, Visual Studio Source and Google Chrome.
Open a terminal window through the Terminator tool. Some commands you may want to try:
Directory /home/developer/graalvm-polyglot-meetup-november2019 contains the Workshop materials - cloned from GitHub Repository https://github.com/AMIS-Services/graalvm-polyglot-meetup-november2019
Note: you may get annoyed a little with Ubuntu locking the screen quite aggressively. Since the host OS probably already runs screensaver and screen lock, you could switch off the screen lock in the Ubuntu Guest. Use
Settings | Privacy | Screen Lock | Automatic Screen Lock Off. (see: https://technology.amis.nl/2019/11/02/switch-off-screen-lock-on-ubuntu-bionic-desktop/)