Skip to content

Instantly share code, notes, and snippets.

@pjvds
Last active January 3, 2016 13:59
Show Gist options
  • Save pjvds/8473521 to your computer and use it in GitHub Desktop.
Save pjvds/8473521 to your computer and use it in GitHub Desktop.

http://www.comtechies.com/2013/02/how-to-set-up-gui-on-amazon-ec2-ubuntu.html

sudo apt-get update ; sudo apt-get upgrade -y
sudo apt-get install wget unzip software-properties-common python-software-properties -y
sudo apt-get install fonts-droid ttf-mscorefonts-installer fonts-horai-umefont fonts-unfonts-core winbind winetricks gnome-exe-thumbnailer

sudo add-apt-repository ppa:ubuntu-wine/ppa -y
sudo apt-get update
sudo apt-get install wine1.7 -y
AIR_HOME=$HOME/air_sdk_3.9
mkdir -p $AIR_HOME
cd $AIR_HOME
wget http://airdownload.adobe.com/air/win/download/latest/AIRSDK_Compiler.zip
unzip AIRSDK_Compiler.zip
echo "PATH=\"$AIR_HOME/bin:$PATH\"" | sudo tee "/etc/environment"
echo "AIR_HOME=\"$AIR_HOME\"" | sudo tee -a "/etc/environment"
sudo apt-get install python-software-properties curl wget -y
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
sudo apt-get install oracle-java7-installer -y
sudo apt-get install oracle-java7-set-default 
RDP into machine and install java via wine (just download the installer and run it)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment