apt-get install postgresql-9.5 postgresql-client-9.5 su postgres createuser -P msf4 #创建用户msf4 createdb –owner=msf4 msf4 #所有者:msf4,数据库名:msf4