centos 一键安装桌面


centos 一键安装桌面
查找相关文章:centos tigervnc

centos 一键安装桌面版

yum install nano -y; \
yum update -y; \
yum upgrade -y;\
yum groupinstall "Chinese Support";\
yum install tigervnc-server -y; \
yum groupinstall "Desktop" -y; \
yum install firefox -y; \
rpm -ivh http://www.dayanmei.com/software/adobe-release-x86_64-1.0-1.noarch.rpm;\ 
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux; \
yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl -y; \
echo 'echo "nameserver 8.8.8.8" >> /etc/resolv.conf; ' >> /etc/rc.local; \
echo 'VNCSERVERS="1:root"' >> /etc/sysconfig/vncservers; \
echo 'VNCSERVERARGS[1]="-geometry 1000x700"' >> /etc/sysconfig/vncservers; \
chkconfig vncserver on --level 345; \
vncpasswd;