centos使用metasploit问题

(1)yum安装

yum install metasploit-framework.x86_64

(2)please run database as non root user

user add msf和password是msf

su msf

msfdb init

msfdb start

exit回到root权限

cp /home/msf/.msf4/database.yml /root/.msf4/

msfconsole

db_status