In order to get Metasploit Framework working, your machine or VPS has to have at least 2GB of RAM. If you want to setup a database, 4GB is reccomended.
If you do not have a machine with this much RAM, or are renting a VPS, you should search how to do Paging, although please note that your RAM will be extremely slow.
If you have enough ram, feel free to skip this section.
By setting up Paging, we are repurposing your storage and using it as very slow RAM.
Please note, that if you are not running as root, you will need to have sudo
before most of these commands. If it says Permissions Denied
or something similiar, add sudo
. For example, instead of touch swap.img
, write sudo touch swap.img
.
- Run
free
in order to see how much RAM you currently have.