{"id":5471,"date":"2025-02-14T08:36:24","date_gmt":"2025-02-14T11:36:24","guid":{"rendered":"https:\/\/blog.clusterweb.com.br\/?p=5471"},"modified":"2025-02-14T08:36:24","modified_gmt":"2025-02-14T11:36:24","slug":"registrando-seu-aplicativo-node-js-no-cpanel-application-manager","status":"publish","type":"post","link":"https:\/\/blog.clusterweb.com.br\/?p=5471","title":{"rendered":"Registrando seu aplicativo Node.JS no cPanel Application Manager"},"content":{"rendered":"<h2><span id=\"registrando-seu-aplicativo-nodejs-no-cpanel-application-manager\"><strong>Registrando seu aplicativo Node.JS no cPanel Application Manager<\/strong><\/span><\/h2>\n<p>O registro informa ao gerenciador de aplicativos do Passenger e ao cPanel onde encontrar seu aplicativo e qual dom\u00ednio voc\u00ea gostaria de usar.<\/p>\n<p>No cPanel, abra o\u00a0<em>Application Manager,<\/em>\u00a0que voc\u00ea encontrar\u00e1 em\u00a0<em>Software<\/em>\u00a0na p\u00e1gina principal.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1352\" src=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel02.png.webp\" sizes=\"auto, (max-width: 1043px) 100vw, 1043px\" srcset=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel02.png.webp 1043w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel02-300x71.png.webp 300w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel02-1024x243.png.webp 1024w\" alt=\"Como hospedar um aplicativo NodeJS com cPanel02\" width=\"1043\" height=\"248\" \/><\/p>\n<p>Clique no bot\u00e3o\u00a0<em>Registrar Aplicativo<\/em>\u00a0.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1353\" src=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel03.png.webp\" sizes=\"auto, (max-width: 1402px) 100vw, 1402px\" srcset=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel03.png.webp 1402w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel03-300x80.png.webp 300w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel03-1024x274.png.webp 1024w\" alt=\"Como hospedar um aplicativo NodeJS com cPanel03\" width=\"1402\" height=\"375\" \/><\/p>\n<p>Na tabela\u00a0<em>Application Configuration<\/em>\u00a0, precisamos fornecer quatro informa\u00e7\u00f5es:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1354\" src=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel04.png.webp\" sizes=\"auto, (max-width: 1246px) 100vw, 1246px\" srcset=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel04.png.webp 1246w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel04-300x181.png.webp 300w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel04-1024x616.png.webp 1024w\" alt=\"Como hospedar um aplicativo NodeJS com cPanel04\" width=\"1246\" height=\"750\" \/><\/p>\n<ul>\n<li><strong>Nome do aplicativo:<\/strong>\u00a0um nome de exibi\u00e7\u00e3o para o aplicativo.\u00a0Voc\u00ea pode escolher qualquer nome, mas deve come\u00e7ar com um n\u00famero ou letra e n\u00e3o pode conter pontos.<\/li>\n<li><strong>Dom\u00ednio de implanta\u00e7\u00e3o:<\/strong>\u00a0o nome de dom\u00ednio do aplicativo.\u00a0O dom\u00ednio j\u00e1 deve estar associado \u00e0 conta cPanel.<\/li>\n<li><strong>URL base do aplicativo:<\/strong>\u00a0a p\u00e1gina inicial do aplicativo estar\u00e1 dispon\u00edvel no\u00a0<em>dom\u00ednio de implanta\u00e7\u00e3o + a URL base.\u00a0<\/em>Por exemplo, se o\u00a0<em>dom\u00ednio de implanta\u00e7\u00e3o<\/em>\u00a0for \u201cexample.com\u201d e voc\u00ea inserir \u201cnodeapp\u201d nesse campo, o aplicativo ser\u00e1 exibido em \u201cexample.com\/nodeapp\u201d.\u00a0A extens\u00e3o da URL n\u00e3o precisa ser a mesma do diret\u00f3rio que armazena os arquivos do app.<\/li>\n<li><strong>Caminho do aplicativo:<\/strong>\u00a0a localiza\u00e7\u00e3o dos arquivos do aplicativo em rela\u00e7\u00e3o \u00e0 casa do usu\u00e1rio.\u00a0Em nosso exemplo, criamos um diret\u00f3rio em home chamado \u201cnodejsapp\u201d, portanto, inserir\u00edamos \u201cnodejsapp\u201d aqui.<\/li>\n<\/ul>\n<p>O seletor\u00a0<em>Deployment Environment<\/em>\u00a0indica se o aplicativo est\u00e1 em desenvolvimento ou pronto para implanta\u00e7\u00e3o em um ambiente de produ\u00e7\u00e3o.<\/p>\n<p>Abaixo da tabela de\u00a0<em>configura\u00e7\u00e3o do aplicativo<\/em>\u00a0, h\u00e1 uma interface para configurar as vari\u00e1veis \u200b\u200bde ambiente.\u00a0Vamos analis\u00e1-los com mais profundidade na pr\u00f3xima se\u00e7\u00e3o.<\/p>\n<p>Por enquanto, clicaremos no bot\u00e3o\u00a0<em>Deploy<\/em>\u00a0na parte inferior da p\u00e1gina e o cPanel configurar\u00e1 o ambiente e o dom\u00ednio do aplicativo.\u00a0Depois de conclu\u00eddo, voc\u00ea pode abrir seu novo aplicativo em um navegador da Web no URL que acabou de configurar: \u201cexample.com\/nodeapp\u201d em nossos exemplos.<\/p>\n<p>Ao contr\u00e1rio de um aplicativo real, nosso one-pager n\u00e3o possui depend\u00eancias externas.\u00a0Se tivesse, o cPanel\u00a0<em>Application Manager<\/em>\u00a0exibiria o bot\u00e3o\u00a0<em>Garantir depend\u00eancias<\/em>\u00a0para instala\u00e7\u00e3o com um clique.\u00a0O bot\u00e3o est\u00e1 dispon\u00edvel apenas para aplicativos com um arquivo\u00a0<em>package.json<\/em>\u00a0que lista as depend\u00eancias.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1355\" src=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel05.png.webp\" sizes=\"auto, (max-width: 1305px) 100vw, 1305px\" srcset=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel05.png.webp 1305w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel05-300x92.png.webp 300w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel05-1024x313.png.webp 1024w\" alt=\"Como hospedar um aplicativo NodeJS com cPanel05\" width=\"1305\" height=\"399\" \/><\/p>\n<p>Se voc\u00ea est\u00e1 seguindo nossos exemplos e gostaria de ver as\u00a0<em>Depend\u00eancias de Garantia<\/em>\u00a0em a\u00e7\u00e3o, adicione um arquivo chamado\u00a0<em>package,json<\/em>\u00a0ao diret\u00f3rio do aplicativo com o seguinte conte\u00fado:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers  language-json\" data-lang=\"JSON\"><code class=\" language-json\" data-hcb-clip=\"7\"><span class=\"token punctuation\">{<\/span>\r\n   <span class=\"token property\">\"name\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"nodejsapp\"<\/span><span class=\"token punctuation\">,<\/span>\r\n   <span class=\"token property\">\"version\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"1.0.0\"<\/span><span class=\"token punctuation\">,<\/span>\r\n   <span class=\"token property\">\"description\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"A Node App\"<\/span><span class=\"token punctuation\">,<\/span>\r\n   <span class=\"token property\">\"main\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"app.js\"<\/span><span class=\"token punctuation\">,<\/span>\r\n   <span class=\"token property\">\"author\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"\"<\/span><span class=\"token punctuation\">,<\/span>\r\n   <span class=\"token property\">\"license\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"ISC\"<\/span><span class=\"token punctuation\">,<\/span>\r\n   <span class=\"token property\">\"dependencies\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span>\r\n   <span class=\"token property\">\"express\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"^4.17.1\"<\/span>\r\n   <span class=\"token punctuation\">}<\/span>\r\n<span class=\"token punctuation\">}<\/span><\/code><\/pre>\n<p><button class=\"hcb-clipboard\" data-clipboard-target=\"[data-hcb-clip=&quot;7&quot;]\" data-clipboard-action=\"copy\" aria-label=\"Copy code to clipboard\"><\/button><\/div>\n<p>Como voc\u00ea pode ver, listamos a estrutura da Web Express como uma depend\u00eancia.\u00a0O bot\u00e3o\u00a0<em>Garantir Depend\u00eancias<\/em>\u00a0agora deve estar dispon\u00edvel no\u00a0<em>Gerenciador de Aplicativos.\u00a0<\/em>Quando voc\u00ea clica nele\u00a0<em>,<\/em>\u00a0o cPanel instala o Express e todos os aplicativos e bibliotecas dos quais ele depende.<\/p>\n<h2><span id=\"adicionando-variaveis-de-ambiente-ao-ambiente-do-seu-aplicativo-nodejs\"><strong>Adicionando vari\u00e1veis \u200b\u200bde ambiente ao ambiente do seu aplicativo Node.JS<\/strong><\/span><\/h2>\n<p>Vari\u00e1veis \u200b\u200bde ambiente s\u00e3o pares nome-valor que armazenam um peda\u00e7o de informa\u00e7\u00e3o.\u00a0Eles funcionam como vari\u00e1veis \u200b\u200bem programa\u00e7\u00e3o, exceto que n\u00e3o s\u00e3o internos ao programa, mas parte de seu ambiente externo.\u00a0Os servidores usam vari\u00e1veis \u200b\u200bde ambiente para armazenar dados de configura\u00e7\u00e3o \u00fateis.<\/p>\n<p>Por exemplo, o CentOS usa a\u00a0<a href=\"https:\/\/opensource.com\/article\/17\/6\/set-path-linux\" target=\"_blank\" rel=\"noopener\">vari\u00e1vel de ambiente PATH<\/a>\u00a0para armazenar uma lista de diret\u00f3rios que cont\u00eam programas de linha de comando.\u00a0Quando voc\u00ea insere um comando como \u201cls\u201d, o shell procura nesses diret\u00f3rios um arquivo execut\u00e1vel com esse nome.\u00a0Se n\u00e3o houvesse vari\u00e1vel PATH, voc\u00ea teria que inserir o caminho completo de cada comando: \u201c\/usr\/bin\/ls\u201d em vez de apenas \u201cls\u201d.<\/p>\n<p>O administrador do servidor pode alterar a vari\u00e1vel de ambiente PATH, controlando os diret\u00f3rios que o shell procura sem modificar seu c\u00f3digo interno.\u00a0<em>Com o Application Manager<\/em>\u00a0do cPanel ,\u00a0voc\u00ea pode adicionar vari\u00e1veis \u200b\u200bde ambiente ao ambiente do seu aplicativo Node.js para configurar seu comportamento da mesma forma.<\/p>\n<p>Em nosso arquivo\u00a0<em>app.js<\/em>\u00a0simples , essa linha de JavaScript informa ao aplicativo a porta em que ele deve escutar as conex\u00f5es.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers  language-js\" data-lang=\"JavaScript\"><code class=\" language-js\" data-hcb-clip=\"8\"><span class=\"token keyword\">const<\/span> port <span class=\"token operator\">=<\/span> <span class=\"token number\">3000<\/span><span class=\"token punctuation\">;<\/span><\/code><\/pre>\n<p><button class=\"hcb-clipboard\" data-clipboard-target=\"[data-hcb-clip=&quot;8&quot;]\" data-clipboard-action=\"copy\" aria-label=\"Copy code to clipboard\"><\/button><\/div>\n<p>Na realidade, \u00e9 improv\u00e1vel que um desenvolvedor saiba a porta correta ao escrever o c\u00f3digo.\u00a0Para dar mais flexibilidade aos usu\u00e1rios, eles podem dizer ao aplicativo para procurar em seu ambiente uma vari\u00e1vel chamada PORT e usar seu valor ao configurar o aplicativo.<\/p>\n<p>No Node.js, o c\u00f3digo JavaScript \u00e9 mais ou menos assim:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers  language-js\" data-lang=\"JavaScript\"><code class=\" language-js\" data-hcb-clip=\"9\"><span class=\"token keyword\">const<\/span> <span class=\"token constant\">PORT<\/span> <span class=\"token operator\">=<\/span> process<span class=\"token punctuation\">.<\/span>env<span class=\"token punctuation\">.<\/span><span class=\"token constant\">PORT<\/span> <span class=\"token operator\">||<\/span> <span class=\"token number\">3000<\/span><span class=\"token punctuation\">;<\/span><\/code><\/pre>\n<p><button class=\"hcb-clipboard\" data-clipboard-target=\"[data-hcb-clip=&quot;9&quot;]\" data-clipboard-action=\"copy\" aria-label=\"Copy code to clipboard\"><\/button><\/div>\n<p>Isso define a vari\u00e1vel PORT interna do aplicativo para o\u00a0<a href=\"https:\/\/nodejs.org\/dist\/latest-v8.x\/docs\/api\/process.html#process_process_env\" target=\"_blank\" rel=\"noopener\">valor da vari\u00e1vel de ambiente<\/a>\u00a0chamada PORT ou para um padr\u00e3o de 3000 se uma vari\u00e1vel de ambiente n\u00e3o estiver definida.<\/p>\n<p>Agora, o usu\u00e1rio pode informar ao aplicativo a qual porta se conectar definindo uma vari\u00e1vel PORT no ambiente do aplicativo.\u00a0<em>Para fazer isso no Gerenciador<\/em>\u00a0de aplicativos do cPanel ,\u00a0localize a\u00a0interface\u00a0<em>Vari\u00e1veis \u200b\u200bde ambiente abaixo\u00a0<\/em><em>de Configura\u00e7\u00e3o do aplicativo<\/em>\u00a0e clique em\u00a0<em>Adicionar vari\u00e1vel.<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1356\" src=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel06.png.webp\" sizes=\"auto, (max-width: 770px) 100vw, 770px\" srcset=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel06.png.webp 770w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel06-300x93.png.webp 300w\" alt=\"Como hospedar um aplicativo NodeJS com cPanel06\" width=\"770\" height=\"239\" \/><\/p>\n<p>Insira um nome e valor de vari\u00e1vel e clique em\u00a0<em>Salvar.\u00a0<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1357\" src=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel07.png.webp\" sizes=\"auto, (max-width: 764px) 100vw, 764px\" srcset=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel07.png.webp 764w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel07-300x108.png.webp 300w\" alt=\"Como hospedar um aplicativo NodeJS com cPanel07\" width=\"764\" height=\"274\" \/><\/p>\n<h2><span id=\"editando-seu-aplicativo-nodejs\"><strong>Editando seu aplicativo Node.JS<\/strong><\/span><\/h2>\n<p>Voc\u00ea pode editar a configura\u00e7\u00e3o de registro de um aplicativo Node no\u00a0<em>Application Manager.<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1358\" src=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel08.png.webp\" sizes=\"auto, (max-width: 1043px) 100vw, 1043px\" srcset=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel08.png.webp 1043w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel08-300x71.png.webp 300w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel08-1024x243.png.webp 1024w\" alt=\"Como hospedar um aplicativo NodeJS com cPanel08\" width=\"1043\" height=\"248\" \/><\/p>\n<p>Clique no\u00a0link\u00a0<em>Editar<\/em>\u00a0na coluna\u00a0<em>A\u00e7\u00f5es .\u00a0<\/em>Nesta interface, voc\u00ea pode editar todos os valores definidos ao registrar seu aplicativo pela primeira vez, incluindo as vari\u00e1veis \u200b\u200bde ambiente.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1359\" src=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel09.png.webp\" sizes=\"auto, (max-width: 1117px) 100vw, 1117px\" srcset=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel09.png.webp 1117w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel09-300x117.png.webp 300w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel09-1024x398.png.webp 1024w\" alt=\"Como hospedar um aplicativo NodeJS com cPanel09\" width=\"1117\" height=\"434\" \/><\/p>\n<h2><span id=\"desinstalando-seu-aplicativo-nodejs\"><strong>Desinstalando seu aplicativo Node.JS<\/strong><\/span><\/h2>\n<p>Para desinstalar ou \u201ccancelar o registro\u201d de um aplicativo Node.js do cPanel, clique no\u00a0link\u00a0<em>cancelar registro<\/em>\u00a0\u00e0 direita da tabela\u00a0 do\u00a0<em>Gerenciador de aplicativos .<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1360\" src=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel10.png.webp\" sizes=\"auto, (max-width: 1117px) 100vw, 1117px\" srcset=\"https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel10.png.webp 1117w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel10-300x117.png.webp 300w, https:\/\/linehost.cloud\/wp-content\/uploads\/2023\/01\/Como-hospedar-um-aplicativo-NodeJS-com-cPanel10-1024x398.png.webp 1024w\" alt=\"Como hospedar um aplicativo NodeJS com cPanel10\" width=\"1117\" height=\"434\" \/><\/p>\n<p>Quando voc\u00ea cancela o registro de um aplicativo, o cPanel o remove da lista, exclui seu arquivo de configura\u00e7\u00e3o e o dissocia do dom\u00ednio.\u00a0O cPanel n\u00e3o exclui os arquivos do aplicativo, mas voc\u00ea mesmo pode exclu\u00ed-los no\u00a0<em>Gerenciador de Arquivos<\/em>\u00a0ou na linha de comando.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Registrando seu aplicativo Node.JS no cPanel Application Manager O registro informa ao gerenciador de aplicativos do Passenger e ao cPanel onde encontrar seu aplicativo e qual dom\u00ednio voc\u00ea gostaria de usar. No cPanel, abra o\u00a0Application Manager,\u00a0que voc\u00ea encontrar\u00e1 em\u00a0Software\u00a0na p\u00e1gina principal. Clique no bot\u00e3o\u00a0Registrar Aplicativo\u00a0. Na tabela\u00a0Application Configuration\u00a0, precisamos fornecer quatro informa\u00e7\u00f5es: Nome do aplicativo:\u00a0um [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1,730,830,725,42,51,495],"tags":[1632,1633,945,1572,361,732,1631,855],"class_list":["post-5471","post","type-post","status-publish","format-standard","hentry","category-viazap","category-clusterweb","category-debian","category-hospedagem","category-leitura-recomendada","category-linux-linuxrs","category-profissional-de-ti","tag-aplicativo","tag-application","tag-cpanel","tag-manager","tag-no","tag-node-js","tag-registrando","tag-seu"],"_links":{"self":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts\/5471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5471"}],"version-history":[{"count":1,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts\/5471\/revisions"}],"predecessor-version":[{"id":5472,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts\/5471\/revisions\/5472"}],"wp:attachment":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}