-hosts:allvars:cap_file:packet_capture_{{ansible_hostname}}.pcaptasks:-name:starttcpdump#command:/usr/sbin/tcpdump-nnviany‘port80‘-s0-B65535-C50M-W100-w/data/tmp/{{cap_file}}command:/usr/sbin/tcpdump-
分类:
其他好文 时间:
2020-12-02 12:46:20
阅读次数:
26
# -*- coding: utf-8 -*- # @File : ${NAME}.py # @Author: FanLu # @Date : ${DATE} #[[$END$]]# 上面的 @Author 的后面可以换上自己的名字. 注意, 一定要勾选那个 Enable Live Template ...
分类:
其他好文 时间:
2020-12-02 12:31:16
阅读次数:
6
//fileupload.js function select_upload(zurl, zmulti, callback) { var zinput_file = document.createElement("input"); zinput_file.type = "file"; zinput_ ...
分类:
Web程序 时间:
2020-12-02 12:30:08
阅读次数:
12
建站步骤 第一步:购买服务器 1.选择云服务器厂商进行购买,阿里云正在推广新人优惠福利,现在能以百元以下的资金购买为期一年的服务,下面是购买链接 2.https://www.aliyun.com/1111/new?userCode=te8z77yg 3.老用户也有优惠,看这里https://www. ...
分类:
其他好文 时间:
2020-12-02 12:17:37
阅读次数:
8
接下来介绍一些后面章节中会用到的模块,也是很常用的模块。@调试和测试类的模块。。ping:ping一下你的远程主机,如果可以通过Ansible连接成功,那么返回pong。?debug:用于调试的模块,只是简单打印些消息,有点像Linux的echo命令。@文件类的模块。?copy:从本地复制文件到远程节点。。template:从本地复制文件到远程节点,并进行变量的替换。?file:设置文件属性。C)
分类:
其他好文 时间:
2020-12-02 12:01:25
阅读次数:
2
Java常用类、集合、IO 常用类 Object hashCode() toString() clone() getClass() notify() wait() equals() Math 常用的数学运算 Random 生成随机数 UUID File 创建文件 查看文件 修改文件 删除文件 包装类 ...
分类:
编程语言 时间:
2020-12-01 12:40:11
阅读次数:
12
File "D:\workspace\mall\venv\lib\site-packages\django\db\models\fields\__init__.py", line 972, in get_prep_value return int(value)ValueError: invalid ...
分类:
其他好文 时间:
2020-12-01 12:26:06
阅读次数:
9
# which mysqld /usr/local/mysql/bin/mysqld # /usr/local/mysql/bin/mysqld --verbose --help | grep -A 1 "Default options" Default options are read from ...
分类:
其他好文 时间:
2020-12-01 12:17:06
阅读次数:
6
js: // 规则库上传前检查格式 beforeUploadCheck = (file, fileList) => { return new Promise(function(resolve,reject){ Modal.confirm({ content: intl.get('Intl_uploa ...
分类:
Web程序 时间:
2020-12-01 12:04:11
阅读次数:
9
Redis持久化 Redis虽然是以一个内存数据库闻名的,但为了提供可靠、安全的功能保障,也是需要有持久化能力的, Redis有两种持久化方式:RDB(redis database)持久化和AOF持久化(append only file),其中RDB是Redis默认的持久化方式。 RDB持久化 RD ...
分类:
数据库 时间:
2020-11-30 16:15:50
阅读次数:
11