{"id":602,"date":"2023-01-22T09:47:07","date_gmt":"2023-01-22T09:47:07","guid":{"rendered":"https:\/\/www.space-hosting.it\/?p=602"},"modified":"2023-06-20T21:11:50","modified_gmt":"2023-06-20T21:11:50","slug":"build-pterodactyl-panel-assets-on-ubuntu-or-centos","status":"publish","type":"post","link":"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/","title":{"rendered":"Build Pterodactyl Panel Assets on Ubuntu or Centos"},"content":{"rendered":"\n<p>Building a pterodactyl panel is important because it helps to install or <strong>update themes<\/strong>, <strong>scripts<\/strong>, or <strong>addons of the pterodacty<\/strong>l panel. After reading this tutorial, you will understand how to <strong>build pterodactyl panel assets<\/strong> on <strong>ubuntu<\/strong> or <strong>centos<\/strong>.<\/p>\n\n\n\n<p>The <a href=\"https:\/\/pterodactyl.io\/\"><strong>Pterodactyl panel<\/strong><\/a> doesn&#8217;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 <a href=\"https:\/\/reactjs.org\/\">React<\/a>. 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.<\/p>\n\n\n\n<p>You can use <a href=\"https:\/\/yarnpkg.com\/\"><strong>yarn<\/strong><\/a> to view the <strong>progress of the changes <\/strong>done to you in real-time. To make the <strong>development easier<\/strong>, please use the command: yarn run watch<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>The <strong>Operating System Ubuntu 20.04<\/strong> we using for the<strong> tutorial <\/strong>is running on&nbsp;<a href=\"\/vps-ryzen\">VPS<\/a>, but we give instructions for the CENTOS users also. if you don\u2019t own any server, check out server package prices&nbsp;<a href=\"\/vds-ryzen-9-5950x\">here<\/a> or test our free <a href=\"\/free-trial-vps\/\">2H VPS trial here<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Build Pterodactyl Panel Assets Guideline<\/h2>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Basic Requirements<\/h4>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Root Server<\/li>\n\n\n\n<li>Install Ubuntu\/Centos OS<\/li>\n\n\n\n<li>Pterodactyl Panel must already be installed<\/li>\n<\/ul>\n\n\n\n<p>Connect to the server using&nbsp;<a href=\"https:\/\/putty.org\/\">Putty<\/a>&nbsp;and type the following commands;<\/p>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2022\/12\/Capture7-2.png\" alt=\"Build Pterodactyl Panel Assets on Ubuntu or Centos\" class=\"wp-image-257\" width=\"571\" height=\"345\" srcset=\"\/wp-content\/uploads\/2022\/12\/Capture7-2.png 571w, \/wp-content\/uploads\/2022\/12\/Capture7-2-480x290.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 571px, 100vw\" \/><\/figure>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Using Ubuntu or Centos<\/h3>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<h5 class=\"wp-block-heading\">Paste the following commands on SSH Terminal after you successfully logged in to the root.<\/h5>\n\n\n\n<p>First of all, you have to install <strong>NodeJS<\/strong> on your server where the game panel is installed<\/p>\n\n\n\n<p>The following command will download NodeJS 14 package from the official website and install it with yarn also.<\/p>\n\n\n\n<p><strong>For <mark class=\"has-inline-color has-vivid-cyan-blue-color\" style=\"background-color: rgba(0, 0, 0, 0);\">Ubuntu\/Debian<\/mark>:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -sL https:\/\/deb.nodesource.com\/setup_14.x | sudo -E bash -\napt install -y nodejs<\/code><\/pre>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<p><strong>For <mark class=\"has-inline-color has-vivid-cyan-blue-color\" style=\"background-color: rgba(0, 0, 0, 0);\">CentOS<\/mark><\/strong><\/p>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -sL https:\/\/rpm.nodesource.com\/setup_14.x | sudo -E bash -\nsudo yum install -y nodejs yarn # CentOS 7\nsudo dnf install -y nodejs yarn # CentOS 8<\/code><\/pre>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<p>Now <strong><mark class=\"has-inline-color has-vivid-cyan-blue-color\" style=\"background-color: rgba(0, 0, 0, 0);\">install Yarn<\/mark><mark class=\"has-inline-color has-vivid-red-color\" style=\"background-color: rgba(0, 0, 0, 0);\"> <\/mark><\/strong>using <strong><mark class=\"has-inline-color has-vivid-cyan-blue-color\" style=\"background-color: rgba(0, 0, 0, 0);\">NPM<\/mark><\/strong> <strong>globally<\/strong><\/p>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>npm i -g yarn <\/code><\/pre>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<p>Now <strong><mark class=\"has-inline-color has-vivid-cyan-blue-color\" style=\"background-color: rgba(0, 0, 0, 0);\">Install Panel build<\/mark><\/strong> dependencies<\/p>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>yarn<\/code><\/pre>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<p>Now it&#8217;s time to <strong><mark class=\"has-inline-color has-vivid-cyan-blue-color\" style=\"background-color: rgba(0, 0, 0, 0);\">build the panel<\/mark><\/strong><\/p>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/pterodactyl\nyarn build:production # Build panel<\/code><\/pre>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Let us know in the comments if you face any trouble!<\/h4>\n\n\n\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" >\u00a0<\/div>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;t update the code when you modify the files related to coding, In order [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":15569,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[610,16,26,609],"tags":[95,121,94,93,122],"class_list":["post-602","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dedicated-server","category-game-server","category-guides","category-vps-server","tag-basic-requirements-to-build-pterodactyl-panel-assets","tag-build-pterodactyl-panel","tag-build-pterodactyl-panel-assets-guideline","tag-build-pterodactyl-panel-assets-on-ubuntu-or-centos","tag-yarn-pterodactyl-panel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Build Pterodactyl Panel Assets on Ubuntu or Centos<\/title>\n<meta name=\"description\" content=\"To install or update themes, scripts or addons you must have to build pterodactyl panel assets which you added.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Build Pterodactyl Panel Assets on Ubuntu or Centos\" \/>\n<meta property=\"og:description\" content=\"To install or update themes, scripts or addons you must have to build pterodactyl panel assets which you added.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/\" \/>\n<meta property=\"og:site_name\" content=\"Space Hosting\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-22T09:47:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-20T21:11:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.space-hosting.net\/wp-content\/uploads\/2023\/01\/server-6-e1686122737124.png\" \/>\n\t<meta property=\"og:image:width\" content=\"256\" \/>\n\t<meta property=\"og:image:height\" content=\"256\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Scritto da\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo di lettura stimato\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/\",\"url\":\"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/\",\"name\":\"Build Pterodactyl Panel Assets on Ubuntu or Centos\",\"isPartOf\":{\"@id\":\"https:\/\/www.space-hosting.net\/it\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.space-hosting.net\/wp-content\/uploads\/2023\/01\/server-6-e1686122737124.png\",\"datePublished\":\"2023-01-22T09:47:07+00:00\",\"dateModified\":\"2023-06-20T21:11:50+00:00\",\"author\":{\"@id\":\"https:\/\/www.space-hosting.net\/it\/#\/schema\/person\/3ff3c1285055a28f3aea2da1c5273b9f\"},\"description\":\"To install or update themes, scripts or addons you must have to build pterodactyl panel assets which you added.\",\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/#primaryimage\",\"url\":\"https:\/\/www.space-hosting.net\/wp-content\/uploads\/2023\/01\/server-6-e1686122737124.png\",\"contentUrl\":\"https:\/\/www.space-hosting.net\/wp-content\/uploads\/2023\/01\/server-6-e1686122737124.png\",\"width\":256,\"height\":256},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.space-hosting.net\/it\/#website\",\"url\":\"https:\/\/www.space-hosting.net\/it\/\",\"name\":\"Space Hosting\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.space-hosting.net\/it\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.space-hosting.net\/it\/#\/schema\/person\/3ff3c1285055a28f3aea2da1c5273b9f\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\/\/www.space-hosting.net\/it\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ee49e4b6e878e955bc452ceb7715ef891f035a6c55e6333769e9858a7b782fcc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ee49e4b6e878e955bc452ceb7715ef891f035a6c55e6333769e9858a7b782fcc?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/www.space-hosting.it\"],\"url\":\"https:\/\/www.space-hosting.net\/it\/author\/administrator_0ip1y0zs\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Build Pterodactyl Panel Assets on Ubuntu or Centos","description":"To install or update themes, scripts or addons you must have to build pterodactyl panel assets which you added.","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:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/","og_locale":"it_IT","og_type":"article","og_title":"Build Pterodactyl Panel Assets on Ubuntu or Centos","og_description":"To install or update themes, scripts or addons you must have to build pterodactyl panel assets which you added.","og_url":"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/","og_site_name":"Space Hosting","article_published_time":"2023-01-22T09:47:07+00:00","article_modified_time":"2023-06-20T21:11:50+00:00","og_image":[{"width":256,"height":256,"url":"https:\/\/www.space-hosting.net\/wp-content\/uploads\/2023\/01\/server-6-e1686122737124.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Scritto da":"admin","Tempo di lettura stimato":"2 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/","url":"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/","name":"Build Pterodactyl Panel Assets on Ubuntu or Centos","isPartOf":{"@id":"https:\/\/www.space-hosting.net\/it\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/#primaryimage"},"image":{"@id":"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/#primaryimage"},"thumbnailUrl":"https:\/\/www.space-hosting.net\/wp-content\/uploads\/2023\/01\/server-6-e1686122737124.png","datePublished":"2023-01-22T09:47:07+00:00","dateModified":"2023-06-20T21:11:50+00:00","author":{"@id":"https:\/\/www.space-hosting.net\/it\/#\/schema\/person\/3ff3c1285055a28f3aea2da1c5273b9f"},"description":"To install or update themes, scripts or addons you must have to build pterodactyl panel assets which you added.","inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/"]}]},{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/www.space-hosting.net\/it\/build-pterodactyl-panel-assets-on-ubuntu-or-centos\/#primaryimage","url":"https:\/\/www.space-hosting.net\/wp-content\/uploads\/2023\/01\/server-6-e1686122737124.png","contentUrl":"https:\/\/www.space-hosting.net\/wp-content\/uploads\/2023\/01\/server-6-e1686122737124.png","width":256,"height":256},{"@type":"WebSite","@id":"https:\/\/www.space-hosting.net\/it\/#website","url":"https:\/\/www.space-hosting.net\/it\/","name":"Space Hosting","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.space-hosting.net\/it\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"it-IT"},{"@type":"Person","@id":"https:\/\/www.space-hosting.net\/it\/#\/schema\/person\/3ff3c1285055a28f3aea2da1c5273b9f","name":"admin","image":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/www.space-hosting.net\/it\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ee49e4b6e878e955bc452ceb7715ef891f035a6c55e6333769e9858a7b782fcc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ee49e4b6e878e955bc452ceb7715ef891f035a6c55e6333769e9858a7b782fcc?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/www.space-hosting.it"],"url":"https:\/\/www.space-hosting.net\/it\/author\/administrator_0ip1y0zs\/"}]}},"_links":{"self":[{"href":"https:\/\/www.space-hosting.net\/it\/wp-json\/wp\/v2\/posts\/602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.space-hosting.net\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.space-hosting.net\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.space-hosting.net\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.space-hosting.net\/it\/wp-json\/wp\/v2\/comments?post=602"}],"version-history":[{"count":0,"href":"https:\/\/www.space-hosting.net\/it\/wp-json\/wp\/v2\/posts\/602\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.space-hosting.net\/it\/wp-json\/wp\/v2\/media\/15569"}],"wp:attachment":[{"href":"https:\/\/www.space-hosting.net\/it\/wp-json\/wp\/v2\/media?parent=602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.space-hosting.net\/it\/wp-json\/wp\/v2\/categories?post=602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.space-hosting.net\/it\/wp-json\/wp\/v2\/tags?post=602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}