chmod 400 key.pemssh -i "nick-aws-key.pem" ubuntu@ec2-public-dns.compute-1.amazonaws.comsudo apt-get upgradesudo apt-get updatecurl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -sudo apt-get install -y nodejssudo apt-get install -y build-essentialsudo apt-get install awsclisudo vi /etc/ssh/sshd_configPasswordAuthentication no=>PasswordAuthentication yes
sudo useradd -d /home/nick -m nicksudo passwd nickenter password
sudo visudo# User privilege specification+root ALL=(ALL:ALL) ALL+nick ALL=(ALL:ALL) ALL
sudo usermod -aG sudo,adm nicksudo /etc/init.d/ssh restartexitssh nick@ec2-public-dns.compute-1.amazonaws.comsudo chsh -s /bin/bash nicksudo 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