会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
lshan
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
81
下一页
2023年12月25日
ffmpng 对rtmp服务器 推流做压力测试
摘要: 使用 ffmpeg-python 对rtmp 服务器做压力测试 FFmpeg 下载: https://github.com/BtbN/FFmpeg-Builds/releases ffmpeg-master-latest-win64-gpl.zip #!/usr/bin/env python3 #
阅读全文
posted @ 2023-12-25 11:11 lshan
阅读(80)
评论(0)
推荐(0)
编辑
2023年11月13日
docker Nginx ssl 配置
摘要: sudo docker run -itd --privileged=true --restart=always --name=sea_ngnix_ssl_test --net=host -v /opt/docker/nginx/ssl/log/:/var/log/nginx/ -v /opt/doc
阅读全文
posted @ 2023-11-13 10:02 lshan
阅读(97)
评论(0)
推荐(0)
编辑
2023年11月10日
ubuntu 20.04运行内存(缓存)定时清理
摘要: ubuntu 20.04运行内存(缓存)定时清理 数据处理过程,buffer/cache 占用过大,降低了运行速度 解决方法 定时释放缓存 缓存释放脚本vim clear_caches.sh输入 echo "开始清除缓存" sync;sync;sync sleep 20 echo 1 > /proc
阅读全文
posted @ 2023-11-10 12:06 lshan
阅读(391)
评论(0)
推荐(0)
编辑
2023年10月19日
python websocket server and client 用户认证
该文被密码保护。
阅读全文
posted @ 2023-10-19 14:32 lshan
阅读(1)
评论(0)
推荐(0)
编辑
2023年10月8日
python dict和ttl支持自动过期缓存
摘要: python dict和ttl支持自动过期缓存 github: https://github.com/mailgun/expiringdict 安装 pip install expiringdict pip install expiring-dict 使用: from expiringdict im
阅读全文
posted @ 2023-10-08 15:29 lshan
阅读(209)
评论(0)
推荐(0)
编辑
2023年10月7日
filebeat docker 部署
摘要: 官网: https://www.elastic.co/guide/en/beats/filebeat/8.10/index.html https://www.elastic.co/guide/en/beats/filebeat/8.10/running-on-docker.html 1. 拉取镜像
阅读全文
posted @ 2023-10-07 18:51 lshan
阅读(366)
评论(0)
推荐(0)
编辑
2023年9月14日
VMware Ubuntu18.04找不到网卡ens33问题解决
摘要: 查询网卡状态 [root@localhost ~]# nmcli device status DEVICE TYPE STATE CONNECTION ens33 ethernet unmanaged -- lo loopback unmanaged -- 上面状态提示未接管 开启网络 [root@
阅读全文
posted @ 2023-09-14 13:17 lshan
阅读(188)
评论(0)
推荐(0)
编辑
2023年8月10日
sftp python
摘要: # pip install pysftpimport pysftpclass SftpUtil(object): def __init__(self, host, port, username, password): self.host = host self.port = port self.us
阅读全文
posted @ 2023-08-10 13:18 lshan
阅读(63)
评论(0)
推荐(0)
编辑
2023年7月20日
github google 翻译 DNS 配置
摘要: 1. 在 https://tool.chinaz.com/dns?type=a&host=github.com&ip= 修改hosts 108.177.97.100 translate.googleapis.com 20.205.243.166 github.com
阅读全文
posted @ 2023-07-20 14:25 lshan
阅读(114)
评论(0)
推荐(0)
编辑
2023年6月28日
docker python opencv (c++ 依赖)
摘要: pip freeze > requirements.txt 编写dockerfile,需要注意的是这里安装了一些c++库文件供opencv使用 Dockerfile: FROM python:3.9-slim # 将工作目录设置为 当前目录 WORKDIR /opt/app/ # 将当前目录内容复制
阅读全文
posted @ 2023-06-28 10:32 lshan
阅读(149)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
···
81
下一页