FANDOM


install vnc on aws ubuntu 14 Edit

  • start a ubuntu 14 linux on aws, open port 5901
  • set apt-get proxy, if you box don't have public ip
add /etc/apt/apt.conf , the content like:
Acquire::http::Proxy "http://proxy:port";
  • install lxde
sudo apt-get update
sudo apt-get install lxde -y
  • start lxdm
sudo start lxdm
  • install tight vnc
sudo apt-get install tightvncserver -y
  • start vnc sever
vncserver :1
  • restart vnc server
vncserver -kill :1
vncserver :1

install java 8 Edit

sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
java -version
/usr/lib/jvm/java-8-oracle/bin


  • apt-add-repository behind proxy
 export http_proxy=http://saproxy.internal.reuters.com:3128
export https_proxy=http://saproxy.internal.reuters.com:3128
sudo -E add-apt-repository ppa:webupd8team/java


  • or download jdk from oracle, when you behind proxy, java-installer not work.

install firefox Edit

sudo apt-get install firefox -y

open ssh tunnel Edit

ssh -i ~/.ssh/rcom-ppe.pem  -C -f -N -g -L *:5901:172.20.100.70:5901 ec2-user@52.200.42.25