In order to facilitate our use of Postgres account for management, we can change the password of this account 1. After the database is initialized, a database named Postgres will be created to store the basic information of the database, such as user information, etc., which is equivalent to the default MySQL database named mysql.Ī super user will be initialized in Postgres database postgres X 2- Modify the password of Postgres accountĪfter PostgreSQL is installed successfully, a Linux user named Postgres will be created by default. Sudo systemctl start postgresql - 12 #Set PostgreSQL service to start for power on Start PostgreSQL service #Start PostgreSQL service Initialize the database sudo / usr / pgsql - 12 / bin / postgresql - 12 - setup initdb Installing PostgreSQL 11 is Yum install postgresql12 postgresql12 serverĪnd so on 2. Install PostgreSQL service sudo yum install - y postgresql12 postgresql12 - server Import Yum source sudo yum install - y https : ///pub/repos/yum/reporpms/EL-7-x86_64/ 1. Environmental information and scope of applicationĢ、 PostgreSQL installation 1. ![]() ![]() PostgreSQL 12 remote access configurationĢ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |