0x0 Notes source.list
debian update source.
0x1 Kali source added, the source.list.d
new kali.list, easy to operate.
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
Add digital certificates
$wget archive.kali.org/archive-key.asc //下载签名
$apt-key add archive-key.asc //安装签名
Updating the package list
$apt-get update
0x2 install postgresql
Add postgresql source
deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main
Install postgresql
$wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
// add a digital certificate
$apt-get update
$apt-get install postgresql
0x3 mounting metasploit-framework
$apt-get install metasploit-framework #so easy
0x4 initialization metasploit-framework
$msfdb init
0x5 complete the installation, inspection
msf start
$msfconsole
Detecting database connection
msf>db_status
Appears postgresql connected to xxx Description database connection is normal
Reference Hirofumi: Https://Www.Cnblogs.Com/little-kwy/p/11811130.Html