Virtual machines with preinstalled ROOT are prepared for this tutorial. We have created VirtualBox VM running Ubuntu 20.04 Server.
If you want to run VirtualBox in Windows see Installation on Windows before you start.
The file nevm-ubuntu-20.ova for VirtualBox can be downloaded from the LLR owncloud server, following the link: https://llrbox.in2p3.fr/owncloud/index.php/s/HSWkxqYjGreUsc2
You can open this link in your browser or use curl or wget with the direct download link: https://llrbox.in2p3.fr/owncloud/index.php/s/sPTsckvVJeANduf/download
This is a full virtual machine imported from VirtualBox running on Ubuntu 18.04 in OVF 2.0 format. Open Virtualization Format (OVF) is a packaging format for virtual appliances.
You will need Oracle VirtualBox application to run this virtual machine.
You can download VirtualBox for your software platform from https://www.virtualbox.org . It can run on most Linux distributions, MacOS and Windows.
If you want to install Oracle VM VirtualBox Extension Pack read VirtualBox Personal Use and Evaluation License (PUEL).
You can found more information in VirtualBox User Manual. https://www.virtualbox.org/manual/UserManual.html
You can import .ova file using VirtualBox GUI:
Open Virtualbox and go to File | Import Appliance. Browse the .ovf file that you have just downloaded.
In the next window, you can see the virtual machine settings. You may change some settings here. For example you may want to allocate more RAM
Click Import to start the import process. In few minutes, Virtualbox will create a new virtual machine with the settings you specified
From the command line you can use the command for import:
$ VBoxManage import nevm-ubuntu-20.ova
You can use VirtualBox GUI to make additional modifications in VM. You can add disk, shared points, network interfaces, etc. by selecting the machine on the left side of the GUI window and pressing button.
You also can use
VBoxManage modifyvm ... command to change the VM settings.
The machine was installed with the help of HashiCorp Vagrant application https://www.vagrantup.com/. The vagrant box ubuntu/focal64 was used as a base of this server.
The machine was prepared to run as a headless server, no GUI was installed.
You can run the machine from a terminal:
$ VBoxManage startvm nevm-ubuntu-20 -type headless
and login to VM with ssh:
ssh -X -p 2222 vagrant@localhost .
On MacOS you need to use -Y because xauth is not present:
ssh -Y -p 2222 vagrant@localhost .
Only one user is defined on the machine
vagrant with vagrant as the password.
To avoid clashes with the ssh server on the host machine, the ssh port (22) of the virtual machine was remapped to the local port 2222 on the host machine.
You can start vm from VirtualBox GUI, but you will see only a terminal prompt and you will not be able to run X11 applications.
If you want install the X11 desktop you need to use the command
tassel shows the list of tasks in curses windows and allows you to select tasks to be executed. You can also use
tassel --list-tasks to see the list of tasks.
We have tested the gnome desktop installation with the command:
sudo tassel install ubuntu-desktop-minimal
Now after rebooting the machine you will see the virtual machine window with the gnome chooser.
In the vagrant home directory you can see the file setup_env.sh. You need to source this file before starting your work with ROOT:
You can see in Installation Ubuntu 20.04 how to test ROOT.