本文演示版本为7.6.2 一、下载 下载地址:https://www.elastic.co/cn/downloads/past-releases#elasticsearch 1. 选择好要安装的版本,点击下载 2.点击rpm选项进行下载 二、安装 1. 首先将下载好的rpm包复制到虚拟机/服务器中。 ...
分类:
其他好文 时间:
2021-03-04 13:08:58
阅读次数:
0
Kubernetes 中的 Service(服务) 提供了这样的一个抽象层,它选择具备某些特征的 Pod(容器组)并为它们定义一个访问方式。 Service(服务)使Pod(容器组)之间的相互依赖解耦,(原来从一个POD中访问另外一个pod,需要知道对方的IP地址) 一个Service(服务)选定哪 ...
分类:
Web程序 时间:
2021-03-04 12:56:05
阅读次数:
0
rpm包不需要指定位置,安装在系统默认的位置上。源码包需要人为指定位置 报错???怎么解决 service httpd start 到系统默认的位置搜索服务 ...
分类:
其他好文 时间:
2021-03-03 12:22:06
阅读次数:
0
1、迭代器: 可迭代对象 # 如何判断一个对象是不是可迭代对象# 方法一:isinstance(obj,Iterable)# 方法二:看有没有__iter__方法 迭代器协议: #1、迭代器类型必须包含 __iter__和__next__#2、__iter__方法必须返回 self#3、__next ...
分类:
其他好文 时间:
2021-03-03 12:20:19
阅读次数:
0
Should criminals be punished with lengthy jail terms or re-educated and rehabilitated, using community service programs for instance, before being rei ...
分类:
其他好文 时间:
2021-03-03 12:18:12
阅读次数:
0
如果忘记mysql的密码 修改配置文件跳过密码直接登录 在[mysqld]下面添加 vim /etc/my.cnf skip-grant-tablses 重启mysql服务 service mysqld restart /etc/rc.d/init.d/mysqld restart 登录mysql ...
分类:
数据库 时间:
2021-03-02 12:39:27
阅读次数:
0
异常: java.lang.IllegalArgumentException: When allowCredentials is true, allowedOrigins cannot contain the special value "*"since that cannot be set on ...
分类:
编程语言 时间:
2021-03-02 12:28:35
阅读次数:
0
环境:ubuntu-server18.4 with desktop installed 问题:安装ubuntu之后启动系统网卡没有自动启动,然后我就在 /etc/netplan/xxxx-netcfg.yaml文件下面加上了下面的信息: ethernets: ens33: dhcp4: true d ...
分类:
Web程序 时间:
2021-03-02 11:45:10
阅读次数:
0
1.定时任务 crontab -e s m h d month w cmd 2.任务后台执行 command & 3.查看进程 ps -ef|grep prcss 4.杀死进程 kill -9 pid 5.服务状态 service prcss_name status|start|stop|resta ...
分类:
系统相关 时间:
2021-03-01 14:17:23
阅读次数:
0
四大核心功能:filter, nat, mangle, raw 1.【清楚默认规则】 iptables -P INPUT ACCEPT iptables -F # 清空所有规则 iptables -X # 清空所有自定义规则 iptables -Z # 计算器0 2.【配置规则】 [vim /etc ...
分类:
其他好文 时间:
2021-03-01 14:16:49
阅读次数:
0