1、PostgreSQL安装包下载
(1)windows和Mac OS X平台的安装包下载地址:
https://www.enterprisedb.com/software-downloads-postgres
如果需要下载具体版本,比如12.12版本,则下载地址:
https://get.enterprisedb.com/postgresql/postgresql-12.12-1-windows-x64.exe
(2)Linux平台安装包下载地址:
https://www.postgresql.org/ftp/source/
如果需要下载具体版本,比如12.12版本,则下载地址:
https://ftp.postgresql.org/pub/source/v12.12/postgresql-12.12.tar.gz
通过编译的方式可以满足大部分操作系统环境下的正常安装,相对其他数据库来说PG 的学习成本是非常低的,不限硬件,不限操作系统;安装包非常小只有几十兆。
2、学习环境准备
由于一般企业通常会用 Linux 作为生产服务器,因此通过虚拟机来模拟Linux服务器:
(1)Vmware虚拟机软件:
https://download3.vmware.com/software/WKST-1624-WIN/VMware-workstation-full-16.2.4-20089737.exe
(2)虚拟机操作系统(CentOS7.9):
http://ftp.sjtu.edu.cn/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-DVD-2009.iso
(3)PostgreSQL12.12安装介质:
https://ftp.postgresql.org/pub/source/v12.12/postgresql-12.12.tar.gz
(4)PGAdmin官方客户端工具:
https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v6.12/windows/pgadmin4-6.12-x64.exe
(5)DBeaver 开源客户端工具:
https://dbeaver.io/files/dbeaver-ce-latest-x86_64-setup.exe




