目标
https://docs.saltstack.com/en/latest/
模块
https://docs.saltstack.com/en/latest/ref/modules/all/index.html
salt ‘*‘ service.available sshd 验证sshd服务
[root@master ~]# grep -v ‘^$‘ /etc/salt/master |grep -v ‘#‘
client_acl: #客户端开启模块限制
luo: #用户名
- test.ping
- network.*
file_roots:
base:
- /srv/salt
pillar_roots:
base:
- /srv/pillar
[root@master ~]# systemctl restart salt-master
给用户授权
[root@master ~]# useradd luo
useradd:用户“luo”已存在
[root@master ~]# passwd
分类:
其他好文 时间:
2018-12-01 00:13:20
阅读次数:
235
" No module factory available for dependency type: ContextElementDependency" 这个问题可能和webpack版本有关,试了很多种方法,终于成功解决。 首先把项目重新pull并覆盖原分支,删除node_modules文件夹并且删 ...
分类:
其他好文 时间:
2018-11-30 20:20:13
阅读次数:
818
YOLO核心思想:从R-CNN到Fast R-CNN一直采用的思路是proposal+分类 (proposal 提供位置信息, 分类提供类别信息)精度已经很高,但是速度还不行。 YOLO提供了另一种更为直接的思路: 直接在输出层回归bounding box的位置和bounding box所属的类别( ...
分类:
其他好文 时间:
2018-11-29 20:17:01
阅读次数:
260
1.结构 node_modules ( ... ) routers ( main.js ) views ( index.html about.HTML 404.html ) app.js package.json 2. 文件 package.json { "name": "wj", "version ...
分类:
Web程序 时间:
2018-11-29 20:06:36
阅读次数:
200
记得第一次用 github 提交代码,node_modules 目录死活传不上去,哈哈哈,后来才知道在 .gitignore 文件里设置了忽略 node_modules 目录上传。是的, .gitignore 文件就是设置那些你不想用 git 一起上传的文件和文件夹。比如刚接触到 vscode 的配 ...
分类:
其他好文 时间:
2018-11-29 19:53:38
阅读次数:
195
项目中,当组件文件过多,webpack-dev-server 编译时,容易内存溢出, 在 \node_modules\.bin\webpack-dev-server.cmd 加以下红色配置,暂可解决 注意空格 和 双引号 ...
分类:
编程语言 时间:
2018-11-29 18:10:45
阅读次数:
412
写了一段时间ts,在从头学习一遍,温故而之新 ts的一些技巧 1、巧用注释 通过/ /形式的注释可以给 TS 类型做标记,编辑器会有更好的提示: 2、巧用注释 进阶 注释有很多规范的字段,基本和 JSDOC 一致。但不用着急翻文档,在 / / 里输入 @ 就可以看到丰富的选择 3、巧用 typeof ...
分类:
其他好文 时间:
2018-11-29 15:18:28
阅读次数:
472
在项目主目录下添加文件即可 文件内容如下 ###################### # Project Specific ###################### /target/www/** /src/test/javascript/coverage/ /src/test/javascri ...
分类:
其他好文 时间:
2018-11-28 12:16:09
阅读次数:
259
https://moonlet.gitbooks.io/cython-document-zh_cn/content/ch1-basic_tutorial.html add_num.pyx文件 set_up.py 运行 ...
分类:
编程语言 时间:
2018-11-27 17:05:14
阅读次数:
523
When install the yeoman using the following command: You might have the following error: Try the following commands instead: Now try to type 'yo' to s ...
分类:
其他好文 时间:
2018-11-26 10:20:47
阅读次数:
311