Skip to content

Instantly share code, notes, and snippets.

View strangerxx's full-sized avatar

Artur strangerxx

View GitHub Profile
@strangerxx
strangerxx / 1 setup vps
Last active September 18, 2024 21:07 — forked from PavloBezpalov/1 setup vps
Deploy Rails 5.2.1 to VPS(Ubuntu 18.04.1 LTS). Nginx mainline + pagespeed, Puma with Jungle, Capistrano3, PostgreSQL 11, RVM, Certbot
root# apt-get update
root# apt-get upgrade
// dependencies for Ruby
root# apt-get install -y git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev \
libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev \
libpcre3-dev unzip
// Node.js v7
root# curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -