保证yum源能进行

1.yum groupinstall -y  "Server with GUI"

2切换到图形化界面

Startx

3.安装完后,设置启动模式为图形界面,以前是改/etc/inittab ,cat下/etc/inittab后发现,inittab都更改到systemd下面了,所以要用下面命令:

rm /etc/systemd/system/default.target

ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target

4.重启后就是默认进去图形界面了

相关文章:

  • 2021-10-05
  • 2022-12-23
  • 2021-06-05
  • 2021-11-19
  • 2021-09-04
  • 2021-04-03
  • 2021-12-18
  • 2021-04-15
猜你喜欢
  • 2021-10-24
  • 2021-08-10
  • 2021-05-28
  • 2021-08-15
  • 2021-10-12
  • 2022-12-23
相关资源
相似解决方案