<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[haojiliang]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/iaiot</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; iaiot]]></copyright><item><title><![CDATA[vmware 虚拟机三种网络连接类型的区别，CentOS 设置静态 ip]]></title><link>https://blog.csdn.net/iaiot/article/details/84196767</link><guid>https://blog.csdn.net/iaiot/article/details/84196767</guid><author>iaiot</author><pubDate>Thu, 09 Jan 2020 09:54:32 +0800</pubDate><description><![CDATA[博客新地址：https://blog.iaiot.com/vmware-nat.html

1.虚拟机三种网络连接类型：

桥接模式：虚拟机加入到宿主机所在局域网，可以和宿主机所在局域网内其他机器互相访问。就像是局域网中的一台独立的主机。

nat 模式：虚拟机和宿主机组成局域网，只能宿主机和虚拟机之间互相访问。虚拟机在对外访问时，使用的则是宿主机的IP地址，通过宿主机所在的网络来访问公网，这样从...]]></description><category></category></item><item><title><![CDATA[docker run 和 docker-compose 配置挂载 Volume 并运行 nginx]]></title><link>https://blog.csdn.net/iaiot/article/details/81633711</link><guid>https://blog.csdn.net/iaiot/article/details/81633711</guid><author>iaiot</author><pubDate>Fri, 30 Aug 2019 07:04:12 +0800</pubDate><description><![CDATA[https://blog.iaiot.com/docker-nginx.html

1.先在宿主机创建挂载目录：mkdir -p /data/nginx/{conf,conf.d,html,logs}

2.然后把文件 nginx.conf 文件放到 /data/nginx/conf/


user  nginx;
worker_processes  1;

error_log  /var/log...]]></description><category></category></item><item><title><![CDATA[redis 消息的订阅发布 Java 实现 消息生产者 消息消费者]]></title><link>https://blog.csdn.net/iaiot/article/details/88746302</link><guid>https://blog.csdn.net/iaiot/article/details/88746302</guid><author>iaiot</author><pubDate>Fri, 22 Mar 2019 17:28:33 +0800</pubDate><description><![CDATA[新：https://blog.iaiot.com/redis-publish-subscribe.html

1.发布消息（消息生产者 MessageProducer）：


public static final String CHANNEL_KEY = "channel:1";
jedis.publish(CHANNEL_KEY, message);

2.订阅消息（消息消费者）：


