Server Setup Documentation
Complete installation and configuration guides for all backend servers.
Available Guides
Core Services
- Webserver - Apache, PHP, and application server setup
- RabbitMQ - Message queue server installation (version 4.0.5)
- MongoDB - NoSQL database configuration
- Redis - Cache server installation
Application Services
- Consumers - Background job processing servers
- Websocket - Real-time communication server
- Scheduler - Gantt chart scheduling service
- Gantt PDF Server - PDF export service for Gantt charts
- Python AI Server - AI services integration
Supporting Services
Setup Order
When setting up a new environment from scratch, follow this order:
- Bastion - SSH gateway (setup first for secure access)
- NFS - Shared storage (needed by webservers)
- MongoDB - Database (needed by app)
- RabbitMQ - Message queue (needed by consumers and websockets)
- Redis - Cache (needed by webservers)
- Webserver - Application servers
- Websocket - Real-time services
- Scheduler - Scheduling services
- Gantt PDF Server - PDF export
- Consumers - Background processing
- Python AI Server - AI services
Firewall Configuration
All servers require proper firewall rules. Each guide includes specific firewall configuration requirements. Key principles:
- SSH access only via Bastion server
- Services only accessible from required servers (use tags when possible)
- Outbound traffic restricted to necessary services
Common Requirements
Most servers require: - Ubuntu 24.04 LTS - SSH key authentication - User accounts for team members - Proper firewall rules - DeployHQ access (for application servers)