!!!首先要做的就是关闭系统的防火墙以及selinux: systemctl stop firewalld systemctl disable firewalld sed -ri 's/^(Selinux=).*/\1disabled/g' /etc/selinux/config setenforc ...
分类:
其他好文 时间:
2020-07-16 12:19:43
阅读次数:
75
settings.py import time cur_path = os.path.dirname(os.path.realpath(__file__)) # log_path是存放日志的路径 log_path = os.path.join(os.path.dirname(cur_path), ' ...
分类:
其他好文 时间:
2020-07-14 18:48:19
阅读次数:
92
系统环境要求 centos7,yum源正常使用,ip设置为:192.168.8.201; LAMP环境配置 ###软件环境设置systemctl disable firewalld;systemctl stop firewalld;systemctl status firewalldsetenfor ...
分类:
Web程序 时间:
2020-07-12 16:54:30
阅读次数:
66
Redis6.0的新特性也是在一步步的讨论和优化中确定的。很多的特性已经在之前的RC等版本中介绍过了。但是正式GA版中也有一些新的变化:SSLACL:更好,命令支持RESP3Clientsidecaching:重新设计ThreadedI/ODiskle***eplicationonreplicasClustersupportinRedis-benchmarkandimprovedredis-cli
分类:
编程语言 时间:
2020-07-12 09:12:52
阅读次数:
95
Sw-port-security 交换机端口安全 1什么是交换机端口安全 当一个网络的接入层固定下来了后,针对接入层设备上的接口做MAC管理, 2具体有什么用? 针对于非法的MAC,直接将端口进行disable 3应该配置在哪里? 配置在所有的ACCESS接口,也就是所有连接终端的接口上(所以第一步 ...
分类:
其他好文 时间:
2020-07-12 01:07:51
阅读次数:
127
- name: disable selinux shell: setenforce 0 ignore_errors: yes - name: disable selinux conf lineinfile: path: /etc/selinux/config regexp: '^SELINUX=.* ...
分类:
其他好文 时间:
2020-07-11 19:40:00
阅读次数:
79
应用程序计时器 Application timers 应用程序计时器是内核对象,为任务提供简单的方法来计时事件,或者更常见的是,定期执行活动。介绍了Nucleus SE中计时功能的所有细节——准确性、中断处理等。 Using Timers 应用程序计时器可以配置为一次性的-即,它们被启动,然后,在指 ...
分类:
其他好文 时间:
2020-07-10 17:13:41
阅读次数:
105
webdriver options常用参数 options.add_argument('--disable-infobars') # 禁止策略化options.add_argument('--no-sandbox') # 解决DevToolsActivePort文件不存在的报错options.add ...
分类:
Web程序 时间:
2020-07-10 11:44:23
阅读次数:
149
<template> <div class="student"> <el-row> <el-col :span="3"> <el-button @click="insertDalogVisible=true">新增</el-button> </el-col> <el-col :span="21"> ...
分类:
编程语言 时间:
2020-07-10 00:07:42
阅读次数:
72
CentOS7 安装Kafka 关闭防火墙 systemctl stop firewalld.service systemctl disable firewalld.service 安装JDK yum install -y http://172.16.20.10/Oracle/JAVA/8/8u20 ...
分类:
其他好文 时间:
2020-07-09 15:30:49
阅读次数:
140