MozDef Online Setup Progress Tracker
Setup Started: $(date)
Milestone Status
β Milestone 1: Prerequisites - COMPLETE
- Docker installed (version 28.2.2)
- Docker Compose installed (version v5.1.0)
- Disk space checked (46GB free - sufficient)
- Architecture verified (x86_64)
- MozDef source code present in /root/MozDef
π Milestone 2: Build Docker Images - IN PROGRESS
- Fixed CentOS 7 repository issue (using vault.centos.org)
- Building mozdef_base image
- Building infrastructure images (elasticsearch, rabbitmq, mongodb, kibana, nginx)
- Building backend images (loginput, mq_worker, rest, alerts, alertactions, cron)
- Building frontend image (meteor)
Current Status: Build running in background (check with: tail -f /tmp/mozdef-build-full.log)
β³ Milestone 3: Test Complete Setup - PENDING
- Start all services (
make run) - Verify infrastructure services (elasticsearch, rabbitmq, mongodb)
- Verify backend services (loginput, rest)
- Verify frontend services (meteor, kibana)
- Send test event
- Verify event in Elasticsearch
- Verify package isolation (Node 8.11.4, Python 3.6)
β³ Milestone 4: Package for Offline - PENDING
- Stop services
- Save Docker images
- Download Python packages
- Download Node.js packages
- Package source code
- Create final package archive
Quick Commands
Check Build Progress
# View build log
tail -f /tmp/mozdef-build-full.log
# Check if images are being built
docker images | grep mozdef
# Check build process
ps aux | grep "make build"
Check Build Completion
# Count built images (should be 15+ when complete)
docker images | grep mozdef | wc -l
# Expected images:
# mozdef/mozdef_base
# mozdef/mozdef_elasticsearch
# mozdef/mozdef_rabbitmq
# mozdef/mozdef_mongodb
# mozdef/mozdef_kibana
# mozdef/mozdef_nginx
# mozdef/mozdef_bootstrap
# mozdef/mozdef_loginput
# mozdef/mozdef_mq_worker
# mozdef/mozdef_rest
# mozdef/mozdef_meteor
# mozdef/mozdef_alerts
# mozdef/mozdef_alertactions
# mozdef/mozdef_cron
# mozdef/mozdef_syslog
Next Steps After Build Completes
- Verify all images built:
docker images | grep mozdef - Start services:
cd /root/MozDef && make run - Wait 5-8 minutes for startup
- Test endpoints (see Milestone 3 checklist)
- Send test event and verify
- Stop services:
make stop - Package for offline (see Milestone 4)
Notes
- Build Time: Expected 15-30 minutes
- Repository Fix: Updated CentOS 7 repos to use vault.centos.org (EOL workaround)
- Isolation: Docker provides complete OS isolation - Node 8.11.4 and Python 3.6 are containerized
Troubleshooting
If Build Fails
# Check build log
cat /tmp/mozdef-build-full.log | grep -i error
# Check specific image build
docker-compose -f docker/compose/docker-compose.yml -p mozdef build mozdef_base
# Clean and retry
cd /root/MozDef
make clean
make build
If Repository Issues Persist
The Dockerfile has been updated to use vault.centos.org. If issues continue, may need to:
- Use pre-built images:
make build BUILD_MODE=pull - Or use alternative base image
Last Updated: $(date)