How to install Nextcloud 12.0 on Debian 9

Today we will learn how to install Nextcloud 12.0 on Debian 9 Stretch. The latest stable version of Nextcloud 12.0 is now available for download. Nextcloud is fork of Owncloud which is powerful and rich features of file sharing and storage. There are many updates, bug fixes and improvements have been made to Nextcloud 12.0. I am going to use the manual installation on this tutorial. Please make sure you have LAMP Server is up and running on your Debian 9.

How to install LAMP Server on Debian 9

System Information:

The following details are used in the this tutorial

  • OS: Debian 9 Stretch
  • IP address: 10.34.0.202

Steps to Install Nextcloud 12.0 on Debian 9

Step 1. Install required packages

Before we install Nextcloud, we need to install some packages needed by Nextcloud to run properly.

Step 2. Download Nextcloud

Step 3. Create MySQL Database

We will create a new database on MySQL Server to hold Nextcloud data

Step 4. Extract Nextcloud compressed package

Step 5. Move Nextcloud to Apache root directory

Step 6. Configure the Web Server

Create a configuration file

Now paste these lines

Close and save the file. Then, execute these commands

At this point, our initial Nextcloud configuration is completed. Next we need to configure Nextcloud via Web browser.

Step 7. Configure Nextcloud

Open web browser and type the server IP address. In this case it would be:

http://10.34.0.202:nextcloud

install nextcloud 12.0 on debian 9

Now enjoy Nextcloud 12.0 on Debian 9.

Thanks for reading this how to install Nextcloud 12.0 on Debian 9 Stretch. Please consider share this post so everyone can get benefit from it.

1 Comment

  1. Thanks for this post.
    I think that the line
    chmod -R www-data:www-data /var/www/html/nextcloud
    should be
    chown -R www-data:www-data /var/www/html/nextcloud

2 Trackbacks / Pingbacks

  1. How to fix data directory warning on Nextcloud - Free Linux Tutorials
  2. como montar un servidor con debian utilizando virtualbox – diario de hackerman

Leave a Reply

Your email address will not be published.


*