1 Environment Mac OS Catalina 10.15.7 2 Install via nodebrew Firstly, I installed it via brew.
Nodebrew is Node.js version manager.
I installed via brew.
1 $ brew install nodebrew Check version
1 2 $ nodebrew -v nodebrew 1.1.0 However, something is wrong for installing over brew.
1 2 $ nodebrew list No such file or directory at /usr/local/bin/nodebrew line 575.
1 Install heroku cli I followed guidance on official heroku site.
Warning A book that I referred has different instruction to run brew install heroku/brew/heroku, but it did not set PATH to /usr/local/bin/heroku. So, I uninstalled that and did below. 1 brew tap heroku/brew && brew install heroku Check version
1 2 3 $ heroku -v › Warning: Our terms of service have changed: https://dashboard.
1 Environment 1 2 3 4 5 6 $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic 2 Install via n It looks apt install on Ubuntu 18.04 brings older version of npm and Node.js. So, I installed it via n, Node.js version management.
Ref.
トライフィールズ - Ubuntu18.04で任意のバージョンのNode.jsをインストールする方法) npm - n – Interactively Manage Your Node.
On SSH login, ~/.bashrc was not load
Why? A login shell first reads /etc/profile and then ~/.bash_profile. A non-login shell reads from /etc/bash.bashrc and then ~/.bashrc. An ssh command which does have a command, like ssh user@host, It will start a login shell, a login shell reads ~/.bash_profile.
An ssh command which does have a command, like ssh user@host :(: is command that does nothing), It will not start a login shell, therefore ~/.
I setup Canvas LMS following Canvas LMS Quick Start Guide atgithub page.
1. Prerequisite SSH login to ubuntu setup Docker ruby - ruby 2.6. see dependency installation python - python3 worked in my case. python2 did not. dory (optional) 1.1. SSH login to ubuntu Ubuntu SSH Server Configuration ~/.bashrc has some configuration for ruby in my case (see 1.3 below). 1.2. Setup Docker and Docker compose Install docker Install docker compose 1.
Dory is one of optional requirement to run canvas.
What' Dory? Dory builds local DNS and reverse proxy. Dory enables user to access over domain name address like http://.
Environment Ubuntu 18.04.5 LTS
1 2 3 4 5 6 $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic Install Instruction is at github.
Warning Using sudo for gem install dory worked once, but it brought error on canvas installation for some authorization error.