{"id":1448,"date":"2023-12-06T16:10:25","date_gmt":"2023-12-06T15:10:25","guid":{"rendered":"https:\/\/apfelcast.com\/?p=1448"},"modified":"2023-12-06T16:10:25","modified_gmt":"2023-12-06T15:10:25","slug":"nextcloud-auf-raspberry-pi-5-installieren-einfach-mit-docker-container","status":"publish","type":"post","link":"https:\/\/it-ion.de\/index.php\/2023\/12\/06\/nextcloud-auf-raspberry-pi-5-installieren-einfach-mit-docker-container\/","title":{"rendered":"Nextcloud auf Raspberry Pi 5 installieren &#8211; Einfach mit Docker Container"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n <div class=\"brlbs-cmpnt-container brlbs-cmpnt-content-blocker brlbs-cmpnt-with-individual-styles\" data-borlabs-cookie-content-blocker-id=\"default\" data-borlabs-cookie-content=\"PGlmcmFtZSB0aXRsZT0iTmV4dGNsb3VkIGF1ZiBSYXNwYmVycnkgUGkgNSBpbnN0YWxsaWVyZW4gLSBFaW5mYWNoIG1pdCBEb2NrZXIgQ29udGFpbmVyIiB3aWR0aD0iNzIwIiBoZWlnaHQ9IjQwNSIgc3JjPSJodHRwczovL3d3dy55b3V0dWJlLmNvbS9lbWJlZC9UMjBZRWY3QUNzQT9mZWF0dXJlPW9lbWJlZCIgZnJhbWVib3JkZXI9IjAiIGFsbG93PSJhY2NlbGVyb21ldGVyOyBhdXRvcGxheTsgY2xpcGJvYXJkLXdyaXRlOyBlbmNyeXB0ZWQtbWVkaWE7IGd5cm9zY29wZTsgcGljdHVyZS1pbi1waWN0dXJlOyB3ZWItc2hhcmUiIGFsbG93ZnVsbHNjcmVlbj48L2lmcmFtZT4=\"><div class=\"brlbs-cmpnt-cb-preset-a\"> <p class=\"brlbs-cmpnt-cb-description\">Sie sehen gerade einen Platzhalterinhalt von <strong>Standard<\/strong>. Um auf den eigentlichen Inhalt zuzugreifen, klicken Sie auf die Schaltfl\u00e4che unten. Bitte beachten Sie, dass dabei Daten an Drittanbieter weitergegeben werden.<\/p> <div class=\"brlbs-cmpnt-cb-buttons\"> <a class=\"brlbs-cmpnt-cb-btn\" href=\"#\" data-borlabs-cookie-unblock role=\"button\">Inhalt entsperren<\/a> <a class=\"brlbs-cmpnt-cb-btn\" href=\"#\" data-borlabs-cookie-accept-service role=\"button\" style=\"display: none\">Erforderlichen Service akzeptieren und Inhalte entsperren<\/a> <\/div> <a class=\"brlbs-cmpnt-cb-provider-toggle\" href=\"#\" data-borlabs-cookie-show-provider-information role=\"button\">Mehr Informationen<\/a> <\/div><\/div>\n<\/div><\/figure>\n\n\n\n<p>In diesem Video erf\u00e4hrst du, wie du Nextcloud Schritt-f\u00fcr-Schritt via Docker auf deinem Raspberry Pi 5 installieren kannst. Au\u00dferdem erf\u00e4hrst du in diesem Video wie du eine externe Festplatte als Datenspeicher verwenden kannst und wie du auch sicher von au\u00dferhalb auf deine Nextcloud zugreifen kannst.<\/p>\n\n\n\n<p>\u2139\ufe0f Externen Zugriff einrichten:\u00a0<a href=\"https:\/\/www.patreon.com\/posts\/nextcloud-auf-pi-94128679\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.patreon.com\/posts\/nextcloud-auf-pi-94128679<\/a><\/p>\n\n\n\n<p>\ud83d\uded2 Verwendete Produkte:<br>Raspberry Pi 5: <a href=\"https:\/\/amzn.to\/47HWocG\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/47HWocG<\/a><br>Raspberry Pi 5 Netzteil: <a href=\"https:\/\/amzn.to\/3GuChCU\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/3GuChCU<\/a><br>microSD Karte: <a href=\"https:\/\/amzn.to\/3GuhbV2\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/3GuhbV2<\/a><br>Raspberry Pi 5 Case: <a href=\"https:\/\/amzn.to\/3RuINzU\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/3RuINzU<\/a><br>Externe SSD: <a href=\"https:\/\/amzn.to\/3N9G7Fd\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/3N9G7Fd<\/a><br>Externe HDD: <a href=\"https:\/\/amzn.to\/3Gu6H8b\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/amzn.to\/3Gu6H8b<\/a><\/p>\n\n\n\n<p>\ud83c\udfa5 Videos: <br>Mehr Videos und Anleitungen zu Nextcloud: <a href=\"https:\/\/www.youtube.com\/playlist?list=PLLg1WgOBYXOtQOwYQjJc1GbuYz-wJgmtN\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.youtube.com\/playlist?list=PLLg1WgOBYXOtQOwYQjJc1GbuYz-wJgmtN <\/a><br>Einfache WireGuard VPN via Docker: <a href=\"https:\/\/youtu.be\/yOmYfxAFMnM\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/youtu.be\/yOmYfxAFMnM<\/a><\/p>\n\n\n\n<p>\ud83d\udee0\ufe0f Nextcloud IT-Support \ud83d\udee0\ufe0f<\/p>\n\n\n\n<p> Du ben\u00f6tigst Unterst\u00fctzung bei der Installation oder Konfiguration von Nextcloud Software? Ich helfe dir gerne weiter! Schreib mir einfach eine Mail an: service@apfelcast.com<\/p>\n\n\n\n<div id=\"93964-1\"><script src=\"\/\/ads.themoneytizer.com\/s\/gen.js?type=1\"><\/script><script src=\"\/\/ads.themoneytizer.com\/s\/requestform.js?siteId=93964&amp;formatId=1\"><\/script><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Im Video verwendete Befehle:<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">## Check disks ##\nlsblk\n\n## If used disk - Remove all data &amp; partitions from disks ##\nparted \/dev\/sda \"rm 1\"\n\n## Check if no partitions are on disks ##\nlsblk\n\n## Create GPT Table ##\nparted \/dev\/sda \"mklabel gpt\"\n\n## Create partition on disk ##\nparted \/dev\/sda \"mkpart primary ext4 1M -1\"\n\n## Create Datasystem on drive ##\nmkfs -t ext4 \/dev\/sda1\n\n## Create Mount Directory ##\nmkdir \/mnt\/ssd\n\n## add by UUID ##\nblkid\n\nnano \/etc\/fstab\nUUID=41c22818-fbad-4da6-8196-c816df0b7aa8\t\/mnt\/ssd    ext4    defaults    0    1\n\n## mount drive ##\nmount -a\n\n## check mount ##\ndf -Th\n\n###### Nextcloud Installation ########\n\n## Verzeichnisse erstellen ##\nmkdir nextcloud\nmkdir nextcloud\/nextcloud\nmkdir nextcloud\/apps\nmkdir nextcloud\/config\nmkdir nextcloud\/mariadb\n\nmkdir \/mnt\/ssd\/ncdata\n\nchown -R www-data:www-data \/mnt\/ssd\/ncdata\n\n## docker-compose erstellen ##\nnano docker-compose.yml\n\nversion: '2'\n\nservices:\n  mariadb:\n    image: mariadb\n    restart: always\n    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed\n    ports:\n      - 9022:3306\n    volumes:\n      - \/root\/nextcloud\/mariadb:\/var\/lib\/mysql\n    environment:\n      - MYSQL_ROOT_PASSWORD=MeinSicheresPasswort\n      - MYSQL_DATABASE=nextcloud\n      - MYSQL_USER=root\n\n  nextcloud:\n    image: nextcloud\n    restart: always\n    ports:\n      - 8080:80\n    links:\n      - mariadb:mysql\n    volumes:\n      - \/root\/nextcloud\/nextcloud:\/var\/www\/html \n      - \/root\/nextcloud\/apps:\/var\/www\/html\/custom_apps \n      - \/root\/nextcloud\/config:\/var\/www\/html\/config \n      - \/mnt\/ssd\/ncdata:\/var\/www\/html\/data \n    environment:\n      - MYSQL_PASSWORD=MeinSicheresPasswort\n      - MYSQL_DATABASE=nextcloud\n      - MYSQL_USER=root\n      - MYSQL_HOST=mariadb<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In diesem Video erf\u00e4hrst du, wie du Nextcloud Schritt-f\u00fcr-Schritt via Docker auf deinem Raspberry Pi&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1451,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-1448","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allgemein"],"taxonomy_info":{"category":[{"value":1,"label":"Allgemein"}]},"featured_image_src_large":["https:\/\/it-ion.de\/wp-content\/uploads\/2023\/12\/thumbnail_NC-Pi-5-1024x576.jpg",1024,576,true],"author_info":{"display_name":"Daniel Klozb\u00fccher","author_link":"https:\/\/it-ion.de\/index.php\/author\/wp-master\/"},"comment_info":0,"category_info":[{"term_id":1,"name":"Allgemein","slug":"allgemein","term_group":0,"term_taxonomy_id":1,"taxonomy":"category","description":"","parent":0,"count":89,"filter":"raw","cat_ID":1,"category_count":89,"category_description":"","cat_name":"Allgemein","category_nicename":"allgemein","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts\/1448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/comments?post=1448"}],"version-history":[{"count":0,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts\/1448\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media\/1451"}],"wp:attachment":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media?parent=1448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/categories?post=1448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/tags?post=1448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}