{"id":1874,"date":"2022-11-29T23:42:55","date_gmt":"2023-01-05T07:53:50","guid":{"rendered":""},"modified":"2025-02-02T00:46:17","modified_gmt":"2025-02-01T23:46:17","slug":"wie-man-graylog-auf-ubuntu-24-04-installiert","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/wie-man-graylog-auf-ubuntu-24-04-installiert\/","title":{"rendered":"Wie man Graylog auf Ubuntu 24.04 installiert"},"content":{"rendered":"<p>\u00a0<\/p>\n<\/p>\n<h1>\u00a0<\/h1>\n<p>Graylog ist eine Open-Source-Plattform f\u00fcr das Management von Log-Daten. In dieser Anleitung zeigen wir Ihnen, wie Sie Graylog auf Ubuntu 24.04 installieren und konfigurieren.<\/p>\n<h2>Schritt 1: Systempakete aktualisieren<\/h2>\n<p>Bevor Sie beginnen, aktualisieren Sie Ihr System, um sicherzustellen, dass alle Pakete auf dem neuesten Stand sind:<\/p>\n<pre>        sudo apt update\r\n        sudo apt upgrade -y\r\n    <\/pre>\n<h2>Schritt 2: Java installieren<\/h2>\n<p>Graylog ben\u00f6tigt Java. Installieren Sie OpenJDK 11:<\/p>\n<pre>        sudo apt install openjdk-11-jre-headless -y\r\n    <\/pre>\n<h2>Schritt 3: Elasticsearch installieren<\/h2>\n<p>Graylog ben\u00f6tigt Elasticsearch als Backend. F\u00fchren Sie die folgenden Befehle aus, um Elasticsearch zu installieren:<\/p>\n<pre>        wget https:\/\/artifacts.elastic.co\/downloads\/elasticsearch\/elasticsearch-8.4.0-linux-x86_64.tar.gz\r\n        tar -xvzf elasticsearch-8.4.0-linux-x86_64.tar.gz\r\n        sudo mv elasticsearch-8.4.0 \/opt\/elasticsearch\r\n    <\/pre>\n<p>Starten Sie Elasticsearch:<\/p>\n<pre>        sudo \/opt\/elasticsearch\/bin\/elasticsearch\r\n    <\/pre>\n<h2>Schritt 4: MongoDB installieren<\/h2>\n<p>Graylog ben\u00f6tigt MongoDB als Datenbank. Installieren Sie MongoDB mit den folgenden Befehlen:<\/p>\n<pre>        sudo apt install mongodb -y\r\n    <\/pre>\n<p>Starten Sie MongoDB:<\/p>\n<pre>        sudo systemctl start mongodb\r\n        sudo systemctl enable mongodb\r\n    <\/pre>\n<h2>Schritt 5: Graylog installieren<\/h2>\n<p>F\u00fcgen Sie das Graylog-Repository hinzu und installieren Sie Graylog:<\/p>\n<pre>        wget https:\/\/packages.graylog2.org\/repo\/packages\/graylog-4.3-repository_latest.deb\r\n        sudo dpkg -i graylog-4.3-repository_latest.deb\r\n        sudo apt update\r\n        sudo apt install graylog-server -y\r\n    <\/pre>\n<h2>Schritt 6: Graylog konfigurieren<\/h2>\n<p>Bearbeiten Sie die Konfigurationsdatei von Graylog, um die Verbindungen zu Elasticsearch und MongoDB festzulegen:<\/p>\n<pre>        sudo nano \/etc\/graylog\/server\/server.conf\r\n    <\/pre>\n<p>\u00c4ndern Sie die folgenden Zeilen entsprechend Ihrer Konfiguration:<\/p>\n<pre>        elasticsearch_shards = 4\r\n        elasticsearch_replicas = 1\r\n        graylog_http_enable = true\r\n        graylog_http_bind_address = 0.0.0.0:9000\r\n        password_secret = \r\n        root_password_sha2 = \r\n    <\/pre>\n<h2>Schritt 7: Graylog starten<\/h2>\n<p>Starten Sie den Graylog-Dienst:<\/p>\n<pre>        sudo systemctl start graylog-server\r\n        sudo systemctl enable graylog-server\r\n    <\/pre>\n<h2>Schritt 8: Auf Graylog zugreifen<\/h2>\n<p>\u00d6ffnen Sie Ihren Browser und gehen Sie zu <strong>http:\/\/your-ip:9000<\/strong>, um auf die Graylog-Weboberfl\u00e4che zuzugreifen. Melden Sie sich mit dem Benutzernamen &#8220;admin&#8221; und dem Passwort an, das Sie bei der Konfiguration festgelegt haben.<\/p>\n<h2>VPS-Empfehlung<\/h2>\n<p>Wenn Sie nach einem zuverl\u00e4ssigen VPS suchen, besuchen Sie den folgenden Link f\u00fcr Windows VPS-Dienste: <a href=\"https:\/\/de.netcloud24.com\/\" target=\"_blank\" rel=\"follow\">Windows VPS von NetCloud24<\/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 \u00a0 Graylog ist eine Open-Source-Plattform f\u00fcr das Management von Log-Daten. In dieser Anleitung zeigen wir Ihnen, wie Sie Graylog auf Ubuntu 24.04 installieren und konfigurieren. Schritt 1:\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-1874","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\/1874","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=1874"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1874\/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=1874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}