______ __ __
/\__ _\ __/\ \__ /\ \
\/_/\ \/ ___ /\_\ \ ,_\ \_\ \
\ \ \ /' _ `\/\ \ \ \/ /'_` \
\_\ \__/\ \/\ \ \ \ \ \_ __/\ \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://coding.net/u/taff/p/init.d/git/raw/master/install_packages | bash
Nginx official package
curl -sSL https://coding.net/u/taff/p/init.d/git/raw/master/install_nginx | bash
curl -sSL https://coding.net/u/taff/p/init.d/git/raw/master/install_rvm | bash
Use Ruby China mirror site for RubyGems and Ruby:
MIRROR=1 curl -sSL https://coding.net/u/taff/p/init.d/git/raw/master/install_rvm | bash
curl -sSL https://coding.net/u/taff/p/init.d/git/raw/master/install_mongodb | bash
curl -sSL https://coding.net/u/taff/p/init.d/git/raw/master/install_redis | bash
curl -sSL https://coding.net/u/taff/p/init.d/git/raw/master/elasticsearch | bash
sudo service elasticsearch status
curl -sSL https://coding.net/u/taff/p/init.d/git/raw/master/install_docker | bash
sudo docker info