1、安装使用如下命令,会自动安装最新版,这里为9.5sudo apt-get install postgresql安装完成后,默认会:(1)创建名为"postgres"的Linux用户(2)创建名为"post