sudo yum -y install tigervnc-server
查看依赖包:
rpm -qa|grep epel
安装依赖包:
rpm -ivh xrdp-0.9.17-2.el7.x86_64.rpm --nodeps --force
rpm 安装:rpm -ivh 包
rpm卸载:rpm -e --nodeps 包名
查看xrdp服务是否正常启动
systemctl status xrdp.service
ss -antup|grep xrdp
开启xrdp:
systemctl start xrdp
systemctl enable xrdp
查看是否以图像界面:
systemctl get-default
防火墙状态:
firewall-cmd --state
查看centos系统命令:
cat /etc/centos-release
查看gpu命令:nvidia-smi
查看cpu命令: lscpu
查看硬盘:df -h
查看内存:free -m,free -h