Provisioning script for the Fieldline (EspoCRM-based) server.
This script takes all credentials via environment variables. Never hardcode passwords, IPs, or DB credentials in this repo.
export ROOT_PASSWORD='your-new-root-password'
export DB_ROOT_PASS='your-mysql-root-password'
export DB_APP_PASS='your-espocrm-db-password'
export SERVER_IP='your.server.ip' # optional; auto-detected if omitted
bash setup.sh- SSH is hardened to key-based auth only (
PermitRootLogin prohibit-password,PasswordAuthentication no). Make sure your SSH public key is installed on the server before running, or you can lock yourself out. - Store the generated credentials in a password manager.