工具软件:centos7云服务器可视化界面
发布日期:2022-03-16 03:25:39 浏览次数:31 分类:技术文章

本文共 570 字,大约阅读时间需要 1 分钟。

  1. 更新ssh并初始化环境
echo -e '\nPermitRootLogin yes\nTCPKeepAlive yes\nClientAliveInterval 5\nClientAliveCountMax 3'>>/etc/ssh/sshd_config && systemctl restart sshd && echo -e '\n/usr/local/lib'>>/etc/ld.so.conf && echo -e '\nexport PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"' >>/etc/profi
  1. 执行命令下载一些东西
yum -y install epel-release xrdp && yum -y groups install  "X Window System" "GNOME Desktop" && systemctl enable xrdp && systemctl start xrdp && systemctl set-default graphical.target  && startx
  1. 开始连接

运行mstsc或打开控制面板远程桌面连接,这一步的重点前提是服务器的安全组要打开相应端口(比如:3389)

在这里插入图片描述
输入服务器的root账密后,就是你想要的可视化了
在这里插入图片描述

转载地址:https://blog.csdn.net/zhizhengguan/article/details/122908023 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:分布式:分布式共识
下一篇:cmake:CMAKE_EXPORT_COMPILE_COMMANDS选项

发表评论

最新留言

表示我来过!
[***.240.166.169]2023年09月18日 09时37分22秒