Development Environment Overview
This page provides a quick overview of the tools youβll need for HackerOps labs. Each tool has its own detailed setup guide linked below.
Tip
Recommended Order: Follow the setup guides in the order listed below for the smoothest experience.
Essential Tools Setup
-
Ubuntu/Linux Environment - Set up your Unix/Linux environment using pre-configured VMs with VirtualBox/VMware or WSL on Windows
-
Visual Studio Code - Install your primary code editor with SSH remote development capabilities and essential extensions for Terraform and Ansible
-
Infrastructure Tools - Install Terraform for Infrastructure as Code and Ansible for configuration management automation
-
Cloud Platform Setup - Configure AWS, Azure, and DigitalOcean accounts with proper CLI access and credentials
-
Advanced Lab Tools - Install Packer for image building automation and set up a domain name for DNS automation labs (required for specific advanced labs)
Info
Setup Priority: Steps 1-4 are needed for most labs and should be completed first. Step 5 tools can be installed when you reach the specific labs that require them (typically Labs 8+ for advanced scenarios).
Quick Setup Commands
If you prefer command-line installation, here are the key commands:
macOS (Homebrew)
# Install essential toolsbrew install git terraform ansiblebrew install --cask visual-studio-codebrew install awscli azure-cli
Windows (Chocolatey)
# Install essential toolschoco install git terraform ansible vscodechoco install awscli azure-cli
Linux (Ubuntu/Debian)
# Install essential toolssudo apt updatesudo apt install git openssh-client# Follow individual guides for Terraform, Ansible, cloud CLIs
Workspace Setup
Create Your Lab Directory
-
Create Workspace Directory - Run
mkdir ~/hackerops-labs
to create your dedicated lab workspace -
Navigate to Directory - Use
cd ~/hackerops-labs
to move into your new workspace -
Clone All Labs - Get all lab repositories at once with the HackerOps main repository:
Terminal window git clone https://github.com/hacker-ops-class/HackerOpscd HackerOpsgit submodule initgit submodule update -
Verify Structure - Run
ls -la
to confirm all lab directories (lab1-lab16) were created successfully
Tip
Efficient Setup: Using the main HackerOps repository downloads all 16 labs at once through git submodules, saving time compared to cloning each lab individually.
Verify Your Installation
-
Check Git - Run
git --version
to confirm Git is installed and accessible -
Check Terraform - Run
terraform --version
to verify Terraform installation -
Check Ansible - Run
ansible --version
to confirm Ansible is working -
Check VS Code - Run
code --version
to verify VS Code command line access
Getting Help
Info
Each toolβs detailed guide includes troubleshooting sections. If you run into issues, check the specific guide for that tool.
Common Issues
- PATH problems: Restart your terminal after installations
- Permission errors: Use
sudo
on Linux/macOS, run as Administrator on Windows - Missing dependencies: Each guide lists prerequisites
Next Steps
-
Start with Ubuntu setup - If you need a Linux environment, set up your VM or WSL first
-
Install VS Code - Configure your primary editor with SSH remote development capabilities
-
Set up Infrastructure Tools - Install Terraform and Ansible for automation
-
Configure Cloud Platforms - Set up AWS, Azure, and DigitalOcean as needed for specific labs
-
Begin with Lab 1 - Start your hands-on learning journey once everything is ready (all labs are now available in your HackerOps directory)
Caution
Security Reminder: Never commit API keys, passwords, or sensitive data to GitHub repositories. Each cloud setup guide includes security best practices.