ubuntu 安装 PostgreSQL# su postgres -c psql template1//进入命令行交互postgres# ALTER USER postgres
ubuntu 安装 PostgreSQL # su postgres -c psql template1 //进入命令行交互postgres=# ALTER USER postgres with password 'aaa123456'; ALTER ROLEpostgres=# \q//这样就修改密码为aaa123456在命令行输入pgadmin3 就可以启动UI,然后输入服务器地址为localhost,用户名postgres,密码aaa123456等就可以启动。