Changes between Version 139 and Version 140 of InstallationGuidelines/Amazon
- Timestamp:
- 03/27/20 23:43:28 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/Amazon
v139 v140 175 175 You can add a swap partition in order to improve performance further: 176 176 * Create Volume in AWS Console (e.g. 4Gb) 177 * Attach as /dev/sdf 177 * Attach as {{{/dev/sdf}}} 178 * Use {{{fdisk -l}}} to see the device name & UUID that this arrives as 178 179 {{{ 179 180 sudo su - 180 181 swapoff -a 181 mkswap /dev/xvdf182 swapon -a 182 #mkswap /dev/xvdf 183 mkswap /dev/nvme0n1 183 184 # Make persistent across reboots 184 185 cat << EOF >> "/etc/fstab" 185 /dev/xvdf swap swap defaults 0 0 186 #/dev/xvdf swap swap defaults 0 0 187 UUID=XXXXX none swap defaults 0 0 186 188 EOF 189 swapon -a 187 190 rm -f /mnt/swapfile 188 191