9/18/2023 0 Comments Postgresql 9.6 downloadWith the environment variables previously defined ( $PATH, $PGLIB…), run the utility pg_ctl with the option intidbįrom the directory where the database will be installed ( $PGDATA : /sqlpac/postgres/srvpg1). ln -fs pgsql-9.6.15 pgsql-9.6įor the user postgres, the environment variables below are initialized : PATH=/opt/postgres/pgsql-9.6/binĮxport LD_LIBRARY_PATH=/opt/postgres/pgsql-9.6/libĮxport PGBINHOME=/opt/postgres/pgsql-9.6 Database initialization The distribution (version 9.6.15) is installed in the directory /opt/postgres/pgsql-9.6.15 : gunzip mkdir tar xvf postgresql-9.6.15-2-linux-圆4-binaries.tar \Ī symbolic link pgsql-9.6 is created for an ease of use managing minor versions changes. The database will be installed in the directory /sqlpac/postgres/srvpg1 : mkdir chown postgres:dba mkdir /sqlpac/postgres/srvpg1 Postgresql 9.6 distribution installationĭownload the archive file PostgreSQL 9.6 for Linux 64 bits from EnterpriseDB. In this article, a PostgreSQL 9.6 instance is installed and customized (port, database and configuration files…) on Ubuntu 18.04.Īs user root, create the user postgres (group dba, id 10005) useradd postgres -g dba -d /opt/postgres -m -s /bin/bash -u 10005īinaries are installed in the directory /opt/postgres with the appropriate owner and rights : mkdir chown postgres:dba /opt/postgres
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |