{"id":14497,"date":"2025-06-16T05:31:55","date_gmt":"2025-06-16T05:31:55","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=14497"},"modified":"2025-06-16T06:02:25","modified_gmt":"2025-06-16T06:02:25","slug":"how-to-install-nextcloud-on-debian-12","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/","title":{"rendered":"How to Install Nextcloud on Debian 12"},"content":{"rendered":"\n<p>Nextcloud behaves much like Google Drive or Dropbox, letting you save, organize, and share files via cloud servers. The primary difference is that it operates on its open-source code and is self-hosted, allowing you to determine where the data resides and who controls it. Because it syncs with PCs and mobile devices, the risk of losing files is low. This freedom has made Nextcloud a favorite among Linux enthusiasts, and a vibrant community keeps the project fresh with regular updates.<\/p>\n\n\n\n<p>Debian 12 remains the go-to Linux distribution for anyone eager to tap into open-source tools like Nextcloud. This tutorial will walk through several methods for installing Nextcloud on Debian 12.<\/p>\n\n\n\n<p><strong>Table of Contents:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#How-to-Install-Nextcloud-on-Debian-12\">How to Install Nextcloud on Debian 12?<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#Method-1:-Install-Nextcloud-Using-LAMP\">Method 1: Install Nextcloud Using LAMP<\/a><\/li>\n\n\n\n<li><a href=\"#Method-2:-Install-Nextcloud-Using-the-Snap\">Method 2: Install Nextcloud Using the Snap<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#How-to-Uninstall-Nextcloud-on-Debian-12\">How to Uninstall Nextcloud on Debian 12<\/a><\/li>\n\n\n\n<li><a href=\"#Conclusion\">Conclusion<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Install-Nextcloud-on-Debian-12\"><a id=\"post-14497-_8w7hig6yd596\"><\/a>How to Install Nextcloud on Debian 12?<\/h2>\n\n\n\n<p>Nextcloud can run on your machine or on any domain you trust, serving files directly from a web browser. The standard method links it to Apache, MariaDB (or MySQL), and PHP that you install and tweak yourself, while the Snap route bundles everything and deploys the service in seconds. Because both approaches suit Debian 12, you pick the one that matches your comfort level and system goals.<\/p>\n\n\n\n<p><strong>Method 1: Install Nextcloud Using LAMP <\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>First, install a LAMP stack including Apache, MySQL, and PHP on Debian 12.<\/li>\n\n\n\n<li>Next, obtain the latest Nextcloud archive, unpack it, and point Apache to the new folder with a fresh virtual host.<\/li>\n\n\n\n<li>Once you tweak the database settings and run the web installer, Nextcloud becomes available on your local address.<\/li>\n<\/ul>\n\n\n\n<p><strong>Method 2: Install Nextcloud Using the Snap Store<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The faster path is to install the official Snap package with a single snap install nextcloud command.<\/li>\n\n\n\n<li>The package sets its own web server, database, and storage paths while managing updates automatically in the background.<\/li>\n\n\n\n<li>Finally, add the trusted domains and start the platform.<\/li>\n<\/ul>\n\n\n\n<p>Let\u2019s demonstrate these methods separately.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-1:-Install-Nextcloud-Using-LAMP\"><a id=\"post-14497-_lgjv7r4m4bbf\"><\/a>Method 1: Install Nextcloud Using LAMP<\/h2>\n\n\n\n<p>As mentioned earlier, the simplest way to run Nextcloud on Debian is to build a LAMP stack. The web app depends on Linux, Apache, MySQL, and PHP working smoothly together. You could skip all that and use the snap package, yet the manual method still offers better control. If you want to see every step, keep reading this tutorial.<\/p>\n\n\n\n<p>Follow the actions below to install Nextcloud on your Debian 12 machine.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_lnkeev3zyf0n\"><\/a>Step 1: Install Apache, MySQL, and PHP<\/h3>\n\n\n\n<p>Begin by refreshing your package index with this command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt update<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1145\" height=\"363\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-1.png\" alt=\"sudo apt update\" class=\"wp-image-14498\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-1.png 1145w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-1-300x95.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-1-1024x325.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-1-768x243.png 768w\" sizes=\"(max-width: 1145px) 100vw, 1145px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Next, install the three core Apache, MySQL, and PHP packages:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt install apache2 php mysql-server<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1132\" height=\"629\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-2.png\" alt=\"sudo apt install apache2 php mysql-server\" class=\"wp-image-14499\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-2.png 1132w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-2-300x167.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-2-1024x569.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-2-768x427.png 768w\" sizes=\"(max-width: 1132px) 100vw, 1132px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_ue2uq3gng34l\"><\/a>Step 2: Integrate Required Modules<\/h3>\n\n\n\n<p>Nextcloud needs a handful of extra PHP modules so its code can talk to the database and handle files. Install them with this line:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt install php-zip php-mysql php-gd php-mbstring php-curl php-intl php-bcmath php-gmp php-imagick php-xml libapache2-mod-php<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1150\" height=\"561\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-3.png\" alt=\"sudo apt install php-zip php-mysql php-gd php-mbstring php-curl php-intl php-bcmath php-gmp php-imagick php-xml libapache2-mod-php\" class=\"wp-image-14500\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-3.png 1150w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-3-300x146.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-3-1024x500.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-3-768x375.png 768w\" sizes=\"(max-width: 1150px) 100vw, 1150px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You may already have some modules from another project, so no worries if the system skips a few.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_r1oewmuy67ap\"><\/a>Step 3: Configure MySQL and Apache<\/h3>\n\n\n\n<p>Both Apache and MySQL run as system services, and you must start them before anything else. Use these commands:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo systemctl start apache2 <br>sudo systemctl start mysql<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1141\" height=\"199\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-4.png\" alt=\"Configure MySQL and Apache for Nextcloud\" class=\"wp-image-14501\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-4.png 1141w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-4-300x52.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-4-1024x179.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-4-768x134.png 768w\" sizes=\"(max-width: 1141px) 100vw, 1141px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Now set them to launch on boot, keeping your cloud up even after a restart:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo systemctl enable apache2 <br>sudo systemctl enable mysql<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1148\" height=\"265\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-5.png\" alt=\"Enable MySQL and Apache2\" class=\"wp-image-14502\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-5.png 1148w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-5-300x69.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-5-1024x236.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-5-768x177.png 768w\" sizes=\"(max-width: 1148px) 100vw, 1148px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Before we continue, let us first confirm that both services are running correctly:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo systemctl status apache2<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"662\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-6.png\" alt=\"sudo systemctl status apache2\" class=\"wp-image-14503\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-6.png 1145w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-6-300x173.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-6-1024x592.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-6-768x444.png 768w\" sizes=\"(max-width: 1145px) 100vw, 1145px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>With Apache now showing active, we will turn our attention to the MySQL service:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo systemctl status mysql<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1146\" height=\"664\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-7.png\" alt=\"sudo systemctl status mysql\" class=\"wp-image-14504\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-7.png 1146w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-7-300x174.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-7-1024x593.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-7-768x445.png 768w\" sizes=\"(max-width: 1146px) 100vw, 1146px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Both services are set up, and the next step is to configure the firewall.<\/p>\n\n\n\n<p>For this task, we use UFW, the simple firewall tool that handles rules by ports. Because Apache includes a complete profile, you don&#8217;t have to open each port manually.<\/p>\n\n\n\n<p>To let Apache serve pages and talk securely over the Web, turn on the full firewall profile with this command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo ufw allow &#8216;Apache Full&#8217;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p>After that, tell Debian Firewall to reload the rules and restart the Apache server so it picks up the changes:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo ufw reload <br>sudo systemctl restart apache2<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1143\" height=\"197\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-8.png\" alt=\"Restart ufw and apache2\" class=\"wp-image-14505\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-8.png 1143w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-8-300x52.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-8-1024x176.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-8-768x132.png 768w\" sizes=\"(max-width: 1143px) 100vw, 1143px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_feuvzm2wyyi2\"><\/a>Step 4: Create a Database and User<\/h3>\n\n\n\n<p>Next, you need a fresh database, a user to own it, and the right grants so that the user can work on the local machine. Here&#8217;s how:<\/p>\n\n\n\n<p>So, log in to MySQL as the admin:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>mysql -u root -p<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1150\" height=\"528\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-9.png\" alt=\"mysql -u root -p\" class=\"wp-image-14506\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-9.png 1150w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-9-300x138.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-9-1024x470.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-9-768x353.png 768w\" sizes=\"(max-width: 1150px) 100vw, 1150px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Create the database; we call it <strong>debian12_cloud<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>CREATE DATABASE debian12_cloud;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1142\" height=\"167\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-10.png\" alt=\"CREATE DATABASE debian12_cloud;\" class=\"wp-image-14507\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-10.png 1142w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-10-300x44.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-10-1024x150.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-10-768x112.png 768w\" sizes=\"(max-width: 1142px) 100vw, 1142px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Now, create a user called <strong>debian12 <\/strong>on the local host and set a password:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>CREATE USER &#8216;debian12&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;password&#8217;;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1136\" height=\"157\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-11.png\" alt=\"CREATE USER 'debian12'@'localhost' IDENTIFIED BY 'password';\" class=\"wp-image-14508\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-11.png 1136w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-11-300x41.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-11-1024x142.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-11-768x106.png 768w\" sizes=\"(max-width: 1136px) 100vw, 1136px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Now, permit that user access to the specific database:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>GRANT ALL PRIVILEGES ON debian12_cloud.* TO debian12@&#8217;localhost&#8217;;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1138\" height=\"164\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-12.png\" alt=\"GRANT ALL PRIVILEGES ON debian12_cloud.* TO debian12@'localhost';\" class=\"wp-image-14509\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-12.png 1138w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-12-300x43.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-12-1024x148.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-12-768x111.png 768w\" sizes=\"(max-width: 1138px) 100vw, 1138px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Don&#8217;t forget to reload the grants so the changes take effect:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>FLUSH PRIVILEGES;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1138\" height=\"165\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-13.png\" alt=\"FLUSH PRIVILEGES;\" class=\"wp-image-14510\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-13.png 1138w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-13-300x43.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-13-1024x148.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-13-768x111.png 768w\" sizes=\"(max-width: 1138px) 100vw, 1138px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>With these steps done, the core of Nextcloud is already in place; carry on:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_fod4x9qq9sfv\"><\/a>Step 5: Download the NextCloud File<\/h3>\n\n\n\n<p>Obtain the latest Nextcloud directly from the project&#8217;s servers or the <a href=\"https:\/\/download.nextcloud.com\/server\/releases\/\">Releases Download Page<\/a>:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>wget https:\/\/download.nextcloud.com\/server\/releases\/nextcloud-29.0.0.zip<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1146\" height=\"439\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-14.png\" alt=\"wget https:\/\/download.nextcloud.com\/server\/releases\/nextcloud-29.0.0.zip\" class=\"wp-image-14511\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-14.png 1146w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-14-300x115.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-14-1024x392.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-14-768x294.png 768w\" sizes=\"(max-width: 1146px) 100vw, 1146px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>After that, extract the required package:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>unzip &lt;zip-file-name&gt;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p>Remember that after unpacking, you may want to clean up the zip file and check that the permissions look correct before moving on.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_98ovxdwgx59k\"><\/a>Step 6: Copy the File into \/var\/www\/html<\/h3>\n\n\n\n<p>Now, send the extracted directory to the web root. That folder lives in <strong>\/var\/www\/html<\/strong> on both Apache and NGINX:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo cp -r nextcloud \/var\/www\/html\/nextcloud<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"132\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-15.png\" alt=\"sudo cp -r nextcloud \/var\/www\/html\/nextcloud\" class=\"wp-image-14512\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-15.png 1145w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-15-300x35.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-15-1024x118.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-15-768x89.png 768w\" sizes=\"(max-width: 1145px) 100vw, 1145px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>After that, modify ownership so Apache has access to read as well as write to the new directory:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo chown -R www-data:www-data \/var\/www\/html\/nextcloud<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1140\" height=\"98\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-16.png\" alt=\"sudo chown -R www-data:www-data \/var\/www\/html\/nextcloud\" class=\"wp-image-14513\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-16.png 1140w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-16-300x26.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-16-1024x88.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-16-768x66.png 768w\" sizes=\"(max-width: 1140px) 100vw, 1140px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_xnhydbbmaa70\"><\/a>Step 7: Create a Configuration File<\/h3>\n\n\n\n<p>Before adding a new site, turn off the default Apache configuration:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo a2dissite 000-default.conf<\/p>\n<p>sudo systemctl restart apache2<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1144\" height=\"262\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-17.png\" alt=\"Restart apache2\" class=\"wp-image-14514\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-17.png 1144w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-17-300x69.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-17-1024x235.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-17-768x176.png 768w\" sizes=\"(max-width: 1144px) 100vw, 1144px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Now, make a clean configuration file in the sites-available folder:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo nano \/etc\/apache2\/sites-available\/nextcloud.conf<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p>Inside, paste this block:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>&lt;VirtualHost *:80&gt; <br>DocumentRoot &#8220;\/var\/www\/html\/nextcloud&#8221; <br>ServerName localhost <br><br>&lt;Directory &#8220;\/var\/www\/html\/nextcloud\/&#8221;&gt; <br>Options MultiViews FollowSymlinks <br>AllowOverride All <br>Order allow,deny <br>Allow from all <br>&lt;\/Directory&gt; <br><br>ErrorLog ${APACHE_LOG_DIR}\/error.log <br>CustomLog ${APACHE_LOG_DIR}\/access.log combined <br>&lt;\/VirtualHost&gt;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p>Here, two entities are recommended to configure always:<\/p>\n\n\n\n<p>Two lines to pay attention to are <strong>DocumentRoot <\/strong>and <strong>ServerName<\/strong>. <strong>DocumentRoot <\/strong>tells Apache where to find files, while <strong>ServerName <\/strong>defines the address the site responds to.<\/p>\n\n\n\n<p>The <strong>&lt;Directory&gt;<\/strong> section is optional but useful; it sets extra permissions for the <strong>Nextcloud <\/strong>folder so rewrite rules and symbolic links work as intended.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1148\" height=\"554\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-18.png\" alt=\"Edit Nextcloud configuration file\" class=\"wp-image-14515\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-18.png 1148w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-18-300x145.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-18-1024x494.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-18-768x371.png 768w\" sizes=\"(max-width: 1148px) 100vw, 1148px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_tknlcaatsw3p\"><\/a>Step 8: Enable the Newly Configured Site<\/h3>\n\n\n\n<p>First, tell Apache to start serving the site you just set up with this command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo a2ensite nextcloud.conf<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1136\" height=\"194\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-19.png\" alt=\"sudo a2ensite nextcloud.conf\" class=\"wp-image-14516\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-19.png 1136w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-19-300x51.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-19-1024x175.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-19-768x131.png 768w\" sizes=\"(max-width: 1136px) 100vw, 1136px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>While you are at it, confirm that the <strong>ServerName <\/strong>line points to the right IP or domain you will use to reach Nextcloud. The example below shows it set to <strong>127.0.0.1<\/strong> in the main config file:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo nano \/etc\/apache2\/apache2.conf<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1148\" height=\"765\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-20.png\" alt=\"sudo nano \/etc\/apache2\/apache2.conf\" class=\"wp-image-14517\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-20.png 1148w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-20-300x200.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-20-1024x682.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-20-768x512.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-20-900x600.png 900w\" sizes=\"(max-width: 1148px) 100vw, 1148px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>After saving those tweaks, restart the Apache server and quickly check that it is running cleanly:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo systemctl status apache2<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1140\" height=\"722\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-21.png\" alt=\"sudo systemctl status apache2\" class=\"wp-image-14518\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-21.png 1140w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-21-300x190.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-21-1024x649.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-21-768x486.png 768w\" sizes=\"(max-width: 1140px) 100vw, 1140px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_6gthz1zadg6k\"><\/a>Step 9: Test the Changes<\/h3>\n\n\n\n<p>To see that Nextcloud is active, list the sites Apache has turned on with this command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>ls \/etc\/apache2\/sites-enabled\/<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1147\" height=\"129\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-22.png\" alt=\"ls \/etc\/apache2\/sites-enabled\/\" class=\"wp-image-14519\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-22.png 1147w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-22-300x34.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-22-1024x115.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-22-768x86.png 768w\" sizes=\"(max-width: 1147px) 100vw, 1147px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You should spot <strong>nextcloud.conf <\/strong>among the other entries, like this.<\/p>\n\n\n\n<p>Finally, run a quick syntax test to catch any leftover misconfigurations:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apache2ctl configtest<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1147\" height=\"134\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-23.png\" alt=\"sudo apache2ctl configtest\" class=\"wp-image-14520\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-23.png 1147w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-23-300x35.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-23-1024x120.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-23-768x90.png 768w\" sizes=\"(max-width: 1147px) 100vw, 1147px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_qt7o5hba0bo1\"><\/a>Step 10: Install and Set Up Nextcloud<\/h3>\n\n\n\n<p>If all the previous commands reported success, open a web browser and go to localhost or the domain you set in Apache. That will launch the Nextcloud setup wizard, where you can create your admin account and link the data folder.<\/p>\n\n\n\n<p>As soon as you start the installer, make an admin account with a username and password that you&#8217;ll remember. Keep the password safe, because you&#8217;ll need it every time you log in.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1406\" height=\"878\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-24.png\" alt=\"Accessing Nextcloud from web interface\" class=\"wp-image-14521\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-24.png 1406w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-24-300x187.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-24-1024x639.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-24-768x480.png 768w\" sizes=\"(max-width: 1406px) 100vw, 1406px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>On the same page, fill in the database user, the exact name you chose, and the password you set in Step 4 so Nextcloud can link with the database. Double-check these fields to avoid connection errors later.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1406\" height=\"878\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-25.png\" alt=\"Configuring database from Nextcloud web interface\" class=\"wp-image-14522\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-25.png 1406w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-25-300x187.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-25-1024x639.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-25-768x480.png 768w\" sizes=\"(max-width: 1406px) 100vw, 1406px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Nextcloud will suggest a list of useful apps; pick the ones you really want or skip them for now and add extras later. Nothing breaks if you decide to come back and install more.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"714\" height=\"681\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-26.png\" alt=\"Nextcloud recommended apps\" class=\"wp-image-14523\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-26.png 714w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-26-300x286.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-26-537x512.png 537w\" sizes=\"(max-width: 714px) 100vw, 714px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You can also set up the mobile apps on your phone while the server runs, letting you upload files and check shares in minutes. Just scan the QR code that appears once the web setup finishes.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"513\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-27.png\" alt=\"Nextcloud android and iOS app\" class=\"wp-image-14524\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-27.png 620w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-27-300x248.png 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Follow the rest of the prompts, and before long, you&#8217;ll see the friendly dashboard with storage usage, recent files, and activity notifications: Take a moment to explore, because this is where the real work gets done.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1121\" height=\"782\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-28.png\" alt=\"Nextcloud dashboard\" class=\"wp-image-14525\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-28.png 1121w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-28-300x209.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-28-1024x714.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-28-768x536.png 768w\" sizes=\"(max-width: 1121px) 100vw, 1121px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>And that is all there is to installing Nextcloud on Debian 12; you can now store, share, and sync your files the way you prefer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-2:-Install-Nextcloud-Using-the-Snap\"><a id=\"post-14497-_phh3z6ol3hx9\"><\/a>Method 2: Install Nextcloud Using the Snap<\/h2>\n\n\n\n<p>The Snap Store provides a quick, self-contained version of Nextcloud. You can run this instance on any domain you trust and configure yourself. Follow the steps below to install and start Nextcloud through Snap.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_vxk9k3vckxa2\"><\/a>Step 1: Install and Enable Snap<\/h3>\n\n\n\n<p>Snap support is usually active by default in Debian 12. If for some reason it isn&#8217;t, run these commands to set it up:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt install snapd <br>sudo systemctl enable snapd <br>sudo systemctl start snapd<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1144\" height=\"399\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-29.png\" alt=\"Install Nextcloud using apt\" class=\"wp-image-14526\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-29.png 1144w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-29-300x105.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-29-1024x357.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-29-768x268.png 768w\" sizes=\"(max-width: 1144px) 100vw, 1144px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_xrzgjxhjw32k\"><\/a>Step 2: Install Nextcloud<\/h3>\n\n\n\n<p>Get the Nextcloud package from the Snap Store with the command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo snap install nextcloud<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1146\" height=\"128\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-30.png\" alt=\"sudo snap install nextcloud\" class=\"wp-image-14527\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-30.png 1146w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-30-300x34.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-30-1024x114.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-30-768x86.png 768w\" sizes=\"(max-width: 1146px) 100vw, 1146px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>After installation, follow the prompts to create your admin account and finish the configuration.<\/p>\n\n\n\n<p><strong>Optional<\/strong>: Create an administrative account with a <strong>username <\/strong>and a <strong>password <\/strong>that the system will use for login:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo nextcloud.manual-install debian12 &lt;password&gt;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p>As an example, we set up a user called debian12 and supplied a secure password during that command.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_se92po5xmixl\"><\/a>Step 3: Launch Nextcloud<\/h3>\n\n\n\n<p>When the installation finishes, you can open Nextcloud on the same computer. Just point your web browser to localhost, and the welcome screen will appear.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1406\" height=\"878\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-31.png\" alt=\"Launch Nextcloud\" class=\"wp-image-14528\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-31.png 1406w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-31-300x187.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-31-1024x639.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-31-768x480.png 768w\" sizes=\"(max-width: 1406px) 100vw, 1406px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Log in with the username and password you chose earlier, like we did in Step 2. After entering those credentials, your personal dashboard loads.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1081\" height=\"792\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-32.png\" alt=\"Nextcloud dashboard\" class=\"wp-image-14529\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-32.png 1081w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-32-300x220.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-32-1024x750.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-32-768x563.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-32-160x117.png 160w\" sizes=\"(max-width: 1081px) 100vw, 1081px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>And that&#8217;s all it takes to set up Nextcloud using the Snap package.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Uninstall-Nextcloud-on-Debian-12\"><a id=\"post-14497-_cqfvmbf9l472\"><\/a>How to Uninstall Nextcloud on Debian 12<\/h2>\n\n\n\n<p>Nextcloud can be set up in two different ways, as we covered earlier. Which method you choose will guide how you turn it off. Below, we walk through both approaches so you can disable Nextcloud safely.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_70iq34pqx9i4\"><\/a>If Installed Manually<\/h3>\n\n\n\n<p>First, shut off the related site configuration by running the <strong>a2dissite <\/strong>command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo a2dissite nextcloud.conf<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1137\" height=\"194\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-33.png\" alt=\"sudo a2dissite nextcloud.conf\" class=\"wp-image-14530\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-33.png 1137w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-33-300x51.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-33-1024x175.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-33-768x131.png 768w\" sizes=\"(max-width: 1137px) 100vw, 1137px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Next, delete the Nextcloud files stored in <strong>\/var\/www\/html\/<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo rm -r \/var\/www\/html\/nextcloud<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1141\" height=\"102\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-34.png\" alt=\"sudo rm -r \/var\/www\/html\/nextcloud\" class=\"wp-image-14531\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-34.png 1141w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-34-300x27.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-34-1024x92.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-34-768x69.png 768w\" sizes=\"(max-width: 1141px) 100vw, 1141px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14497-_cjz7r4wwfg9g\"><\/a>If Installed Using Snap<\/h3>\n\n\n\n<p>If you used Snap, simply remove the package with:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo snap remove nextcloud<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1141\" height=\"200\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-35.png\" alt=\"sudo snap remove nextcloud\" class=\"wp-image-14532\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-35.png 1141w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-35-300x53.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-35-1024x179.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14497-35-768x135.png 768w\" sizes=\"(max-width: 1141px) 100vw, 1141px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>After you run the steps for your method, Nextcloud will no longer appear on your trusted domain.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-14497-_fwtat7clng5p\"><\/a>Conclusion<\/h2>\n\n\n\n<p>Nextcloud is a popular self-hosted hub where you can store files, photos, and notes, and it packs dozens of handy add-ons such as media players, activity monitors, and more. To install it on Debian 12, simply install a LAMP stack- Apache, MySQL or MariaDB, and PHP. Then build a VirtualHost, and your instance will be reachable through any web browser. If you prefer speed over, get the Snap package, and the entire service will land on your machine.<\/p>\n\n\n\n<p>Among these choices, Method 1-the LAMP install is still the favourite for power users who crave deep control and endless tweaking options. You have now seen both paths; pick the one that suits your style and get Nextcloud running in no time.<\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>Nextcloud behaves much like Google Drive or Dropbox, letting you save, organize, and share files via cloud servers. The primary difference is that it operates on its open-source code and is self-hosted, allowing you to determine where the data resides and who controls it. Because it syncs with PCs and mobile devices, the risk of [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":14534,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[294,297,584,858],"class_list":["post-14497","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-cloud-storage","tag-debian-12","tag-file-sharing","tag-nextcloud"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Nextcloud on Debian 12 - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"This tutorial will walk you through several methods for installing Nextcloud on Debian 12 server. Learn 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:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/\" \/>\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 12 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"This tutorial will walk you through several methods for installing Nextcloud on Debian 12 server. Learn more!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-16T05:31:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-16T06:02:25+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-Install-Nextcloud-on-Debian-12.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"16 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install Nextcloud on Debian 12\",\"datePublished\":\"2025-06-16T05:31:55+00:00\",\"dateModified\":\"2025-06-16T06:02:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/\"},\"wordCount\":1924,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-Install-Nextcloud-on-Debian-12.jpg\",\"keywords\":[\"Cloud Storage\",\"Debian 12\",\"File Sharing\",\"Nextcloud\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/\",\"name\":\"How to Install Nextcloud on Debian 12 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-Install-Nextcloud-on-Debian-12.jpg\",\"datePublished\":\"2025-06-16T05:31:55+00:00\",\"dateModified\":\"2025-06-16T06:02:25+00:00\",\"description\":\"This tutorial will walk you through several methods for installing Nextcloud on Debian 12 server. Learn more!\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-Install-Nextcloud-on-Debian-12.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-Install-Nextcloud-on-Debian-12.jpg\",\"width\":1020,\"height\":600,\"caption\":\"How to Install Nextcloud on Debian 12\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Nextcloud on Debian 12\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Nextcloud on Debian 12 - Greenwebpage Community","description":"This tutorial will walk you through several methods for installing Nextcloud on Debian 12 server. Learn 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:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Nextcloud on Debian 12 - Greenwebpage Community","og_description":"This tutorial will walk you through several methods for installing Nextcloud on Debian 12 server. Learn more!","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/","og_site_name":"Greenwebpage Community","article_published_time":"2025-06-16T05:31:55+00:00","article_modified_time":"2025-06-16T06:02:25+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-Install-Nextcloud-on-Debian-12.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"16 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install Nextcloud on Debian 12","datePublished":"2025-06-16T05:31:55+00:00","dateModified":"2025-06-16T06:02:25+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/"},"wordCount":1924,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-Install-Nextcloud-on-Debian-12.jpg","keywords":["Cloud Storage","Debian 12","File Sharing","Nextcloud"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/","name":"How to Install Nextcloud on Debian 12 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-Install-Nextcloud-on-Debian-12.jpg","datePublished":"2025-06-16T05:31:55+00:00","dateModified":"2025-06-16T06:02:25+00:00","description":"This tutorial will walk you through several methods for installing Nextcloud on Debian 12 server. Learn more!","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-Install-Nextcloud-on-Debian-12.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-Install-Nextcloud-on-Debian-12.jpg","width":1020,"height":600,"caption":"How to Install Nextcloud on Debian 12"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-nextcloud-on-debian-12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install Nextcloud on Debian 12"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=14497"}],"version-history":[{"count":2,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14497\/revisions"}],"predecessor-version":[{"id":14536,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14497\/revisions\/14536"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/14534"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=14497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=14497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=14497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}