How to install Owncloud in OpenSUSE

To install Owncloud in OpenSuse

OwnCloud is similar to the Dropbox which is free and open-source. It supports extensions that permits it to work like Google Drive and allows the user to perform online document editing, calendar and contact synchronization etc. Installation of Owncloud in OpenSUSE is explained in this article.

Features

  • It synchronizes data with software applications.
  • File storage is done in a conventional directory structures.
  • Music streaming.
  • It adminsters the User and group.
  • Sharing of content via groups or public URLs.
  • Contains online text editor with syntax highlighting and code folding.

Installation of Owncloud

Run the following command to add the Owncloud package into repository.

linuxhelp:/home/user1 # zypper addrepo http://download.opensuse.org/repositories/isv:ownCloud:community/openSUSE_13.2/isv:ownCloud:community.repo
Adding repository ' Latest stable community release of ownCloud server (openSUSE_13.2)'  ............[done]
Repository ' Latest stable community release of ownCloud server (openSUSE_13.2)'  successfully added
Enabled: Yes
Autorefresh: No
GPG check: Yes
URI: http://download.opensuse.org/repositories/isv:/ownCloud:/community/openSUSE_13.2/


Then refresh the package by running the following command.

linuxhelp:/home/user1 # zypper refresh 
Retrieving repository ' Latest stable community release of ownCloud server (openSUSE_13.2)'  metadata --[]

New repository or package signing key received:

  Repository:       Latest stable community release of ownCloud server (openSUSE_13.2)
  Key Name:         isv:ownCloud OBS Project < isv:ownCloud@build.opensuse.org>         
  Key Fingerprint:  F9EA4996 747310AE 79474F44 977C43A8 BA684223                      
  Key Created:      Mon Feb  9 19:51:08 2015         
.
.
.
Retrieving repository ' openSUSE-13.2-Update'  metadata .............................................[done]
Building repository ' openSUSE-13.2-Update'  cache ..................................................[done]
Repository ' openSUSE-13.2-Update-Non-Oss'  is up to date.
All repositories have been refreshed.


After refreshing, install the Owncloud package by using the following command.

linuxhelp:/home/user1 # zypper install owncloud 
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 13 NEW packages are going to be installed:
  owncloud owncloud-config-apache owncloud-server php5-curl php5-fileinfo php5-gd php5-ldap 
  php5-mbstring php5-openssl php5-pear php5-posix php5-zip php5-zlib
.
.
.
(12/13) Installing: owncloud-config-apache-8.1.9-12.1 .............................................[done]
Additional rpm output:
owncloud-config-apache: First install complete
owncloud-config-apache: Reloading
redirecting to systemctl reload apache2.service
(13/13) Installing: owncloud-8.1.9-12.1 ...........................................................[done]

To create database

Create database for Owncloud by running the following command.

linuxhelp:/home/user1 # mysql 
Welcome to the MariaDB monitor.  Commands end with   or g.
Your MariaDB connection id is 5
Server version: 10.0.25-MariaDB openSUSE package

Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.

Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.

MariaDB [(none)]>  create database cloud_db 
Query OK, 1 row affected (0.02 sec)

MariaDB [(none)]>  grant all on cloud_db.* to ' root' @' localhost'  identified by ' 12345'  
Query OK, 0 rows affected (0.04 sec)

MariaDB [(none)]>  flush privileges 
Query OK, 0 rows affected (0.02 sec)

MariaDB [(none)]>  q 
Bye


Restart the Apache service by running the following command.

linuxhelp:/home/user1 # systemctl restart apache2.service 


Open the web-browser and enter the URL http://< IP_address> /owncloud/

Here, login using the credentials.

Then choose " Storage and database" and enter the required details.

Now we have successfully logged into Owncloud.

Click upload menu and then choose the file to be uploaded into the Owncloud storage.


Click New to create file or folder in Owncloud.

Tag : Owncloud
FAQ
Q
Are files encrypted during sync?
A
Yes, we use TLS for sending and receiving files over the network so they are encrypted during transmission.
Q
Why does ownCloud use csync rather than rsync?
A
Herersync is a one-way syncing protocol. This means that if you have two servers and delete a file on one side, it will pop up again if you use rsync. To ensure old files get removed but the new file
Q
Why do you use HTTP and not another protocol?
A
HTTP goes through every firewall and proxy.
Q
Is it safe to upgrade to the new release?
A
All code entering ownCloud has been reviewed twice as well as tested by both automated means and through the efforts of volunteers.
Q
How can I get involved in the ownCloud Community?
A
The best way to get started is to visit owncloud.org/contribute.