______ __ __
/\__ _\ __/\ \__ /\ \
\/_/\ \/ ___ /\_\ \ ,_\ \_\ \
\ \ \ /' _ `\/\ \ \ \/ /'_` \
\_\ \__/\ \/\ \ \ \ \ \_ __/\ \L\ \
/\_____\ \_\ \_\ \_\ \__\/\_\ \___,_\
\/_____/\/_/\/_/\/_/\/__/\/_/\/__,_ /
Batch scripts for Ruby production environment install on Ubuntu Server.
- Ubuntu Server 14.04
Install packages first
sudo apt-get update
sudo apt-get install -y curl
curl -sSL https://git.io/vVHhe | bash
Nginx official package
curl -sSL https://git.io/vVHhf | bash
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
curl -sSL https://git.io/vVHhT | bash
curl -sSL https://git.io/vVHhk | bash
curl -sSL https://git.io/vVHhm | bash
sudo service elasticsearch status
curl -sSL https://git.io/vPypp | bash
sudo docker info