1.这里要使用的execfile('a.py') 函数,执行写了引入模块的py。 例子: b.py内容如下: #-*- coding: UTF-8 -*-#调用函数apisys.path.append("/Users/kaibinliu/Desktop/appium_automation/Andro ...
分类:
其他好文 时间:
2019-03-01 14:18:57
阅读次数:
186
记一次centos6升级salt minion启动失败的问题 作者:耀耀 blog:https://www.liuyao.me 一、起因 升级Salt minion后 使用/etc/init.d/salt minion start启动失败,报错如下 二、排查 1. 刚开始觉得此错误应该是因minio ...
分类:
其他好文 时间:
2019-02-26 11:49:48
阅读次数:
237
ansible 第一步:下载epel源 第二步: 安装ansible salt 控制节点需要安装salt-master salt 被控节点需要安装salt-minion ansible 通过ssh来连接并控制被控节点 ssh 的认证方式 密码连接 秘钥连接 密码连接 秘钥连接 ssh 秘钥登录 an ...
分类:
其他好文 时间:
2019-02-22 23:30:57
阅读次数:
328
安装前准备 主机和系统 Host OS Memory IP bigdata001-dev Cent OS 7.4 x64 32G 192.168.1.1 bigdata002-dev Cent OS 7.4 x64 32G 192.168.1.2 bigdata003-dev Cent OS 7.4 ...
分类:
其他好文 时间:
2019-02-19 13:41:04
阅读次数:
231
JMeter is one of the best open source tools in the Test Automation Community. It comes with all the possible extensions to come up with our test scrip ...
分类:
其他好文 时间:
2019-02-14 23:45:35
阅读次数:
183
一. 敏感数据加密1.安装并引入中间件 npm install utility const utils = require('utility')2.加密方法 function md5Pwd(pwd) { const salt = 'sensetime_is_good_5589x321yza67.!@ ...
分类:
其他好文 时间:
2019-02-13 10:43:43
阅读次数:
444
salt-key is used to manage Salt authentication keys salt-key 常用参数: ...
分类:
其他好文 时间:
2019-02-09 18:05:44
阅读次数:
203
salt-run 是用来运行 Runners 模块的命令,常见用法如下: ...
分类:
其他好文 时间:
2019-02-07 22:06:22
阅读次数:
240
import random import string import json import logging import time import os import sys def usage(): print('python ' + sys.argv[0] + 'user' + 'ip') pr... ...
分类:
编程语言 时间:
2019-02-02 11:23:08
阅读次数:
204
一、token加盐处理# import itsdangerous## salt='sdf234^#$@G'# t = itsdangerous.TimedJSONWebSignatureSerializer(salt,expires_in=30)# # res = t.dumps({'usernam ...
分类:
编程语言 时间:
2019-02-01 21:53:05
阅读次数:
185