This is the multi-page printable view of this section. .
Installation
Install Piglet Run
This tutorial guides you through installing Piglet Run on a fresh server.
Prerequisites
- OS: Linux (Ubuntu 22.04+, Debian 12+, RHEL 8+, Rocky 8+)
- CPU: 2+ cores recommended
- RAM: 4GB minimum, 8GB+ recommended
- Disk: 40GB+ free space
- Network: Internet access for package download
Quick Install
1. Install Pig CLI
2. Setup Repositories
3. Install Pigsty with Piglet Profile
Step-by-Step Installation
Download and Install Pig
Setup Repositories
Install PostgreSQL and Extensions
Install Pigsty Distribution
Verify Installation
After installation, check status:
Access the services:
| Service | URL |
|---|---|
| Homepage | http://<ip>/ |
| VS Code | http://<ip>/code |
| Jupyter | http://<ip>/jupyter |
| Grafana | http://<ip>/ui |
| PostgreSQL | postgres://<ip>:5432 |
Troubleshooting
Check Logs
Common Issues
| Issue | Solution |
|---|---|
| Repository error | pig repo set -u to refresh |
| Package conflict | pig repo rm then pig repo set |
| Permission denied | Run with sudo or as root |
Next Steps
- Continue with Quick Start
- Learn about VS Code