⚙️ Batch scripts for Rails production environment install on Ubuntu Server.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 5 commits behind huacnlee:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
elasticsearch
install_docker
install_haproxy
install_mongodb
install_nginx
install_packages
install_redis
install_rvm
wercker.yml

README.md

   ______              __           __
  /\__  _\          __/\ \__       /\ \
  \/_/\ \/     ___ /\_\ \ ,_\      \_\ \
     \ \ \   /' _ `\/\ \ \ \/      /'_` \
      \_\ \__/\ \/\ \ \ \ \ \_  __/\ \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