To create a VM with opal server installed with all the test data etc using vagrant. On your host machine (i.e. your laptop etc):
...
Once it is finished you should be able to go to http://192.168.56.100:8080 and log into opal (Opal logon username: administrator, password: datashield_test&).
Troubleshooting
Sometimes the network setup in VirtualBox doesn't quite work with what vagrant has set up. It seems that it needs to be flushed somehow, and the easiest way I have seen of doing this is to go to the network settings in VirtualBox (the main setting not the settings for the VM), delete the hostonly adaptor then add it back again.
...
Create admin user account for SSH
vagrant ssh
- create new user
sudo adduser some_username
- add user to sudo group
usermod -aG sudo some_username
- test user sudo access
su - some_username
sudo ls -la /root
Change the IP address
The IP address is hardcoded in the vagrant set up, so if you want to clone this and have a different IP address then follow the relevant instructions on the manual set up page.
Shared drives
Not sure what this was referring to!
ssh into VM go to etc
cd /etc
sudo ls opal
sudo nano opal/shiro.ini
open up new terminal on server and create new hash password for username: administrator; password: password.