{"id":744,"date":"2021-04-03T13:47:04","date_gmt":"2021-04-03T11:47:04","guid":{"rendered":"https:\/\/apfelcast.com\/?p=744"},"modified":"2021-04-03T13:47:04","modified_gmt":"2021-04-03T11:47:04","slug":"nextcloud-21-installieren-auf-ubuntu-20-04-einfache-schritt-fuer-schritt-anleitung","status":"publish","type":"post","link":"https:\/\/it-ion.de\/index.php\/2021\/04\/03\/nextcloud-21-installieren-auf-ubuntu-20-04-einfache-schritt-fuer-schritt-anleitung\/","title":{"rendered":"Nextcloud 21 installieren auf Ubuntu 20.04 &#8211; einfache Schritt-f\u00fcr-Schritt 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=\"PGlmcmFtZSB0aXRsZT0iWW91VHViZSB2aWRlbyBwbGF5ZXIiIHNyYz0iaHR0cHM6Ly93d3cueW91dHViZS5jb20vZW1iZWQvbkFYaS1DMllRbFUiIHdpZHRoPSI1NjAiIGhlaWdodD0iMzE1IiBmcmFtZWJvcmRlcj0iMCIgYWxsb3dmdWxsc2NyZWVuPSJhbGxvd2Z1bGxzY3JlZW4iPjwvaWZyYW1lPg==\">\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 zeige Ich euch, wie ihr Nextcloud 21 Schritt-f\u00fcr-Schritt auf eurem Linux Server installieren k\u00f6nnt. Dieses Video richtet sich sowohl an Anf\u00e4nger, wie auch Fortgeschrittene.<\/p>\n<p>\u00bb Sicherheits- und Einrichtungswarnungen bearbeiten: <a href=\"https:\/\/www.patreon.com\/posts\/48704300\">https:\/\/www.patreon.com\/posts\/48704300<\/a><\/p>\n<p>\u00bb Weitere Videos zum Thema Nextcloud: <a href=\"https:\/\/www.youtube.com\/playlist?list=PLLg1WgOBYXOtQOwYQjJc1GbuYz-wJgmtN\">https:\/\/www.youtube.com\/playlist?list=PLLg1WgOBYXOtQOwYQjJc1GbuYz-wJgmtN<\/a><\/p>\n<p>\u00bb Nextcloud Quick Tipps:<a href=\"https:\/\/www.youtube.com\/playlist?list=PLLg1WgOBYXOt44ZoGMEem1veu6d-SeN5C\"> https:\/\/www.youtube.com\/playlist?list=PLLg1WgOBYXOt44ZoGMEem1veu6d-SeN5C<\/a><\/p>\n<p>\u00bb Erw\u00e4hnte Videos:<br \/>\nEigenen Linux Home-Server bauen: <a href=\"https:\/\/youtu.be\/LmNNTFgKBBw\">https:\/\/youtu.be\/LmNNTFgKBBw<\/a><br \/>\nProxmox Videoreihe: <a href=\"https:\/\/www.youtube.com\/playlist?list=PLLg1WgOBYXOs3dFOlaujpPLXVkq06btrk\">https:\/\/www.youtube.com\/playlist?list=PLLg1WgOBYXOs3dFOlaujpPLXVkq06btrk<\/a><br \/>\nDynDNS einrichten: <a href=\"https:\/\/youtu.be\/0ZhKv-DTnwQ\">https:\/\/youtu.be\/0ZhKv-DTnwQ<\/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\">#### Nextcloud 21 Install ####\n\n# updating \napt-get update\napt-get upgrade\n\n# Installing LAMP-Stack\napt install lamp-server^\n\n# Install PHP Moduls\napt install php-zip php-dompdf php-xml php-mbstring php-gd php-curl php-imagick php-intl php-bcmath php-gmp libmagickcore-6.q16-6-extra unzip\n\n# adjust PHP.ini file\nnano \/etc\/php\/7.4\/apache2\/php.ini\n\nmemory_limit = 1024M\nupload_max_filesize = 16G\npost_max_size = 16G\ndate.timezone = Europe\/Berlin\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#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# Enable the NextCloud and Rewrite Module\n\na2ensite nextcloud.conf\na2enmod rewrite\na2enmod headers\na2enmod env\na2enmod dir\na2enmod mime\n\n# restart apache\nsystemctl restart apache2.service\n\n# prepare data folder\nmkdir \/home\/data\/\nchown -R www-data:www-data \/home\/data\/\n\nchown -R www-data:www-data \/var\/www\/nextcloud\/\nchmod -R 755 \/var\/www\/nextcloud\/\n\n## create Let's Encrypt SSL-Certificate\n\n#install certbot\napt install certbot python3-certbot-apache\n\ncertbot --apache -m master@domain.com -d cloud.domain.com\n\n#--&gt; only lasts 90 days\n\n#install crontab\ncrontab -e\n\n40 3 * * 0 letsencrypt renew &gt;&gt; \/var\/log\/letsencrypt-renew.log &amp;&amp; service apache2 reload &gt; \/dev\/null 2&gt;&amp;1\n\n--&gt; Domain ansurfen und Einrichtung abschlie\u00dfen<\/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":745,"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-744","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-9-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\/744","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=744"}],"version-history":[{"count":0,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts\/744\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media\/745"}],"wp:attachment":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media?parent=744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/categories?post=744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/tags?post=744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}