Created
August 19, 2014 23:36
-
-
Save jdx/f8fe945e0e5464b7dd1a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum update -y | |
yum install -y git nodejs npm vim | |
npm install -g n | |
n stable | |
node --version | |
git --version | |
vim /etc/yum.repos.d/mongodb.repo | |
#[mongodb] | |
#name=MongoDB Repository | |
#baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/ | |
#gpgcheck=0 | |
#enabled=1 | |
service mongod start | |
mongo | |
wget http://download.redis.io/releases/redis-2.8.13.tar.gz | |
tar -xvzf redis-2.8.13.tar.gz | |
cd redis-2.8.13 | |
make | |
make install | |
vim /etc/systemd/system/redis.service | |
#[Unit] | |
#Description=Redis Server | |
#[Service] | |
#ExecStart=/usr/local/bin/redis-server | |
redis-cli | |
npm install --global gulp | |
su www | |
cd # /home/www | |
git clone https://github.com/dickeyxxx/mean-sample |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment