查看hosts文件 [root@ansible playbooks]# ansible all --list hosts (4): 192.168.1.114 192.168.1.113 192.168.1.111 192.168.1.117 第一次安装报错,发现被控的服务器没有nginx 解决: ...
分类:
其他好文 时间:
2020-07-10 09:57:45
阅读次数:
69
Given a binary tree, write a function to get the maximum width of the given tree. The width of a tree is the maximum width among all levels. The binar ...
分类:
其他好文 时间:
2020-07-10 09:54:38
阅读次数:
54
yum安装的优点 1、必须得有网络,通过网络获取软件。 2、管理rpm包 3、自动解决依耐 4、命令简单好用 5、生产最佳实践 yum命令详解 # linux安装软件的三种方式 1、rpm安装 2、源码安装 3、二进制安装 yum命令 yum repolist yum repolist all # ...
分类:
其他好文 时间:
2020-07-09 22:38:07
阅读次数:
87
Rsyslog 详解 日志整理 对日志进行分析,首先第一步要规整日志。 /etc/rsyslog.conf 是rsyslog服务的总配置文件 /etc/rsyslog.d 该目录是单独配置的rsyslog配置文件 vim /etc/rsyslog.conf # Include all config ...
分类:
其他好文 时间:
2020-07-09 19:19:36
阅读次数:
128
<style scoped> .form { width: 50%; } </style> <template> <div class="form"> <el-tree :data="data2" show-checkbox node-key="id" default-expand-all :pro ...
分类:
其他好文 时间:
2020-07-09 15:05:47
阅读次数:
110
Just curious where you saw error code 2 is incorrect usage of command? The documentation indicates that it's one of the following: All or some rows re ...
分类:
数据库 时间:
2020-07-09 15:00:59
阅读次数:
67
# mongod.conf # for documentation of all options, see: # http://docs.mongodb.org/manual/reference/configuration-options/ # where to write logging data ...
分类:
数据库 时间:
2020-07-09 12:25:50
阅读次数:
128
[C 练习实例57 C 语言经典100例题目:画图,学用line画直线(在TC中实现)。程序分析:无。程序源代码: // Created by www.runoob.com on 15/11/9. // Copyright © 2015年 Break易站. All rights reserved. ... ...
分类:
其他好文 时间:
2020-07-09 12:03:47
阅读次数:
69
问题出在了我多次格式化导致namenode启动不了这时候就需要删除原目录,即core-site.xml下配置的hadoop.tmp.dir所指向的目录,重新建立配置的空目录 格式化namdenode,hadoop namenode -format再重新运行start-all.sh启动成功后再jps测 ...
分类:
其他好文 时间:
2020-07-08 13:26:55
阅读次数:
65
--dns-servers 是复数,主要用于内部架设的dns服务器,外部dns无法解析.-Pn Treat all hosts as online skip host discovery 明确知道主机存活或防火墙开启的机器,-Pn不启用探测前的ICMP请求,达到不触发防火墙的安全机制 -F fast ...
分类:
其他好文 时间:
2020-07-08 09:14:15
阅读次数:
71