How To Install OwnCloud On CentOS Linux? – POFTUT

How To Install OwnCloud On CentOS Linux?

I need some application that will provide online file sharing and synchronization. It should be free. Open Source solution is preferred. It seems that we will install OwnCloud which is is an open source, self-hosted file sync and share app platform. There are a lot of things like calendar sync, active feed notifications etc. but for now we will just install ownCloud.

Get Repository Keys and Add Repository

We need to add ownCloud repository keys and repository into our yum repository database.

  • We use rpm –import to import ownCloud repository keys

  • Get repository infor with curl -L 
  • Save repository info into /etc/yum.repos.d with -o 

Install ownCloud Packages

We have added OwnCloud in the previous steps. Now we will install it with yum package manager. We can also use dnf package manager if we want.


Install Mariadb, Apache and Php

OwnCloud uses SQlite as default database but it is not convenient for dens usage. We can optionally install MariaDB.  OwnCloud web interface is developed in php so we need to install php. To run php web application we use Apache Web Server of httpd.

LEARN MORE  How To List MySQL/MariaDB Databases

We will start MariaDB service like below

echo '

Database Configuration

If we will use MariaDB as database server we need to make some configuration like creating database.

  • Login database console. We will use MySQL tools to operate.

  • Create database name owncloud

  • Create new user named own cloud and give privilege to access owncloud database

  • Write changes to the database instantly
LEARN MORE  How To Create phpinfo Pages?

  • See you MariaDB

Login OwnCloud Web Interface

Create new user by providing username and password. By default Sqlite database is used but if you want use MariaDB created upper chapter.


Login OwnCloud Web Interface

Login OwnCloud Web Interface

OwnCloud Panel

As we can see from following screenshot that OwnCloud Panel lists current root files and folders. By default Documents and Photos folders are provided. There is also an PDF file which contains detailed ownCloud Manual.

OwnCloud Panel

OwnCloud Panel


How To Install OwnCloud On CentOS Linux? Infografic

How To Install OwnCloud On CentOS Linux? Infografic

How To Install OwnCloud On CentOS Linux? Infografic

Leave a Reply

Your email address will not be published. Required fields are marked *