Then we'll use that postgres account to create a brand new super-user account for your PostgreSQL installation which can be regulated more efficiently. As an example we will use steven as our new PostgreSQL super-user account. Notice in the above we can enter multiple lines of command in SQL shell. The SQL is not executed until semi-colon followed enter is found. Which means, the semi-colon will make the shell execute entered commands.
After pressing "Enter" it will respond with something like this:. Let's verify that everything is working correctly. Try to log in with psql using our new super-user account and create a quick test database:. I hope that you now know how to install PostgreSQL If you run into any issues or have any feedback feel free to drop a comment below.
Your email address will not be published. Menu About Contact. Contact Us Password Generator. Web Development System Administration Miscellanous. By r00t4bl3.
Dec 27, Tags Linux. Previous Article How to Fix "perl: warning: Setting locale failed. The most common and important packages are substitute the version number as required :. Due to policies for Red Hat family distributions, the PostgreSQL installation will not be enabled for automatic start or have the database initialized automatically. If you cannot, or do not want to, use the yum based installation method, all the RPMs that are in the yum repository are available for direct download and manual installation as well.
It is not necessary talk much about PostgreSQL. However, very briefly I will explain you what it is. It is a SQL database manager, open source and well known by application developers. So we will have enterprise power in a community program. Sounds good, no? PostgreSQL has an updated repository for Fedora. However, due to the recent release of Fedora 34, version 11 is available.
So in this sense we will have no problems. While PostgreSQL is an application, it has many additional libraries to extend its functionality. In addition, we can have access to other libraries of the program for development. As you can see, there are many packages related to PostgreSQL. But as I said before, they refer to libraries needed to extend the functionality.
0コメント