# ubuntu-postgres-fix-config **Repository Path**: daoio/ubuntu-postgres-fix-config ## Basic Information - **Project Name**: ubuntu-postgres-fix-config - **Description**: ubuntu server 22.04虚拟机系统,postgresql数据库支持远程连接和取消密码验证的配置修复脚本。 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-10-10 - **Last Updated**: 2022-10-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### postgresql数据库支持远程连接的配置修复 此操作针对下发的 Ubuntu Server 22.04 虚拟机系统。 默认的配置不支持主机系统通过客户端连接数据库。需要更改配置文件。 此脚本把要操作的步骤整合到一起。 **首次运行终端命令操作方式:** ``` git clone https://gitee.com/daoio/ubuntu-postgres-fix-config && \ cd ubuntu-postgres-fix-config && ./run.sh ``` 如果已经clone到虚拟机系统上,只需要切换到仓库目录,然后执行: ``` ./run.sh ``` **注意:操作过程需要使用sudo命令,此时可能会询问密码,默认的ok用户的密码是ok12345**