Linux

A collection of 5 posts

Aug 4, 2020

Some Basic Pre-requisites

Some Basic Pre-requisites

Open all ports (dev purpose only) $ sudo iptables -P INPUT ACCEPT $ sudo iptables -P FORWARD ACCEPT $ sudo iptables -P OUTPUT ACCEPT $ sudo iptables -F $ apt-get purge netfilter-persistent $ rebootInstall docker $ curl -fsSL https://get.

Aug 4, 2020

Use Swap File to Allocate Memory

Use Swap File to Allocate Memory

When physical RAM is already in use, instances use swap space as a short-term replacement for physical RAM. Contents of RAM that aren’t in active use or that aren’t needed as