How To install Nextcloud 11 On OpenSUSE 42.3
To install Nextcloud 11 on OpenSUSE 42.3
Nextcloud is an open source software for creating and using file hosting services. It has a lot of extra Calendar, Sync and Contacts features, apart from their file hosting features. It is a great free alternative to some popular services such as Google Drive, Dropbox, Box, etc. It is so simple to install Nextcloud on OpenSUSE 42.3, and this tutorial covers the same process.
Requirements
LAMP Stack
Apache
Mariadb
PHP7
Install php by
zypper install php php-mysql php-pecl-zip php-xml php-mbstring php-gd
Installing Nextcloud 11
Download the latest stable version using wget command as follows.
linuxhelp:~ # wget https://download.nextcloud.com/server/releases/nextcloud-11.0.2.zip
--2017-11-09 11:25:51-- https://download.nextcloud.com/server/releases/nextcloud-11.0.2.zip
Resolving download.nextcloud.com (download.nextcloud.com)... 88.198.160.133
Connecting to download.nextcloud.com (download.nextcloud.com)|88.198.160.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50553989 (48M) [application/zip]
Saving to: ‘ nextcloud-11.0.2.zip’
100%[==============================================================================================================================================> ] 50,553,989 1010KB/s in 2m 1s
2017-11-09 11:27:54 (408 KB/s) - ‘ nextcloud-11.0.2.zip’ saved [50553989/50553989]
Once it is downloaded, extract the package by running the following command.
linuxhelp:~ # unzip nextcloud-11.0.2.zip -d /srv/www/htdocs/
Archive: nextcloud-11.0.2.zip
creating: /srv/www/htdocs/nextcloud/
creating: /srv/www/htdocs/nextcloud/ocs/
inflating: /srv/www/htdocs/nextcloud/ocs/routes.php
inflating: /srv/www/htdocs/nextcloud/ocs/v2.php
inflating: /srv/www/htdocs/nextcloud/ocs/v1.php
inflating: /srv/www/htdocs/nextcloud/ocs/providers.php
inflating: /srv/www/htdocs/nextcloud/console.php
creating: /srv/www/htdocs/nextcloud/ocs-provider/
inflating: /srv/www/htdocs/nextcloud/ocs-provider/index.php
inflating: /srv/www/htdocs/nextcloud/version.php
.
.
.
.
inflating: /srv/www/htdocs/nextcloud/resources/config/ca-bundle.crt
inflating: /srv/www/htdocs/nextcloud/resources/config/mimetypealiases.dist.json
creating: /srv/www/htdocs/nextcloud/resources/codesigning/
inflating: /srv/www/htdocs/nextcloud/resources/codesigning/root.crt
inflating: /srv/www/htdocs/nextcloud/resources/codesigning/root.crl
inflating: /srv/www/htdocs/nextcloud/resources/codesigning/core.crt
inflating: /srv/www/htdocs/nextcloud/resources/codesigning/owncloud.crt
After that, move to your Apache document root and list the contents of your directory.
linuxhelp:~ # cd /srv/www/htdocs/
linuxhelp:/srv/www/htdocs # ll
total 16
drwxrwxrwx 2 wwwrun www 4096 Oct 9 23:15 gif
-rwxrwxrwx 1 wwwrun www 2356 Mar 18 2017 info2html.css
drwxr-xr-x 14 root root 4096 Feb 27 2017 nextcloud
Provide appropriate owner permission and file execution permission in that location.
linuxhelp:/srv/www/htdocs # chown -R wwwrun:www /srv/www/htdocs/
linuxhelp:/srv/www/htdocs # chmod -R 775 /srv/www/htdocs/
Next, you need to do a crucial step. You need to configure your Apache VirutalHost. Open the .conf file as follows.
linuxhelp:/srv/www/htdocs # vim /etc/apache2/conf.d/nextcloud.conf
And make the following modifications in it.
< VirtualHost *:80> DocumentRoot " /srv/www/htdocs" ServerName www.linuxhelp1.com < Directory " /srv/www/htdocs/" > DirectoryIndex index.php Options FollowSymLinks AllowOverride All Require all granted < /Directory> < /VirtualHost>
Once it is done, you shall restart your Apache Service as follows.
linuxhelp:/srv/www/htdocs # systemctl restart apache
Switch to your browser and type http://yourdomain. In the page that appears, choose nextcloud.
You will be taken to the NextCloud page. Enter your credentials.
In the Storage & Database section, you can see the MySQL/MariaDB details.
Enter the needed details and click on the Finish setup button.
You will be taken to your NextCloud dashboard.
With this, the installation of NextCloud comes to an end.
Comments ( 0 )
No comments available