centos安装桌面环境和vnc 发表于 2022-05-05 分类于 技术 安装依赖 1234567curl "http://mirrors.aliyun.com/repo/epel-7.repo" -o /etc/yum.repos.d/epel.repo;yum clean allyum makecache fast;yum update -y;yum upgrade -y;yum groupinstall "Server with GUI" "GNOME Desktop" "Graphical Administration Tools" -yyum install tigervnc-server tigervnc -y 启动服务 123systemctl start xrdp.servicesystemctl status xrdp.servicesystemctl enable xrdp.service 设置密码: 1vncpasswd 启动一个服务,1对应端口5901 1vncserver :1