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 will install ownCloud packages from repository we have added.

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 Check Password Strength In Linux With Cracklib

We will start MariaDB service like below

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  Linux File System

  • See you MariaDB

And We Are Here

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

You may also like...

Leave a Reply

Your email address will not be published.

Enjoy this blog? Please spread the word :)