主要参考教程在文章结尾,以下是部分与教程中操作不一样的记录。
创建pg用户及pg所属目录命令:
groupadd postgres
useradd postgres -d /home/postgres -g postgres
passwd postgres
参考:Linux服务器上的Postgresql 安装与配置_linux 安装postgresql-优快云博客
该教程在gmake环节报错,与python的更新有关
报错原因参考:2023272 – postgresql fails to build with Python 3.11: fatal error: eval.h: No such file or directory
以防万一需要删除创建用户参考:
linux下如何完全删除用户_linux删除用户-优快云博客
安装教程参考:
729

被折叠的 条评论
为什么被折叠?



