Deploy on AWS

Change Time

// 1. change file

sudo vim /etc/sysconfig/clock

ZONE="Europe/Berlin"
UTC=false

// 2. link the timezone

sudo ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime

// 3. Reboot

sudo reboot

Repository problems

  1. mongoose 4.4.2 version problem

  2. npm rebuild node-sass

  3. yum install gcc-c++ make

  4. npm install node-gyp -g

  5. amazon linux: sudo yum install gcc gcc-c++ openssl-devel curl

  6. ubuntu sudo apt-get install g++ libssl-dev apache2-utils curl make libkrb5-dev

Use AWS S3

follow the instruction : here

  1. npm install aws-sdk

  2. create a tmp file folder