分类目录

链接

2024 年 4 月
1234567
891011121314
15161718192021
22232425262728
2930  

近期文章

热门标签

新人福利,免费薅羊毛

Kafka 消费者poll配置

消费者poll消息的细节与消费者心跳配置 长轮询poll消息 默认情况下,消费者⼀次会poll500条消息。 //⼀次poll最⼤拉取消息的条数,可以根据消费速度的快慢来设置 props.put(ConsumerConfig.MAX_POLL_RECORDS_CONFIG, 500); 意味着: 如果⼀次poll到500条,就直接执⾏for循环 如果这⼀次没有poll到500条。且时间在1秒内,那么⻓轮询继续poll,要么到500条,要么到1s 如果多次poll都没达到500条,且1秒时间到了,那么直接执⾏for循环 如果两次poll的间隔超过30s,集群会认为该消费者的消费能⼒过弱,该消费者被踢出...

Others 暂无评论 阅读(41)

蜗牛星际之黑群晖修改SSD中的grub.cfg

详细步骤 如何修改grub.cfg,可以直接PE启动,然后加载ssd第一个分区就能找到文件了,但本文提供另外一种通过ssh登陆在线修改的方法,挂载ssd盘,然后用vi修改 找到34行, 改成 set sata_args='DiskIdxMap=0F00' 保存退出, 开机从第三项启动

Others 暂无评论 阅读(31)

免费内网测试 DNS泛域名nip.io/sslip.io

官方网站: nip.io sslip.io   主要用途及备注: 微信小程序调用,不用FRP了,可以直接  使用 http://192.168.1.100.nip.io或  https://192.168.1.100.sslip.io K8S集群内也可以直接 用192.168.1.100.nip.io了     nip.io Dead simple wildcard DNS for any IP Address Stop editing your etc/hosts file with custom hostname and IP address mappings. nip.io allows you to do that by mapping any IP Address to a hostname using the following formats: Without a name: 10.0.0.1.nip.io...

Others 暂无评论 阅读(34)

kuboard搭建一套微服务+前后端配置

             

Others 暂无评论 阅读(147)

自制一键安装环境oneshell_v1.0.sh

echo install env... yum -y install gcc gcc-c++ make libtool zlib zlib-devel openssl openssl-devel pcre pcre-devel #下载Nginx echo downloading nginx-1.18.0 wget -c https://nginx.org/download/nginx-1.18.0.tar.gz #安装 nginx echo install nginx-1.18.0 tar -zxvf nginx-1.18.0.tar.gz cd nginx-1.18.0 ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-stream --with-http_gzip_static_module make &...

Others 暂无评论 阅读(56)

kibana6.8.0禁用不用的模块

server.port: 5601 server.host: "0.0.0.0" server.name: "kibana" elasticsearch.hosts: ["http://es:9200"] elasticsearch.ssl.verificationMode: none #elasticsearch.ssl.certificateAuthorities: ["/data/kibana/config/newfile.crt.pem"] elasticsearch.preserveHost: true kibana.index: ".kibana" i18n.locale: "en" server.defaultRoute: "/app/kibana#/discover" elasticsearch.username: "elastic" elasticsearch.password: "xxxxxxxxxxxxxxxxx" # 禁用可视化和仪表板 xpack.monitori...

Others 暂无评论 阅读(62)

adGuardHome自定义规则

||example.org^ – 拦截 example.org 域名及其所有子域名 @@||example.org^ – 放行 example.org 及其所有子域名 127.0.0.1 example.org – AdGuard Home 现在将会把 example.org(但不包括它的子域名)解析到 127.0.0.1。 ! 这是一行注释 – 只是一条注释 # 这也是一行注释 – 只是一条注释 /REGEX/ – 阻止访问与example_regex_meaning匹配的域   参考:sub.adtchrome.com/adt-chinalist-easylist.txt

Others 暂无评论 阅读(34)

使用tengine代替Nginx

有了nginx,为什么还要用tengine? 因为:     #下载 https://tengine.taobao.org/ wget https://tengine.taobao.org/download/tengine-3.0.0.tar.gz tar -zxvf tengine-3.0.0.tar.gz cd tengine-3.0.0 #安装依赖 yum install pcre-devel yum -y install openssl openssl-devel ./configure --add-module=modules/ngx_http_upstream_check_module #./configure --add-module=./nginx_upstream_check_module --with-http_ssl_module --with-http_v2_module --with-stream --with-http_gz...

Others 暂无评论 阅读(69)

nginx添加nginx_upstream_check_module

#cd nginx source folder cd /usr/local/nginx/nginx-1.18.0 wget https://github.com/yaoweibin/nginx_upstream_check_module/archive/refs/heads/master.zip unzip master.zip mkdir nginx_upstream_check_module mv nginx_upstream_check_module/* ./nginx_upstream_check_module/ ./configure --add-module=./nginx_upstream_check_module #if need ssl #./configure --add-module=./nginx_upstream_check_module --with-http_ssl_module #backup old nginx file mv /usr/local/n...

Others 暂无评论 阅读(50)

调用企微接口报403 API Forbiden 无权限 的错误

https://work.weixin.qq.com/wework_admin/frame#/customer/analysis   需要修改应用权限 :

Others 暂无评论 阅读(46)