The most advanced, user-friendly Pterodactyl installer ever created.
Modern • Intelligent • Automated • Beautifulaller (pteroanyinstall)
A comprehensive, interactive installation script for Pterodactyl Panel and Wings that works on any Linux distribution.
- Universal Compatibility: Works on Ubuntu, Debian, CentOS, RHEL, Rocky Linux, and AlmaLinux
- Interactive Installation: Prompts for all necessary information with explanations
- Component Selection: Install Panel, Wings, or both
- GPU Support: Optional NVIDIA GPU support for game servers
- Automatic DNS Verification: Checks DNS records before installation
- SSL/TLS Setup: Automatic Let's Encrypt SSL certificate installation
- Cloudflare Integration: Optional Cloudflare DNS API integration
- Health Monitoring: Built-in service health checks
- Update Management: Easy updates for all components
- Scan & Fix: Automatic detection and repair of common issues
- 🌐 Network Configuration Wizard: Auto-detects WiFi/Ethernet interfaces with visual display
- 📍 Public IP Detection: Automatically detects and confirms your public IP address
- 🔒 Static IP Configuration: Prevents IP changes after reboots (DHCP protection)
- 🎨 Visual Network Diagrams: ASCII art showing how everything connects
- 💬 Explained Prompts: Every question includes an explanation of what it does
- 🔄 Reboot Protection: All services auto-start after server restart
- 💰 Billing System Integration: Automatic PayPal billing setup with customer portal
- 🎭 Panel Customization: Interactive wizard to customize colors, logos, and styling
- 📊 Server Monitoring Tools: htop, iotop, nethogs, vnstat + custom monitor command
- 💾 Automatic Backups: Daily backups with configurable retention
- 🔥 Firewall Auto-Configuration: Automatic UFW/firewalld setup with required ports
- 📋 Installation Flow Diagram: Visual guide of the installation process
- ⚙️ Optional Features Menu: Choose which extras to install
- 🔐 SSL Auto-Renewal Monitoring: Daily certificate expiry checks with auto-renewal
- 🛡️ Fail2ban Security: Automatic brute-force protection for Panel, SSH, and Nginx
- 💾 Scheduled Backups: Automated daily/weekly backups with retention policies
- 📊 Health Dashboard: Real-time system status and resource monitoring
- 🔔 Update Notifications: Automatic checks for Pterodactyl updates
- 🎛️ Visual Management Interface: Full-featured admin dashboard
- ⚡ Service Control: Start/stop/restart all services from one place
- 📈 Resource Monitor: Live CPU, memory, and disk usage
- 📝 Logs Viewer: Easy access to all system and application logs
- 🔒 Security Management: Fail2ban status, SSL monitoring, firewall control
- 💾 Backup Management: Create, restore, and schedule backups
- 🔄 Update Manager: Check and apply updates to all components
- ⚙️ Advanced Configuration: Database, performance, network settings
- 🤖 Local AI with Ollama & Gemma2: Runs entirely on your server, no external APIs
- 🔍 Intelligent Monitoring: AI-powered system health analysis every 5 minutes
- 🔧 Auto-Fix Common Issues: Automatically restarts services, clears cache, cleans logs
- 💬 Interactive Chatbot: Ask questions anytime with
chatbot ask "your question" - ⚡ Lightweight: Gemma2:1b uses only ~1GB RAM (perfect for LLM game server hosting)
- 🎯 Smart Model Selection: Auto-selects optimal model based on your use case
- 🛡️ Proactive Defense: Detects and prevents issues before they become critical
- 📊 Easy Control: Simple
chatbot -enable/-disablecommands
- 🚀 One-Command Installation: Automated setup of Ollama AI server with GPU support
- 🌐 Cloudflare Tunnel Integration: Secure external access via HTTPS
- 💻 Open WebUI Interface: Beautiful ChatGPT-like web interface
- 🎮 GPU Auto-Detection: Automatically uses NVIDIA GPU if available
- 📦 Model Selection: Interactive menu to choose AI models
- 🔒 User Management: Built-in authentication and multi-user support
- ⚙️ Auto-Configuration: Everything configured and ready to use
- 📝 Comprehensive Logging: Track installation and troubleshoot easily
- Fresh Linux installation (Ubuntu 20.04+, Debian 11+, CentOS 8+, Rocky/Alma 8+)
- Root access
- Public IP address
- Domain name with DNS configured
- Minimum 2GB RAM (4GB+ recommended)
- Minimum 10GB disk space
curl -sSL https://raw.githubusercontent.com/SirJBiscuit/automatic-system/main/pteroanyinstall.sh -o pteroanyinstall.sh
chmod +x pteroanyinstall.sh
sudo ./pteroanyinstall.shFor a complete AI chatbot setup with GPU support:
curl -sSL https://raw.githubusercontent.com/SirJBiscuit/automatic-system/main/ollama-setup/install-ollama.sh -o install-ollama.sh
chmod +x install-ollama.sh
./install-ollama.shOr download the full setup script directly:
curl -sSL https://raw.githubusercontent.com/SirJBiscuit/automatic-system/main/ollama-setup/ollama-webui-setup.sh -o ollama-webui-setup.sh
chmod +x ollama-webui-setup.sh
./ollama-webui-setup.shSee ollama-setup/README.md for complete documentation.
sudo ./pteroanyinstall.shsudo ./pteroanyinstall.sh install-panelsudo ./pteroanyinstall.sh install-wingssudo ./pteroanyinstall.sh install-full| Command | Description |
|---|---|
install-panel |
Install Pterodactyl Panel only |
install-wings |
Install Pterodactyl Wings only |
install-full |
Install both Panel and Wings |
update |
Update all Pterodactyl components |
health-check |
Check status of all services |
scan |
Scan and fix existing installation |
help |
Show help message |
The script will:
- Install system dependencies
- Install and configure MariaDB
- Install Redis
- Install PHP 8.1 and required extensions
- Install Composer
- Install and configure Nginx
- Install Certbot for SSL
- Download and configure Pterodactyl Panel
- Create database and user
- Configure environment
- Set up Nginx virtual host
- Generate SSL certificate (optional)
- Create admin user
You will be prompted for:
- Panel FQDN (e.g., panel.example.com) eg Fully Qualified Domain Name
- Public IP address
- Email address
- Admin password
- SSL setup preference
- Cloudflare integration (optional)
The script will:
- Install system dependencies
- Install Docker
- Configure GPU support (optional)
- Download Wings binary
- Prompt for Wings configuration from Panel
- Set up systemd service
- Generate SSL certificate (optional)
You will be prompted for:
- Wings FQDN (e.g., node.example.com)
- Public IP address
- Email address
- GPU support preference
- Node configuration from Panel
Before running the installation, ensure your DNS records are configured:
A panel.example.com -> YOUR_PUBLIC_IP
A node.example.com -> YOUR_PUBLIC_IP
The script will verify DNS records and warn you if they're not configured correctly.
If you have an NVIDIA GPU and want to use it for game servers:
- Ensure NVIDIA drivers are installed on your system
- Answer "yes" when prompted for GPU support
- The script will install nvidia-docker2 and configure Docker
For Cloudflare DNS integration:
- Log in to Cloudflare
- Go to My Profile → API Tokens
- Create a token with
Zone:DNS:Editpermissions - Copy your Zone ID from the domain overview
- Provide these when prompted during installation
After Panel installation, credentials are saved to:
/root/panel_credentials.txt
Important: Save these credentials securely and delete the file after copying.
- Log in to your Panel admin area
- Go to Admin → Locations → Create Location
- Go to Admin → Nodes → Create Node
- Enter the Wings FQDN
- Copy the auto-generated configuration
- Paste it when prompted by the script
- Access your panel at
https://panel.example.com - Log in with admin credentials
- Create a location
- Create a node (if Wings is on a different server)
- Create a server
To update all components:
sudo ./pteroanyinstall.sh updateThis will:
- Update system packages
- Update Pterodactyl Panel
- Update Pterodactyl Wings
- Run health checks
If you encounter issues:
sudo ./pteroanyinstall.sh scanThis will:
- Check Panel installation
- Fix file permissions
- Clear caches
- Verify database connection
- Restart services
- Run health checks
To check service status:
sudo ./pteroanyinstall.sh health-checkcd /var/www/pterodactyl
php artisan config:clear
php artisan cache:clear
chown -R www-data:www-data /var/www/pterodactyl/*systemctl status wings
journalctl -u wings -n 50Check that:
- DNS points to correct IP
- SSL certificate is valid
- Firewall allows ports 8080 and 2022
- Configuration in
/etc/pterodactyl/config.ymlis correct
systemctl status mariadb
mysql -u pterodactyl -p panelEnsure these ports are open:
Panel:
- 80 (HTTP)
- 443 (HTTPS)
Wings:
- 8083 (Wings API)
- 2022 (SFTP)
- 443 (HTTPS)
- Game server ports (varies)
Ubuntu/Debian:
ufw allow 80
ufw allow 443
ufw allow 8080
ufw allow 8081
ufw allow 5050
ufw allow 5051
ufw allow 3000
ufw allow 5002
ufw allow 5001
ufw allow 8083
ufw allow 2022CentOS/RHEL/Rocky/Alma:
firewall-cmd --permanent --add-port=80/tcp
firewall-cmd --permanent --add-port=443/tcp
firewall-cmd --permanent --add-port=8080/tcp
firewall-cmd --permanent --add-port=2022/tcp
firewall-cmd --reload- Change default passwords immediately after installation
- Enable 2FA in Panel settings
- Keep system updated regularly
- Use strong passwords for database and admin accounts
- Restrict SSH access to key-based authentication
- Configure firewall properly
- Regular backups of Panel database and Wings configurations
- Monitor logs for suspicious activity
cd /var/www/pterodactyl
php artisan p:environment:database
mysqldump -u pterodactyl -p panel > panel_backup.sql
tar -czf panel_backup.tar.gz /var/www/pterodactyl /etc/nginx/sites-available/pterodactyl.conftar -czf wings_backup.tar.gz /etc/pterodactyl /var/lib/pterodactylTo remove Pterodactyl:
systemctl stop nginx
rm -rf /var/www/pterodactyl
rm /etc/nginx/sites-enabled/pterodactyl.conf
rm /etc/nginx/sites-available/pterodactyl.conf
mysql -u root -e "DROP DATABASE panel; DROP USER 'pterodactyl'@'127.0.0.1';"systemctl stop wings
systemctl disable wings
rm /etc/systemd/system/wings.service
rm /usr/local/bin/wings
rm -rf /etc/pterodactyl
rm -rf /var/lib/pterodactylFor issues with:
- This script: Open an issue on GitHub
- Pterodactyl: Visit Pterodactyl Discord
- Documentation: Pterodactyl Docs
MIT License - Feel free to modify and distribute
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
- Initial release
- Support for Ubuntu, Debian, CentOS, RHEL, Rocky, AlmaLinux
- Panel and Wings installation
- GPU support
- Cloudflare integration
- Update and health check features
- Scan and fix functionality
- Pterodactyl Software: pterodactyl.io
- Script Author: Jeremiah Payne
This script is provided as-is without warranty. Always review scripts before running them with root privileges. Test in a non-production environment first.