Install Nextcloud (fork of ownCloud) – Next generation Enterprise file sharing Server on Debian/Ubuntu

Save and close the file. Then create a symlink to /etc/apache2/sites-enabled.

$ sudo ln -s /etc/apache2/sites-available/nextcloud.conf /etc/apache2/sites-enabled/nextcloud.conf

Nextcloud, required the mod_rewrite module enabled on Apache to work properly.

$ sudo a2enmod rewrite

Also enable the additional Apache modules recommended by nextcloud.

$ sudo a2enmod headers
$ sudo a2enmod env
$ sudo a2enmod dir
$ sudo a2enmod mime

Finally restart Apache

[For systemd]
$ sudo systemctl restart apache2

[For SysVinit system]
$ sudo service apache2 restart

Setup Nextcloud via web installer

Navigate your browser to http://Your-IP/nextcloud, Enter the username, password & MariaDB details, then hit Finish Setup button. It will take a while to complete the setup and you will be redirected to admin page.

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...