XY BLOG

XY的BLOG

Posts


portainer 安装

Published on in Posts
Updated on

docker run -d -p 9000:9000 --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data --name prtainer-libai portainer/portainer

View

shell删除指定日期前文件

Published on in Posts
Updated on

#!/bin/sh lastdate=`/opt/bin/date -d "20 days ago" +%Y-%m-%d` echo $lastdate candelfile=`rm -rf /tmp/mnt/media/video/${lastdate}*` echo $candelfile

View

rtsp录制 摄像头rtsp流

Published on in Posts
Updated on

摄像头RTSP流一般带有认证

View

xray

Published on in Posts

docker 创建xray

View

docker compose 使用

Published on in Posts
Updated on

dokcer-compose.yml

View

PHP PECL安装redis扩展

Published on in Posts
Updated on

pecl install -o -f redis && rm -rf /tmp/pear && docker-php-ext-enable redis

View

nginx/php-fpm平滑重启进程

Published on in Posts
Updated on

停止操作 停止操作是通过向nginx进程发送信号(什么是信号请参阅linux文章)来进行的 步骤1:查询nginx主进程号 ps -ef | grep nginx 在进程列表里面找master进程,它的编号就是主进程号了。 步骤2:发送信号 从容停止Nginx: kill -QUIT 主进程号 快速停止Nginx: kill -TERM 主进程号 强制停止Nginx: pkill -9 nginx

View

Unraid

Published on in Posts
Updated on

unraid 商店APP 代理设置

View

fiddler 抓Java App证书问题

Published on in Posts

导入fiddler证书到APP的cacerts

View

202112

Published on in Posts

View