{"id":987,"date":"2022-04-05T16:32:56","date_gmt":"2022-04-05T14:32:56","guid":{"rendered":"https:\/\/apfelcast.com\/?p=987"},"modified":"2022-04-05T16:32:56","modified_gmt":"2022-04-05T14:32:56","slug":"intel-nuc-als-nextcloud-server-einfache-installationsanleitung","status":"publish","type":"post","link":"https:\/\/it-ion.de\/index.php\/2022\/04\/05\/intel-nuc-als-nextcloud-server-einfache-installationsanleitung\/","title":{"rendered":"Intel NUC als Nextcloud Server &#8211; einfache Installationsanleitung"},"content":{"rendered":"\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=\"PGlmcmFtZSB0aXRsZT0iWW91VHViZSB2aWRlbyBwbGF5ZXIiIHNyYz0iaHR0cHM6Ly93d3cueW91dHViZS5jb20vZW1iZWQvWnRpQWNEWUlkYXciIHdpZHRoPSI1NjAiIGhlaWdodD0iMzE1IiBmcmFtZWJvcmRlcj0iMCIgYWxsb3dmdWxsc2NyZWVuPSJhbGxvd2Z1bGxzY3JlZW4iPjwvaWZyYW1lPg==\">\n<div class=\"brlbs-cmpnt-cb-preset-a\">\n<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>\n<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>\n<p> <a class=\"brlbs-cmpnt-cb-provider-toggle\" href=\"#\" data-borlabs-cookie-show-provider-information role=\"button\">Mehr Informationen<\/a> <\/div>\n<\/div>\n<p>In diesem Video erfahrt ihr, wie ihr einen Intel NUC als Nextcloud Server verwenden k\u00f6nnt. Dabei zeige Ich euch, wie ihr die Hardware von euerem Intel NUC upgraden k\u00f6nnt, wie Ihr Ubuntu Server als Betriebsystem installieren k\u00f6nnt und wie Ihr die Nextcloud Schritt-f\u00fcr-Schritt auf dem System installieren k\u00f6nnt.<\/p>\n<p>\u00bb Verlinkte Videos:<br \/>\nSicherheits- und Einrichtungswarnungen beheben: <a href=\"https:\/\/cc.apfelcast.com\/5es8y\">https:\/\/cc.apfelcast.com\/5es8y<\/a><br \/>\nAus dem Internet erreichbar machen: <a href=\"https:\/\/cc.apfelcast.com\/9aekh\">https:\/\/cc.apfelcast.com\/9aekh<\/a><br \/>\nNextcloud Playlist: <a href=\"https:\/\/www.youtube.com\/watch?v=mlRAaZT53Rg&amp;list=PLLg1WgOBYXOtQOwYQjJc1GbuYz-wJgmtN\">https:\/\/www.youtube.com\/watch?v=mlRAaZT53Rg&amp;list=PLLg1WgOBYXOtQOwYQjJc1GbuYz-wJgmtN<\/a><\/p>\n<p>\u00bb Im Video verwendete Befehle:<\/p>\n<p>\u00bb Produktlinks:<br \/>\nIntel NUC 10 aus dem Video: <a href=\"https:\/\/amzn.to\/38bLqSK\">https:\/\/amzn.to\/38bLqSK<\/a><br \/>\nIntel NUC 11: <a href=\"https:\/\/amzn.to\/3NGruaY\">https:\/\/amzn.to\/3NGruaY<\/a><br \/>\nWeitere Intel NUC Modelle: <a href=\"https:\/\/amzn.to\/3iWacIH\">https:\/\/amzn.to\/3iWacIH<\/a><br \/>\n2,5 Zoll HDD: <a href=\"https:\/\/amzn.to\/3qVLI6V\">https:\/\/amzn.to\/3qVLI6V<\/a><br \/>\n2,5 Zoll SSD: <a href=\"https:\/\/amzn.to\/3uMFaIQ\">https:\/\/amzn.to\/3uMFaIQ<\/a><br \/>\n8GB RAM Modul: <a href=\"https:\/\/amzn.to\/3qWpj9z\">https:\/\/amzn.to\/3qWpj9z<\/a><br \/>\n16GB RAM Modul: <a href=\"https:\/\/amzn.to\/3DwPHff\">https:\/\/amzn.to\/3DwPHff<\/a><br \/>\nExterne Festplatte: <a href=\"https:\/\/amzn.to\/3LzyyEr\">https:\/\/amzn.to\/3LzyyEr<\/a><\/p>\n<p>&nbsp;<\/p>\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&#038;formatId=1\"><\/script><\/div>\n<p>&nbsp;<\/p>\n<h3>Im Video verwendete Befehle:<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">#### Befehle Nextcloud miniServer ####\n\n### 1. Festplatte einh\u00e4mgen ###\n\n## 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 if disk is &gt; 2TB ##\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\/hdd\n\n## add by UUID ##\nblkid\n\nnano \/etc\/fstab\nUUID=41c22818-fbad-4da6-8196-c816df0b7aa8    \/mmnt\/hdd    ext4    defaults    0    1\n\n\n### 2. Nextcloud Installation ###\n\n# updating \napt-get update\napt-get upgrade\n\n# Installing apache\napt install apache2\n\n# Install PHP 8.0 \napt install software-properties-common\nadd-apt-repository ppa:ondrej\/php\napt update\n\napt install php8.0\n\n# Install PHP Moduls\napt install libapache2-mod-php8.0 php8.0-zip php-dompdf php8.0-xml php8.0-mbstring php8.0-gd php8.0-curl php8.0-imagick libmagickcore-6.q16-6-extra php8.0-intl php8.0-bcmath php8.0-gmp php8.0-cli php-json php8.0-mysql php8.0-zip php8.0-gd  php8.0-mbstring php8.0-curl php8.0-xml php-pear unzip nano php8.0-apcu redis-server php8.0-redis\n\n(# remove php8.1 #)\napt purge '^php8.1.*'\n\n# adjust PHP.ini file\nnano \/etc\/php\/8.0\/apache2\/php.ini\n\nmemory_limit = 1024M\nupload_max_filesize = 16G\npost_max_size = 16G\ndate.timezone = Europe\/Berlin\noutput_buffering = Off\n\n\n# Install Databse Server\napt install mariadb-server\n\n# Maria DB Server Konfiguration\nmysql_secure_installation\n\n# open SQL dialoge\nmysql\n\n# create database calles nextcloud\nCREATE DATABASE nextcloud; \n\n# create database user with password\nCREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here';\n\n#grant accesss to databse\nGRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';\n\n#save changes and exit\nFLUSH PRIVILEGES;\nEXIT;\n\n# Download lastest nextcloud version\ncd \/tmp &amp;&amp; wget https:\/\/download.nextcloud.com\/server\/releases\/latest.zip\nunzip latest.zip\nmv nextcloud \/var\/www\/\n\n#edit conf\nnano \/etc\/apache2\/sites-available\/000-default.conf\n \n# Enable the NextCloud and Rewrite Module\n\na2enmod rewrite\na2enmod headers\na2enmod env\na2enmod dir\na2enmod mime\n\n# restart apache\nsystemctl restart apache2.service\n\n# prepare data folder\nchown -R www-data:www-data \/mnt\/hdd\/\n\nchown -R www-data:www-data \/var\/www\/nextcloud\/\nchmod -R 755 \/var\/www\/nextcloud\/<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3>apfelcast Support<\/h3>\n<p>Du ben\u00f6tigst Unterst\u00fctzung bei deinem Projekt oder hast Fragen zur Umsetzung?<br \/>\n<strong>Dann melde ich gern bei uns!<\/strong><\/p>\n<p>[button link=&#8220;https:\/\/apfelcast.com\/kontakt&#8220; type=&#8220;big&#8220; class=&#8220; custom-button&#8220;] Kontaktieren[\/button]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sie sehen gerade einen Platzhalterinhalt von Standard. Um auf den eigentlichen Inhalt zuzugreifen, klicken Sie&#8230;<\/p>\n","protected":false},"author":1,"featured_media":988,"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-987","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\/2022\/04\/thumb_nc-intel-nuc-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\/987","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=987"}],"version-history":[{"count":0,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts\/987\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media\/988"}],"wp:attachment":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media?parent=987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/categories?post=987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/tags?post=987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}