Welcome to the DevOps Environment Toolkit for Beginners! This guide will get you up and running on your local machine in just a few minutes.
- Linux/macOS: Bash shell
- Windows: PowerShell 5.1+ or PowerShell Core
- Internet connection for downloading tools
- Administrator/Sudo access (recommended)
Perfect for beginners - choose from multiple installation modes with advanced features!
# Linux/macOS
./install.sh
# Windows PowerShell
.\install.ps1# Linux/macOS - Interactive menu to choose tools
./install.sh --selective
# Windows PowerShell - Interactive menu to choose tools
.\install.ps1 -Selective# Linux/macOS - Dry run mode
./install.sh --dry-run
# Windows PowerShell - Dry run mode
.\install.ps1 -DryRun# Linux/macOS
./install.sh --verbose --skip-confirmation # Detailed output, no prompts
./install.sh --help # Show all options
# Windows PowerShell
.\install.ps1 -Verbose -SkipConfirmation # Detailed output, no prompts
.\install.ps1 -Help # Show all options# Linux/macOS
curl -fsSL https://raw.githubusercontent.com/harshhaa/devops-environment-toolkit/main/install.sh | bash
# Windows PowerShell
iwr -useb https://raw.githubusercontent.com/harshhaa/devops-environment-toolkit/main/install.ps1 | iexThe installation scripts now include advanced features for a better user experience:
- Interactive Menu: Choose which tools to install
- Progress Tracking: Visual progress bars with percentage completion
- Comprehensive Logging: Detailed logs saved to files
- Error Recovery: Automatic backup and restore functionality
- System Validation: Checks disk space, memory, and internet connectivity
- Health Checks: Verifies all tools are working correctly after installation
- Installation Reports: Detailed reports with next steps and support links
After successful installation, you'll see helpful documentation links for each tool:
- Git: https://git-scm.com/doc
- Docker: https://docs.docker.com/
- Docker Compose: https://docs.docker.com/compose/
- Kubernetes: https://kubernetes.io/docs/
- Minikube: https://minikube.sigs.k8s.io/docs/
- Terraform: https://developer.hashicorp.com/terraform/docs
- Ansible: https://docs.ansible.com/
- VS Code: https://code.visualstudio.com/docs
- AWS CLI: https://docs.aws.amazon.com/cli/
- Azure CLI: https://docs.microsoft.com/en-us/cli/azure/
# Linux/macOS
./install.sh --help # Show all options
./install.sh --verbose # Detailed output
./install.sh --dry-run # Preview installation
./install.sh --selective # Choose tools interactively
./install.sh --skip-confirmation # Skip prompts
./install.sh --recover # Restore from backup
# Windows PowerShell
.\install.ps1 -Help # Show all options
.\install.ps1 -Verbose # Detailed output
.\install.ps1 -DryRun # Preview installation
.\install.ps1 -Selective # Choose tools interactively
.\install.ps1 -SkipConfirmation # Skip prompts
.\install.ps1 -Recover # Restore from backupAfter installation, run the verification script:
# Linux/macOS
./verify.sh
# Windows PowerShell
.\verify.ps1This will check all installed tools and generate a system report. You can also check the installation report:
# Linux/macOS
cat ~/.devops-toolkit-install-report-*.txt
# Windows PowerShell
Get-Content ~\.devops-toolkit-install-report-*.txt-
Start the Docker Compose stack:
docker-compose up -d
-
Check running services:
docker-compose ps
-
Access your applications:
- DevOps Toolkit Website: http://localhost:3002
- Web App: http://localhost:3000
- Grafana: http://localhost:3001 (admin/admin)
- Prometheus: http://localhost:9090
- Jaeger: http://localhost:16686
- Kibana: http://localhost:5601
All tools are installed and configured on your local machine, ready for learning:
- Git - Version control with helpful aliases
- Docker & Docker Compose - Containerization platform
- Terraform - Infrastructure as Code
- Ansible - Configuration management
- Kubernetes (kubectl + Minikube) - Container orchestration
- AWS CLI - Amazon Web Services
- Azure CLI - Microsoft Azure
- VS Code with DevOps extensions
Visit the DevOps Toolkit website at http://localhost:3002 to see:
- Interactive installation commands
- Complete tools overview
- Structured learning path
- Feature highlights
ls templates/
# basic-web-app/ - Simple Node.js application
# microservices/ - Microservices architecture
# infrastructure/ - Infrastructure templatescd templates/basic-web-app
npm install
npm start# Build the sample app
docker build -t my-app .
# Run the container
docker run -p 3000:3000 my-app
# Use Docker Compose
docker-compose up -dcd configs/terraform
terraform init
terraform plancd configs/ansible
ansible-playbook -i inventory.ini playbook.ymlFollow this structured path designed specifically for DevOps beginners with our focused toolset:
- Master Git workflows for beginners
- Learn Docker basics for beginners
- Create your first Dockerfile
- Use Docker Compose for multi-container apps
- Practice with the sample application
- Learn Terraform basics
- Deploy infrastructure to AWS
- Practice with Ansible
- Understand configuration management
- Create your first infrastructure templates
- Learn kubectl commands
- Set up Minikube for local development
- Deploy applications to Kubernetes
- Practice with container orchestration
- Understand pods, services, and deployments
- Explore AWS services with AWS CLI
- Try Azure resources with Azure CLI
- Learn cloud resource management
- Practice multi-cloud strategies
- Understand cloud-native applications
- Integrate all tools in a complete workflow
- Set up monitoring and logging
- Practice with CI/CD pipelines
- Learn about infrastructure automation
- Build end-to-end DevOps solutions
- Build a complete microservices application
- Deploy to cloud using Terraform
- Configure with Ansible
- Orchestrate with Kubernetes
- Monitor and maintain the system
The toolkit includes pre-configured VS Code settings and extensions. Your workspace will be automatically configured with:
- Docker extension
- Kubernetes tools
- Terraform support
- YAML support
- Git integration
- Ansible support
Git is pre-configured with helpful aliases:
git st→git statusgit co→git checkoutgit br→git branchgit ci→git commitgit lg→ Pretty log format
Docker is configured with:
- Non-root user access
- Optimized settings
- Health checks
- Resource limits
Docker not starting:
# Linux
sudo systemctl start docker
sudo systemctl enable docker
# macOS - Start Docker Desktop manuallyPermission denied errors:
# Add user to docker group
sudo usermod -aG docker $USER
# Log out and log back inPort conflicts:
# Check what's using a port
sudo lsof -i :3000
# Kill the process
sudo kill -9 <PID>Terraform errors:
# Clean Terraform state
rm -rf .terraform
terraform init-
Check the logs:
docker-compose logs
-
Verify installation:
./verify.sh
-
Check system resources:
htop df -h
-
Review configuration:
cat ~/.devops-toolkit/system-report.txt
- Visit the website at http://localhost:3002 for interactive guides
- Explore the examples in the
examples/directory - Try the project templates in the
templates/directory - Customize configurations in the
configs/directory - Join the community and share your learning journey
- Contribute to the toolkit by submitting issues and pull requests
- GitHub Issues: Report bugs or request features
- Discussions: Ask questions and share ideas
- Email: harshhaa@example.com
Happy Learning! 🚀
Remember: The best way to learn DevOps is by doing. Start with the basics, practice regularly, and don't be afraid to experiment! Perfect for beginners starting their DevOps journey.