CentOS 6.5 64bit
passwd
yum update -y
yum install -y wget
git ์ค์น(์ ํ)
yum install -y curl-devel zlib-devel.x86_64 perl-ExtUtils-MakeMaker.x86_64
yum groupinstall -y "Development Tools"
cd /tmp
tar xvfz git-1.9.0.tar.gz
cd git-1.9.0
./configure
make
make install
adduser dev
passwd dev
su - dev
mkdir ~/local && cd ~/local
wget http://nodejs.org/dist/v0.10.26/node-v0.10.26-linux-x64.tar.gz
wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.9.tgz
PATH์ node.js, mongodb ์ถ๊ฐ
grunt, bower ์ค์น
npm install -g grunt-cli
npm install -g bower
80port ์ฐ๊ฒฐ
iptables -t nat -A PREROUTING -p tcp -d 1xx.2xx.1xx.xx --dport 80 -j REDIRECT --to-port 3000
mean/config/env/development.js
facebook: {
clientID: '1417763...476376',
clientSecret: 'a535v2.......adf68c53f41ae6c73b',
callbackURL: 'https://okdevtv.com/auth/facebook/callback'
},