... | ... | @@ -12,13 +12,24 @@ This page describes how to install the required software before running Cyber Sa |
|
|
* VirtualBox on Linux is sensitive to kernel versions. First, update the system (including the kernel), and only then install the latest Virtualbox. **IMPORTANT**: Don’t install the distro-repository version of VirtualBox. Really do install the latest version from [https://www.virtualbox.org/wiki/Downloads](https://www.virtualbox.org/wiki/Downloads)
|
|
|
* VirtualBox requires x86 CPU architecture, so it will **not** work on ARM Mac.
|
|
|
3. Install [Vagrant](https://www.vagrantup.com/downloads.html). The official website should be preferred as a source. Repositories of Linux distributions could have outdated versions.
|
|
|
4. Install `pip` using the command `$ sudo apt-get install python3-pip`.
|
|
|
5. Install `setuptools` with `$ pip3 install setuptools`.
|
|
|
6. Install KYPO topology definition `$ pip3 install kypo-topology-definition~=0.5.0 --extra-index-url https://gitlab.ics.muni.cz/api/v4/projects/2358/packages/pypi/simple`.
|
|
|
7. Install CSC with `$ pip3 install sandboxcreator`.
|
|
|
|
|
|
Note: Instead of installing steps 4--7, you can (in most cases) use Vagrant commands directly to build virtual environments.
|
|
|
|
|
|
### Using Pip
|
|
|
|
|
|
4. Install _pip_ using the command `sudo apt-get install python3-pip`.
|
|
|
5. Install _setuptools_ with `pip3 install setuptools`.
|
|
|
6. Install KYPO topology definition `pip3 install kypo-topology-definition~=0.5.0 --extra-index-url https://gitlab.ics.muni.cz/api/v4/projects/2358/packages/pypi/simple`.
|
|
|
7. Install CSC with `pip3 install sandboxcreator`.
|
|
|
|
|
|
### Using PipEnv
|
|
|
|
|
|
4. Install Pipenv. (`pip3 install pipenv`)
|
|
|
5. Spawn a shell in the virtual environment. (`pipenv shell`)
|
|
|
6. Install KYPO topology definition `pipenv install kypo-topology-definition~=0.5.0 --extra-index-url https://gitlab.ics.muni.cz/api/v4/projects/2358/packages/pypi/simple`.
|
|
|
7. Install CSC with `pipenv install sandboxcreator`.
|
|
|
|
|
|
|
|
|
## Windows 10
|
|
|
|
|
|
1. Enable [virtualization in BIOS](https://www.tactig.com/enable-intel-vt-x-amd-virtualization-pc-vmware-virtualbox/).
|
... | ... | @@ -28,10 +39,20 @@ Note: Instead of installing steps 4--7, you can (in most cases) use Vagrant comm |
|
|
* Sometimes it is not enough to disable Hyper-V in Settings; you may need to use the command `bcdedit /set hypervisorlaunchtype off` and restart the computer.
|
|
|
* Windows Update can turn Hyper-V on again, be sure to check it again after installing updates.
|
|
|
5. Install [Python 3 with PIP](https://www.python.org/downloads/windows/).
|
|
|
6. Install KYPO topology definition `$ pip3 install kypo-topology-definition~=0.5.0 --extra-index-url https://gitlab.ics.muni.cz/api/v4/projects/2358/packages/pypi/simple`.
|
|
|
7. Install CSC with `$ pip3 install sandboxcreator`.
|
|
|
|
|
|
Note: Instead of installing steps 4--7, you can (in most cases) use Vagrant commands directly to build virtual environments.
|
|
|
Note: Instead of installing steps 4--9, you can (in most cases) use Vagrant commands directly to build virtual environments.
|
|
|
|
|
|
### Using Pip
|
|
|
|
|
|
6. Install KYPO topology definition `pip3 install kypo-topology-definition~=0.5.0 --extra-index-url https://gitlab.ics.muni.cz/api/v4/projects/2358/packages/pypi/simple`.
|
|
|
7. Install CSC with `pip3 install sandboxcreator`.
|
|
|
|
|
|
### Using PipEnv
|
|
|
|
|
|
6. Install Pipenv. (`pip install pipenv`)
|
|
|
7. Spawn a shell in the virtual environment. (`pipenv shell`)
|
|
|
8. Install KYPO topology definition `pipenv install kypo-topology-definition~=0.5.0 --extra-index-url https://gitlab.ics.muni.cz/api/v4/projects/2358/packages/pypi/simple`.
|
|
|
9. Install CSC with `pipenv install sandboxcreator`.
|
|
|
|
|
|
# Required software versions for all operating systems
|
|
|
|
... | ... | |