左梓惠 发表于 2018-4-18 21:11:48

CentOS 6 64bit 一键安装VNC桌面环境

CentOS 6 64bit 一键安装VNC桌面环境安装最后,会要求我们输入两次VNC密码
yum install nano -y; yum update -y; yum upgrade -y; yum install tigervnc-server -y; yum groupinstall "Desktop" -y; yum install firefox -y; rpm -ivh https://soft.laozuo.org/vnc/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="-geometry 1000x700"' >> /etc/sysconfig/vncservers; vncpasswd; chkconfig vncserver on --level 345; reboot;

页: [1]
查看完整版本: CentOS 6 64bit 一键安装VNC桌面环境