我想在Amazon EC2上安装GUI。在Google上我找到sudo yum groupinstall "X Window System" "Desktop"
,在下面的文字中,您可以在groupinstall
cat /proc/version
向我提供以下信息
Linux version 3.4.48-45.46.amzn1.i686 (mockbuild@gobi-build-31004) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #1 SMP Wed Jun 12 02:04:37 UTC 2013
[root@ip-172-31-7-175 ec2-user]# yum grouplist
Loaded plugins: fastestmirror, priorities, security, update-motd, upgrade-helper
Setting up Group Process
Loading mirror speeds from cached hostfile
* amzn-main: packages.us-west-2.amazonaws.com
* amzn-updates: packages.us-west-2.amazonaws.com
Installed Groups:
Editors
FTP Server
Legacy UNIX compatibility
Mail Server
Network Servers
Networking Tools
PHP Support
Perl Support
System Tools
Web Server
Available Groups:
Console internet tools
DNS Name Server
Development Libraries
Development tools
Java Development
MySQL Database
MySQL Database client
NFS file server
Performance Tools
PostgreSQL Database client (version 8)
PostgreSQL Database server (version 8)
Scientific support
TeX support
Technical Writing
Web Servlet Engine
thaks, SnowN
答案 0 :(得分:2)
请查看this blog在Amazon EC2计算机上安装IDE,然后可以将VNC远程桌面安装到其中。
Amazon EC2默认不附带X11或其他图形支持,但安装起来非常简单。
答案 1 :(得分:1)
请遵循本教程:http://devopscube.com/setup-gui-for-amazon-ec2-linux/
--->您可能会遇到一些错误,这可能是由于之前人们说EC2没有X11支持。由于Amazon Linux AMI不包含X11软件包,因此您需要安装它们:
sudo yum install -y gcc-c ++
sudo yum install -y libX11-devel
sudo yum install -y fontconfig-devel
sudo yum install -y libXcursor-devel
sudo yum install -y libXext-devel
sudo yum install -y libXfixes
sudo yum install -y libXft-devel
sudo yum install -y libXi-devel
sudo yum install -y libXrandr-devel
sudo yum install -y libXrender-devel
然后再试一次
答案 2 :(得分:0)
您也可以参考此video。