码迷,mamicode.com
首页 >  
搜索关键字:ansible install smokeping    ( 42845个结果
ansible循环三
with_nested采用笛卡尔乘积方式,将多个嵌套列表中的元素交叉组合示例:创建多个目录及子目录mkdir-p/testdir/{a,b,c}/{1,2}ansible剧本如下:hosts:jack6_1remote_user:rootgather_facts:notasks:file:path:"/testdir"state:directoryfile:path:"
分类:其他好文   时间:2020-09-17 16:54:16    阅读次数:24
【Selenium自动化】(基础篇2)开发环境搭建
【Selenium自动化】开发环境搭建 1、下载安装Python 下载地址:https://www.python.org 安装时,勾选上:Add Python to PATH 2、使用Python自带的pip 安装selenium 在命令行输入:pip install selenium 安装成功后, ...
分类:其他好文   时间:2020-09-17 16:24:21    阅读次数:28
django之常用命令
安装django 安装最新版本 pip install django 安装指定版本,比如2.0 pip install django==2.0 新建项目 django-admin.py startproject 项目名称(建议采用英文) 比如,我要创建一个django项目名为 mysite : dj ...
分类:其他好文   时间:2020-09-17 16:22:09    阅读次数:32
Python_note_001(Python中的输出函数print、转义字符、原字符)
Python官网:https://www.python.org PyCharm安装:https://www.runoob.com/w3cnote/pycharm-windows-install.html Python中的输出函数print() print()函数输出的内容 1.可以输出数字,如:pr ...
分类:编程语言   时间:2020-09-17 16:11:27    阅读次数:32
Linux下swap升高的原因分析案例
机器配置:2 CPU,8GB 内存 需要预先安装 sysstat 等工具,如 yum install sysstat 终端中运行 free 命令,查看 Swap 的使用情况。 $ free total used free shared buff/cache available Mem: 816934 ...
分类:系统相关   时间:2020-09-17 16:05:19    阅读次数:44
ansible模块register/vars
register注册变量可以将输出信息作为变量值示例:[root@jack7-1work]#catregister.ymlhosts:PCremote_user:roottasks:name:testshellshell:"echotest>/root/test"register:testvar==================>将shell输出的结果赋值给tes
分类:其他好文   时间:2020-09-17 16:02:37    阅读次数:28
vue-resource 请求数据
main.js import Vue from 'vue'; import App from './App.vue'; /*使用vue-resource请求数据的步骤 1、需要安装vue-resource模块, 注意加上 --save npm install vue-resource --save ...
分类:其他好文   时间:2020-09-17 15:45:14    阅读次数:20
解决node-sass 安装失败问题
使用dart-sass替代node-sass // 由于npm6.9以上支持新功能package alias对包重命名 // 可以既满足包名为node-sass,但实际是使用的dart-sass的效果 npm install node-sass@npm:dart-sass ...
分类:其他好文   时间:2020-09-17 15:35:09    阅读次数:23
crypto模块的使用
# -*- coding:utf-8 -*- ############################# # pip install pycryptodome ############################# import base64 from Crypto import Random ...
分类:其他好文   时间:2020-09-17 15:31:40    阅读次数:26
flask_16:通过 MongoEngine 使用 MongoDB
使用一个 MongoDB 之类的文档型数据库来代替关系 SQL 数据是很常见的。本方案演示 如何使用文档映射库 MongoEngine 来集成 MongoDB 。 先准备好一个运行中的 MongoDB 服务和 Flask-MongoEngine pip install flask-mongoengi ...
分类:数据库   时间:2020-09-17 14:17:20    阅读次数:31
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!