上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页
摘要: 需求:生产有个接口是通过socket通信。nginx1.9开始支持tcp层的转发,通过stream实现的,而socket也是基于tcp通信。 实现方法:Centos7.2下yum直接安装的nginx,添加新模块支持tcp转发;重新编译Nginx并添加 --with-stream 参数。 实现过程: 阅读全文
posted @ 2023-04-26 18:33 walkersss 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 通过流策略实现策略路由(重定向到不同的下一跳) 策略路由简介 传统的路由转发原理是首先根据报文的目的地址查找路由表,然后进行报文转发。但是目前越来越多的用户希望能够在传统路由转发的基础上根据自己定义的策略进行报文转发和选路。策略路由PBR(Policy-Based Routing)就是一种依据用户制 阅读全文
posted @ 2023-04-18 17:07 walkersss 阅读(1175) 评论(0) 推荐(0) 编辑
摘要: 将用户从docker组移除:gpasswd -d ec2-user docker 1. 使用命令gpasswd删除用户要将用户从一个组中移除,需要先确定用户的帐号,然后查看要删除的组名,使用命令gpasswd -d 即可实现将用户从组中移除。例如,要将用户“alice”从组“test”中移除,可以运 阅读全文
posted @ 2023-04-18 10:50 walkersss 阅读(327) 评论(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:09 walkersss 阅读(109) 评论(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:32 walkersss 阅读(1662) 评论(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:20 walkersss 阅读(36) 评论(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:32 walkersss 阅读(136) 评论(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:25 walkersss 阅读(1437) 评论(0) 推荐(0) 编辑
摘要: upstream timed out (110: Connection timed out) while reading response header from upstream, 在http下面加: proxy_http_version 1.1; proxy_set_header Connect 阅读全文
posted @ 2023-02-07 12:01 walkersss 阅读(695) 评论(0) 推荐(0) 编辑
摘要: 全部常用邮件端口25、109、110、143、465、995、993、994 全部常用邮件端口有:25、109、110、143、465、995、993等,常见各大邮箱协议和端口见下方 1)发邮件协议和端口: A.非加密端口: 25端口(SMTP):25端口为SMTP(Simple Mail Tran 阅读全文
posted @ 2023-01-29 22:07 walkersss 阅读(3381) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页