{"id":270,"date":"2020-11-19T09:16:35","date_gmt":"2020-11-19T09:16:35","guid":{"rendered":"https:\/\/picockpit.com\/raspberry-pi\/?page_id=270"},"modified":"2024-03-11T12:02:13","modified_gmt":"2024-03-11T12:02:13","slug":"installation-of-picockpit","status":"publish","type":"page","link":"https:\/\/picockpit.com\/raspberry-pi\/pt\/instalacao-de-picketpit\/","title":{"rendered":"Como instalar o PiCockpit"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"322\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image-1024x322.png\" alt=\"Como instalar o PiCockpit T\u00edtulo da imagem\" class=\"wp-image-6451\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image-1024x322.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image-300x94.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image-768x241.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image-18x6.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image-24x8.png 24w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image-36x11.png 36w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image-48x15.png 48w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Esta p\u00e1gina ir\u00e1 mostrar-lhe como instalar o PiCockpit.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">De momento, existem duas formas de instalar o Cliente PiCockpit. Uma delas \u00e9 sem uma chave API. A outra forma \u00e9 com uma chave API.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Instala\u00e7\u00e3o sem uma chave de API<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Para instalar o cliente PiCockpit atrav\u00e9s da nossa interface Web, \u00e9 necess\u00e1rio <a href=\"https:\/\/picockpit.com\/user\/login\">criar uma conta PiCockpit<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Depois de criar uma conta, deve clicar no bot\u00e3o que diz \"ADICIONAR NOVO PI\".<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"673\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Add-New-Pi-1024x673.png\" alt=\"Adicionar novo ecr\u00e3 Pi\" class=\"wp-image-6713\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Add-New-Pi-1024x673.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Add-New-Pi-300x197.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Add-New-Pi-768x505.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Add-New-Pi-18x12.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Add-New-Pi-24x16.png 24w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Add-New-Pi-36x24.png 36w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Add-New-Pi-48x32.png 48w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Add-New-Pi.png 1105w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Isto ir\u00e1 descarregar um script para a sua pasta Downloads.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Se descarregaste isto para a tua Raspberry Pi, ent\u00e3o tudo o que precisas de fazer \u00e9 torn\u00e1-lo execut\u00e1vel. Podes abrir a tua linha de comandos e executar:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"cd Downloads\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #D8DEE9\">cd<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">Downloads<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Agora est\u00e1 no reposit\u00f3rio Downloads. A partir daqui, execute:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"chmod +x picockpit-addrpi-v2.5.0.sh\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #D8DEE9\">chmod<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">+<\/span><span style=\"color: #D8DEE9\">x<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">picockpit<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">addrpi<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">v2<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #B48EAD\">5.0<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">sh<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">E, finalmente, execute o script:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\".\/picockpit-addrpi-v2.5.0.sh\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9\">picockpit<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">addrpi<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">v2<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #B48EAD\">5.0<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">sh<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Isto ir\u00e1 executar o script no Raspberry Pi. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Se lhe for perguntado se pretende continuar, basta digitar \"y\". <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Uma vez instalado, o seu Raspberry Pi aparecer\u00e1 automaticamente em <a href=\"https:\/\/picockpit.com\/mypis\">a p\u00e1gina Os meus Raspberry Pis<\/a>. Poder\u00e1 ser necess\u00e1rio recarregar a p\u00e1gina para garantir a liga\u00e7\u00e3o.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Se tiver transferido o script para outro computador e pretender <code data-no-translation=\"\">ssh<\/code> no teu Raspberry Pi, ent\u00e3o primeiro tens de copiar o ficheiro para o Raspberry Pi. Podes fazer isso com este comando:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"scp \/home\/&lt;name&gt;\/Downloads\/picockpit-addrpi-v2.5.0.sh &lt;your-name&gt;@&lt;raspberrypi-name&gt;.local:\/home\/&lt;name&gt;\/Downloads\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #D8DEE9\">scp<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9\">home<\/span><span style=\"color: #81A1C1\">\/&lt;<\/span><span style=\"color: #D8DEE9\">name<\/span><span style=\"color: #81A1C1\">&gt;\/<\/span><span style=\"color: #D8DEE9\">Downloads<\/span><span style=\"color: #81A1C1\">\/<\/span><span style=\"color: #D8DEE9\">picockpit<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">addrpi<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">v2<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #B48EAD\">5.0<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">sh<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #D8DEE9\">your<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">name<\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #D08770\">@<\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #D08770\">raspberrypi<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D08770\">name<\/span><span style=\"color: #81A1C1\">&gt;<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">local<\/span><span style=\"color: #D8DEE9FF\">:<\/span><span style=\"color: #ECEFF4\">\/<\/span><span style=\"color: #EBCB8B\">home<\/span><span style=\"color: #ECEFF4\">\/<\/span><span style=\"color: #81A1C1\">&lt;<\/span><span style=\"color: #D08770\">name<\/span><span style=\"color: #81A1C1\">&gt;\/<\/span><span style=\"color: #D08770\">Downloads<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Certifique-se de que, no script acima, substitui cada inst\u00e2ncia de <code data-no-translation=\"\">&lt;name&gt;<\/code> com o nome de utilizador correto e o nome da Raspberry Pi. Depois de o fazer e de executar o script, ser-lhe-\u00e1 pedido que introduza a sua palavra-passe para a Raspberry Pi.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Depois de ter copiado com \u00eaxito o ficheiro, pode ent\u00e3o <code data-no-translation=\"\">ssh<\/code> no seu Raspberry Pi e siga os comandos acima. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Instala\u00e7\u00e3o com uma chave API<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Depois de <a href=\"https:\/\/picockpit.com\/user\/login\">criar uma conta PiCockpit<\/a>Para aceder \u00e0 p\u00e1gina do seu perfil de utilizador, tem de clicar no seu nome no canto superior direito. Basta clicar no seu nome no canto superior direito e ser\u00e1 encaminhado para este ecr\u00e3:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"371\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Manage-API-Keys-screen-1024x371.png\" alt=\"Ecr\u00e3 Gerir chaves API\" class=\"wp-image-6714\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Manage-API-Keys-screen-1024x371.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Manage-API-Keys-screen-300x109.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Manage-API-Keys-screen-768x278.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Manage-API-Keys-screen-18x7.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Manage-API-Keys-screen-24x9.png 24w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Manage-API-Keys-screen-36x13.png 36w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Manage-API-Keys-screen-48x17.png 48w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/Manage-API-Keys-screen.png 1106w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Clique no bot\u00e3o que diz \"GERIR CHAVES DE API\". <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">De seguida, tem de clicar no bot\u00e3o \"ADD API-KEY\":<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"420\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/ADD-API-KEY-Screen-1024x420.png\" alt=\"Ecr\u00e3 ADD API-KEY\" class=\"wp-image-6715\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/ADD-API-KEY-Screen-1024x420.png 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/ADD-API-KEY-Screen-300x123.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/ADD-API-KEY-Screen-768x315.png 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/ADD-API-KEY-Screen-18x7.png 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/ADD-API-KEY-Screen-24x10.png 24w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/ADD-API-KEY-Screen-36x15.png 36w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/ADD-API-KEY-Screen-48x20.png 48w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2024\/01\/ADD-API-KEY-Screen.png 1110w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Isto criar\u00e1 uma \u00fanica chave de API que dever\u00e1 guardar como uma palavra-passe.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A chave da API s\u00f3 ser\u00e1 mostrada uma vez. Por isso, certifique-se de que a guarda num local seguro.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tenha em aten\u00e7\u00e3o que as chaves API s\u00e3o sens\u00edveis a mai\u00fasculas e min\u00fasculas e que o \".\" tamb\u00e9m \u00e9 obrigat\u00f3rio.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tenha tamb\u00e9m em aten\u00e7\u00e3o que uma chave de API pode ser utilizada para v\u00e1rios Raspberry Pis. N\u00e3o \u00e9 necess\u00e1rio criar uma nova chave de API sempre que adicionar um novo Raspberry Pi. No entanto, \u00e9 livre de criar v\u00e1rias chaves de API, se assim o desejar.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Depois de guardar a sua chave API num local seguro, pode executar a seguinte instala\u00e7\u00e3o de uma linha (no Raspberry Pi):<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"bash -c &quot;$(curl -k -s https:\/\/picockpit.com\/setup.sh)&quot;\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #D8DEE9\">bash<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">c<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">$(curl -k -s https:\/\/picockpit.com\/setup.sh)<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Prima enter quando lhe for perguntado se pretende prosseguir com a instala\u00e7\u00e3o do pacote. Tenha tamb\u00e9m \u00e0 m\u00e3o a sua chave API, uma vez que o instalador lha pedir\u00e1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">O instalador confirmar\u00e1 o sucesso da instala\u00e7\u00e3o e da liga\u00e7\u00e3o ao PiCockpit.com.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Refresque o <a href=\"https:\/\/picockpit.com\/mypis\">Meu Raspberry Pis<\/a> no seu browser e poder\u00e1 ver o novo Raspberry Pi.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Onde<strong> <\/strong>Posso encontrar instru\u00e7\u00f5es de instala\u00e7\u00e3o pormenorizadas?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Se voc\u00ea est\u00e1 curioso para saber o que o one-liner acima faz, e gostaria de executar a instala\u00e7\u00e3o manualmente, por favor, d\u00ea uma olhada em <a href=\"https:\/\/picockpit.com\/raspberry-pi\/manual-installation-instructions-for-picockpit-client\/\">estas instru\u00e7\u00f5es de instala\u00e7\u00e3o manual<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">O PiCockpit Client s\u00f3 precisa de ser instalado uma vez, ele iniciar\u00e1 automaticamente em cada arranque.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/picockpit.com\/raspberry-pi\/picockpit-help\">Por favor, consulte a documenta\u00e7\u00e3o<\/a> para uma vis\u00e3o geral do que pode fazer com o PiCockpit. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">O PiCockpit funcionar\u00e1 num sistema operativo de 32 e 64 bits?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">O Picockpit funciona nas vers\u00f5es de 32 e 64 bits do Raspberry Pi OS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">O PiCockpit \u00e9 compat\u00edvel com o Ubuntu ou Fedora?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Desenvolvemos o PiCockpit especificamente para o Raspberry Pi OS, por raz\u00f5es de estabilidade e seguran\u00e7a. Por isso, atualmente s\u00f3 oferecemos suporte oficial para o PiCockpit no Raspberry Pi OS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Como posso iniciar, parar, ativar e desativar o PiCockpit na linha de comandos?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">O PiCockpit est\u00e1 integrado com o Systemd. Se preferir gerir manualmente o PiCockpit atrav\u00e9s da linha de comandos (embora n\u00e3o seja recomendado), pode usar os seguintes comandos para iniciar, parar, ativar e desativar o cliente:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In\u00edcio:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo systemctl start picockpit-client\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #D8DEE9\">sudo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">systemctl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">start<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">picockpit<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">client<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Parar:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo systemctl stop picockpit-client\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #D8DEE9\">sudo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">systemctl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">stop<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">picockpit<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">client<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enable (que inicia automaticamente o Cliente PiCockpit ap\u00f3s a reinicializa\u00e7\u00e3o):<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo systemctl enable picockpit-client\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #D8DEE9\">sudo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">systemctl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">enable<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">picockpit<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">client<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Disable (que impede que o Cliente PiCockpit se inicie automaticamente ap\u00f3s o rein\u00edcio):<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo systemctl disable picockpit-client\" style=\"color:#d8dee9ff;display:none\" aria-label=\"C\u00f3pia\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code data-no-translation=\"\"><span class=\"line\"><span style=\"color: #D8DEE9\">sudo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">systemctl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">disable<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">picockpit<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">client<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note-se que \u00e9 geralmente recomendado utilizar o PiCockpit atrav\u00e9s da sua interface, em vez de diretamente atrav\u00e9s da linha de comandos, para uma experi\u00eancia mais amig\u00e1vel.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Como posso desinstalar o PiCockpit do meu Raspberry Pi?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Tamb\u00e9m temos uma p\u00e1gina de ajuda para si. <a href=\"https:\/\/picockpit.com\/raspberry-pi\/removing-deinstalling-picockpit\/\">detalhando como remover o PiCockpit<\/a>.<\/p>\n<div class=\"shariff shariff-align-center shariff-widget-align-left shariff-buttonstretch\"><ul class=\"shariff-buttons theme-white orientation-horizontal buttonsize-medium\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fpt%2Finstalacao-de-picketpit%2F&text=How%20to%20Install%20PiCockpit\" title=\"Compartilhar no X\" aria-label=\"Compartilhar no X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#000\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#000\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#000\">partilhar<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fpt%2Finstalacao-de-picketpit%2F\" title=\"Partilhar no Facebook\" aria-label=\"Partilhar no Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#3b5998\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#3b5998\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#3b5998\">partilhar<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button telegram shariff-nocustomcolor\" style=\"background-color:#4084A6\"><a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fpt%2Finstalacao-de-picketpit%2F&text=How%20to%20Install%20PiCockpit\" title=\"Compartilhar no Telegram\" aria-label=\"Compartilhar no Telegram\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0088cc; color:#0088cc\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#0088cc\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\"><path fill=\"#0088cc\" d=\"M30.8 6.5l-4.5 21.4c-.3 1.5-1.2 1.9-2.5 1.2L16.9 24l-3.3 3.2c-.4.4-.7.7-1.4.7l.5-7L25.5 9.2c.6-.5-.1-.8-.9-.3l-15.8 10L2 16.7c-1.5-.5-1.5-1.5.3-2.2L28.9 4.3c1.3-.5 2.3.3 1.9 2.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#0088cc\">partilhar<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fpt%2Finstalacao-de-picketpit%2F\" title=\"Compartilhar no Reddit\" aria-label=\"Compartilhar no Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#ff4500\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#ff4500\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#ff4500\">partilhar<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>Esta p\u00e1gina ir\u00e1 mostrar-lhe como instalar o PiCockpit. De momento, existem duas formas de instalar o PiCockpit Client. Uma delas \u00e9 sem uma chave API. A outra forma \u00e9 com uma chave API. Instala\u00e7\u00e3o sem uma chave API Para instalar o PiCockpit Client atrav\u00e9s da nossa interface web, primeiro precisas de criar...<\/p>","protected":false},"author":2,"featured_media":6451,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"tpl-sidebar.php","meta":{"footnotes":""},"class_list":["post-270","page","type-page","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install PiCockpit | PiCockpit<\/title>\n<meta name=\"description\" content=\"This page describes how to easily install PiCockpit. It&#039;s a quick two-step process of getting an API key and installing the client.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/picockpit.com\/raspberry-pi\/pt\/instalacao-de-picketpit\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install PiCockpit | PiCockpit\" \/>\n<meta property=\"og:description\" content=\"This page describes how to easily install PiCockpit. It&#039;s a quick two-step process of getting an API key and installing the client.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/picockpit.com\/raspberry-pi\/pt\/instalacao-de-picketpit\/\" \/>\n<meta property=\"og:site_name\" content=\"PiCockpit\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pi3gshop\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-11T12:02:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"377\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@pi3g\" \/>\n<meta name=\"twitter:label1\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/installation-of-picockpit\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/installation-of-picockpit\\\/\",\"name\":\"How to Install PiCockpit | PiCockpit\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/installation-of-picockpit\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/installation-of-picockpit\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/How-to-Install-PiCockpit-Title-Image.png\",\"datePublished\":\"2020-11-19T09:16:35+00:00\",\"dateModified\":\"2024-03-11T12:02:13+00:00\",\"description\":\"This page describes how to easily install PiCockpit. It's a quick two-step process of getting an API key and installing the client.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/installation-of-picockpit\\\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/installation-of-picockpit\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/installation-of-picockpit\\\/#primaryimage\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/How-to-Install-PiCockpit-Title-Image.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/How-to-Install-PiCockpit-Title-Image.png\",\"width\":1200,\"height\":377,\"caption\":\"How to Install PiCockpit Title Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/installation-of-picockpit\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install PiCockpit\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"name\":\"PiCockpit\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\",\"name\":\"PiCockpit.com\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"width\":1165,\"height\":283,\"caption\":\"PiCockpit.com\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/pi3gshop\",\"https:\\\/\\\/x.com\\\/pi3g\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Como instalar o PiCockpit | PiCockpit","description":"Esta p\u00e1gina descreve como instalar facilmente o PiCockpit. \u00c9 um processo r\u00e1pido de dois passos para obter uma chave API e instalar o cliente.","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:\/\/picockpit.com\/raspberry-pi\/pt\/instalacao-de-picketpit\/","og_locale":"pt_PT","og_type":"article","og_title":"How to Install PiCockpit | PiCockpit","og_description":"This page describes how to easily install PiCockpit. It's a quick two-step process of getting an API key and installing the client.","og_url":"https:\/\/picockpit.com\/raspberry-pi\/pt\/instalacao-de-picketpit\/","og_site_name":"PiCockpit","article_publisher":"https:\/\/www.facebook.com\/pi3gshop","article_modified_time":"2024-03-11T12:02:13+00:00","og_image":[{"width":1200,"height":377,"url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@pi3g","twitter_misc":{"Tempo estimado de leitura":"5 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/picockpit.com\/raspberry-pi\/installation-of-picockpit\/","url":"https:\/\/picockpit.com\/raspberry-pi\/installation-of-picockpit\/","name":"Como instalar o PiCockpit | PiCockpit","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/installation-of-picockpit\/#primaryimage"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/installation-of-picockpit\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image.png","datePublished":"2020-11-19T09:16:35+00:00","dateModified":"2024-03-11T12:02:13+00:00","description":"Esta p\u00e1gina descreve como instalar facilmente o PiCockpit. \u00c9 um processo r\u00e1pido de dois passos para obter uma chave API e instalar o cliente.","breadcrumb":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/installation-of-picockpit\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/picockpit.com\/raspberry-pi\/installation-of-picockpit\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/picockpit.com\/raspberry-pi\/installation-of-picockpit\/#primaryimage","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/12\/How-to-Install-PiCockpit-Title-Image.png","width":1200,"height":377,"caption":"How to Install PiCockpit Title Image"},{"@type":"BreadcrumbList","@id":"https:\/\/picockpit.com\/raspberry-pi\/installation-of-picockpit\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/picockpit.com\/raspberry-pi\/"},{"@type":"ListItem","position":2,"name":"How to Install PiCockpit"}]},{"@type":"WebSite","@id":"https:\/\/picockpit.com\/raspberry-pi\/#website","url":"https:\/\/picockpit.com\/raspberry-pi\/","name":"PiCockpit","description":"","publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/picockpit.com\/raspberry-pi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Organization","@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization","name":"PiCockpit.com","url":"https:\/\/picockpit.com\/raspberry-pi\/","logo":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","width":1165,"height":283,"caption":"PiCockpit.com"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pi3gshop","https:\/\/x.com\/pi3g"]}]}},"_links":{"self":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/pages\/270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/comments?post=270"}],"version-history":[{"count":31,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/pages\/270\/revisions"}],"predecessor-version":[{"id":7000,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/pages\/270\/revisions\/7000"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/media\/6451"}],"wp:attachment":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/media?parent=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}