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. |
Saturday, May 24, 2014
Mount SWAP on Amazon EC2
Subscribe to:
Posts (Atom)
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/
-
If you get mpurun error as N more processes have sent help message help-mpi-btl-base.txt / btl:no-nics Set MCA parameter "orte_ba...
-
CODE: SELECT ALL X Error: BadAccess (attempt to access private resource denied) 10 Extension: 130 (MIT-SHM) Minor opcode: 1 (X_Sh...