Ruby on Rails

Install Ruby on Rails Ubuntu 18.04

Iman Sugirman Iman Sugirman Follow 02 Apr 2019 · 1 min read
Install Ruby on Rails Ubuntu 18.04

Sekarang kita telah menginstal Homebrew, kita dapat menggunakannya untuk menginstal Ruby. Kami akan menggunakan rbenv untuk menginstal dan mengelola versi Ruby. :hocho:

Developer libs

Install Dependences :

  • 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

Install Ruby

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

Install Ruby on Rails

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

Install ImageMagick

sudo apt-get install libmagickwand-dev imagemagick

Install PostgreSQL

sudo apt-get install postgresql libpq-dev
sudo -u postgres psql

Create Password

alter user postgres with password 'password';
    \q

GUI

sudo apt-get install pgadmin3

Install MySQL

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

GUI

sudo apt-get install mysql-workbench

Install MongoDB

sudo apt-get install mongodb

InstallRedis

sudo apt-get install redis-server

Install Sphinx

sudo apt-get install sphinxsearch

Install Elasticsearch

sudo apt-get install elasticsearch

Dapatkan Email Setiap Minggu

No Spam, No JibJab!
Iman Sugirman

Written by Iman Sugirman Follow

Web Designer & Developer was 4 years experience in Web Development. Have Secret Sauce Recipe for Create Awesome Website