{"id":684,"date":"2021-04-02T12:50:25","date_gmt":"2021-04-02T10:50:25","guid":{"rendered":"https:\/\/apfelcast.com\/?p=684"},"modified":"2021-04-02T12:50:25","modified_gmt":"2021-04-02T10:50:25","slug":"nextcloud-auf-windows-10-installieren-mit-hyper-v-ausfuehrliche-anleitung","status":"publish","type":"post","link":"https:\/\/it-ion.de\/index.php\/2021\/04\/02\/nextcloud-auf-windows-10-installieren-mit-hyper-v-ausfuehrliche-anleitung\/","title":{"rendered":"Nextcloud auf Windows 10 installieren mit Hyper-V &#8211; ausf\u00fchrliche Anleitung"},"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=\"PGlmcmFtZSB0aXRsZT0iWW91VHViZSB2aWRlbyBwbGF5ZXIiIHNyYz0iaHR0cHM6Ly93d3cueW91dHViZS5jb20vZW1iZWQvcnRmS0R1cGZ1bFEiIHdpZHRoPSI1NjAiIGhlaWdodD0iMzE1IiBmcmFtZWJvcmRlcj0iMCIgYWxsb3dmdWxsc2NyZWVuPSJhbGxvd2Z1bGxzY3JlZW4iPjwvaWZyYW1lPg==\">\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 Schritt-f\u00fcr-Schritt wie Ihr Nextcloud auf einem Windows 10 Computer oder Server installieren k\u00f6nnt. Hierf\u00fcr nutzen wir Hyper-V und die Linux Distribution Debian.<\/p>\n<p>\u00bb Relevante Produkte:<br \/>\nWindows 10 Pro f\u00fcr 19\u20ac : <a href=\"https:\/\/amzn.to\/2OQVowk\">https:\/\/amzn.to\/2OQVowk<\/a><br \/>\nIntel NUC Mini-PC: <a href=\"https:\/\/amzn.to\/2SosuGf\">https:\/\/amzn.to\/2SosuGf<\/a><br \/>\nDesktop-Rechner: <a href=\"https:\/\/amzn.to\/2vv5Na6\">https:\/\/amzn.to\/2vv5Na6<\/a><br \/>\nWindows Server: <a href=\"https:\/\/amzn.to\/2SnYY3u\">https:\/\/amzn.to\/2SnYY3u<\/a><\/p>\n<p>\u00bb Relevante Videos:<br \/>\nPHP Caching f\u00fcr Nextcloud optimieren: <a href=\"https:\/\/cc.apfelcast.com\/l1yoq\">https:\/\/cc.apfelcast.com\/l1yoq<\/a><br \/>\nNextcloud \u00fcber Internet erreichbar machen (Methode 1): <a href=\"https:\/\/youtu.be\/0ZhKv-DTnwQ\">https:\/\/youtu.be\/0ZhKv-DTnwQ<\/a><br \/>\nNextcloud \u00fcber Internet erreichbar machen (Methode 2): <a href=\"https:\/\/cc.apfelcast.com\/htg2g\">https:\/\/cc.apfelcast.com\/htg2g<\/a><br \/>\nNextcloud Playlist: <a href=\"https:\/\/cc.apfelcast.com\/nc\">https:\/\/cc.apfelcast.com\/nc<\/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<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">##### Install Nextcloud on Debian &amp; Hyper-V #####\n\n# apt get update &amp; upgrade\n\n# install apache\napt install apache2\n\n# directory listing deaktivieren\nsed -i \"s\/Options Indexes FollowSymLinks\/Options FollowSymLinks\/\" \/etc\/apache2\/apache2.conf\n\n# start apache service\nsystemctl start apache2.service\n\n# install Marai DB\napt install mariadb-server mariadb-client\n\n# Maria DB Server Konfiguration\nmysql_secure_installation\n\nEnter current password for root (enter for none): Just press the Enter\nSet root password? [Y\/n]: Y\nNew password: Enter password\nRe-enter new password: Repeat password\nRemove anonymous users? [Y\/n]: Y\nDisallow root login remotely? [Y\/n]: Y\nRemove test database and access to it? [Y\/n]:  Y\nReload privilege tables now? [Y\/n]:  Y\n\n# restart Maria DB server\nsystemctl restart mariadb.service\n\n## Install PHP &amp; Modules\ninstalling PHP 7.3\n\n# add PHP repository\napt-get install software-properties-common\nadd-apt-repository ppa:ondrej\/php\n\napt update\n\n\n# final PHP installation &amp; modules\napt install php7.3 libapache2-mod-php7.3 php7.3-common php7.3-gmp php7.3-curl php7.3-intl php7.3-mbstring php7.3-xmlrpc php7.3-mysql php7.3-gd php7.3-xml php7.3-cli php7.3-zip php7.3-imagick\n\n# adjust PHP.ini file\nnano \/etc\/php\/7.3\/apache2\/php.ini\n\nfile_uploads = On\nallow_url_fopen = On\nmemory_limit = 1024M\nupload_max_filesize = 16G\npost_max_size = 16G\ndisplay_errors = Off\ndate.timezone = Europe\/Berlin\n\n\n## create nextcloud Database\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 ON nextcloud.* TO 'nextclouduser'@'localhost' IDENTIFIED BY 'password_here' WITH GRANT OPTION;\n\n#save changes and exit\nFLUSH PRIVILEGES;\nEXIT;\n\n## Download lastest nextcloud version\ncd \/tmp &amp;&amp; wget \nunzip nextcloud\nmv nextcloud \/var\/www\/\n\n## configure Apache2\n\n#create new conf\nnano \/etc\/apache2\/sites-available\/nextcloud.conf\n\n&lt;VirtualHost *:80&gt;\n     ServerAdmin master@domain.com\n     DocumentRoot \/var\/www\/nextcloud\/\n     ServerName demo.domain.com\n     ServerAlias www.demo.domain.com\n  \n     Alias \/nextcloud \"\/var\/www\/nextcloud\/\"\n\n     &lt;Directory \/var\/www\/nextcloud\/&gt;\n        Options +FollowSymlinks\n        AllowOverride All\n        Require all granted\n          &lt;IfModule mod_dav.c&gt;\n            Dav off\n          &lt;\/IfModule&gt;\n        SetEnv HOME \/var\/www\/nextcloud\n        SetEnv HTTP_HOME \/var\/www\/nextcloud\n     &lt;\/Directory&gt;\n\n     ErrorLog ${APACHE_LOG_DIR}\/error.log\n     CustomLog ${APACHE_LOG_DIR}\/access.log combined\n\n&lt;\/VirtualHost&gt;\n\n\n\n# Enable the NextCloud and Rewrite Module\n\na2ensite nextcloud.conf\na2enmod rewrite\na2enmod headers\na2enmod env\na2enmod dir\na2enmod mime\n\n# prepare data folder\nchown -R www-data:www-data \/var\/www\/nextcloud\/\nchmod -R 755 \/var\/www\/nextcloud\/\n\n# change apache2 standart route\nnano \/etc\/apache2\/sites-available\/000-default.conf\n\n# adjust Nextcloud config.php #\nnano \/var\/www\/nextcloud\/config\/config.php<\/pre>\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":685,"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-684","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\/2021\/04\/maxresdefault-3-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\/684","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=684"}],"version-history":[{"count":0,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts\/684\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media\/685"}],"wp:attachment":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media?parent=684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/categories?post=684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/tags?post=684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}