摘要: 问题背景生产环境与第三方联通时,时常有丢包的情况发生,具体现象为有时候应用服务器表现为未收到报文,抓包表现为RST 生产环境通讯方式为https,应用前端有SSL 及 F5负载,业务入口有NAT转换,然后经过SSL卸载https,http请求经F5负载均衡至两台应用服务。 问题分析因为报文链路有点长 阅读全文
posted @ 2023-01-09 11:44 opensmarty 阅读(651) 评论(0) 推荐(0) 编辑
摘要: 启动nginx报错: nginx: [emerg] getpwnam("nginx") failed in /usr/local/nginx/conf/nginx.conf:2 是因为配制文件中使用的启动账户在系统中并没有找到 解决办法: useradd name 阅读全文
posted @ 2023-01-09 11:30 opensmarty 阅读(937) 评论(0) 推荐(0) 编辑
摘要: vhost本质上是一个mini版的RabbitMQ服务器,拥有自己的队列、绑定、交换器和权限控制; vhost通过在各个实例间提供逻辑上分离,允许你为不同应用程序安全保密地运行数据; vhost是AMQP概念的基础,必须在连接时进行指定,RabbitMQ包含了默认vhost:“/”; 当在Rabbi 阅读全文
posted @ 2023-01-09 11:13 opensmarty 阅读(863) 评论(0) 推荐(1) 编辑
摘要: 本文环境:Linux系统CentOS 8.2 64bitCentOS 7版本及以上版本较centos 6有较大改动,例如:采用systemctl命令来开启service,它是服务管理中主要的工具,融合了之前service和chkconfig的功能,较以往启动系统服务使用/etc/init.d脚本的方 阅读全文
posted @ 2023-01-09 11:11 opensmarty 阅读(587) 评论(0) 推荐(0) 编辑
摘要: CentOS 安装 Protobuf Centos 7安装protobuf3.6.1 安装 protobuf 【 安装3.6.1 (实际应用版本protobuf-3.21.12)】 wget https://github.com/protocolbuffers/protobuf/releases/d 阅读全文
posted @ 2023-01-09 10:54 opensmarty 阅读(1648) 评论(0) 推荐(0) 编辑
摘要: 一、crontab基本用法 1.1 cron服务 cron是一个linux下 的定时执行工具,可以在无需人工干预的情况下运行作业。 service crond start //启动服务 service crond stop //关闭服务 service crond restart //重启服务 se 阅读全文
posted @ 2023-01-09 10:09 opensmarty 阅读(985) 评论(0) 推荐(0) 编辑