- Install packages
sudo apt-get update sudo apt-get install -y curl curl -sSL https://git.io/vVHhe | bash
- Install Nginx
curl -sSL https://git.io/vVHhf | bash
- Install RVM & Ruby
curl -sSL https://git.io/vVHhJ | bash
Or use Ruby China mirror site for RubyGems and Ruby
MIRROR=1 curl -sSL https://git.io/vVHhJ | bash
run this to check
ruby -v rvm -v
- 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
- seats system
git clone https://github.com/xxxx.xxxx.git cd library_xxxx/ bundle install apt-get install mysql-server rake db:create rake db:migrate whenever -i rails server
- runing server