{"id":45092,"date":"2023-04-26T12:30:55","date_gmt":"2023-04-26T17:30:55","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=45092"},"modified":"2023-06-01T10:49:11","modified_gmt":"2023-06-01T15:49:11","slug":"how-to-install-nextcloud-on-debian-11","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/","title":{"rendered":"How to Install NextCloud on Debian 11"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"742\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-nextcloud-on-debian-11.webp\" alt=\"install nextcloud on debian 11\" class=\"wp-image-45210\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-nextcloud-on-debian-11.webp 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-nextcloud-on-debian-11-300x150.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-nextcloud-on-debian-11-150x75.webp 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>In this tutorial, we are going to show you how to install NextCloud on Debian 11 OS.<\/p>\n\n\n\n<p>NextCloud is a client-server storage software with similar functionality to Google Drive and Dropbox. NextCloud is written in PHP as a backend language and Javascript as a front. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>The data is stored in <a href=\"https:\/\/www.rosehosting.com\/blog\/mysql-show-users\/\">MySQL database<\/a> and can run on different web servers like Nginx, Apache, or Litespeed. The compatibility of Nextcloud on other OS is also an advantage; it can be installed on Windows, Linux, macOS, Android, etc. In this blog, we will install Nextcloud with the LAMP stack.<\/p>\n\n\n\n<p>Installing <a href=\"https:\/\/www.rosehosting.com\/debian-hosting\/\">NextCloud on Debian 11<\/a> is straightforward and may take up to 15 minutes. Let&#8217;s get started!<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69cd82aa163fc\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69cd82aa163fc\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#Step-1-Update-the-System\" >Step 1. Update the System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#Step-2-Install-LAMP-Stack\" >Step 2. Install LAMP Stack<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#Step-3-Create-a-NextCloud-Database-and-User\" >Step 3. Create a NextCloud Database and User<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#Step-4-Download-NextCloud\" >Step 4. Download NextCloud<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#Step-5-Create-Apache-Virtual-Host-File\" >Step 5. Create Apache Virtual Host File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#Step-6-Finish-NextCloud-Installation\" >Step 6. Finish NextCloud Installation<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A server with Debian 11 as OS<\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Update-the-System\"><\/span>Step 1. Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Update the system packages to the latest versions available. Execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get update -y &amp;&amp; sudo apt-get upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Install-LAMP-Stack\"><\/span>Step 2. Install LAMP Stack<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>As we mentioned before, we will install NextCloud with the LAMP stack. First, we will install the <a href=\"https:\/\/www.rosehosting.com\/apache-hosting\/\"><b>Apache Web server<\/b><\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install apache2 -y<\/pre>\n\n\n\n<p>Once installed, start and enable the service.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl enable apache2 &amp;&amp; sudo systemctl start apache2<\/pre>\n\n\n\n<p>Check if the service is up and running:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status apache2<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo systemctl status apache2\n\u25cf apache2.service - The Apache HTTP Server\n     Loaded: loaded (\/lib\/systemd\/system\/apache2.service; enabled; vendor preset: enabled)\n     Active: active (running) since Wed 2023-03-08 17:35:28 CST; 5s ago\n       Docs: https:\/\/httpd.apache.org\/docs\/2.4\/\n    Process: 39464 ExecStart=\/usr\/sbin\/apachectl start (code=exited, status=0\/SUCCESS)\n   Main PID: 39469 (apache2)\n      Tasks: 6 (limit: 4675)\n     Memory: 12.3M\n        CPU: 325ms\n     CGroup: \/system.slice\/apache2.service\n<\/pre>\n\n\n\n<p>Next, we will install PHP along with its extensions. To do that, first add the GPG key and the repo because, in the default repository of Debian 11, they do not exist. To do that execute the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt -y install lsb-release apt-transport-https ca-certificates \n\nwget -O \/etc\/apt\/trusted.gpg.d\/php.gpg https:\/\/packages.sury.org\/php\/apt.gpg\n\necho \"deb https:\/\/packages.sury.org\/php\/ $(lsb_release -sc) main\" | tee \/etc\/apt\/sources.list.d\/php.list\n\nsudo apt-get update -y\n<\/pre>\n\n\n\n<p>Once the PHP key and repo are added, you can install the PHP with extensions using this long command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install php8.1 php8.1-common php8.1-curl libapache2-mod-php php8.1-imap php8.1-redis php8.1-cli php8.1-snmp php8.1-xml php8.1-zip php8.1-mbstring php8.1-gd php8.1-xml php8.1-mysql php-mbstring -y<\/pre>\n\n\n\n<p>After successful installation, check the PHP version:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">php -v<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# php -v\nPHP 8.2.3 (cli) (built: Feb 14 2023 16:53:07) (NTS)\nCopyright (c) The PHP Group\nZend Engine v4.2.3, Copyright (c) Zend Technologies\n    with Zend OPcache v8.2.3, Copyright (c), by Zend Technologies\n<\/pre>\n\n\n\n<p>The last of the <a href=\"https:\/\/www.rosehosting.com\/lamp-hosting\/\">LAMP stack<\/a> is the <b>MariaDB<\/b> database service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install mariadb-server -y<\/pre>\n\n\n\n<p>Start and enable the mariadb.service with the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start mariadb &amp;&amp; sudo systemctl enable mariadb<\/pre>\n\n\n\n<p>Check the status of the mariadb.service<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status mariadb<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo systemctl status mariadb\n\u25cf mariadb.service - MariaDB 10.5.18 database server\n     Loaded: loaded (\/lib\/systemd\/system\/mariadb.service; enabled; vendor preset: enabled)\n     Active: active (running) since Wed 2023-03-08 17:42:38 CST; 10s ago\n       Docs: man:mariadbd(8)\n             https:\/\/mariadb.com\/kb\/en\/library\/systemd\/\n   Main PID: 52018 (mariadbd)\n     Status: \"Taking your SQL requests now...\"\n      Tasks: 18 (limit: 4675)\n     Memory: 71.5M\n        CPU: 601ms\n     CGroup: \/system.slice\/mariadb.service\n             \u2514\u250052018 \/usr\/sbin\/mariadbd\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Create-a-NextCloud-Database-and-User\"><\/span>Step 3. Create a NextCloud Database and User<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To create a NextCloud database, the NextCloud user and grant the permissions for that user to the database first log in to MySQL command line with the <b>mysql<\/b> command and execute the following lines of code one by one:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'YourStrongPasswordHere';\n CREATE DATABASE nextcloud;\n GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost';\n FLUSH PRIVILEGES;\n EXIT;\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Download-NextCloud\"><\/span>Step 4. Download NextCloud<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Go into the document root of the Apache web server and download NextCloud with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/var\/www\/html\n\nwget https:\/\/download.nextcloud.com\/server\/releases\/nextcloud-25.0.4.zip\n\n<\/pre>\n\n\n\n<p>Unzip the file and set the right permissions:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">unzip nextcloud-25.0.4.zip\n\nchown -R www-data:www-data nextcloud\/\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Create-Apache-Virtual-Host-File\"><\/span>Step 5. Create Apache Virtual Host File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Go into the Apache directory and create a configuration file for NextCloud.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/etc\/apache2\/sites-available\/\n\ntouch nextcloud.conf\n<\/pre>\n\n\n\n<p>Open the file, paste the following lines of code, save the file and close it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;VirtualHost *:80&gt;\nServerName <b>yourdomain.com<\/b>\nDocumentRoot \/var\/www\/html\/nextcloud\n\n&lt;Directory \/var\/www\/html\/nextcloud&gt;\nAllowOverride All\n&lt;\/Directory&gt;\n\nErrorLog ${APACHE_LOG_DIR}\/error.log\nCustomLog ${APACHE_LOG_DIR}\/access.log combined\n\n&lt;\/VirtualHost&gt;\n\n<\/pre>\n\n\n\n<p>Enable the Apache configuration for NextCloud and rewrite the module.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">a2dissite 000-default.conf\n\nsudo a2enmod rewrite\n\nsudo a2ensite nextcloud.conf\n<\/pre>\n\n\n\n<p>Check the syntax:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apachectl -t<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@vps:~# apachectl -t\nSyntax OK\n<\/pre>\n\n\n\n<p>If the syntax is OK, restart the Apache service.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl restart apache2\n<\/pre>\n\n\n\n<p>Once the Apache service is restarted, you can finish the NextCloud installation at <b>http:\/\/yourdomain.com<\/b><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Finish-NextCloud-Installation\"><\/span>Step 6. Finish NextCloud Installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Access the NextCloud application at <b>http:\/\/yourdomain.com<\/b>. Enter the administrator username and password that you will use for future login.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"409\" height=\"521\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next1.jpg\" alt=\"\" class=\"wp-image-45093\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next1.jpg 409w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next1-236x300.jpg 236w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next1-118x150.jpg 118w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/figure>\n<\/div>\n\n\n<p>Then you need to enter the database username, database name and password you set in the previous steps.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"387\" height=\"580\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next2.jpg\" alt=\"\" class=\"wp-image-45094\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next2.jpg 387w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next2-200x300.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next2-100x150.jpg 100w\" sizes=\"(max-width: 387px) 100vw, 387px\" \/><\/figure>\n<\/div>\n\n\n<p>Click on the <b>Install<\/b> button and allow some time for the installation. Next, you can install recommended applications or skip this step.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"799\" height=\"623\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next3.jpg\" alt=\"\" class=\"wp-image-45095\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next3.jpg 799w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next3-300x234.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next3-150x117.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next3-768x599.jpg 768w\" sizes=\"(max-width: 799px) 100vw, 799px\" \/><\/figure>\n<\/div>\n\n\n<p>After this step, you will be automatically logged in to the NextCloud admin dashboard.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1345\" height=\"620\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next4.jpg\" alt=\"\" class=\"wp-image-45096\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next4.jpg 1345w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next4-300x138.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next4-1024x472.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next4-150x69.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next4-768x354.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/next4-1320x608.jpg 1320w\" sizes=\"(max-width: 1345px) 100vw, 1345px\" \/><\/figure>\n<\/div>\n\n\n<p>That&#8217;s it. You successfully installed NextCloud on Debian 11. If you find this setup difficult, you can contact our technical support, and our admins will help you with this. You just need to sign up for one of our <a href=\"https:\/\/www.rosehosting.com\/\">NVMe VPS hosting<\/a> plans and submit a support ticket. We are available 24\/7.<\/p>\n\n\n\n<p>If you liked this about installing NextCloud on Debian 11, please share it with your friends on social networks or simply leave a reply below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we are going to show you how to install NextCloud on Debian 11 OS. NextCloud is a &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install NextCloud on Debian 11\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#more-45092\" aria-label=\"Read more about How to Install NextCloud on Debian 11\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":45210,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700,13],"tags":[48,1603,1290],"class_list":["post-45092","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-tutorials","tag-debian","tag-how-to-install","tag-nextcloud","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install NextCloud on Debian 11 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Check out our in-depth tutorial and learn how to install NextCloud on Debian 11. Read on and find out more.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install NextCloud on Debian 1\" \/>\n<meta property=\"og:description\" content=\"Check out our in-depth tutorial and learn how to install NextCloud on Debian 11. Read on and find out more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-26T17:30:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-01T15:49:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-nextcloud-on-debian-11.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install NextCloud on Debian 1\" \/>\n<meta name=\"twitter:description\" content=\"Check out our in-depth tutorial and learn how to install NextCloud on Debian 11. Read on and find out more.\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install NextCloud on Debian 11\",\"datePublished\":\"2023-04-26T17:30:55+00:00\",\"dateModified\":\"2023-06-01T15:49:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/\"},\"wordCount\":604,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/install-nextcloud-on-debian-11.webp\",\"keywords\":[\"debian\",\"how to install\",\"nextcloud\"],\"articleSection\":[\"Debian\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/\",\"name\":\"How to Install NextCloud on Debian 11 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/install-nextcloud-on-debian-11.webp\",\"datePublished\":\"2023-04-26T17:30:55+00:00\",\"dateModified\":\"2023-06-01T15:49:11+00:00\",\"description\":\"Check out our in-depth tutorial and learn how to install NextCloud on Debian 11. Read on and find out more.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/install-nextcloud-on-debian-11.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/install-nextcloud-on-debian-11.webp\",\"width\":742,\"height\":372,\"caption\":\"install nextcloud on debian 11\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-debian-11\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install NextCloud on Debian 11\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install NextCloud on Debian 11 | RoseHosting","description":"Check out our in-depth tutorial and learn how to install NextCloud on Debian 11. Read on and find out more.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/","og_locale":"en_US","og_type":"article","og_title":"How to Install NextCloud on Debian 1","og_description":"Check out our in-depth tutorial and learn how to install NextCloud on Debian 11. Read on and find out more.","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2023-04-26T17:30:55+00:00","article_modified_time":"2023-06-01T15:49:11+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-nextcloud-on-debian-11.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Install NextCloud on Debian 1","twitter_description":"Check out our in-depth tutorial and learn how to install NextCloud on Debian 11. Read on and find out more.","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install NextCloud on Debian 11","datePublished":"2023-04-26T17:30:55+00:00","dateModified":"2023-06-01T15:49:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/"},"wordCount":604,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-nextcloud-on-debian-11.webp","keywords":["debian","how to install","nextcloud"],"articleSection":["Debian","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/","name":"How to Install NextCloud on Debian 11 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-nextcloud-on-debian-11.webp","datePublished":"2023-04-26T17:30:55+00:00","dateModified":"2023-06-01T15:49:11+00:00","description":"Check out our in-depth tutorial and learn how to install NextCloud on Debian 11. Read on and find out more.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-nextcloud-on-debian-11.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/install-nextcloud-on-debian-11.webp","width":742,"height":372,"caption":"install nextcloud on debian 11"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-debian-11\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install NextCloud on Debian 11"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/45092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=45092"}],"version-history":[{"count":8,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/45092\/revisions"}],"predecessor-version":[{"id":46051,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/45092\/revisions\/46051"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/45210"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=45092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=45092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=45092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}