/**...]]></description><category></category></item><item><title><![CDATA[webSocket 笔记 问题汇总 400 302 spring-websocket resin-websocket nginx-websocket]]></title><link>https://blog.csdn.net/iaiot/article/details/88745760</link><guid>https://blog.csdn.net/iaiot/article/details/88745760</guid><author>iaiot</author><pubDate>Fri, 22 Mar 2019 17:15:58 +0800</pubDate><description><![CDATA[新：https://blog.iaiot.com/websocket-400-302-spring-resin-nginx.html

1.webSocket 400：



location /ws/createwebsocket {
      proxy_redirect off;
      proxy_set_header Host $host;
    ...]]></description><category></category></item><item><title><![CDATA[Elasticsearch 笔记 倒排索引  keyword 和 text]]></title><link>https://blog.csdn.net/iaiot/article/details/88655042</link><guid>https://blog.csdn.net/iaiot/article/details/88655042</guid><author>iaiot</author><pubDate>Tue, 19 Mar 2019 09:42:54 +0800</pubDate><description><![CDATA[https://blog.iaiot.com/elasticsearch-notes.html

1.倒排索引(Inverted Index)：倒排索引是实现“单词-文档矩阵”的一种具体存储形式，通过倒排索引，可以根据单词快速获取包含这个单词的文档列表。倒排索引主要由两个部分组成：“单词词典”和“倒排文件”。

原文：http://www.cnblogs.com/zlslch/p/6440114....]]></description><category></category></item><item><title><![CDATA[x-pack license 过期]]></title><link>https://blog.csdn.net/iaiot/article/details/88635988</link><guid>https://blog.csdn.net/iaiot/article/details/88635988</guid><author>iaiot</author><pubDate>Mon, 18 Mar 2019 11:47:35 +0800</pubDate><description><![CDATA[https://blog.iaiot.com/xpack-password.html

原文地址：http://www.lanrenkaifa.com/post/61

原文2地址：http://blog.51yip.com/server/1906.html

kibana x-pack安装完了后，license有效期只有1个月，并且每年需要，要重新续一次。

1，注册 https://reg...]]></description><category></category></item><item><title><![CDATA[logstash 接收 syslog 消息调试]]></title><link>https://blog.csdn.net/iaiot/article/details/87880357</link><guid>https://blog.csdn.net/iaiot/article/details/87880357</guid><author>iaiot</author><pubDate>Fri, 22 Feb 2019 16:03:50 +0800</pubDate><description><![CDATA[原文：https://blog.iaiot.com/logstash-syslog.html

linuxlogger、rsyslog：

logger 生成 message 日志：logger -t aaaaaaaaa mmmmmmmmmmm

查看生成的日志：tail -f /var/log/messages

rsyslog 配置：/etc/rsyslog.conf

配置 rsyslog...]]></description><category></category></item><item><title><![CDATA[java spring 定时任务]]></title><link>https://blog.csdn.net/iaiot/article/details/87605468</link><guid>https://blog.csdn.net/iaiot/article/details/87605468</guid><author>iaiot</author><pubDate>Mon, 18 Feb 2019 11:07:34 +0800</pubDate><description><![CDATA[https://blog.iaiot.com/spring-task.html


&lt;beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www...]]></description><category></category></item><item><title><![CDATA[resin、tomcat  中添加 host 配置后 spring 定时任务执行多次]]></title><link>https://blog.csdn.net/iaiot/article/details/87372255</link><guid>https://blog.csdn.net/iaiot/article/details/87372255</guid><author>iaiot</author><pubDate>Fri, 15 Feb 2019 17:16:38 +0800</pubDate><description><![CDATA[https://blog.iaiot.com/resin-tomcat-spring-task.html

tomcat：配置文件 server.xml 中 appBase="webapps" 改为appBase=""



resin：配置文件resin.xml 中 &lt;web-app-deploy path="webapps" 改为&lt;web-app-deploy path=""...]]></description><category></category></item><item><title><![CDATA[Ubuntu 笔记]]></title><link>https://blog.csdn.net/iaiot/article/details/86366225</link><guid>https://blog.csdn.net/iaiot/article/details/86366225</guid><author>iaiot</author><pubDate>Sat, 12 Jan 2019 17:07:28 +0800</pubDate><description><![CDATA[https://blog.iaiot.com/ubuntu-notes.html

1.设置root 密码：sudo passwd root

2.开启 root 远程登录：/etc/ssh/sshd_config 中PermitRootLogin 改为 yes，StrictModes 改为 yes

然后：sudo service ssh restart

3.Ubuntu16 配置静态 i...]]></description><category></category></item><item><title><![CDATA[Kubernetes 笔记]]></title><link>https://blog.csdn.net/iaiot/article/details/86363293</link><guid>https://blog.csdn.net/iaiot/article/details/86363293</guid><author>iaiot</author><pubDate>Sat, 12 Jan 2019 15:59:33 +0800</pubDate><description><![CDATA[https://blog.iaiot.com/Kubernetes-notes.html

1.对于一个容器来说，它的 IP 地址等信息不是固定的，那么 Web 应用又怎么找到数据库容器的 Pod 呢？所以，Kubernetes 项目的做法是给 Pod 绑定一个 Service 服务，而 Service 服务声明的 IP 地址等信息是“终生不变”的。这个Service 服务的主要作用，就是作为 P...]]></description><category></category></item><item><title><![CDATA[openresty（Nginx+lua-nginx-module）中各个阶段执行的指令解释及其执行顺序]]></title><link>https://blog.csdn.net/iaiot/article/details/86362290</link><guid>https://blog.csdn.net/iaiot/article/details/86362290</guid><author>iaiot</author><pubDate>Sat, 12 Jan 2019 15:36:34 +0800</pubDate><description><![CDATA[https://blog.iaiot.com/openresty-lua-nginx-module.html



上图来源：https://github.com/openresty/lua-nginx-module#directives

init_by_lua*：初始化 nginx 和预加载 lua(nginx 启动和 reload 时执行)；init_worker_by_lua*：每个工作进...]]></description><category></category></item><item><title><![CDATA[解决 fastJson 出现重复引用的问题 "$ref":"$[0].layout[0]....."]]></title><link>https://blog.csdn.net/iaiot/article/details/86132918</link><guid>https://blog.csdn.net/iaiot/article/details/86132918</guid><author>iaiot</author><pubDate>Wed, 09 Jan 2019 09:53:25 +0800</pubDate><description><![CDATA[https://blog.iaiot.com/fastJson-$ref.html


JSONObject.put("k", jsonv);
→
JSONObject.put("k", jsonv.clone());

或


String returnJson = JSON.toJSONString(map, SerializerFeature.DisableCircularRefer...]]></description><category></category></item><item><title><![CDATA[docker volume 挂载文件后，容器内更新此文件，就报 Device or resource busy 不能保存文件]]></title><link>https://blog.csdn.net/iaiot/article/details/85788569</link><guid>https://blog.csdn.net/iaiot/article/details/85788569</guid><author>iaiot</author><pubDate>Fri, 04 Jan 2019 17:52:08 +0800</pubDate><description><![CDATA[https://blog.iaiot.com/docker-volume-device-or-resource-busy.html

# Error moving temp DB file temp-1.rdb on the final destination dump.rdb (in server root dir /usr/local/redis/data): Device or resour...]]></description><category></category></item><item><title><![CDATA[Jmeter 发送 webSocket 请求]]></title><link>https://blog.csdn.net/iaiot/article/details/85254114</link><guid>https://blog.csdn.net/iaiot/article/details/85254114</guid><author>iaiot</author><pubDate>Tue, 25 Dec 2018 20:56:51 +0800</pubDate><description><![CDATA[新地址：https://blog.iaiot.com/Jmeter-webSocket.html

下载 Jmeter 插件管理插件：http://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-manager/1.3/jmeter-plugins-manager-1.3.jar

放到 JMeter 安装目录lib/e...]]></description><category></category></item><item><title><![CDATA[pyspark spark-shell无法指定被请求的地址: Service 'sparkDriver' failed after 16 retries (on a random free port)]]></title><link>https://blog.csdn.net/iaiot/article/details/85227155</link><guid>https://blog.csdn.net/iaiot/article/details/85227155</guid><author>iaiot</author><pubDate>Sun, 23 Dec 2018 22:32:25 +0800</pubDate><description><![CDATA[新地址：https://blog.iaiot.com/pyspark-spark-shell-sparkDriver-failed.html

原文：https://stackoverflow.com/questions/49654050/could-not-bind-on-a-random-free-port-error-while-trying-to-connect-to-spark-mast...]]></description><category></category></item><item><title><![CDATA[Mac Kubernetes 报 The connection to the server localhost:6443 was refused]]></title><link>https://blog.csdn.net/iaiot/article/details/85218642</link><guid>https://blog.csdn.net/iaiot/article/details/85218642</guid><author>iaiot</author><pubDate>Sat, 22 Dec 2018 22:11:22 +0800</pubDate><description><![CDATA[原文：https://github.com/kubernetes/kubernetes/issues/23726

 

Deleted the old config from ~/.kube and then restarted docker (for macos) and it rebuilt the config folder.

All good now when I do 'kubect...]]></description><category></category></item><item><title><![CDATA[MySQL 查询结果返回数组或 JSON XML 等自定义格式 SELECT CONCAT GROUP_CONCAT]]></title><link>https://blog.csdn.net/iaiot/article/details/85213946</link><guid>https://blog.csdn.net/iaiot/article/details/85213946</guid><author>iaiot</author><pubDate>Sat, 22 Dec 2018 17:52:16 +0800</pubDate><description><![CDATA[新地址：https://blog.iaiot.com/SELECT-CONCAT-GROUP_CONCAT.html




SELECT sub_name,
  CONCAT('[',
  GROUP_CONCAT(
  CONCAT('{"name":"', sub_name, '",'),
  CONCAT('"id":"', id, '"}')),
  ']') AS child
FRO...]]></description><category></category></item><item><title><![CDATA[windows 提示缺少各种 dll 文件]]></title><link>https://blog.csdn.net/iaiot/article/details/85063222</link><guid>https://blog.csdn.net/iaiot/article/details/85063222</guid><author>iaiot</author><pubDate>Tue, 18 Dec 2018 12:50:46 +0800</pubDate><description><![CDATA[新地址：https://blog.iaiot.com/windows-miss-dll.html

下载安装 MSVBCRT_AIO_2018.05.13_X86 X64.exe（微软常用运行库合集）即可

https://download.csdn.net/download/iaiot/10858125
]]></description><category></category></item><item><title><![CDATA[docker-compose 配置自定义网络和静态 ip 示例]]></title><link>https://blog.csdn.net/iaiot/article/details/84996670</link><guid>https://blog.csdn.net/iaiot/article/details/84996670</guid><author>iaiot</author><pubDate>Thu, 13 Dec 2018 23:29:18 +0800</pubDate><description><![CDATA[新地址：https://blog.iaiot.com/docker-compose-custom-network.html


version: '3.1'

services:

  web:
    image: haojiliang/nginx-php-fpm-alpine:v1.15.7
    container_name: "web_container"
    ports:
    ...]]></description><category></category></item></channel></rss>