阿里云服务器操作系统: CentOS 7.3 64位版本的可视化界面安装

此为CentOS7版本的可视化界面安装

首先安装X(X Window System),命令为:(注意有引号)

yum groupinstall "X Window System"
由于这个软件组比较大,安装过程会比较慢,中间要按y,安装完成会出现complete!

可以先检查一下我们已经安装的软件以及可以安装的软件,命令为:

yum grouplist


回车后屏幕会打印很多信息,里面会出现:

Installed Enviroment Groups:(表示已安装)

Available Enviroment Groups:(表示可安装)

安装需要的图形界面软件,GNOME(GNOME Desktop),命令为:

yum groupinstall "GNOME Desktop"


执行命令 设置默认通过桌面环境启动服务器,命令为:

systemctl set-default graphical.target


设置后在阿里云里面远程连接默认进入图形化界面

默认库不包含xrdp,需要安装epel库,

yum install epel-release


然后安装xrdp

yum install xrdp


启动xrdp服务,并设置为开机启动

systemctl start xrdp

systemctl enable xrdp


接下来就像windows远程桌面连接一样啦,直接win + R ,输入:mstsc   再输入ip,输入用户名/密码,OK,进入
(注:ip为你的阿里云服务器的公用服务器ip,用户名为服务器用户名(默认为root)密码为实例密码)

注意,无法连接时请看这里,启动远程访问端口

https://blog.csdn.net/weixin_41808843/article/details/93466071

原文:https://blog.csdn.net/qq_38254897/article/details/88848625 

猜你喜欢

转载自blog.csdn.net/weixin_41808843/article/details/93466325