终于到了需要上Ansible的时候了,之前由于需求不强烈没有做,从今天起陆续记录学习。常用ansible命令查看组中的机器ansible<group_name>list查看内存使用(shell模块)ansible<host_name/group_name>-mcommand-a‘free-h‘查看主机磁盘容量(command模块)ansible<host_name/g
分类:
其他好文 时间:
2020-03-08 00:58:13
阅读次数:
91
参考链接:http://muchong.com/t-12553553-1-pid-5 原文作者:mnls520 目录-两个问题 “solverDir”值不正确。 未找到 C:\SIMULIA\CAE\2016 目录。 Error: Unable to add Abaqus command direc ...
分类:
其他好文 时间:
2020-03-07 09:56:21
阅读次数:
560
BOOL wmCommandHook(MSG *pMsg) BOOL wmCommandHook(MSG *pMsg){ BOOL bRes = FALSE; // continue // Remove letter x or X if (pMsg->message == WM_COMMAND) { ...
分类:
其他好文 时间:
2020-03-06 22:16:19
阅读次数:
69
``` #include #include #include #include #include const int MAXN= 500000;//最大顶点数 const int MAXM = 11000;//最大边数 const int INF=0x3f3f3f3f; using namespac... ...
分类:
其他好文 时间:
2020-03-06 22:03:25
阅读次数:
62
Install kubernetes 环境:狗东Ubuntu16 Install and Set Up kubectl The Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes c ...
分类:
Web程序 时间:
2020-03-06 19:41:19
阅读次数:
68
1.安装插件 在vscode界面左侧,点击图中所示的菜单项,搜索Vscode counter 2.使用插件统计代码 2.1.点击顶部 View 菜单 2.2.在下拉选项中选择第一项 Command Palette(ctrl+shift+p) 2.3.工作区选择VscodeCounter:Count ...
分类:
其他好文 时间:
2020-03-06 13:17:26
阅读次数:
931
[toc] 一丶 PowerShell简介 二丶PowerShell简单命令学习 1.PowerShell简单命令 动词与名字结合 Get command verb Get 查看所有命令为“Get的命令” Get command verb set 查看所有命令为“Set的命令” Get comman ...
分类:
系统相关 时间:
2020-03-06 12:41:06
阅读次数:
84
1. 安装migrate模块 pip install flask_migrate 2. 创建manage对象,并接管app和db对象 manager = Manager(app, db) 3. 将数据库迁移操作集成到script中 manager.add_command('db', MigrateC ...
分类:
数据库 时间:
2020-03-06 11:26:05
阅读次数:
113
第一步:打开 folder文件夹 第二步: command + shift + g 搜索,输入 /private/etc/hosts 找到 hosts 文件 第三步:编辑修改,输入 http://github.com 204.232.175.94 http://gist.github.com 107 ...
分类:
系统相关 时间:
2020-03-06 11:12:23
阅读次数:
218
ps -ef 和ps -aux:https://blog.csdn.net/a12345555555/article/details/72770789,看进程和父进程id和command用ef,看cpu内存占用和aux ...
分类:
其他好文 时间:
2020-03-05 22:29:48
阅读次数:
64