Installation
Follow these steps to install and set up NewPush Labs on your virtual machine.
WARNING
A dedicated Debian-based virtual machine is required for the lab.
TIP
You can use your local machine to run the Ansible roles for remote targets, or you can execute the Ansible scripts directly on the remote machine.
Steps
Clone the Repository
Open your terminal and run the following command to clone the NewPush Labs repository:
shgit clone https://github.com/newpush-labs/newpush-labs.git
Navigate to the Project Directory
Change to the project directory:
shcd newpush-labs
Install Dependencies
Install the required dependencies using pip and ansible:
shpip3 install -r provisioning/ansible/requirements.txt ansible-galaxy install -r provisioning/ansible/requirements.yaml
Copy and Edit Configuration File
Copy the example configuration file to the appropriate location:
shcp provisioning/ansible/group_vars/lab.yaml.example provisioning/ansible/group_vars/lab.yaml
Open the
lab.yaml
file in your preferred text editor and update the configuration settings as needed to match your environment and requirements.Run the Installer
Install to local machine the lab:
shmake setup HOSTS_FILE=./provisioning/ansible/inventory/hosts