Skip to content

⚙️ Batch scripts for Rails production environment install on Ubuntu Server.

Notifications You must be signed in to change notification settings

huacnlee/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://git.io/vVHhe | bash

Install Nginx

Nginx official package

curl -sSL https://git.io/vVHhf | bash

Install RVM + Ruby

curl -sSL https://git.io/vVHhJ | bash

Use Ruby China mirror site for RubyGems and Ruby:

MIRROR=1 curl -sSL https://git.io/vVHhJ | bash

Install MongoDB

curl -sSL https://git.io/vVHhT | bash

Install Redis

curl -sSL https://git.io/vVHhk | bash

Install ElasticSearch

curl -sSL https://git.io/vVHhm | bash
sudo service elasticsearch status

Install Docker

curl -sSL https://git.io/vPypp | bash
sudo docker info

About

⚙️ Batch scripts for Rails production environment install on Ubuntu Server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published