Posts

Showing posts from October, 2018
Deploy Ruby On Rails application on production AWS Ec2 server 1. Give 400 permission to pem file. sudo chmod 400 example.pem 2. Login on server.   ssh -i example.pem file ubuntu@ip_address ---------------------------------------------------------------------- 3. You can check ubuntu server details by: lsb_release -a No LSB modules are available. Distributor ID:    Ubuntu Description:    Ubuntu 16.04.2 LTS Release:    16.04 Codename:    xenial ---------------------------------------------------------------------- 4. Install the required libraries: sudo apt-get update sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs yarn sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev gpg --keyserver h...