Saturday, May 24, 2014

Mount SWAP on Amazon EC2


By default the amazon instance is going without swap. So you need to create and attach a volume

mkswap /dev/xvdn

Then use the commnad

swapon /dev/hdxx

where /dev/hdxx is your new swap partition (or swap file). You can use more than one swap partition/file just by enabling swap on all the swap files/partitions your system knows about with swapon -a.

How to Encrypt and Decrypt Files With GPG on Linux

https://www.howtogeek.com/427982/how-to-encrypt-and-decrypt-files-with-gpg-on-linux/