Please refer to the folder presentations
for challenge details! Or ask Daniel or Tuan-Si :)
This is part of the workshop to get you going on Smart Contracts and Ethereum!
- Install VirtualBox: https://www.virtualbox.org/wiki/Downloads
- Install VirtualBox Extensions: https://www.virtualbox.org/wiki/Downloads (click on the Extensions link and install the Extension pack)
- to install the extension start VirtualBox as admin/root and go to File->Settings->Extensions
- Install Vagrant: https://www.vagrantup.com/downloads.html
- Clone this repository.
- Navigate to folder
vm
in your terminal. - run command:
vagrant up
- Wait until the command line output finishes (provisioning will be done headless).
- run command:
vagrant halt
- Wait until the machine was "gracefully shut down"
- run command (again):
vagrant up
- The machine will start up with GUI now.
- Log in with password
vagrant
- Get started with Ethereum, see FirstStepsWithEthereum.
Make sure you installed the VirtualBox Extension Pack! See setup in before-workshop
. If you run into that problem although the Extensions were installed properly you can:
- Open Virtual-Box
- Find the machine that was created (according to the name of the folder, e.g.
vm_default_[...]
) - Open the machine settings
- Navigate to "USB" and deactivate the USB Controller
- Run
vagrant up
again
Note that this problem will just appear when you run the "vagrant up" command. Adding the machine should not result in problems.
If you get the warning, that "the guest extensions on this machine do not match the installed version of VirtualBox" when you run "vagrant up" you should be able to ignoe it. Note that your shared folder (folder shared between host and guest machine) might not work properly - but that's not a big problem.
If you receive an error on machine startup, that tells you that "no provided can be found" (or similar) then make sure you have the latest version of VirtualBox installed.
Most important question: Are you on a Lenovo notebook?
If yes:
Most likely your "hardware virtualization" is deactivated in BIOS.
- Access your BIOS and activate "hardware virtualization".
- Try again, it should work now.
If no:
- Check if you your internet connection works properly
- Wait for about ~5 minutes to see if an error appears.
- Once an error appears: google it
All the "hang" we encountered so far were caused by the hardware virtualization deactivated problem.