|
# Gean4 Virtual Machine
|
|
# Geant4 Virtual Machine
|
|
|
|
|
|
[[_TOC_]]
|
|
[[_TOC_]]
|
|
|
|
|
... | @@ -15,7 +15,7 @@ If you want to run VirtualBox in Windows see [Installation on Windows](Win10 Ins |
... | @@ -15,7 +15,7 @@ If you want to run VirtualBox in Windows see [Installation on Windows](Win10 Ins |
|
* "Development Tools" software group*, *curl*, *g++*, *git* and *cmake* packages
|
|
* "Development Tools" software group*, *curl*, *g++*, *git* and *cmake* packages
|
|
|
|
|
|
|
|
|
|
The file _g4vm-alm9.ova_ for VirtualBox was splitted to 5 files which
|
|
The file _g4vm-alm9.ova_ for VirtualBox was spitted to 5 files which
|
|
can be downloaded from the LLR file server, use following the links:
|
|
can be downloaded from the LLR file server, use following the links:
|
|
|
|
|
|
[g4vm-alm9.00](https://llrnbox.in2p3.fr/index.php/s/DsEz372M2S5gm2z)
|
|
[g4vm-alm9.00](https://llrnbox.in2p3.fr/index.php/s/DsEz372M2S5gm2z)
|
... | @@ -30,11 +30,11 @@ can be downloaded from the LLR file server, use following the links: |
... | @@ -30,11 +30,11 @@ can be downloaded from the LLR file server, use following the links: |
|
|
|
|
|
This is a full virtual machine imported from VirtualBox 7.0 running on Ubuntu 20.04 in OVF 2.0 format. Open Virtualization Format (OVF) is a packaging format for virtual appliances.
|
|
This is a full virtual machine imported from VirtualBox 7.0 running on Ubuntu 20.04 in OVF 2.0 format. Open Virtualization Format (OVF) is a packaging format for virtual appliances.
|
|
|
|
|
|
To recrate full file you can use
|
|
To recreate full file you can use
|
|
|
|
|
|
`cat g4vm-alm9.0[0-4] > g4vm-alm9.ova`
|
|
`cat g4vm-alm9.0[0-4] > g4vm-alm9.ova`
|
|
|
|
|
|
on macos or linux and
|
|
on MacOS or Linux and
|
|
|
|
|
|
`copy /b g4vm-alm9.0? g4vm-alm9.ova`
|
|
`copy /b g4vm-alm9.0? g4vm-alm9.ova`
|
|
|
|
|
... | @@ -90,7 +90,7 @@ You also can use `VBoxManage modifyvm ...` command to change the VM settings. |
... | @@ -90,7 +90,7 @@ You also can use `VBoxManage modifyvm ...` command to change the VM settings. |
|
## Running installed Geant4 VM
|
|
## Running installed Geant4 VM
|
|
|
|
|
|
|
|
|
|
The machine was installed using AlmaLinux-9.3-x86_64-boot.iso which can be downloaded from [AlamLinux Download](https://almalinux.org/get-almalinux/).
|
|
The machine was installed using AlmaLinux-9.3-x86_64-boot.iso which can be downloaded from [AlmaLinux Download](https://almalinux.org/get-almalinux/).
|
|
|
|
|
|
The machine was prepared to run as in GUI was mode.
|
|
The machine was prepared to run as in GUI was mode.
|
|
|
|
|
... | @@ -151,13 +151,6 @@ You can see in [AlmaLinux 9.3](Linux Installation/AlmaLinux 9 Installation) how |
... | @@ -151,13 +151,6 @@ You can see in [AlmaLinux 9.3](Linux Installation/AlmaLinux 9 Installation) how |
|
- use _sudo_ to run commands as the root user, `sudo -I` starts the root login shell.
|
|
- use _sudo_ to run commands as the root user, `sudo -I` starts the root login shell.
|
|
- use `dnf -y update` before installing additional software.
|
|
- use `dnf -y update` before installing additional software.
|
|
- you can use the command `useradd` to add a new user to vm.
|
|
- you can use the command `useradd` to add a new user to vm.
|
|
e.g. I add my account executing the following commands as root ( sudo -i )
|
|
|
|
```
|
|
|
|
useradd -m -N -c "Igor Semeniouk" semenjuk
|
|
|
|
usermod -G adm,cdrom,sudo,dip,plugdev,netdev semenjuk
|
|
|
|
usermod -s /bin/bash semenjuk
|
|
|
|
passwd semenjuk
|
|
|
|
```
|
|
|
|
- Geant4
|
|
- Geant4
|
|
- You can check the Geant4 datasets installation using the command:
|
|
- You can check the Geant4 datasets installation using the command:
|
|
`geant4-config --check-datasets`
|
|
`geant4-config --check-datasets`
|
... | | ... | |