本人小白 在主机是ubuntu 安装了VM其中有kali而kali通常是root权限使用所以 安装了虚拟机运行并学习
而kali是在官网下载 这里就不提供链接了
而metasploitkali自带 在使用armitage时遇到 database.yml 找不到并且ubuntu中也遇到了类似的问题
首先安装 postgresql数据库
sudo apt install postgresql
开启postgresql服务
正确安装metasploitkali github中有脚本自动安装
https://github.com/rapid7/metasploit-framework/wiki/Nightly-Installers
armitage在官网下好即可
http://www.fastandeasyhacking.com/download/
ubuntu18.10
两者都正长安装之后 开启postgresql 服务
sudo service postgresql start
或者在配置文件中开启
sudo /etc/init.d/postgresql start
在之前在网络中搜到的答案很多需要service metasploit start开启
而最新的metasploit 已经找不到这