Created
September 15, 2015 19:32
-
-
Save scarnecchia/b9b2a8052595330641de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#call with sudo ./ec2_deploy.sh | |
apt-get update -y | |
apt-get upgrade -y | |
apt-get install -y xfce4 xrdp chromium-browser xfce-terminal git | |
service xrdp start | |
passwd ubuntu | |
#enter password at prompt | |
#Assign a security group with the following inbound rule to the EC2 instance to enable remote access: | |
#Protocol: TCP | |
#Port Range: 3389 // configuration can be found in /etc/xrdp/xrdp.ini | |
#Source: | |
#Assign an elastic IP to your EC2 instance. You should now be able to remote access to it from your Windows box using your ubuntu username and the password you just set. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment