apt-get install postgresql-9.5 postgresql-client-9.5
su postgres
createuser -P msf4 #创建用户msf4
createdb –owner=msf4 msf4 #所有者:msf4,数据库名:msf4
apt-get install postgresql-9.5 postgresql-client-9.5
su postgres
createuser -P msf4 #创建用户msf4
createdb –owner=msf4 msf4 #所有者:msf4,数据库名:msf4
转载于:https://www.cnblogs.com/hangzier/p/9007720.html