{"id":795,"date":"2025-01-12T18:53:42","date_gmt":"2025-01-12T18:53:42","guid":{"rendered":"https:\/\/gratisvps.net\/blog\/?p=795"},"modified":"2025-01-12T18:53:42","modified_gmt":"2025-01-12T18:53:42","slug":"how-to-install-and-fully-configure-pterodactyl-on-your-vps","status":"publish","type":"post","link":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/","title":{"rendered":"How to Install and Fully Configure Pterodactyl on Your VPS"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#How_to_Install_and_Fully_Configure_Pterodactyl_on_Your_VPS_A_Complete_Guide\" >How to Install and Fully Configure Pterodactyl on Your VPS: A Complete Guide<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#1_Introduction\" >1. Introduction<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#2_Prerequisites\" >2. Prerequisites<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#VPS_Requirements\" >VPS Requirements<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#Domain_Name\" >Domain Name<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#3_Setting_Up_Your_VPS_%E2%80%93_How_to_Install_and_Fully_Configure_Pterodactyl_on_Your_VPS\" >3. Setting Up Your VPS &#8211; How to Install and Fully Configure Pterodactyl on Your VPS<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#Choosing_the_Operating_System\" >Choosing the Operating System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#Install_Required_Packages\" >Install Required Packages<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#4_Installing_Docker\" >4. Installing Docker<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#5_Installing_Pterodactyl_Panel\" >5. Installing Pterodactyl Panel<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#Downloading_the_Panel\" >Downloading the Panel<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#Configuring_Environment_Variables_%E2%80%93_Install_Pterodactyl\" >Configuring Environment Variables &#8211; Install Pterodactyl<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#Running_the_Installation_Script\" >Running the Installation Script<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#6_Setting_Up_Pterodactyl_Wings_Daemon\" >6. Setting Up Pterodactyl Wings (Daemon)<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#Downloading_and_Configuring_Wings\" >Downloading and Configuring Wings<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#Running_Wings_as_a_Service\" >Running Wings as a Service<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#7_Configuring_the_Database\" >7. Configuring the Database<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#8_Setting_Up_the_Web_Server\" >8. Setting Up the Web Server<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#Nginx_Configuration\" >Nginx Configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#SSL_Configuration_with_Lets_Encrypt\" >SSL Configuration with Let&#8217;s Encrypt<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#9_Adding_Game_Servers\" >9. Adding Game Servers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#10_Securing_Your_Installation\" >10. Securing Your Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#11_Testing_Your_Setup\" >11. Testing Your Setup<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#12_Troubleshooting_Common_Issues\" >12. Troubleshooting Common Issues<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#13_Conclusion\" >13. Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#14_FAQ\" >14. FAQ<\/a><\/li><\/ul><\/nav><\/div>\n<h3 id=\"title-how-to-install-and-fully-configure-pterodactyl-on-your-vps-a-complete-guide\"><span class=\"ez-toc-section\" id=\"How_to_Install_and_Fully_Configure_Pterodactyl_on_Your_VPS_A_Complete_Guide\"><\/span>How to Install and Fully Configure Pterodactyl on Your VPS: A Complete Guide<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<hr \/>\n\n<hr \/>\n<h3 id=\"1-introduction\"><span class=\"ez-toc-section\" id=\"1_Introduction\"><\/span>1. Introduction<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Pterodactyl is a powerful game server management panel that allows you to manage multiple game servers easily. Setting it up on a VPS provides a flexible and cost-effective way to deploy and manage game servers. This guide covers everything you need to know to install and configure <a href=\"https:\/\/pterodactyl.io\/\">Pterodactyl<\/a> on your VPS.<\/p>\n<h3 id=\"2-prerequisites\"><span class=\"ez-toc-section\" id=\"2_Prerequisites\"><\/span>2. Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4 id=\"vps-requirements\"><span class=\"ez-toc-section\" id=\"VPS_Requirements\"><\/span>VPS Requirements<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li><strong>CPU<\/strong>: At least 1 core (2 or more recommended)<\/li>\n<li><strong>RAM<\/strong>: Minimum 1 GB (2 GB or more for better performance)<\/li>\n<li><strong>Storage<\/strong>: SSD recommended for faster read\/write speeds<\/li>\n<\/ul>\n<h4 id=\"domain-name\"><span class=\"ez-toc-section\" id=\"Domain_Name\"><\/span>Domain Name<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>A domain name is required for accessing the Pterodactyl panel. You can purchase a domain or use a subdomain pointing to your VPS IP address.<\/p>\n<h3 id=\"3-setting-up-your-vps\"><span class=\"ez-toc-section\" id=\"3_Setting_Up_Your_VPS_%E2%80%93_How_to_Install_and_Fully_Configure_Pterodactyl_on_Your_VPS\"><\/span>3. Setting Up Your VPS &#8211; How to Install and Fully Configure Pterodactyl on Your VPS<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4 id=\"choosing-the-operating-system\"><span class=\"ez-toc-section\" id=\"Choosing_the_Operating_System\"><\/span>Choosing the Operating System<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Pterodactyl supports Ubuntu 20.04 or Debian 10. This guide will focus on installing it on <a href=\"https:\/\/gratisvps.net\/blog\/installing-the-lamp-stack-on-ubuntu-vps\/\">Ubuntu<\/a> 20.04.<\/p>\n<p><strong>Step 1:<\/strong>\u00a0Log in to your VPS via SSH:\u00a0<code>bash ssh username@your_vps_ip<\/code><\/p>\n<h4 id=\"install-required-packages\"><span class=\"ez-toc-section\" id=\"Install_Required_Packages\"><\/span>Install Required Packages<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"lang-bash hljs language-bash\">sudo apt update &amp;&amp; sudo apt upgrade -y  \r\nsudo apt install software-properties-common curl wget -y<\/code><\/pre>\n<h3 id=\"4-installing-docker\"><span class=\"ez-toc-section\" id=\"4_Installing_Docker\"><\/span>4. Installing Docker<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Pterodactyl uses Docker to run game servers.<\/p>\n<p><strong>Step 1:<\/strong>\u00a0Install Docker:\u00a0<code>bash curl -fsSL https:\/\/get.docker.com -o get-docker.sh sh get-docker.sh<br \/>\n<\/code><strong>Step 2:<\/strong>\u00a0Add your user to the Docker group:\u00a0<code>bash sudo usermod -aG docker $USER<\/code><br \/>\n<strong>Step 3:<\/strong>\u00a0Log out and back in to apply the group changes.<\/p>\n<h3 id=\"5-installing-pterodactyl-panel\"><span class=\"ez-toc-section\" id=\"5_Installing_Pterodactyl_Panel\"><\/span>5. Installing Pterodactyl Panel<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4 id=\"downloading-the-panel\"><span class=\"ez-toc-section\" id=\"Downloading_the_Panel\"><\/span>Downloading the Panel<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><strong>Step 1:<\/strong>\u00a0Install required PHP extensions:\u00a0<code>bash sudo apt install php php-fpm php-mysql php-mbstring php-xml php-curl php-zip php-gd -y<\/code><\/p>\n<p><strong>Step 2:<\/strong>\u00a0Download Pterodactyl Panel:\u00a0<code>bash cd \/var\/www curl -Lo pterodactyl.zip https:\/\/github.com\/pterodactyl\/panel\/archive\/refs\/heads\/master.zip unzip pterodactyl.zip mv panel-master pterodactyl cd pterodactyl<\/code><\/p>\n<h4 id=\"configuring-environment-variables\"><span class=\"ez-toc-section\" id=\"Configuring_Environment_Variables_%E2%80%93_Install_Pterodactyl\"><\/span>Configuring Environment Variables &#8211; Install Pterodactyl<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><strong>Step 1:<\/strong>\u00a0Copy the example environment file:\u00a0<code>bash cp .env.example .env<\/code><\/p>\n<p><strong>Step 2:<\/strong>\u00a0Edit the\u00a0<code>.env<\/code>\u00a0file with your preferred text editor:\u00a0<code>bash nano .env<\/code>\u00a0Set your database connection details and other preferences.<\/p>\n<h4 id=\"running-the-installation-script\"><span class=\"ez-toc-section\" id=\"Running_the_Installation_Script\"><\/span>Running the Installation Script<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><strong>Step 1:<\/strong>\u00a0Install Composer:\u00a0<code>bash curl -sS https:\/\/getcomposer.org\/installer | php sudo mv composer.phar \/usr\/local\/bin\/composer<\/code><\/p>\n<p><strong>Step 2:<\/strong>\u00a0Install dependencies:\u00a0<code>bash composer install --no-dev<\/code><\/p>\n<p><strong>Step 3:<\/strong>\u00a0Generate the application key:\u00a0<code>bash php artisan key:generate<\/code><\/p>\n<p><strong>Step 4:<\/strong>\u00a0Run the database migrations:\u00a0<code>bash php artisan migrate --seed<\/code><\/p>\n<h3 id=\"6-setting-up-pterodactyl-wings-daemon\"><span class=\"ez-toc-section\" id=\"6_Setting_Up_Pterodactyl_Wings_Daemon\"><\/span>6. Setting Up Pterodactyl Wings (Daemon)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The Wings daemon manages the communication between the panel and the game servers.<\/p>\n<h4 id=\"downloading-and-configuring-wings\"><span class=\"ez-toc-section\" id=\"Downloading_and_Configuring_Wings\"><\/span>Downloading and Configuring Wings<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><strong>Step 1:<\/strong>\u00a0Download Wings:\u00a0<code>bash cd \/var mkdir wings cd wings curl -Lo wings.tar.gz https:\/\/github.com\/pterodactyl\/wings\/releases\/latest\/download\/wings-linux-amd64.tar.gz tar -xvzf wings.tar.gz<\/code><\/p>\n<p><strong>Step 2:<\/strong>\u00a0Create the Wings configuration file:\u00a0<code>bash cp wings.config.yml.example wings.config.yml nano wings.config.yml<\/code>\u00a0Set the panel configuration and the database connection details.<\/p>\n<h4 id=\"running-wings-as-a-service\"><span class=\"ez-toc-section\" id=\"Running_Wings_as_a_Service\"><\/span>Running Wings as a Service<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><strong>Step 1:<\/strong>\u00a0Create a systemd service file:\u00a0<code>bash sudo nano \/etc\/systemd\/system\/wings.service<\/code><\/p>\n<p><strong>Step 2:<\/strong>\u00a0Add the following contents: &#8220;`ini<br \/>\n[Unit] Description=Pterodactyl Wings Daemon<br \/>\nAfter=network.target<\/p>\n<p>[Service] User=root<br \/>\nWorkingDirectory=\/var\/wings<br \/>\nExecStart=\/var\/wings\/wings<br \/>\nRestart=always<\/p>\n<p>[Install] WantedBy=multi-user.target<br \/>\n&#8220;`<\/p>\n<p><strong>Step 3:<\/strong>\u00a0Start and enable the Wings service:\u00a0<code>bash sudo systemctl start wings sudo systemctl enable wings<\/code><\/p>\n<h3 id=\"7-configuring-the-database\"><span class=\"ez-toc-section\" id=\"7_Configuring_the_Database\"><\/span>7. Configuring the Database<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Set up a MySQL database for Pterodactyl:<\/p>\n<p><strong>Step 1:<\/strong>\u00a0Install MySQL:\u00a0<code>bash sudo apt install mysql-server -y<\/code><\/p>\n<p><strong>Step 2:<\/strong>\u00a0Secure your MySQL installation:\u00a0<code>bash sudo mysql_secure_installation<\/code><\/p>\n<p><strong>Step 3:<\/strong>\u00a0Create a database and user for Pterodactyl:\u00a0<code>sql CREATE DATABASE pterodactyl; CREATE USER 'ptero'@'localhost' IDENTIFIED BY 'your_password'; GRANT ALL PRIVILEGES ON pterodactyl.* TO 'ptero'@'localhost'; FLUSH PRIVILEGES;<\/code><\/p>\n<h3 id=\"8-setting-up-the-web-server\"><span class=\"ez-toc-section\" id=\"8_Setting_Up_the_Web_Server\"><\/span>8. Setting Up the Web Server<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4 id=\"nginx-configuration\"><span class=\"ez-toc-section\" id=\"Nginx_Configuration\"><\/span>Nginx Configuration<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><strong>Step 1:<\/strong>\u00a0Install Nginx:\u00a0<code>bash sudo apt install nginx -y<\/code><\/p>\n<p><strong>Step 2:<\/strong>\u00a0Create a new Nginx configuration file:\u00a0<code>bash sudo nano \/etc\/nginx\/sites-available\/pterodactyl<\/code><\/p>\n<p><strong>Step 3:<\/strong>\u00a0Add the following configuration: &#8220;`nginx<br \/>\nserver { listen 80; server_name your_domain.com;<\/p>\n<pre><code class=\"hljs language-perl\">root \/var\/www\/pterodactyl\/public;\r\n\r\n<span class=\"hljs-keyword\">index<\/span> index.php index.html index.htm;\r\n\r\nlocation \/ {\r\n    try_files $uri $uri\/ @rewrite;\r\n}\r\n\r\nlocation @rewrite {\r\n    rewrite ^ <span class=\"hljs-regexp\">\/index.php?$args;\r\n}\r\n\r\nlocation ~ \\.php$ {\r\n    include snippets\/<\/span>fastcgi-php.conf;\r\n    fastcgi_pass unix:<span class=\"hljs-regexp\">\/var\/run<\/span><span class=\"hljs-regexp\">\/php\/p<\/span>hp7.<span class=\"hljs-number\">4<\/span>-fpm.sock;\r\n    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\r\n    include fastcgi_params;\r\n}\r\n\r\nlocation ~ \/\\.ht {\r\n    deny all;\r\n}<\/code><\/pre>\n<p>} &#8220;`<\/p>\n<p><strong>Step 4:<\/strong>\u00a0Enable the configuration:\u00a0<code>bash sudo ln -s \/etc\/nginx\/sites-available\/pterodactyl \/etc\/nginx\/sites-enabled\/<\/code><\/p>\n<p><strong>Step 5:<\/strong>\u00a0Test the Nginx configuration:\u00a0<code>bash sudo nginx -t<\/code><\/p>\n<p><strong>Step 6:<\/strong>\u00a0Restart Nginx:\u00a0<code>bash sudo systemctl restart nginx<\/code><\/p>\n<h4 id=\"ssl-configuration-with-lets-encrypt\"><span class=\"ez-toc-section\" id=\"SSL_Configuration_with_Lets_Encrypt\"><\/span>SSL Configuration with Let&#8217;s Encrypt<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><strong>Step 1:<\/strong>\u00a0Install Certbot:\u00a0<code>bash sudo apt install certbot python3-certbot-nginx -y<\/code><\/p>\n<p><strong>Step 2:<\/strong>\u00a0Obtain a certificate:\u00a0<code>bash sudo certbot --nginx -d your_domain.com<\/code><\/p>\n<h3 id=\"9-adding-game-servers\"><span class=\"ez-toc-section\" id=\"9_Adding_Game_Servers\"><\/span>9. Adding Game Servers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To add game servers Install Pterodactyl, you can use Docker images available on Docker Hub for popular games like Minecraft, Rust, and others.<\/p>\n<h3 id=\"10-securing-your-installation\"><span class=\"ez-toc-section\" id=\"10_Securing_Your_Installation\"><\/span>10. Securing Your Installation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Regularly update your VPS and packages.<\/li>\n<li>Use strong passwords for MySQL and your Pterodactyl user.<\/li>\n<\/ul>\n<h3 id=\"11-testing-your-setup\"><span class=\"ez-toc-section\" id=\"11_Testing_Your_Setup\"><\/span>11. Testing Your Setup<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Visit your domain in a web browser to access the Pterodactyl panel. Log in with your credentials and ensure everything is functioning correctly.<\/p>\n<h3 id=\"12-troubleshooting-common-issues\"><span class=\"ez-toc-section\" id=\"12_Troubleshooting_Common_Issues\"><\/span>12. Troubleshooting Common Issues<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Issue:<\/strong>\u00a0500 Internal Server Error\n<ul>\n<li><strong>Solution:<\/strong>\u00a0Check Nginx configurations and ensure the correct PHP version is installed.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 id=\"13-conclusion\"><span class=\"ez-toc-section\" id=\"13_Conclusion\"><\/span>13. Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Installing and configuring Pterodactyl on your VPS allows you to manage game servers efficiently. With the steps outlined in this guide, you should have a fully operational game server management panel.<\/p>\n<hr \/>\n<h3 id=\"14-faq\"><span class=\"ez-toc-section\" id=\"14_FAQ\"><\/span>14. FAQ<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>Q1: What games can I manage with Pterodactyl?<\/strong><br \/>\nA: Pterodactyl supports various games such as Minecraft, CS:GO, Rust, and ARK: Survival Evolved.<\/p>\n<p><strong>Q2: Can I use Pterodactyl for free?<\/strong><br \/>\nA: Yes, Pterodactyl is open-source and free to use.<\/p>\n<p><strong>Q3: How do I back up my Pterodactyl installation?<\/strong><br \/>\nA: Regularly back up your database and the\u00a0<code>\/var\/www\/pterodactyl<\/code>\u00a0directory.<\/p>\n<p><strong>Q4: Is a dedicated IP address required for Pterodactyl?<\/strong><br \/>\nA: No, but having a dedicated IP can improve performance and reliability.<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Install and Fully Configure Pterodactyl on Your VPS: A Complete Guide 1. Introduction Pterodactyl is a powerful game [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":796,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[141,233,215,128],"tags":[234,54],"class_list":["post-795","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-game-servers","category-pterodactyl","category-tutorial","category-vps","tag-install-pterodactyl","tag-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v28.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install and Fully Configure Pterodactyl on Your VPS<\/title>\n<meta name=\"description\" content=\"How to install Pterodactyl is a powerful game server management panel that allows you to manage multiple game servers easily.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install and Fully Configure Pterodactyl on Your VPS\" \/>\n<meta property=\"og:description\" content=\"How to install Pterodactyl is a powerful game server management panel that allows you to manage multiple game servers easily.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"Free VPS Hosting Guides\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-12T18:53:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/gratisvps.net\/blog\/wp-content\/uploads\/2025\/01\/Pterodactyl-Installing.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"832\" \/>\n\t<meta property=\"og:image:height\" content=\"448\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"ariete\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ariete\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\\\/\"},\"author\":{\"name\":\"ariete\",\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/#\\\/schema\\\/person\\\/cddcf8cb5192d0713c19b79425c77fc4\"},\"headline\":\"How to Install and Fully Configure Pterodactyl on Your VPS\",\"datePublished\":\"2025-01-12T18:53:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\\\/\"},\"wordCount\":639,\"publisher\":{\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/Pterodactyl-Installing.jpg\",\"keywords\":[\"Install Pterodactyl\",\"vps\"],\"articleSection\":[\"Game Servers\",\"Pterodactyl\",\"Tutorial\",\"VPS\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\\\/\",\"url\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\\\/\",\"name\":\"How to Install and Fully Configure Pterodactyl on Your VPS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/Pterodactyl-Installing.jpg\",\"datePublished\":\"2025-01-12T18:53:42+00:00\",\"description\":\"How to install Pterodactyl is a powerful game server management panel that allows you to manage multiple game servers easily.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gratisvps.net\\\/blog\\\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/Pterodactyl-Installing.jpg\",\"contentUrl\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/Pterodactyl-Installing.jpg\",\"width\":832,\"height\":448,\"caption\":\"Pterodactyl-Installing\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install and Fully Configure Pterodactyl on Your VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/\",\"name\":\"Gratisvps.net | Blog Daily Tech Info\",\"description\":\"GratisVPS.NET\",\"publisher\":{\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/#organization\",\"name\":\"Gratisvps.net | Blog Daily Tech Info\",\"url\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/logo.png\",\"width\":250,\"height\":67,\"caption\":\"Gratisvps.net | Blog Daily Tech Info\"},\"image\":{\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/#\\\/schema\\\/person\\\/cddcf8cb5192d0713c19b79425c77fc4\",\"name\":\"ariete\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b93881052caa63fd6b2fb5468a80afcf9f985a165c6d4de11a72cc4c0775f74a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b93881052caa63fd6b2fb5468a80afcf9f985a165c6d4de11a72cc4c0775f74a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b93881052caa63fd6b2fb5468a80afcf9f985a165c6d4de11a72cc4c0775f74a?s=96&d=mm&r=g\",\"caption\":\"ariete\"},\"sameAs\":[\"https:\\\/\\\/gratisvps.net\\\/blog\"],\"url\":\"https:\\\/\\\/gratisvps.net\\\/blog\\\/author\\\/ariete\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install and Fully Configure Pterodactyl on Your VPS","description":"How to install Pterodactyl is a powerful game server management panel that allows you to manage multiple game servers easily.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and Fully Configure Pterodactyl on Your VPS","og_description":"How to install Pterodactyl is a powerful game server management panel that allows you to manage multiple game servers easily.","og_url":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/","og_site_name":"Free VPS Hosting Guides","article_published_time":"2025-01-12T18:53:42+00:00","og_image":[{"width":832,"height":448,"url":"https:\/\/gratisvps.net\/blog\/wp-content\/uploads\/2025\/01\/Pterodactyl-Installing.jpg","type":"image\/jpeg"}],"author":"ariete","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ariete","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#article","isPartOf":{"@id":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/"},"author":{"name":"ariete","@id":"https:\/\/gratisvps.net\/blog\/#\/schema\/person\/cddcf8cb5192d0713c19b79425c77fc4"},"headline":"How to Install and Fully Configure Pterodactyl on Your VPS","datePublished":"2025-01-12T18:53:42+00:00","mainEntityOfPage":{"@id":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/"},"wordCount":639,"publisher":{"@id":"https:\/\/gratisvps.net\/blog\/#organization"},"image":{"@id":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/gratisvps.net\/blog\/wp-content\/uploads\/2025\/01\/Pterodactyl-Installing.jpg","keywords":["Install Pterodactyl","vps"],"articleSection":["Game Servers","Pterodactyl","Tutorial","VPS"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/","url":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/","name":"How to Install and Fully Configure Pterodactyl on Your VPS","isPartOf":{"@id":"https:\/\/gratisvps.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#primaryimage"},"image":{"@id":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/gratisvps.net\/blog\/wp-content\/uploads\/2025\/01\/Pterodactyl-Installing.jpg","datePublished":"2025-01-12T18:53:42+00:00","description":"How to install Pterodactyl is a powerful game server management panel that allows you to manage multiple game servers easily.","breadcrumb":{"@id":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#primaryimage","url":"https:\/\/gratisvps.net\/blog\/wp-content\/uploads\/2025\/01\/Pterodactyl-Installing.jpg","contentUrl":"https:\/\/gratisvps.net\/blog\/wp-content\/uploads\/2025\/01\/Pterodactyl-Installing.jpg","width":832,"height":448,"caption":"Pterodactyl-Installing"},{"@type":"BreadcrumbList","@id":"https:\/\/gratisvps.net\/blog\/how-to-install-and-fully-configure-pterodactyl-on-your-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gratisvps.net\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install and Fully Configure Pterodactyl on Your VPS"}]},{"@type":"WebSite","@id":"https:\/\/gratisvps.net\/blog\/#website","url":"https:\/\/gratisvps.net\/blog\/","name":"Gratisvps.net | Blog Daily Tech Info","description":"GratisVPS.NET","publisher":{"@id":"https:\/\/gratisvps.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gratisvps.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/gratisvps.net\/blog\/#organization","name":"Gratisvps.net | Blog Daily Tech Info","url":"https:\/\/gratisvps.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gratisvps.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/gratisvps.net\/blog\/wp-content\/uploads\/2024\/10\/logo.png","contentUrl":"https:\/\/gratisvps.net\/blog\/wp-content\/uploads\/2024\/10\/logo.png","width":250,"height":67,"caption":"Gratisvps.net | Blog Daily Tech Info"},"image":{"@id":"https:\/\/gratisvps.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/gratisvps.net\/blog\/#\/schema\/person\/cddcf8cb5192d0713c19b79425c77fc4","name":"ariete","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b93881052caa63fd6b2fb5468a80afcf9f985a165c6d4de11a72cc4c0775f74a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b93881052caa63fd6b2fb5468a80afcf9f985a165c6d4de11a72cc4c0775f74a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b93881052caa63fd6b2fb5468a80afcf9f985a165c6d4de11a72cc4c0775f74a?s=96&d=mm&r=g","caption":"ariete"},"sameAs":["https:\/\/gratisvps.net\/blog"],"url":"https:\/\/gratisvps.net\/blog\/author\/ariete\/"}]}},"_links":{"self":[{"href":"https:\/\/gratisvps.net\/blog\/wp-json\/wp\/v2\/posts\/795","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gratisvps.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gratisvps.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gratisvps.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gratisvps.net\/blog\/wp-json\/wp\/v2\/comments?post=795"}],"version-history":[{"count":2,"href":"https:\/\/gratisvps.net\/blog\/wp-json\/wp\/v2\/posts\/795\/revisions"}],"predecessor-version":[{"id":798,"href":"https:\/\/gratisvps.net\/blog\/wp-json\/wp\/v2\/posts\/795\/revisions\/798"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gratisvps.net\/blog\/wp-json\/wp\/v2\/media\/796"}],"wp:attachment":[{"href":"https:\/\/gratisvps.net\/blog\/wp-json\/wp\/v2\/media?parent=795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gratisvps.net\/blog\/wp-json\/wp\/v2\/categories?post=795"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gratisvps.net\/blog\/wp-json\/wp\/v2\/tags?post=795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}