Worker Installation
Install and configure the CapaCloud GPU worker on your machine
Quick Installation
The easiest way to install the GPU worker is using our one-command installer:
curl -s https://capa.cloud/install.sh | sudo bashThis script will automatically install all dependencies and set up the worker service.
What the Installer Does
Checks prerequisites: Verifies NVIDIA GPU and drivers
Installs Docker: Sets up Docker Engine if not already installed
Installs NVIDIA Container Toolkit: Enables GPU access in containers
Downloads worker script: Gets the latest worker software
Installs Python dependencies: Sets up required Python packages
Detects IP address: Automatically detects your machine's public IP
Configures service: Sets up systemd service for auto-start
Starts worker: Launches the worker service
Installation Requirements
Installation Process
Step 1: Run the Installer
curl -s https://capa.cloud/install.sh | sudo bashStep 2: Enter Account ID
When prompted, enter your Account ID. You can find it:
Step 3: Verify IP Address Detection
The installer automatically detects your machine's public IP address. This will be used for SSH connections. Make sure it's correct and accessible from the internet.
Step 4: Verify Installation
After installation, verify the service is running:
sudo systemctl status capa-workerManual Installation
If you prefer to install manually or the automated installer doesn't work, see theTroubleshooting Guide for manual setup instructions.
Verifying Worker Registration
After installation:
- Go to Register GPU
- Your machine should appear in the "Pending Machines" list
- Complete registration to make it available for rent
Worker Management
Checking Status
sudo systemctl status capa-workerViewing Logs
sudo journalctl -u capa-worker -fRestarting Worker
sudo systemctl restart capa-workerUpdating Worker
To update to the latest version:
curl -s https://capa.cloud/update.sh | sudo bashNote: Update will only proceed if you have no active rentals.
Uninstalling Worker
To remove the worker:
curl -s https://capa.cloud/uninstall.sh | sudo bashNote: Uninstall will only proceed if you have no active rentals.
SSH Key Management
Important: You don't need to provide SSH keys during registration. Consumers (renters) use their own SSH keys, which are automatically registered to your machine when they rent it. The worker handles all SSH key management automatically.
Troubleshooting
If you encounter issues during installation:
Quick Checks:
- • Verify NVIDIA drivers:
nvidia-smi - • Check Docker:
sudo systemctl status docker - • Review worker logs for errors