Skip to content

Instantly share code, notes, and snippets.

@dthtien
Forked from fongfan999/install.md
Created March 15, 2017 10:19
Show Gist options
  • Save dthtien/593d2831fa0d199f510f3f46d47bb4af to your computer and use it in GitHub Desktop.
Save dthtien/593d2831fa0d199f510f3f46d47bb4af to your computer and use it in GitHub Desktop.
Ruby On Rails Ubuntu 16.10 install

Developer libs

mysql, rmagic, curl, git, vim, sqlite, nodejs nokogiri...

sudo apt-get install libxslt1-dev libxml2-dev build-essential patch libsqlite3-dev libcurl4-openssl-dev curl git git-gui vim-gtk exuberant-ctags nodejs nodejs-legacy rar

Ruby

sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.4 ruby2.4-dev

click

Rails

sudo gem install rails --no-rdoc --no-ri

ImageMagick

 sudo apt-get install libmagickwand-dev imagemagick

PostgreSQL

sudo apt-get install postgresql libpq-dev
sudo -u postgres psql
alter user postgres with password 'password';
\q

GUI

sudo apt-get install pgadmin3

MySQL

sudo apt-get install mysql-server mysql-client ruby-mysql libmysqlclient-dev

GUI

sudo apt-get install mysql-workbench

MongoDB

sudo apt-get install mongodb

Redis

sudo apt-get install redis-server

Sphinx

sudo apt-get install sphinxsearch

Elasticsearch

sudo apt-get install elasticsearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment