{"id":1279,"date":"2021-07-18T12:31:46","date_gmt":"2021-07-18T11:31:46","guid":{"rendered":"https:\/\/www.symablog.de\/blog\/?p=1279"},"modified":"2021-07-20T22:14:28","modified_gmt":"2021-07-20T21:14:28","slug":"influxdb-instalieren","status":"publish","type":"post","link":"https:\/\/www.symablog.de\/blog\/influxdb-instalieren\/","title":{"rendered":"Spickzettel: InfluxDB installieren"},"content":{"rendered":"\n<p>Stichpunkte zur Installation InfluxDB V2.0.7 auf Raspberry Pi mit Ubuntu (arm64)<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Download des entsprechenden Paketes in das aktuelle Verzeichnis <\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>$ wget https:\/\/dl.influxdata.com\/influxdb\/releases\/influxdb2-2.0.7-arm64.deb<\/strong>\n ...\n HTTP request sent, awaiting response\u2026 200 OK\n Length: 112830606 (108M) [application\/octet-stream]\n Saving to: \u2018influxdb2-2.0.7-arm64.deb\u2019\n ...\n$ ls -l\n  <strong>-rw-rw-r-- 1 ubuntu ubuntu 112830606 Jun  4 21:40 influxdb2-2.0.7-arm64.deb<\/strong><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Installieren des Package und Erzeugen der Symlinks f\u00fcr systemd<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">$<strong> sudo dpkg -i influxdb2-2.0.7-arm64.deb<\/strong>\n Selecting previously unselected package influxdb2.\n (Reading database \u2026 118966 files and directories currently installed.)\n Preparing to unpack influxdb2-2.0.7-arm64.deb \u2026\n Unpacking influxdb2 (2.0.7) \u2026\n Setting up influxdb2 (2.0.7) \u2026\n Created symlink \/etc\/systemd\/system\/influxd.service \u2192 \/lib\/systemd\/system\/influxdb.service.\n Created symlink \/etc\/systemd\/system\/multi-user.target.wants\/influxdb.service \u2192 \/lib\/systemd\/system\/influxdb.service.<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Pr\u00fcfen ob der influxdb Dienst l\u00e4uft (ggf. nach reboot)<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>$ systemctl status influxdb<\/strong>\n \u25cf influxdb.service - InfluxDB is an open-source, distributed, time series database\n      Loaded: loaded (\/lib\/systemd\/system\/influxdb.service; enabled; vendor preset: enabled)\n      Active: <span class=\"has-inline-color has-vivid-green-cyan-color\"><strong>active (running)<\/strong><\/span> since Sun 2021-07-18 12:54:56 CEST; 3min ago\n        Docs: https:\/\/docs.influxdata.com\/influxdb\/\n    Main PID: 1663 (influxd)\n       Tasks: 9 (limit: 973)\n      CGroup: \/system.slice\/influxdb.service\n              \u2514\u25001663 \/usr\/bin\/influxd \n<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Konfigurationsdatei f\u00fcr den Dienst ist \/lib\/systemd\/system\/influxdb.service:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">[Unit]\n Description=InfluxDB is an open-source, distributed, time series database\n Documentation=https:\/\/docs.influxdata.com\/influxdb\/\n After=network-online.target\n [Service]\n User=influxdb\n Group=influxdb\n LimitNOFILE=65536\n EnvironmentFile=-\/etc\/default\/influxdb2\n ExecStart=\/usr\/bin\/influxd\n KillMode=control-group\n Restart=on-failure\n [Install]\n WantedBy=multi-user.target\n Alias=influxd.service<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Datenverzeichnis f\u00fcr die Zeitreihendaten (time series data) \/var\/lib\/influxdb\/engine\/<\/li><li>Datei f\u00fcr die Schl\u00fcsselwerte ( key-value-data ) &#8211; \/var\/lib\/influxdb\/influxd.bolt<\/li><li>Ausf\u00fchrliche Installation mit optionale Varianten <a rel=\"noreferrer noopener\" href=\"https:\/\/docs.influxdata.com\/influxdb\/v2.0\/install\/\" target=\"_blank\">https:\/\/docs.influxdata.com\/influxdb\/v2.0\/install\/<\/a><\/li><li>Test CLI: Abfrage der Version \u00fcber die Kommandozeile:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>$ influx version<\/strong>\n Influx CLI 2.0.7 (git: 2a45f0c037) build_date: 2021-06-04T19:17:40Z<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Test UI: Start des User-Interface (UI) mit http:\/\/localhost:8086<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"539\" height=\"481\" src=\"https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-5.png\" alt=\"\" class=\"wp-image-1283\" srcset=\"https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-5.png 539w, https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-5-150x134.png 150w, https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-5-336x300.png 336w\" sizes=\"(max-width: 539px) 100vw, 539px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1085\" height=\"718\" src=\"https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-6.png\" alt=\"\" class=\"wp-image-1286\" srcset=\"https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-6.png 1085w, https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-6-150x99.png 150w, https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-6-768x508.png 768w, https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-6-453x300.png 453w\" sizes=\"(max-width: 1085px) 100vw, 1085px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"829\" height=\"685\" src=\"https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-7.png\" alt=\"\" class=\"wp-image-1288\" srcset=\"https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-7.png 829w, https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-7-150x124.png 150w, https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-7-768x635.png 768w, https:\/\/www.symablog.de\/blog\/wp-content\/uploads\/grafik-7-363x300.png 363w\" sizes=\"(max-width: 829px) 100vw, 829px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>n\u00e4chster Schritt: <a href=\"https:\/\/www.symablog.de\/blog\/telegraf-installieren-influxdb\/\">Telegraf installieren<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Stichpunkte zur Installation InfluxDB V2.0.7 auf Raspberry Pi mit Ubuntu (arm64) Download des entsprechenden Paketes in das aktuelle Verzeichnis $ wget https:\/\/dl.influxdata.com\/influxdb\/releases\/influxdb2-2.0.7-arm64.deb &#8230; HTTP request sent, awaiting response\u2026 200 OK Length: 112830606 (108M) [application\/octet-stream] Saving to: \u2018influxdb2-2.0.7-arm64.deb\u2019 &#8230; $ ls &hellip; <a class=\"more-link\" href=\"https:\/\/www.symablog.de\/blog\/influxdb-instalieren\/\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[229,218,98,230],"tags":[231,211,197,232],"class_list":["post-1279","post","type-post","status-publish","format-standard","hentry","category-influxdb","category-linux","category-raspberry-pi","category-ubuntu","tag-influxdb","tag-linux","tag-raspberry-pi","tag-ubuntu"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p37Rzq-kD","_links":{"self":[{"href":"https:\/\/www.symablog.de\/blog\/wp-json\/wp\/v2\/posts\/1279"}],"collection":[{"href":"https:\/\/www.symablog.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.symablog.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.symablog.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.symablog.de\/blog\/wp-json\/wp\/v2\/comments?post=1279"}],"version-history":[{"count":9,"href":"https:\/\/www.symablog.de\/blog\/wp-json\/wp\/v2\/posts\/1279\/revisions"}],"predecessor-version":[{"id":1304,"href":"https:\/\/www.symablog.de\/blog\/wp-json\/wp\/v2\/posts\/1279\/revisions\/1304"}],"wp:attachment":[{"href":"https:\/\/www.symablog.de\/blog\/wp-json\/wp\/v2\/media?parent=1279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.symablog.de\/blog\/wp-json\/wp\/v2\/categories?post=1279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.symablog.de\/blog\/wp-json\/wp\/v2\/tags?post=1279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}