14-Day Money Back Guarantee on Cloud Solutions + 1H/mo extra Managed Support

14-Day Money Back Guarantee on Cloud + 1H/mo extra Managed Support

Build Pterodactyl Panel Assets on Ubuntu or Centos

Building a pterodactyl panel is important because it helps to install or update themes, scripts, or addons of the pterodactyl panel. After reading this tutorial, you will understand how to build pterodactyl panel assets on ubuntu or centos.

The Pterodactyl panel doesn’t update the code when you modify the files related to coding, In order to update it compilation is required. To make changes in the panel because the front end of the panel is built with React. The panel build dependencies can be installed through yarn. After the dependencies are installed, The production of the panel can easily be built using yarn.

You can use yarn to view the progress of the changes done to you in real-time. To make the development easier, please use the command: yarn run watch

After the compilation, the panel can be bugged because of the wrong modification in source files so always make a backup of the panel before modifying the source files or making changes to the source files.

The Operating System Ubuntu 20.04 we using for the tutorial is running on VPS, but we give instructions for the CENTOS users also. if you don’t own any server, check out server package prices here or test our free 2H VPS trial here.

 
  • R9-VPS-KVM-S
  • 2.99

    First Month

  • Recurring Price $3.99/mo
  • CPU AMD RYZEN 9 5950X 4.9GHz
  • CORE 1 Core
  • RAM 2 GB DDR4
  • TECHNOLOGY KVM
  • INSTANT DEPLOYMENT YES
  • STORAGE 25 GB SSD NVME M.2
  • NETWORK 1GB/s (shared)
  • R9-VPS-KVM-S+
  • 3.75

    First Month

  • Recurring Price $4.99/mo
  • CPU AMD RYZEN 9 5950X 4.9GHz
  • CORE 1 Core
  • RAM 2 GB DDR4
  • TECHNOLOGY KVM
  • INSTANT DEPLOYMENT YES
  • STORAGE 30 GB SSD NVME M.2
  • NETWORK 1GB/s (shared)
  • R9-VPS-KVM-S++
  • 7.49

    First Month

  • Recurring Price $9.99/mo
  • CPU AMD RYZEN 9 5950X 4.9GHz
  • CORE 2 Core
  • RAM 4 GB DDR4
  • TECHNOLOGY KVM
  • INSTANT DEPLOYMENT YES
  • STORAGE 35 GB SSD NVME M.2
  • NETWORK 1GB/s (shared)

  •  

    Build Pterodactyl Panel Assets Guideline

     

    Basic Requirements

     
    • Root Server
    • Install Ubuntu/Centos OS
    • Pterodactyl Panel must already be installed

    Connect to the server using Putty and type the following commands;

     
    Build Pterodactyl Panel Assets on Ubuntu or Centos
     

    Using Ubuntu or Centos

     
    Paste the following commands on SSH Terminal after you successfully logged in to the root.

    First of all, you have to install NodeJS on your server where the game panel is installed

    The following command will download NodeJS 14 package from the official website and install it with yarn also.

    For Ubuntu/Debian:

     
    curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
    apt install -y nodejs
     

    For CentOS

     
    curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash -
    sudo yum install -y nodejs yarn # CentOS 7
    sudo dnf install -y nodejs yarn # CentOS 8
     

    Now install Yarn using NPM globally

     
    npm i -g yarn 
     

    Now Install Panel build dependencies

     
    yarn
     

    Now it’s time to build the panel

     
    cd /var/www/pterodactyl
    yarn build:production # Build panel
     

    Let us know in the comments if you face any trouble!

     
    Follow and like us:

    About US

    Welcome to the Space Hosting Blog

    Stay updated with the latest news from the Top Tier Leading European cloud provider. Explore technical insights from our engineers, interviews with satisfied customers, and our posts on the digital revolution.

    How to Flush Hosts in MySQL?

    Learn the importance "FLUSH HOSTS" command in MySQL and the method of how to flush hosts in MySQL. This guide provides a comprehensive understanding of the process, walking you through when to use it, its implications, and detailed steps to execute the command...

    Icarus Dedicated Server Guide For the Beginners

    Navigate through the vast terrain of Icarus dedicated server guide to setting up your dedicated server. From choosing the server type, managing backups, and understanding technical requirements, to detailed steps on installing and configuring your server - we offer a...

    How to run your own Ark Dedicated Server

    To run your own Ark dedicated server may appear daunting, but this guide demystifies the process. From the initial setup to managing game mods, every aspect is covered. Whether you are a gaming enthusiast or a hosting business exploring new ventures, this guide...

    Best Dedicated Server Hosting for Games

    Unleash superior gaming experiences with our guide on the best dedicated server hosting for games. We delve into high-performance servers, ensuring smooth gameplay for various online games. Catering to hosting businesses, resellers, and individual gamers, our insights...

    What is Dedicated Web Hosting?

    Explore what is dedicated web hosting and its significance in ensuring high-performance web solutions. Learn about its benefits, costs, and how it compares to other hosting types like Shared Hosting, Virtual Private Servers (VPS), and Physical Server Hosting. Find out...

    Advantages and Disadvantages of Dedicated Web Hosting

    Explore the balance between the advantages and disadvantages of dedicated web hosting in our detailed guide. Understand the advantages, including total server control and unrivaled power, against the disadvantages like high costs and required technical knowledge....

    How to Host a CSGO Server on Linux as a beginner

    Immerse in the thrill of your favorite game by learning how to host a CSGO server. This guide provides step-by-step instructions, ensuring a seamless gaming experience. Perfect for gamers and server enthusiasts seeking to create their own private CSGO server. Let's...

    How to Host a CS 1.6 Server as a beginner

    Immerse in the thrill of your favorite game by learning how to host a CS 1.6 server. This guide provides step-by-step instructions, ensuring a seamless gaming experience. Perfect for gamers and server enthusiasts seeking to create their own private CS 1.6 server....

    How to Access a VPS via SSH Protocol

    Discover how to securely access your VPS (Virtual Private Server) using SSH (Secure Shell). We offer a step-by-step guide to establishing a connection using the root or VPS Control Panel. In this guide provided by Space Hosting, we will learn how to access VPS via ssh...

    Best Valheim Dedicated Servers: 13 Things to Know

    Discover the best Valheim dedicated servers for an optimal gaming experience. We've curated a list of top hosting providers, examining features, customer service, pricing, and more. From fast ping and 24/7 server availability to easy setup, find a server that fits...

    You May Also Like…

    How to Flush Hosts in MySQL?

    How to Flush Hosts in MySQL?

    Learn the importance "FLUSH HOSTS" command in MySQL and the method of how to flush hosts in MySQL. This guide provides...

    0 Comments

    Submit a Comment

    O seu endereço de email não será publicado. Campos obrigatórios marcados com *

    Pin It on Pinterest