Guest User

Untitled

a guest
Jun 22nd, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. # These instructions assume you are using a Linux or Mac machine as
  2. # the “local” machine and an Amazon Linux as the “remote” machine.
  3. # Here’s one way to get X11 working between the two.
  4.  
  5. # on the local machine (Linux or Mac with X11 already installed)
  6. $ ssh -X -i <amazon_key.pem> ec2-user@<remote_ec2_box_name>
  7.  
  8. # then on the remote Amazon Linux EC2 box
  9. $ sudo yum install xauth
  10. $ sudo yum install xterm
  11. $ sudo yum install xorg-x11-apps
  12. $ xeyes
  13.  
  14. # should result in the XEyes application displaying on the local machine
  15.  
  16. # install gcc
  17. #64-bit (`x86_64`) C library and headers
  18. yum install libgcc
  19. yum install glibc-devel
  20. # 32-bit (‘i386’) C library and headers
  21. yum install libgcc.i686
  22. yum install glibc-devel.i686
  23.  
  24. # Install libX11
  25. #64-bit (`x86_64`)
  26. yum -y install libX11
  27. # 32-bit (‘i386’)
  28. yum -y install libX11.i686 for 32-bit
Add Comment
Please, Sign In to add comment