How To Install owncloud-postgresql on CentOS 7
Introduction
In this tutorial we learn how to install owncloud-postgresql
on CentOS 7.
What is owncloud-postgresql
This package ensures the necessary dependencies are in place for ownCloud to work with a PostgreSQL database. It does not require the PostgreSQL server package to be installed, as you may well wish to use a remote database server. If you want the database to be on the same system as ownCloud itself, you must also install and enable the PostgreSQL server package. See README.postgresql for more details.
We can use yum
or dnf
to install owncloud-postgresql
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install owncloud-postgresql.
Install owncloud-postgresql on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install owncloud-postgresql
using yum
by running the following command:
Install owncloud-postgresql on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install owncloud-postgresql
using dnf
by running the following command:
How To Uninstall owncloud-postgresql on CentOS 7
To uninstall only the owncloud-postgresql
package we can use the following command:
References
Summary
In this tutorial we learn how to install owncloud-postgresql
on CentOS 7 using yum
and dnf
.