Centos8 图形界面的安装与卸载
图形与命令行的切换
#查看默认启动 systemctl get-default #设置默认图形化界面 systemctl set-default graphical.target #设置默认命令界面 systemctl set-default multi-user.target #不更改默认选项,切换为图形化界面(前提,已安装) startx #重启 reboot
卸载ghome
yum groupremove "GNOME"
安装ghome
yum groupinstall "GNOME"
防火墙相关
#查看状态
systemctl status firewalld.service
#打开防火墙
systemctl start firewalld.service
#关闭防火墙
systemctl stop firewalld.service
#开启防火墙
systemctl enable firewalld.service
#禁用防火墙
systemctl disable firewalld.service