chmod 400 key.pem
ssh -i "nick-aws-key.pem" ubuntu@ec2-public-dns.compute-1.amazonaws.com
sudo apt-get upgrade
sudo apt-get update
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential
sudo apt-get install awscli
sudo vi /etc/ssh/sshd_config
PasswordAuthentication no
=>PasswordAuthentication yes
sudo useradd -d /home/nick -m nick
sudo passwd nick
enter password
sudo visudo
# User privilege specification
+root ALL=(ALL:ALL) ALL
+nick ALL=(ALL:ALL) ALL
sudo usermod -aG sudo,adm nick
sudo /etc/init.d/ssh restart
exit
ssh nick@ec2-public-dns.compute-1.amazonaws.com
sudo chsh -s /bin/bash nick
sudo apt-get install git make unzip libwww-perl libdatetime-perl
Last active
October 12, 2017 11:35
-
-
Save iSkore/7d94aa33b53f2d3375b307d4546d53bc to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment