Azure上安装Centos6.2桌面


遇到问题:

Error: WALinuxAgent conflicts with NetworkManager
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


解决办法:


http://social.msdn.microsoft.com/Forums/en-US/WAVirtualMachinesforLinux/thread/e836aa6a-65cb-47dd-81d5-363ffc013c75

Hi Wilshix,

I believe you can install GNOME with the following steps. The problem happens since Windows Azure Linux Agent is not compatible with NetworkManager included in GNOME packages.

I can install GNOME with these steps and please let me know if you meet any issues or problems.

* Remove Windows Azure Linux Agent

[root@machinename ~]# yum remove WALinuxAgent-1.3-1.noarch

* Install X Window and GNOME

[root@machinename ~]# yum groupinstall "X Window System" "Desktop" "Fonts" "General Purpose Desktop"

* Install GUI tool like Free NX to access with GUI environment

* Remove NetworkManager and install Windows Azure Linux Agent

 [root@machinename ~]# yum remove NetworkManager-0.8.1-34.el6_3.x86_64 

 [root@machinename ~]# yum install WALinuxAgent-1.3-1.noarc


http://chinawl.blog.51cto.com/611661/818544


yum groupinstall "X Window System" //安装Xorg
yum groupinstall "Desktop" //安装GNOME
yum groupinstall "Chinese Support" //安装中文支持
yum install nautilus-open-terminal //安装终端
yum install firefox //安装火狐

修改/etc/inittab文件

id:5:initdefault:

reboot后就会自动进入x window

使vnc访问服务器时进入gnome:

vi /root/.vnc/xstartup

最后一行注释掉twm &,加上gnome-session&

#twm &
gnome-session&




你可能感兴趣的:(Azure上安装Centos6.2桌面)