I Have an Issue With Swap File (2GB) During Installation

The easiest thing would be to use digital ocean.

You could try to create a 2gb swap file yourself. If you do that and are still having trouble, include the output from

free -h