ubuntu 18.04 server install legacy code example
Example 1: install nodejs ubuntu 19.04
sudo apt install curl
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get update
sudo apt-get install nodejs
nodejs -v
npm -v
Example 2: install docker on ubuntu 18.04
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"