笺注:这是最小化安装后,安装图形界面。
操作系统的版本:
系统的语言环境:(中文)
[root@redhat8 ~]# echo $LANG
zh_CN.UTF-8
安装图形界面:(使用本地光盘作为Yum源就可以了)
[root@redhat8 ~]# dnf -y groupinstall "Server with GUI"
设置服务器重启后从图形界面启动:
[root@redhat8 ~]# systemctl set-default graphical.target
Removed /etc/systemd/system/default.target.
Created symlink /etc/systemd/system/default.target → /usr/lib/systemd/system/graphical.target.
重启服务器:
[root@redhat8 ~]# reboot
点击“前进”
点击“前进”
点击“跳过”
输入自定义的用户名后,点击“前进”
输入自定义的用户密码后,点击“前进”
可以使用管理员用户root登录系统:
点击“前进”
点击“前进”
点击“前进”
点击“跳过”
笺注:
设置服务器重启后从命令行界面启动:
[root@redhat8 system]# systemctl set-default multi-user.target
Removed /etc/systemd/system/default.target.
Created symlink /etc/systemd/system/default.target → /usr/lib/systemd/system/multi-user.target.
相关文章:
最小化安装CentOS8
CentOS8_Yum仓库
Windows客户端通过VNC Viewer远程桌面到CentOS8
CentOS8安装KVM |