码迷,mamicode.com
首页 >  
搜索关键字:disabled    ( 2057个结果
第十周
1、编写脚本selinux.sh,实现开启或禁用SELinux功能#!/bin/bash[$#-ne1]&&echo"Usage:bash$0<off|on>"&&exit10if["$1"="on"];thensed-is/SELINUX=disabled/SELINUX=enforcing//etc/selinux/config[$?-eq0]&am
分类:其他好文   时间:2020-03-03 17:49:20    阅读次数:104
linux系统简单优化
初始化系统的基本操作 永久关闭selinux selinux提高系统安全性,但会造成很多麻烦,一般关闭 [root@localhost ~]# vim /etc/selinux/config 将SELINUX=enforcing改为SELINUX=disabled,保存后退出,重启生效 [root@ ...
分类:系统相关   时间:2020-03-03 14:57:08    阅读次数:81
nginx更新配置后502
最近在捣鼓ng,发现每次更新配置文件后,就会502 nginx -s reload 解决办法: 1:永久关闭selinux [root@localhost ~]# vim /etc/sysconfig/selinux SELINUX=enforcing 改为 SELINUX=disabled 2:我 ...
分类:其他好文   时间:2020-03-03 14:39:44    阅读次数:116
centos docker 防火墙设置(多个ip之间互相访问)
[Solution] Update firewall policy 1) Disabled docker rules of iptables docker will create rules of iptables automatically. # vim /etc/docker/daemon.js ...
分类:其他好文   时间:2020-02-27 18:57:17    阅读次数:113
使input文本框不可编辑的3种方法
disabled 属性规定应该禁用 input 元素,被禁用的 input 元素,不可编辑,不可复制,不可选择,不能接收焦点,后台也不会接收到传值。设置后文字的颜色会变成灰色。disabled 属性无法与 <input type="hidden"> 一起使用。 示例:<input type="tex ...
分类:其他好文   时间:2020-02-25 17:50:18    阅读次数:58
centos7永久关闭selinux
[root@localhost ~]# getenforce getenforce查看selinux的状态 状态:开启(Enforcing),关闭(Permissive) [root@localhost ~]#vim /etc/selinux/conf SELINUX=enforcing#此项定义s ...
分类:系统相关   时间:2020-02-25 11:20:15    阅读次数:143
递归方法整合
1 /*菜单树下拉,禁止选择当前项及其子项,以防止死循环*/ 2 /*item表示递归树,compID表示比对的需要禁止选择的项ID*/ 3 // 实例:编辑情况下,禁止选择当前节点及其子节点 4 export function diGuiTreeEdit(item, compID) { 5 con ...
分类:其他好文   时间:2020-02-24 10:00:38    阅读次数:62
用compose安装tp框架提示警告putenv
PHP Warning: putenv() has been disabled for security reasons in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/xdebug-handler/s ...
分类:其他好文   时间:2020-02-24 00:43:34    阅读次数:141
项目环境搭建【Docker+k8s】二 || centos7服务器通用设置
[toc] 1、设置静态ip和DNS 该教程使用虚拟机进行安装,安装前设置虚拟机静态ip和DNS。教程: "虚拟机安装centos7教程" 2、关闭防火墙 3、设置主机名 4、关闭selinux 查看selinux状态。enforceing代表开启,permissive代表警告,disabled代表 ...
分类:其他好文   时间:2020-02-22 00:05:25    阅读次数:111
rsync同步数据配置
安装yum install rsync 客户端和服务端一下操作1、关闭SELINUXvi /etc/selinux/config #编辑防火墙配置文件#SELINUX=enforcing #注释掉#SELINUXTYPE=targeted #注释掉SELINUX=disabled #增加 seten ...
分类:其他好文   时间:2020-02-20 16:45:26    阅读次数:76
2057条   上一页 1 ... 12 13 14 15 16 ... 206 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!