Changes between Version 84 and Version 85 of InstallationGuidelines/Amazon


Ignore:
Timestamp:
08/29/14 10:23:50 (7 years ago)
Author:
Fran Boon
Comment:

Swap Partition

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Amazon

    v84 v85  
    8484}}}
    8585
     86== Add Swap partition ==
     87You can add a swap partition in order to improve performance further:
     88* Create Volume in AWS Console (e.g. 4Gb)
     89* Attach as /dev/sdf
     90{{{
     91sudo su -
     92swapoff -a
     93mkswap /dev/xvdf
     94swapon -a
     95# Make persistent across reboots
     96cat << EOF >> "/etc/fstab"
     97/dev/xvdf swap  swap    defaults 0 0
     98EOF
     99rm -f /swapfile1
     100
     101}}}
    86102== Add Storage ==
    87103If you need an additional disk for Storage then configure a volume in the AWS console, attach as /dev/sdb1, then in Linux: