Vbox Vietnam

0 views
Skip to first unread message

Jennifer Kovachick

unread,
Aug 4, 2024, 10:10:41 PM8/4/24
to lismacheeka
Ihave already set-up Oracle VM for few windows OS versions.Now i want to handle the deployments , configuration of those vboxes using vagrant.

Vagrant uses Box to handle the functions supported by vagrant commands.Is there way to convert existing vboxes to Vagrant Box?

I tried using Vagrant package command but its giving error "VBOX_E_IPRT_ERROR".

Just wanted to check if vagrant package command is only way to convert existing VM machines to vagrant boxes or are there other ways ?


This is a web page for the Pythia event generator tutorials held at the MCnet school 2019 in Quy Nhon. The description borrows massively from the CTEQ 2019 tutorial setup and the MCnet London 2019 tutorial setup designed by S. Hoeche and S. Prestel. The instructions are based on the Pythia 8.2 Worksheet by Torbjrn Sjstrand and Stefan Prestel.


This tutorial uses containers. Please install docker on your personal computer prior to the tutorial. Installation instructions for docker can be found here. On Linux systems, create a group "docker" and add yourself to it to avoid having to run all docker commands as sudo:

sudo groupadd docker

sudo usermod -aG docker $USER

If you have questions on installing docker or on testing the docker environment, please ask the lecturers before the tutorial. Due to time constraints we cannot assist everyone with setting up docker during the tutorial itself.


The docker container images can be pulled directly from dockerhub. The command line for this is

docker pull mcnetschool/tutorial:pythia-1.0.0

The docker image will then be downloaded to /var/lib/docker. Alternatively, the container images can be downloaded from here. These latter images must be loaded into docker explicitly. The command line for this reads

docker load -i mcnetschool-tutorial-pythia-8.2.43.tar.bz2




In case of insurmountable problems with docker you may use a legacy virtual machine. In this case, please install Oracle Virtual Box on your personal computer prior to the tutorial. If you have questions on installing VirtualBox, please ask the lecturers before the tutorial. Due to time constraints we cannot assist everyone with setting up the environment during the tutorial itself.


The virtual machine disk can be downloaded from here. Unarchive the disk using 7-Zip. If 7-Zip is missing on your Linux system, install the package p7zip. On Windows, download the 7-Zip executable from here. On MacOS, use the unarchiver.


Create a new machine with VirtualBox using the GUI. In the first step, VirtualBox will ask for the name of the machine and its OS. For the latter choose Linux -> Ubuntu (64 bit). In the next step, set the size of the memory. About 1GB should be fine. In the last step, select the virtual disk. Choose 'Use an existing virtual hard drive file' and open the *.vdi file you just downloaded and extracted.


Before starting the virtual machine, enter its settings and increase the video RAM size to at least 48MB (Settings -> Display -> Video). If you have more than two processor cores on your host system, allow the VM to use two cores (Settings -> System -> Processor). You must enable hardware virtualization in your BIOS to do this!


Common tools which are installed include xterm, lxterminal, vi, emacs, gv, evince and firefox. If you need root privileges to install further programs of your choice, use sudo. Note that the package information has been purged, and you need to run sudo aptitude update before any other command.


The virtual machine image that you've downloaded was originally designed for the CTEQ 2019 school tutorial (by S. Hoeche). Thus, the tutorial instructions shipped with this virtual machine do not apply for the MCnet school 2019.


The correct tutorial instructions are given below . First, create a directory mcnet2019 as subdirectory in the home directory. Enter this new directory and clone the repository using

hg clone _K_2016/mcnet-tutorial-vietnam.

Within mcnet-tutorial-vietnam, you will find the Pythia/ directory. For the Pythia tutorial, please refer to the material in this directory and the instructions below.

3a8082e126
Reply all
Reply to author
Forward
0 new messages