{"id":1314,"date":"2022-12-02T16:25:03","date_gmt":"2022-12-02T15:25:03","guid":{"rendered":"https:\/\/apfelcast.com\/?p=1314"},"modified":"2022-12-02T16:25:03","modified_gmt":"2022-12-02T15:25:03","slug":"nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung","status":"publish","type":"post","link":"https:\/\/it-ion.de\/index.php\/2022\/12\/02\/nextcloud-25-auf-linux-server-ubuntu-22-04-installieren-einfache-anleitung\/","title":{"rendered":"Nextcloud 25 auf Linux Server (Ubuntu 22.04) installieren &#8211; Einfache Anleitung"},"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=\"PGlmcmFtZSB0aXRsZT0iTmV4dGNsb3VkIDI1IGF1ZiBMaW51eCBTZXJ2ZXIgKFVidW50dSAyMi4wNCkgaW5zdGFsbGllcmVuIC0gRWluZmFjaGUgQW5sZWl0dW5nIiB3aWR0aD0iNzIwIiBoZWlnaHQ9IjQwNSIgc3JjPSJodHRwczovL3d3dy55b3V0dWJlLmNvbS9lbWJlZC9YdnpoalZOR2xVQT9mZWF0dXJlPW9lbWJlZCIgZnJhbWVib3JkZXI9IjAiIGFsbG93PSJhY2NlbGVyb21ldGVyOyBhdXRvcGxheTsgY2xpcGJvYXJkLXdyaXRlOyBlbmNyeXB0ZWQtbWVkaWE7IGd5cm9zY29wZTsgcGljdHVyZS1pbi1waWN0dXJlIiBhbGxvd2Z1bGxzY3JlZW4+PC9pZnJhbWU+\"><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 zeige Ich dir, wie du Nextcloud in Version 25 ganz einfach auf einem Linux Server mit Ubuntu 22.04 als Betriebssystem installieren kannst. Au\u00dferdem erf\u00e4hrst du in diesem Video wie du deine Nextcloud aus dem Internet erreichbar machen kannst, ein kostenloses SSL-Zertifikat erh\u00e4ltst und wie du die Sicherheits- und Einrichtungswarnungen beheben kannst.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u00bb Sicherheits- und Einrichtungswarnungen beheben: <a href=\"https:\/\/cc.apfelcast.com\/7qcjg\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/cc.apfelcast.com\/7qcjg<\/a><br>\u00bb DynDNS f\u00fcr Domain einrichten: <a href=\"https:\/\/cc.apfelcast.com\/8738z\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/cc.apfelcast.com\/8738z<\/a><br>\u00bb Nextcloud Absichern: <a href=\"https:\/\/youtu.be\/0-hxlvR6f9g\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/youtu.be\/0-hxlvR6f9g<\/a><br>\u00bb Nextcloud Backup erstellen: <a href=\"https:\/\/youtu.be\/w2E691F57Hk\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/youtu.be\/w2E691F57Hk<\/a><\/p>\n\n\n\n<p>\u00bb Nextcloud Playlist: <a href=\"https:\/\/www.youtube.com\/watch?v=mlRAaZT53Rg&amp;list=PLLg1WgOBYXOtQOwYQjJc1GbuYz-wJgmtN\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.youtube.com\/watch?v=mlRAaZT53Rg&amp;list=PLLg1WgOBYXOtQOwYQjJc1GbuYz-wJgmtN<\/a><\/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=\"\"># updating \napt update &amp;&amp; apt upgrade -y\n\n# Installing apache\napt install apache2\n\n# Install PHP 8.1 \napt install software-properties-common\nadd-apt-repository ppa:ondrej\/php\napt update\n\n# Install PHP 8.1 &amp; Moduls\napt install php8.1 libapache2-mod-php8.1 php8.1-zip php-dompdf php8.1-xml php8.1-mbstring php8.1-gd php8.1-curl php8.1-imagick libmagickcore-6.q16-6-extra php8.1-intl php8.1-bcmath php8.1-gmp php8.1-cli php8.1-mysql php8.1-zip php8.1-gd  php8.1-mbstring php8.1-curl php8.1-xml php-pear unzip nano php8.1-apcu redis-server ufw php8.1-redis\n\n# adjust PHP.ini file\nnano \/etc\/php\/8.1\/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#create new conf\nnano \/etc\/apache2\/sites-available\/nextcloud.conf\n\n&lt;VirtualHost *:80>\n     ServerAdmin master@domain.com\n     DocumentRoot \/var\/www\/nextcloud\/\n     ServerName cloud.domain.org\n\n     &lt;Directory \/var\/www\/nextcloud\/>\n        Options +FollowSymlinks\n        AllowOverride All\n        Require all granted\n          &lt;IfModule mod_dav.c>\n            Dav off\n          &lt;\/IfModule>\n        SetEnv HOME \/var\/www\/nextcloud\n        SetEnv HTTP_HOME \/var\/www\/nextcloud\n     &lt;\/Directory>\n\n     ErrorLog ${APACHE_LOG_DIR}\/error.log\n     CustomLog ${APACHE_LOG_DIR}\/access.log combined\n\n&lt;\/VirtualHost>\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\nservice apache2 restart\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--> Domain ansurfen und Einrichtung abschlie\u00dfen<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>In diesem Video zeige Ich dir, wie du Nextcloud in Version 25 ganz einfach auf&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1316,"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-1314","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\/12\/thumbnail_nc_v25-install-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\/1314","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=1314"}],"version-history":[{"count":0,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts\/1314\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media\/1316"}],"wp:attachment":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media?parent=1314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/categories?post=1314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/tags?post=1314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}