Installation Guide
Comprehensive installation guide for CoAI.Dev across different environments and platforms
Installation Guide
This comprehensive guide covers installing CoAI.Dev across various environments, from simple development setups to enterprise production deployments. Choose the installation method that best fits your requirements and technical environment.
Overview
CoAI.Dev supports multiple installation methods:
- π³ Docker: Containerized deployment for consistency and portability
- π§ Docker Compose: Multi-container setup with dependencies
- βοΈ Cloud Platforms: One-click deployment on cloud providers
- π₯οΈ Traditional Server: Direct installation on Linux/Windows servers
- βΈοΈ Kubernetes: Orchestrated deployment for high availability
- π¦ Package Managers: Distribution-specific package installations
Quick Start
For the fastest setup, we recommend starting with Docker Compose or Zeabur One-Click Deployment which handle all dependencies automatically.
System Requirements
Minimum Requirements
Development/Testing Environment:
- CPU: 2 cores, 2.0 GHz
- Memory: 4GB RAM
- Storage: 20GB available space
- Network: Stable internet connection
- OS: Linux, macOS, or Windows with Docker support
Recommended Requirements
Production Environment:
- CPU: 4+ cores, 2.5+ GHz
- Memory: 8GB+ RAM (16GB+ for high traffic)
- Storage: 100GB+ SSD storage
- Network: High-speed internet with low latency
- OS: Ubuntu 20.04+ LTS or CentOS 8+
Enterprise Requirements
High-Availability Environment:
- CPU: 8+ cores per node, 3.0+ GHz
- Memory: 32GB+ RAM per node
- Storage: 500GB+ NVMe SSD with backup
- Network: Redundant network connections
- Infrastructure: Load balancers, monitoring, backup systems
Installation Methods
Docker Installation
Simple Docker Container Deployment
The fastest way to get CoAI.Dev running:
Access Your Installation
Open your browser and navigate to:
- Local: http://localhost:8000
- Remote: http://your-server-ip:8000
Default Credentials:
- Username:
root
- Password:
chatnio123456
Security
Change the default password immediately after first login!
Manual Installation
Traditional Server Installation:
Reverse Proxy Setup
Nginx Configuration:
Post-Installation Setup
Initial Configuration
First Login
- Access Platform: Open https://your-domain.com in your browser
- Login: Use default credentials (root / chatnio123456)
- Change Password: Immediately change the default password
- Verify Installation: Check that all systems are functioning
Basic Configuration
Configure essential platform settings:
- Admin Panel: Navigate to Admin β System Settings
- Site Information: Set site name, logo, and basic information
- Email Settings: Configure SMTP for notifications
- Security Settings: Enable content moderation and security features
- API Configuration: Set up API access if needed
Essential Settings Checklist:
- Change default admin password
- Configure site information
- Set up SMTP email
- Enable SSL/HTTPS
- Configure backup procedures
- Set up monitoring
Add AI Providers
Configure your first AI service channels:
- Channel Management: Go to Admin β Channels
- Add Provider: Click "Add Channel"
- Configure API: Enter API keys and settings
- Test Connection: Verify channel connectivity
- Set Pricing: Configure billing and pricing
Popular Providers:
- OpenAI (GPT models)
- Anthropic (Claude models)
- Google (Gemini models)
- Azure OpenAI
- Local models (Ollama, LocalAI)
Production Optimization
Performance Tuning:
Troubleshooting
Common Issues
Getting Help
If you encounter issues not covered here, check our troubleshooting guide or visit our GitHub repository for community support.
Service Won't Start:
Database Connection Failed:
High Memory Usage:
Installation is complete! Continue with Quick Start Guide to configure your first AI channels and start using CoAI.Dev, or explore Deployment Options for more advanced deployment scenarios.