Changes between Version 139 and Version 140 of InstallationGuidelines/Amazon


Ignore:
Timestamp:
03/27/20 23:43:28 (5 years ago)
Author:
Fran Boon
Comment:

Update Swap Partition for Debian 10

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Amazon

    v139 v140  
    175175You can add a swap partition in order to improve performance further:
    176176* 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
    178179{{{
    179180sudo su -
    180181swapoff -a
    181 mkswap /dev/xvdf
    182 swapon -a
     182#mkswap /dev/xvdf
     183mkswap /dev/nvme0n1
    183184# Make persistent across reboots
    184185cat << EOF >> "/etc/fstab"
    185 /dev/xvdf swap  swap    defaults 0 0
     186#/dev/xvdf swap  swap    defaults 0 0
     187UUID=XXXXX none swap    defaults 0 0
    186188EOF
     189swapon -a
    187190rm -f /mnt/swapfile
    188191