> 下载地址:https://www.enterprisedb.com/download-postgresql-binaries ## 使用oneinstack安装postgresql `wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz && tar xzf oneinstack-full.tar.gz && ./oneinstack/install.sh --db_option 14 --dbinstallmethod 1 --dbrootpwd oneinstack` - 配置远程登录 修改`/data/pgsql/postgresql.conf` ```bash listen_addresses = '*' port = 5432 ``` 重启postgresql:`service postgresql restart`