SELinux是美国国家安全局(NSA)对于强制访问控制的实现,用于限制root权限(是一个安全机制,关了后,安全问题通过别的手段解决)。1.SELinux关闭方法只需把/etc/selinux/config中的SELINUX=enforcing改为disabled查看当前SELinux的状态的方法:getenforce通过这样设置还不能改变SELinux的状态,得重启服务器,但是重启服务器服务就
分类:
系统相关 时间:
2019-06-17 12:39:16
阅读次数:
140
https://unix.stackexchange.com/questions/117041/running-kernel-on-qemu ...
分类:
系统相关 时间:
2019-06-11 11:04:31
阅读次数:
350
void QWidget::update ()分析重绘事件激活 1看看手册中这段话 void QWidget::update () [slot] Updates the widget unless updates are disabled or the widget is hidden. This ...
分类:
其他好文 时间:
2019-06-10 23:37:20
阅读次数:
172
导入SpringSecurity坐标 在web.xml中配置过滤器 编写spring-securiy配置文件 编写自定义认证提供者 用户新增时加密密码 配置页面的login和logout 获取登录用户的信息 导入SpringSecurity坐标 在web.xml中配置过滤器 编写spring-sec ...
分类:
编程语言 时间:
2019-06-09 09:51:36
阅读次数:
94
1、vim /etc/selinux/config Selinux的配置文件 \ This file controls the state of SELinux on the system. \ SELINUX= can take one of these three values: \ enfor ...
分类:
系统相关 时间:
2019-06-08 16:24:34
阅读次数:
646
问题记录: 问题描述:C# MVC @Html. DropDownListFor() @Html.EnumDropDownListFor() 禁止不可选 Post 提交表单不会绑定值问题(赋不到值)。 问题:想要在添加数据的时候要把指定的字段通过其他的方式动态赋值,让该元素的不能被选择。 这边假设要 ...
分类:
编程语言 时间:
2019-06-07 20:58:57
阅读次数:
126
通过问题看本质:举例:js的写法:document.getElementById('save').disabled=true;在jquery中我是这样写的 分析:其实因为$("#save")出来的其实是jQuery对象,而不是普通DOM对象解决方法:1)用JQ写法 2)转成DOM写法 一、Dom对象 ...
分类:
Web程序 时间:
2019-06-06 15:42:33
阅读次数:
129
kubernetes1.14.2kubeadm方式部署主机192.168.100.111k8s-master192.168.100.112k8s-node1192.168.100.113k8s-node2基本环境systemctlstopfirewalldystemctldisablefirewalldsed-i‘s/enforcing/disabled/‘/etc/selinux/configs
分类:
Web程序 时间:
2019-06-06 00:24:10
阅读次数:
131
import { FormBuilder } from '@angular/forms'; form; constructor(private fb: FormBuilder) { this.form = fb.group({ Name: '', Account: '', Password: '' ... ...
分类:
其他好文 时间:
2019-06-05 20:09:48
阅读次数:
143
2018-09-25 15:39:04 一、RSYNC安装环境:centos6.5 iptables关闭和selinux为disabled源码安装:到rsync官网下载rsync源码安装包,上传到服务器上,或者wget下载。解压rsync源码安装包进入解压后的目录,执行./configure --p ...
分类:
系统相关 时间:
2019-06-03 14:26:13
阅读次数:
161