Commands :
-sudo apt install metasploit-framework
-sudo systemctl enable --now postgresql
-systemctl status postgresql
-systemctl is-enabled postgresql
-sudo msfdb init
-sudo msfconsole
------------------------------------------------------------
if you have any questions, leave them in the comments below!!