| title | Installation Guide | |||
|---|---|---|---|---|
| category | Getting Started | |||
| tags |
|
|||
| last_updated | 2025-06-18 | |||
| version | v2.32.5 |
This guide walks you through installing and running EntityDB on your system.
- Linux, macOS, or Windows with WSL2
- Go 1.23+ (for building from source)
- 512MB+ RAM
- 1GB+ disk space
# Download the latest release
wget https://git.home.arpa/itdlabs/entitydb/releases/download/v2.32.5/entitydb-v2.32.5-linux-amd64.tar.gz
# Extract and install
tar -xzf entitydb-v2.32.5-linux-amd64.tar.gz
sudo cp entitydb /usr/local/bin/# Clone the repository
git clone https://git.home.arpa/itdlabs/entitydb.git
cd entitydb/src
# Build the server
make
# Install scripts
make installEntityDB uses a 3-tier configuration system:
- Database configuration (highest priority)
- Command-line flags
- Environment variables (lowest priority)
export ENTITYDB_HOST=0.0.0.0
export ENTITYDB_PORT=8085
export ENTITYDB_DATA_DIR=/opt/entitydb/var
export ENTITYDB_USE_SSL=false # Enable for productionexport ENTITYDB_USE_SSL=true
export ENTITYDB_PORT=8443
export ENTITYDB_SSL_CERT=/path/to/cert.pem
export ENTITYDB_SSL_KEY=/path/to/key.pemStart EntityDB:
# Start the server
./bin/entitydbd.sh start
# Check status
./bin/entitydbd.sh status
# View logs
tail -f /opt/entitydb/var/entitydb.logOn first start, EntityDB automatically creates:
- Data directory structure
- Default admin user (username:
admin, password:admin) - System configuration
Test your installation:
# Check server health
curl http://localhost:8085/health
# Access the dashboard
open http://localhost:8085
# Test API
curl -X POST http://localhost:8085/api/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"username": "admin", "password": "admin"}'- Quick Start Tutorial - Learn basic operations
- Core Concepts - Understand EntityDB fundamentals
- Security Configuration - Secure your installation
Port already in use:
# Change the port
export ENTITYDB_PORT=8086Permission denied:
# Check data directory permissions
sudo chown -R $USER:$USER /opt/entitydb/varSSL certificate errors:
- Verify certificate paths in configuration
- Ensure certificates are valid and readable
- Check SSL Setup Guide
For more issues, see Troubleshooting Guide.