跳转到主要内容
你行网

Main navigation

  • 首页
  • Drupal
  • 编程与开发
  • 数据库
  • 操作系统与应用
  • 服务器与运维
  • 社区
User account menu
  • 登录

面包屑

  1. 首页

SELinux 关闭重启方法

由 hrs, 8 二月, 2022

一、查看SELinux状态命令:

1、/usr/sbin/sestatus -v      ##如果SELinux status参数为enabled即为开启状态
SELinux status:                 enabled

sestart.png

2、getenforce                 ##也可以用这个命令检查

getenforce.png

二、关闭SELinux方法:

1、临时关闭(不用重启机器):setenforce 0 ##许可状态
                                                   setenforce 1 ##强制状态

2、修改配置文件需要重启机器:

修改/etc/selinux/config 文件

将SELINUX=enforcing改为SELINUX=disabled

重启机器即可
 

  • 登录或注册以发表评论

文章标签

  • selinux

评论

文章标签

CSS
Excel
ubuntu
php
vim
五笔
VPN
Linux
command
HTML
drupal 8
drupal 7
centos
composer
Mysql
模块(module)
drush
Drupal
JavaSrcipt
apache
英语
drupal 9
nerdtree
SEO
network
果树种植
surround
drupal10
主题(theme)
ssh
二进制
phpmyadmin
yum
权限
声音
HTML5
WireGuard
selinux
ssl
firmware
password
Dreamweaver
DDEV
flameshot
翻译
颜色
邮件验证
uploadprogress
KVM
firewalld
kernel
视图(views)
快捷键
错误
xdebug
gzip
电脑基础
ckeditor
C语言
简介
certbot
mbstring
源地址
php扩展
git
httpd
短信验证
csharp
电子秤
apt
压缩解压
breadcrumb
表单
drupal 11
AI
重定向
diff
版本号
摄影
superfish
docker
网站备份
java
tagclouds
端口
RSS
adsense
电脑技巧
算法
simple_adsense
youtube
JavaScript
cookie
badblocks
网站运营
计算机基础
dns
RFID
zip
标签优化
VUE
gimp
form
mod_expires 模块
ip
赚钱
http验证
curl
哈希值
wps
重定向,301
netstat
字段
maven
input
nginx
npm
更多

相关文章

  • 因权限问题导致drupal cms 无法正常安装,那么该如何解决这个问题
  • centos 7 selinux 配置文件设置
RSS源

友情链接 网站地图 版权信息 联系我们 网址导航 社区

Copyright © 2019 - 2021 你行网 版权所有  粤ICP备19072650号