一、桌面环境不是服务器使用所必需的,但有时安装或使用应用程序需要桌面环境。
1、执行下面命令安装GNOME Desktop Environment
yum -y groups install "GNOME Desktop"
2、在完成新软件包的安装后输入如下所示的命令
startx
参考:https://blog.csdn.net/wh211212/article/details/52937299/
二、CentOS安装后无法联网,参考如下
1、测试联网
ping www.baidu.com
2、
①设置NAT模式
②打开虚拟网络编辑器,把子网IP、子网掩码、网关IP配置到适配器vmnet8
③终端命令编辑/etc/sysconfig/network-scripts/ifcfg-ens33
④重启网络
service network restart
镜像下载参考:https://mirrors.tuna.tsinghua.edu.cn/centos/7/isos/x86_64/
https://blog.csdn.net/qq_40827780/article/details/83385464
https://mirrors.aliyun.com/centos/6/isos/x86_64