Installation
This guide walks you through installing Nixopus on your VPS. The installation process downloads the Nixopus CLI and uses it to set up all required services including Docker, PostgreSQL, Redis, and Caddy.
Requirements
Before installing, ensure your server meets these requirements:
| Requirement | Minimum | Recommended |
|---|---|---|
| Operating System | Ubuntu 20.04+, Debian 11+ | Ubuntu 22.04+ |
| CPU | 2 cores | 4+ cores |
| RAM | 2 GB | 4+ GB |
| Storage | 5 GB free | 10+ GB free |
| Access | Root or sudo privileges | |
| Ports | 80, 443, 8443, 7443 available | |
| Network | Internet connection | Stable connection |
Quick Installation
Run this single command to install Nixopus:
curl -sSL https://install.nixopus.com | bashThis command performs the following steps:
- Detects your system architecture (amd64, arm64) and operating system
- Downloads the appropriate Nixopus CLI binary
- Installs the CLI to
/usr/local/bin/nixopus - Runs
nixopus installto set up all services
Generate Installation Command
Use the interactive generator below to customize your installation with domains, IP addresses, and other options.
Your Install Command
sudo curl -sSL https://install.nixopus.com | bashNetwork
Domain & IP configurationDatabase
Database configurationInstallation Examples
curl -sSL https://install.nixopus.com | bashcurl -sSL https://install.nixopus.com | bash -s -- --host-ip 10.0.0.154sudo nixopus install \
--api-domain api.example.com \
--view-domain app.example.com \
--verbosecurl -sSL https://install.nixopus.com | bash -s -- --skip-nixopus-installDomain Installation
When using domains, ensure your DNS records point to your server before running the install command. Caddy will automatically obtain SSL certificates.
Accessing Nixopus
After installation completes, open your browser and navigate to:
Dashboard: http://YOUR_IP:80
API: http://YOUR_IP:8443Dashboard: https://your-view-domain.com
API: https://your-api-domain.comOn first access, you will be prompted to create an admin account.
Troubleshooting
Installation Fails
Run with verbose mode to see detailed errors:
sudo nixopus install --verboseCheck that required ports are not in use:
sudo lsof -i :80 -i :443 -i :8443 -i :7443Verify Docker is installed and running:
docker --version
docker psPermission Errors
Ensure you're using sudo:
sudo nixopus installOr run as root:
su -
nixopus installPort Conflicts
If ports are already in use, stop the conflicting services or configure Nixopus to use different ports by editing the configuration file at /etc/nixopus/source/helpers/config.prod.yaml.
DNS Issues
For domain based installations, verify your DNS records resolve correctly:
dig +short api.example.com
dig +short app.example.comBoth should return your server's IP address.
Getting Help
If you continue to experience issues, create an issue on GitHub with your operating system version, installation command, and complete error output.
Next Steps
After installation, you can: