Skip to content

Instantly share code, notes, and snippets.

@jdx
Created August 19, 2014 23:36
Show Gist options
  • Save jdx/e2e05c74006984a1f12e to your computer and use it in GitHub Desktop.
Save jdx/e2e05c74006984a1f12e to your computer and use it in GitHub Desktop.
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