brackets.web
12/17/2019 - 12:42 PM

Ubuntu Server

sudo useradd -d /home/testuser -m testuser
usermod -aG sudo newuser
sudo passwd testuser
chsh >>> /bin/bash
ssh-keygen
authorized_keys

deluser --remove-home newuser
sudo apt install vim tmux htop curl git nmap;
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install gcc g++ make nodejs -y
sudo npm i -g pm2
sudo npm i -g nodemon
sudo apt-get update && 
sudo apt list --upgradable && 
sudo apt-get dist-upgrade -y && 
sudo apt-get autoremove -y && 
sudo npm i -g npm && 
sudo npm -g update;