上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 39 下一页
摘要: 二、loki 部署下载地址:https://github.com/grafana/loki/releases/download/v2.4.1/loki-linux-amd64.zip $ curl -O -L "https://github.com/grafana/loki/releases/dow 阅读全文
posted @ 2023-05-10 20:31 walkersss 阅读(917) 评论(0) 推荐(0)
摘要: stream模块一般用于tcp/UDP数据流的代理和负载均衡,用来实现四层协议的转发 可以通过stream模块代理转发TCP消息。 ngx_stream_core_module模块由1.9.0版提供。 1.nginx -V确保nginx安装了–with -stream如果没有,重新用yum inst 阅读全文
posted @ 2023-05-10 18:32 walkersss 阅读(1410) 评论(0) 推荐(0)
摘要: 需求:生产有个接口是通过socket通信。nginx1.9开始支持tcp层的转发,通过stream实现的,而socket也是基于tcp通信。 实现方法:Centos7.2下yum直接安装的nginx,添加新模块支持tcp转发;重新编译Nginx并添加 --with-stream 参数。 实现过程: 阅读全文
posted @ 2023-04-26 18:33 walkersss 阅读(878) 评论(0) 推荐(0)
摘要: 通过流策略实现策略路由(重定向到不同的下一跳) 策略路由简介 传统的路由转发原理是首先根据报文的目的地址查找路由表,然后进行报文转发。但是目前越来越多的用户希望能够在传统路由转发的基础上根据自己定义的策略进行报文转发和选路。策略路由PBR(Policy-Based Routing)就是一种依据用户制 阅读全文
posted @ 2023-04-18 17:07 walkersss 阅读(3294) 评论(0) 推荐(0)
摘要: 将用户从docker组移除:gpasswd -d ec2-user docker 1. 使用命令gpasswd删除用户要将用户从一个组中移除,需要先确定用户的帐号,然后查看要删除的组名,使用命令gpasswd -d 即可实现将用户从组中移除。例如,要将用户“alice”从组“test”中移除,可以运 阅读全文
posted @ 2023-04-18 10:50 walkersss 阅读(628) 评论(0) 推荐(0)
摘要: cd toolsyum install gitgit clone https://github.com/apache/rocketmq-docker.gitcd rocketmq-docker/sh build-image.sh RMQ-VERSION BASE-IMAGEcd image-buil 阅读全文
posted @ 2023-04-14 16:08 walkersss 阅读(163) 评论(0) 推荐(0)
摘要: https://github.com/docker/compose/releases/download/v2.17.2/docker-compose-linux-x86_64 1.下载安装包根据机器的架构选择具体的版本,更多的请参考官网 https://github.com/docker/compo 阅读全文
posted @ 2023-04-14 12:31 walkersss 阅读(2666) 评论(0) 推荐(0)
摘要: useradd ec2-userpasswd ec2-userusermod -G docker ec2-user vi /usr/share/polkit-1/actions/org.freedesktop.systemd1.policy <defaults> 60 <allow_any>yes< 阅读全文
posted @ 2023-04-11 12:19 walkersss 阅读(48) 评论(0) 推荐(0)
摘要: 环境要求 nodejs(7.6+)mongodb(2.6+)git 准备工作 清除yum命令缓存 sudo yum clean all 卸载低版本nodejs yum remove nodejs npm -y 安装nodejs,获取资源,安装高版本nodejs curl -sL https://rp 阅读全文
posted @ 2023-03-29 18:31 walkersss 阅读(189) 评论(0) 推荐(0)
摘要: 进入容器报错: operation not permitted : unknown nist@zq-node2:~$ docker exec -it 88 /bin/shOCI runtime exec failed: exec failed: unable to start container p 阅读全文
posted @ 2023-02-15 14:24 walkersss 阅读(2356) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 39 下一页