Linux(Redhat 7.6)安装PG(Postgresql 9.6.0)

需要在Linux上安装postgres数据库,指定安装目录,简单测试各种配置。安装包下载地址:

//源码
https://github.com/postgres/postgres/releases

//二进制
https://www.enterprisedb.com/download-postgresql-binaries

//官网
https://www.postgresql.org/

本次测试使用的版本安装包是【postgresql-9.6.0.tar.gz】

查看本地yum源

[root@mm2020 ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        42G  4.0G   38G  10% /
devtmpfs        1.9G     0  1.9G   0% /dev
tmpfs           1.9G  4.0K  1.9G   1% /dev/shm
tmpfs           1.9G   13M  1.9G   1% /run
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/sda1       497M  166M  332M  34% /boot
tmpfs           378M   44K  378M   1% /run/user/0
/dev/sr0        4.2G  4.2G     0 100% /run/media/root/RHEL-7.6 Server.x86_64

[root@mm2020 ~]# yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
repo id repo name status
!oel6 OEL6.5 5,152
repolist: 5,152
yum

相关文章:

  • 2022-01-08
  • 2022-02-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2021-04-07
  • 2022-12-23
  • 2021-09-27
猜你喜欢
  • 2021-04-19
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2022-12-23
  • 2021-11-22
  • 2022-01-01
相关资源
相似解决方案