Skip to content

Instantly share code, notes, and snippets.

@caseol
Forked from galulex/install.md
Created February 28, 2021 14:15
Show Gist options
  • Save caseol/9154ab91199dacf7ca699a48d0730c88 to your computer and use it in GitHub Desktop.
Save caseol/9154ab91199dacf7ca699a48d0730c88 to your computer and use it in GitHub Desktop.
Ruby On Rails Ubuntu 18.04 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 rar

Ruby

sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.6 ruby2.6-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