Changes between Version 63 and Version 64 of InstallationGuidelines/Amazon


Ignore:
Timestamp:
08/06/13 11:03:29 (8 years ago)
Author:
Fran Boon
Comment:

Add Storage

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Amazon

    v63 v64  
    6262
    6363== Add Swapfile ==
    64 * You can add swap from a swap file in order to improve performance (especially on a Micro instance):
     64You can add swap from a swap file in order to improve performance (especially on a Micro instance):
    6565{{{
    6666sudo su -
     
    7777}}}
    7878
     79== Add Storage ==
     80If you need an additional disk for Storage then configure a volume in the AWS console, attach as /dev/sdb1, then in Linux:
     81{{{
     82sudo su -
     83fdisk /dev/xvdb1
     84n
     85(accept defaults)
     86w
     87mkfs.ext4 /dev/xvdb1
     88tune2fs -m 0 /dev/xvdb1 # Remove 5% reservation for reserved blocks
     89mkdir /data
     90cat << EOF >> "/etc/fstab"
     91/dev/xvdb1 /data ext4    defaults,barrier=0 1 1
     92EOF
     93mount /data
     94}}}
    7995== Install ==
    8096* Copy the installation and configuration scripts into the launched instance (assuming [wiki:InstallationGuidelines/Linux/Server/CherokeePostgreSQL Cherokee & PostgreSQL]):