{"id":1876,"date":"2025-11-22T01:03:51","date_gmt":"2023-09-28T23:16:15","guid":{"rendered":""},"modified":"2025-02-02T00:46:17","modified_gmt":"2025-02-01T23:46:17","slug":"wie-man-zabbix-auf-ubuntu-24-04-installiert","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/wie-man-zabbix-auf-ubuntu-24-04-installiert\/","title":{"rendered":"Wie man Zabbix auf Ubuntu 24.04 installiert"},"content":{"rendered":"<p>\u00a0<\/p>\n<\/p>\n<h1>\u00a0<\/h1>\n<p>Zabbix ist eine Open-Source-\u00dcberwachungssoftware, die IT-Infrastrukturen \u00fcberwacht. In dieser Anleitung zeigen wir Ihnen, wie Sie Zabbix auf einem Ubuntu 24.04-Server installieren und konfigurieren.<\/p>\n<h2>Schritt 1: Systempakete aktualisieren<\/h2>\n<p>Bevor Sie mit der Installation beginnen, stellen Sie sicher, dass Ihr System auf dem neuesten Stand ist:<\/p>\n<pre>        sudo apt update\r\n        sudo apt upgrade -y\r\n    <\/pre>\n<h2>Schritt 2: Zabbix-Repository hinzuf\u00fcgen<\/h2>\n<p>F\u00fcgen Sie das Zabbix-Repository hinzu, um die neuesten Pakete zu installieren:<\/p>\n<pre>        wget https:\/\/repo.zabbix.com\/zabbix\/6.0\/ubuntu\/$(lsb_release -c | awk '{print $2}')\/amd64\/zabbix-release_6.0-1%2Bubuntu$(lsb_release -c | awk '{print $2}')_all.deb\r\n        sudo dpkg -i zabbix-release_6.0-1%2Bubuntu$(lsb_release -c | awk '{print $2}')_all.deb\r\n        sudo apt update\r\n    <\/pre>\n<h2>Schritt 3: Installieren der Zabbix-Pakete<\/h2>\n<p>Installieren Sie die Zabbix-Server-, Frontend- und Agentenpakete:<\/p>\n<pre>        sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-agent -y\r\n    <\/pre>\n<h2>Schritt 4: MariaDB installieren und konfigurieren<\/h2>\n<p>Zabbix ben\u00f6tigt eine Datenbank. Installieren Sie MariaDB und richten Sie sie ein:<\/p>\n<pre>        sudo apt install mariadb-server -y\r\n        sudo systemctl start mariadb\r\n        sudo systemctl enable mariadb\r\n    <\/pre>\n<p>Erstellen Sie die Zabbix-Datenbank und einen Benutzer f\u00fcr Zabbix:<\/p>\n<pre>        sudo mysql -u root\r\n        CREATE DATABASE zabbix character set utf8mb4 collate utf8mb4_bin;\r\n        CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'password';\r\n        GRANT ALL PRIVILEGES ON zabbix.* TO 'zabbix'@'localhost';\r\n        FLUSH PRIVILEGES;\r\n        EXIT;\r\n    <\/pre>\n<h2>Schritt 5: Zabbix-Server konfigurieren<\/h2>\n<p>Bearbeiten Sie die Zabbix-Server-Konfigurationsdatei, um die Datenbankverbindung festzulegen:<\/p>\n<pre>        sudo nano \/etc\/zabbix\/zabbix_server.conf\r\n    <\/pre>\n<p>\u00c4ndern Sie die folgenden Zeilen, um die Zabbix-Datenbank und den Benutzer hinzuzuf\u00fcgen:<\/p>\n<pre>        DBName=zabbix\r\n        DBUser=zabbix\r\n        DBPassword=password\r\n    <\/pre>\n<h2>Schritt 6: Zabbix-Datenbank initialisieren<\/h2>\n<p>Initialisieren Sie die Zabbix-Datenbank mit den Standardtabellen:<\/p>\n<pre>        sudo zabbix_server -n\r\n    <\/pre>\n<h2>Schritt 7: Zabbix-Frontend konfigurieren<\/h2>\n<p>Bearbeiten Sie die Zabbix-Frontend-Konfigurationsdatei, um das Webinterface zu konfigurieren:<\/p>\n<pre>        sudo nano \/etc\/zabbix\/apache.conf\r\n    <\/pre>\n<p>Aktivieren Sie das Modul PHP-Datei, indem Sie sicherstellen, dass die Zeile zur Konfiguration passt:<\/p>\n<pre>        php_value max_execution_time 300\r\n    <\/pre>\n<h2>Schritt 8: Zabbix-Server und Agenten starten<\/h2>\n<p>Starten Sie den Zabbix-Server und den Zabbix-Agenten-Dienst:<\/p>\n<pre>        sudo systemctl start zabbix-server\r\n        sudo systemctl enable zabbix-server\r\n        sudo systemctl start zabbix-agent\r\n        sudo systemctl enable zabbix-agent\r\n    <\/pre>\n<h2>Schritt 9: Zabbix-Frontend aufrufen<\/h2>\n<p>\u00d6ffnen Sie Ihren Webbrowser und gehen Sie zu <strong>http:\/\/your-server-ip\/zabbix<\/strong>, um das Zabbix-Webinterface zu erreichen. Folgen Sie den Anweisungen, um das Frontend zu konfigurieren und die Datenbankverbindung zu testen.<\/p>\n<h2>Schritt 10: Zabbix-Frontend abschlie\u00dfen<\/h2>\n<p>Schlie\u00dfen Sie die Webinstallation ab, indem Sie die folgenden Schritte auf der Benutzeroberfl\u00e4che befolgen, um Zabbix vollst\u00e4ndig zu konfigurieren.<\/p>\n<h2>VPS-Empfehlung<\/h2>\n<p>Wenn Sie einen 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 Zabbix ist eine Open-Source-\u00dcberwachungssoftware, die IT-Infrastrukturen \u00fcberwacht. In dieser Anleitung zeigen wir Ihnen, wie Sie Zabbix auf einem Ubuntu 24.04-Server installieren und konfigurieren. Schritt 1: Systempakete\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-1876","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\/1876","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=1876"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1876\/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=1876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}