Skip to content
/ init.d Public
forked from huacnlee/init.d

Batch scripts for Rails production environment install on Ubuntu Server.

Notifications You must be signed in to change notification settings

gxbsst/init.d

 
 

Repository files navigation

   ______              __           __
  /\__  _\          __/\ \__       /\ \
  \/_/\ \/     ___ /\_\ \ ,_\      \_\ \
     \ \ \   /' _ `\/\ \ \ \/      /'_` \
      \_\ \__/\ \/\ \ \ \ \ \_  __/\ \L\ \
      /\_____\ \_\ \_\ \_\ \__\/\_\ \___,_\
      \/_____/\/_/\/_/\/_/\/__/\/_/\/__,_ /

Batch scripts for Ruby production environment install on Ubuntu Server.

wercker status

Requirements

  • Ubuntu Server 14.04

Usage

Install packages first

sudo apt-get update
sudo apt-get install -y curl
curl -sSL https://raw.githubusercontent.com/huacnlee/init.d/master/install_packages | bash

Install Nginx

curl -sSL https://raw.githubusercontent.com/huacnlee/init.d/master/install_nginx | bash

Install RVM + Ruby

curl -sSL https://raw.githubusercontent.com/huacnlee/init.d/master/install_rvm | bash
gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
gem install bundler

Install MongoDB

curl -sSL https://raw.githubusercontent.com/huacnlee/init.d/master/install_mongodb | bash

Install Redis

curl -sSL https://raw.githubusercontent.com/huacnlee/init.d/master/install_redis | bash

Install ElasticSearch

curl -sSL https://raw.githubusercontent.com/huacnlee/init.d/master/elasticsearch | bash
sudo service elasticsearch status

About

Batch scripts for Rails production environment install on Ubuntu Server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published