Postgresql Installation Using Source Code in Linux
Postgresql Installation Using Source Code in Linux
linux
Package Requirements :
1. Make
2. GCC c compiler
3. Tar
4. Readline,readline-devel
5. Zlib,zlib-devel
6. Bison
7. flex
Optional
Libperl
Phyton
Tcl
Gettext
Kerberos, openssl, openldap, pam
User
default / de facto standar for software owner is postgres, used to running the process as a user, this
postgres user also different from super user on postgreSQL instance
New password:
1. run ./configure , this step is used to check the environment if any library need to be install first
~~
[root@localhost postgresql-9.5.3]#
/bin/mkdir -p '/usr/local/pgsql/lib/pgxs/config'
~~
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Start instance
server starting
[postgres@localhost bin]$ LOG: database system was shut down at 2016-06-03 00:44:47 WIB
Ps ef |grep postgres