报错信息:
Failed to start Install ABRT coredump hook
Failed to start Login Service
解决方案:
- 使用U盘系统,进入系统文件,找到服务器的硬盘
- 新建一个文件夹new(如果没有权限,使用sudo mkdir new),
- 将文件挂载到new上
mount /dev/mapper/centos-root new
,进入new - 修改config文件
vi etc/selinux/config
,将SELINUX = enforcing
改为SELINUX =disable
,保存文件 - 重启即可
[root@ny01 ~]# vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disable
# SELINUXTYPE= can take one of three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted