![]() sudo systemctl enable postgresql Second Method – Install PostgreSQL on CentOS 7 using the PostgreSQL repository If required you can configure PostgreSQL to start on every system reboot automatically. This completes our database installation and initialization. Start the DatabaseĪfter initializing the database, you can start the database using: sudo systemctl start postgresql 5. Once the installation is done, you can initialize the database using the below command: sudo postgresql-setup initdb 4. ![]() Start with the following command: sudo yum install postgresql-server postgresql-contrib It is simple to install PostgreSQL from CentOS 7 repositories. Check out our PuTTY tutorial if you’re having trouble 2. Remember, before starting to install PostgreSQL on CentOS 7, we need to access our virtual private server with SSH. At the time of writing the repository hosts PostgreSQL version 9.2.15. Note that it may not have the latest version of PostgreSQL. The CentOS 7 repository contains PostgreSQL. Let us check each of this method in more detail: First Method – Install PostgreSQL on CentOS 7 using the CentOS repositories
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |