Initialize your Postgres database and start PostgreSQL: sudo postgresql-setup initdb To install from the CentOS repositories, simply run: sudo yum install postgresql-server postgresql-contrib Install From the CentOS RepositoriesĪs of this writing, the CentOS 7 repositories ship with PostgreSQL version 9.2.15. Unless otherwise noted, the instructions in subsequent sections of this guide will be compatible with versions installed by either method. If you do not need the latest version, we recommend using the first method to install PostgreSQL from the CentOS repositories. In this section, we’ll cover two different methods for installing PostgreSQL. If you’re not familiar with the sudo command, visit the Users and Groups guide for more information. Commands that require elevated privileges are prefixed with sudo. This guide is written for a non-root user.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |