{"id":1798,"date":"2023-11-16T16:37:44","date_gmt":"2024-10-24T17:40:03","guid":{"rendered":""},"modified":"2025-02-02T00:46:17","modified_gmt":"2025-02-01T23:46:17","slug":"como-instalar-o-banco-de-dados-nosql-arangodb-no-debian-11","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/como-instalar-o-banco-de-dados-nosql-arangodb-no-debian-11\/","title":{"rendered":"Como Instalar o Banco de Dados NoSQL ArangoDB no Debian 11"},"content":{"rendered":"<p>\u00a0<\/p>\n<\/p>\n<p>O <strong>ArangoDB<\/strong> \u00e9 um banco de dados NoSQL multi-modelo que suporta documentos, grafos e armazenamento de chave-valor. Ele \u00e9 amplamente utilizado para construir aplica\u00e7\u00f5es escal\u00e1veis e de alta performance. Neste tutorial, voc\u00ea aprender\u00e1 a instalar o ArangoDB no Debian 11.<\/p>\n<h2>Requisitos<\/h2>\n<ul>\n<li>Servidor rodando Debian 11<\/li>\n<li>Acesso root ou um usu\u00e1rio com privil\u00e9gios sudo<\/li>\n<li>Conex\u00e3o \u00e0 internet<\/li>\n<\/ul>\n<h2>Passo 1: Atualizar o Sistema<\/h2>\n<p>Antes de instalar o ArangoDB, \u00e9 importante garantir que o sistema esteja atualizado. Execute o seguinte comando para atualizar todos os pacotes:<\/p>\n<pre><code>sudo apt update &amp;&amp; sudo apt upgrade -y<\/code><\/pre>\n<h2>Passo 2: Adicionar o Reposit\u00f3rio do ArangoDB<\/h2>\n<p>O ArangoDB n\u00e3o est\u00e1 dispon\u00edvel nos reposit\u00f3rios padr\u00e3o do Debian 11. Portanto, voc\u00ea precisar\u00e1 adicionar o reposit\u00f3rio oficial do ArangoDB. Primeiro, importe a chave GPG do ArangoDB:<\/p>\n<pre><code>wget -q https:\/\/download.arangodb.com\/arangodb37\/DEBIAN\/Release.key -O- | sudo apt-key add -<\/code><\/pre>\n<p>Agora, adicione o reposit\u00f3rio oficial ao seu sistema:<\/p>\n<pre><code>echo 'deb https:\/\/download.arangodb.com\/arangodb37\/DEBIAN\/ \/' | sudo tee \/etc\/apt\/sources.list.d\/arangodb.list<\/code><\/pre>\n<h2>Passo 3: Instalar o ArangoDB<\/h2>\n<p>Ap\u00f3s adicionar o reposit\u00f3rio, atualize a lista de pacotes e instale o ArangoDB com o seguinte comando:<\/p>\n<pre><code>sudo apt update\r\nsudo apt install arangodb3 -y<\/code><\/pre>\n<h2>Passo 4: Configurar o ArangoDB<\/h2>\n<p>Durante a instala\u00e7\u00e3o, voc\u00ea ser\u00e1 solicitado a configurar uma senha para o usu\u00e1rio &#8220;root&#8221; do ArangoDB. Defina uma senha forte e confirme.<\/p>\n<p>O ArangoDB ser\u00e1 configurado para iniciar automaticamente ap\u00f3s a instala\u00e7\u00e3o. Voc\u00ea pode verificar o status do servi\u00e7o com o seguinte comando:<\/p>\n<pre><code>sudo systemctl status arangodb3<\/code><\/pre>\n<h2>Passo 5: Acessar a Interface Web do ArangoDB<\/h2>\n<p>O ArangoDB oferece uma interface web para gerenciar o banco de dados de forma visual. Por padr\u00e3o, ela est\u00e1 dispon\u00edvel na porta <code>8529<\/code>. Abra o navegador e acesse:<\/p>\n<pre><code>http:\/\/seu-ip-servidor:8529<\/code><\/pre>\n<p>Na tela de login, insira o usu\u00e1rio <code>root<\/code> e a senha que voc\u00ea definiu durante a instala\u00e7\u00e3o.<\/p>\n<h2>Passo 6: Configurar o Firewall (Opcional)<\/h2>\n<p>Se o firewall estiver ativado no seu servidor, voc\u00ea precisar\u00e1 permitir o tr\u00e1fego na porta <code>8529<\/code> para acessar a interface web. Execute o seguinte comando para liberar a porta:<\/p>\n<pre><code>sudo ufw allow 8529\/tcp\r\nsudo ufw reload<\/code><\/pre>\n<h2>Passo 7: Usar o ArangoDB no Terminal<\/h2>\n<p>Al\u00e9m da interface web, voc\u00ea pode interagir com o ArangoDB diretamente pelo terminal usando o cliente de linha de comando <code>arangosh<\/code>. Para iniciar o cliente ArangoDB, use o seguinte comando:<\/p>\n<pre><code>arangosh<\/code><\/pre>\n<p>Voc\u00ea ser\u00e1 solicitado a fornecer o nome de usu\u00e1rio e a senha. Ap\u00f3s isso, voc\u00ea ter\u00e1 acesso ao shell interativo do ArangoDB para executar comandos e consultas no banco de dados.<\/p>\n<h2>Passo 8: Parar, Iniciar e Reiniciar o ArangoDB<\/h2>\n<p>Voc\u00ea pode gerenciar o servi\u00e7o ArangoDB usando os seguintes comandos:<\/p>\n<pre><code>sudo systemctl stop arangodb3   # Parar o servi\u00e7o\r\nsudo systemctl start arangodb3  # Iniciar o servi\u00e7o\r\nsudo systemctl restart arangodb3  # Reiniciar o servi\u00e7o<\/code><\/pre>\n<h2>Servidor VPS<\/h2>\n<p>Se precisar de um <a href=\"https:\/\/netcloud24.com?language=portuguese-pt&amp;currency=4\" target=\"_blank\" rel=\"follow\">servidor VPS<\/a> confi\u00e1vel para hospedar seu banco de dados ArangoDB com alto desempenho e seguran\u00e7a, veja as op\u00e7\u00f5es dispon\u00edveis aqui.<\/p>\n<p><a href=\"https:\/\/de.netcloud24.com\/\" target=\"_blank\">Windows VPS Deutschland<\/a><\/p>\n<p><a href=\"https:\/\/es.netcloud24.com\/\" target=\"_blank\">Windows VPS Espa\u00f1a<\/a><\/p>\n<p><a href=\"https:\/\/nl.netcloud24.com\/\" target=\"_blank\">Windows VPS Nederland<\/a><\/p>\n<p><a href=\"https:\/\/it.netcloud24.com\/\" target=\"_blank\">Windows VPS Italia<\/a><\/p>\n<p><a href=\"https:\/\/pt.netcloud24.com\/\" target=\"_blank\">Windows VPS Portugal<\/a><\/p>\n<p><a href=\"https:\/\/it.netcloud24.com\/\" target=\"_blank\">VPS Windows Italia<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS Sverige<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS Norge<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS T\u00fcrkiye<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows RDS (Remote Desktop Services)<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<div class=\"post-author-box\" style=\"border-top:1px solid #ddd;margin-top:20px;padding-top:15px;\">\n<p><strong>Author:<\/strong> \u0141ukasz Bodziony<\/p>\n<p><strong>Website:<\/strong> <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a><\/p>\n<p><em>\u0141ukasz Bodziony is the CEO and founder of <a href=\"https:\/\/netcloud24.com\" target=\"_blank\" rel=\"dofollow\">NETCLOUD24<\/a>, a global VPS hosting brand proudly originating from Poland. With extensive experience in cloud computing, virtualization, and server management, he delivers high-performance <strong>Windows VPS<\/strong> and <strong>Remote Desktop Services (RDS)<\/strong> solutions to clients across Europe, North America, and beyond.<\/em><\/p>\n<p><em>His expertise covers a wide range of technologies, including <strong>Microsoft Azure<\/strong>, <strong>Proxmox VE<\/strong>, <strong>Amazon Web Services (AWS)<\/strong>, and numerous other virtualization and cloud platforms.<\/em><\/p>\n<p><em>Beyond running his hosting business, \u0141ukasz also provides <strong>professional paid server configuration and optimization services<\/strong> for companies and individuals. Outside of work, he is dedicated to caring for his children and building a secure future for them.<\/em><\/p>\n<p><em>If you are interested in working with him or need expert assistance with your hosting, cloud environment, or server setup, feel free to reach out via <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a>.<\/em><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 O ArangoDB \u00e9 um banco de dados NoSQL multi-modelo que suporta documentos, grafos e armazenamento de chave-valor. Ele \u00e9 amplamente utilizado para construir aplica\u00e7\u00f5es escal\u00e1veis e de\u2026<\/p>\n","protected":false},"author":1,"featured_media":3421,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[],"tags":[14,12,11,23,20,21,22,17,7,8,6,10,18,19,15,24,16,5,13,9],"class_list":["post-1798","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-cheapvps","tag-cloudvps","tag-hostingvps","tag-rds","tag-rdscal","tag-remotedesktop","tag-remotedesktopvps","tag-servervps","tag-ukvps","tag-virtualserver","tag-vpshosting","tag-vpsserver","tag-vpssolutions","tag-vpswindows","tag-vpswithwindows","tag-windowsrds","tag-windowsserver","tag-windowsvps","tag-windowsvpshosting","tag-windowsvpsuk"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1798"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1798\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media\/3421"}],"wp:attachment":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}