create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
const express = require("express"); | |
const router = express.Router(); | |
const User = require("../models/user"); | |
const AWS = require("aws-sdk"); | |
AWS.config.update({ | |
accessKeyId: process.env.accessKeyId, | |
secretAccessKey: process.env.secretAccessKey, | |
region: "us-east-1" | |
}); |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
$ python -c 'import random; print "".join([random.choice("abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)") for i in range(50)])' |
From: http://www.redhat.com/magazine/022aug06/features/webserver | |
You can select automatic partitioning for your hard drive space, but it may not be ideal for this kind of deployment. Here is a suggested breakdown of your partitions, based on a computer with 1GB of RAM and a 160GB hard drive: | |
/boot 100MB | |
/ 10240MB | |
swap 2048MB (this should be twice the system memory) | |
/tmp 5120MB | |
/var 133120MB (this is where the majority of your web content will be stored) | |
/var/log 10240MB |