Answers for "how to install postgresql on centos 7"

SQL
2

install postgresql centos 5

# centos 5 32bit
rpm -Uvh http://yum.postgresql.org/9.1/redhat/rhel-5-i386/pgdg-centos91-9.1-4.noarch.rpm
yum install postgresql91-server
/etc/init.d/postgresql-9.1 initdb
service postgresql-9.1 start
chkconfig postgresql-9.1 on
Posted by: Guest on February-02-2021
0

how to install postgresql on centos 7

yum list postgresql*
Posted by: Guest on June-09-2020
0

how to install postgresql on centos 7

sudo yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
Posted by: Guest on June-09-2020
0

how to install postgresql on centos 7

...
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

exclude=postgresql*

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
exclude=postgresql*
...
Posted by: Guest on June-09-2020
0

install postgresql 10 centos 7

# systemctl enable postgresql-10.service
# systemctl start postgresql-10.service
Posted by: Guest on March-07-2021
0

install postgresql 10 centos 7

# /usr/pgsql-10/bin/postgresql-10-setup initdb
Initializing database ... OK
Posted by: Guest on March-07-2021

Code answers related to "how to install postgresql on centos 7"

Code answers related to "SQL"

Browse Popular Code Answers by Language