Pterodactyl गेम सर्वर (Minecraft, FiveM आदि) प्रबंधन के लिए मुफ़्त ओपन-सोर्स पैनल है। यह गाइड स्वचालित स्क्रिप्ट से Panel + Wings इंस्टॉलेशन बताती है।
📋 पूर्वापेक्षाएँ
- root एक्सेस VPS, न्यूनतम 1 GB RAM (2 GB अनुशंसित)
- Ubuntu 22.04/24.04, Debian 11/12/13, Rocky/AlmaLinux 8/9
- डोमेन (वैकल्पिक), पोर्ट 80, 443, 2022, 8080 खुले (UFW)
महत्वपूर्ण: स्वच्छ सर्वर पर इंस्टॉल करें — टकराव से बचें।
💡 इन्फ्रास्ट्रक्चर
गेम सर्वर: VPS High Performance अनुशंसित।
🚀 Panel इंस्टॉलेशन
सर्वर तैयारी
Bash1# Update the system 2sudo apt update && sudo apt upgrade -y 3 4# Install curl if necessary 5sudo apt install curl -y 6 7# Verify that you are root or use sudo 8whoami
स्क्रिप्ट चलाएँ
Bash# Launch the Pterodactyl installation script bash <(curl -s https://pterodactyl-installer.se)
विकल्प:
- केवल Panel
- केवल Wings
- पूर्ण इंस्टॉल (Panel + Wings)
स्क्रिप्ट PHP, MySQL, Nginx, SSL (Let's Encrypt) स्वचालित कॉन्फ़िगर करती है।
⚙️ Panel कॉन्फ़िगरेशन
- एडमिन खाता बनाएँ (ईमेल + मज़बूत पासवर्ड)
- डेटाबेस क्रेडेंशियल नोट करें
- डोमेन कॉन्फ़िगर करें
Bash1# If you configured a domain 2https://your-domain.com 3 4# If you don't have a domain 5http://YOUR_SERVER_IP
🛠️ Wings (Daemon)
Wings Docker कंटेनर चलाता है। Panel से API key और FQDN लें:
Bash1 # Edit the Wings configuration file 2 sudo nano /etc/pterodactyl/config.yml 3 4 # Paste the API key and FQDN from the Panel 5 # Save and quit (Ctrl+X, then Y, then Enter)
Bash1 # Start the Wings service 2 sudo systemctl start wings 3 4 # Enable Wings on boot 5 sudo systemctl enable wings 6 7 # Verify status 8 sudo systemctl status wings
🔧 फ़ायरवॉल (UFW)
Bash1# Allow ports for Pterodactyl Panel 2sudo ufw allow 80/tcp 3sudo ufw allow 443/tcp 4 5# Allow Wings port (default 8080) 6sudo ufw allow 8080/tcp 7 8# Allow Wings SFTP port (default 2022) 9sudo ufw allow 2022/tcp 10 11# Verify rules 12sudo ufw status
📝 इंस्टॉलेशन के बाद
Bash1# Verify that the Panel works 2curl -I http://localhost 3 4# Verify that Wings works 5sudo systemctl status wings 6 7# Check Wings logs 8sudo journalctl -u wings -f
अपडेट: स्क्रिप्ट पुनः चलाएँ — अपडेट विकल्प दिखेगा।
Bash1# Restart Wings 2sudo systemctl restart wings 3 4# View logs in real-time 5sudo journalctl -u wings -f
🎮 पहला सर्वर
Panel में: Users → New User → Create a new server → egg चुनें (Minecraft…) → संसाधन सेट करें → Start।
🆘 समस्या निवारण
Panel नहीं दिखता:
Bash1# Verify that Nginx works 2sudo systemctl status nginx 3 4# Check Nginx logs 5sudo tail -f /var/log/nginx/error.log 6 7# Restart Nginx 8sudo systemctl restart nginx 9 10# Verify Nginx configuration 11sudo nginx -t
Wings शुरू नहीं:
Bash1# Check Wings logs 2sudo journalctl -u wings -n 50 3 4# Verify configuration syntax 5sudo wings --debug 6 7# Verify that port 8080 is free 8sudo netstat -tlnp | grep 8080
📚 अतिरिक्त संसाधन
❓ अक्सर पूछे जाने वाले प्रश्न
प्र: Panel और Wings अलग सर्वर पर?
उ: हाँ, बड़े डिप्लॉयमेंट के लिए अनुशंसित।
प्र: डोमेन बिना?
उ: IP से संभव, लेकिन SSL के लिए डोमेन अनुशंसित।
प्र: Docker स्वचालित इंस्टॉल?
उ: हाँ, Wings के लिए स्क्रिप्ट Docker + Compose इंस्टॉल करती है।
सफल गेम सर्वर! 🎮