How to install Owncloud on OpenSUSE 42.3
To install Owncloud on OpenSUSE 42.3
Owncloud is a powerful web application, used to synchronize data, and to share and store files. It is designed in such a way that it works with a variety of database management systems, and is normally written in JavaScript or PHP languages. It contains easy to use web-based frontend. This allows the user to access files in a simple, safe and secure manner on any device. It also offers easy management and migration of files to, or from any other owncloud server. This tutorial explains the installation procedure of Owncloud on OpenSUSE 42.3.
Pre-Requisite
LAMP Stack
- Apache
- MariaDB
- PHP7
Installation procedure
To proceed with the installation procedure, go to its official website and get the latest stable version by executing the wget command followed by the download link.
linuxhelp:~ # wget https://download.owncloud.org/community/owncloud-10.0.3.zip
--2017-10-11 10:21:13-- https://download.owncloud.org/community/owncloud-10.0.3.zip
Resolving download.owncloud.org (download.owncloud.org)... 136.243.124.46, 85.10.210.219, 138.201.139.178, ...
Connecting to download.owncloud.org (download.owncloud.org)|136.243.124.46|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 46697498 (45M) [application/zip]
Saving to: ‘ owncloud-10.0.3.zip’
100%[======================================> ] 46,697,498 144KB/s in 2m 8s
2017-10-11 10:23:24 (355 KB/s) - ‘ owncloud-10.0.3.zip’ saved [46697498/46697498]
Extract the downloaded package in Apache root directory by following the tar command.
linuxhelp:~ # unzip owncloud-10.0.3.zip -d /srv/www/htdocs/
Archive: owncloud-10.0.3.zip
creating: /srv/www/htdocs/owncloud/
creating: /srv/www/htdocs/owncloud/l10n/
inflating: /srv/www/htdocs/owncloud/l10n/l10n.pl
creating: /srv/www/htdocs/owncloud/l10n/.tx/
inflating: /srv/www/htdocs/owncloud/l10n/.tx/config
inflating: /srv/www/htdocs/owncloud/AUTHORS
inflating: /srv/www/htdocs/owncloud/occ
creating: /srv/www/htdocs/owncloud/config/
inflating: /srv/www/htdocs/owncloud/config/config.sample.php
inflating: /srv/www/htdocs/owncloud/cron.php
.
.
.
inflating: /srv/www/htdocs/owncloud/resources/codesigning/root.crt
inflating: /srv/www/htdocs/owncloud/resources/codesigning/core.crt
inflating: /srv/www/htdocs/owncloud/COPYING
inflating: /srv/www/htdocs/owncloud/index.php
inflating: /srv/www/htdocs/owncloud/CHANGELOG.md
inflating: /srv/www/htdocs/owncloud/status.php
Move the contents of the extracted directory to the Apache document root.
linuxhelp:~ # cd /srv/www/htdocs/ linuxhelp:/srv/www/htdocs # ll total 12 drwxr-xr-x 2 root root 4096 Oct 9 23:15 gif -rw-r--r-- 1 root root 2356 Mar 18 2017 info2html.css drwxr-xr-x 12 root root 4096 Sep 15 10:46 owncloud
Provide the owner permission and file execution permission by running the following command.
linuxhelp:/srv/www/htdocs # chown -R wwwrun:www /srv/www/htdocs/ linuxhelp:/srv/www/htdocs # chmod -R 777 /srv/www/htdocs/
Next set the firewall settings by executing the following command and enter the following changes in the file. Restart the firewall services.
linuxhelp:/srv/www/htdocs/owncloud # vim /etc/sysconfig/SuSEfirewall2 FW_CONFIGURATIONS_EXT=" apache" linuxhelp:/srv/www/htdocs/owncloud # systemctl restart SuSEfirewall2
Switch over to the browser and enter the URL as http://YourIP/owncloud. The login page of Owncloud appears on the screen.
Enter the required admin credentials to login.
The dashboard of owncloud appears on the screen.
The installation of Owncloud on OpenSUSE 42.3 is done without any glitches.
Comments ( 0 )
No comments available