可以的,CentOS Minimal(最小化安装)是可以安装桌面环境的,只是默认没有装图形界面而已。
下面给你几个常见做法:
yum groupinstall "GNOME Desktop" "Graphical Administration Tools" -y
systemctl set-default graphical.target
reboot
CentOS 8 开始用 dnf:
dnf groupinstall "Server with GUI" -y
# 或 GNOME
dnf groupinstall "Workstation" -y
设置图形启动:
systemctl set-default graphical.target
reboot
除了 GNOME,也可以装:
yum groupinstall "KDE Plasma Workspaces"
yum groupinstall "Xfce"
如果你只是想“看看系统状态”,可以不装完整桌面:
yum install cockpit -y
systemctl enable --now cockpit.socket
浏览器访问:
https://服务器IP:9090
如果你告诉我:
我可以给你最合适的方案。