首页
统计
留言
Search
1
Konsole 和 oh-my-zsh 的配置与使用
1,512 阅读
2
docker启动报错
868 阅读
3
wsl2使用windows下v2ray的代理
842 阅读
4
docker-compose 创建redis集群测试
530 阅读
5
go-stress-testing 压力测试
529 阅读
全部
PHP
Linux
软路由
杂项
Sql
Go
登录
Search
标签搜索
kubuntu
docker
mysql
pgsql
git
csv
shell
wine
linux
oh-my-zsh
wps
gost
起名
redis
ip
crontab
mac
nginx
wss
docker-compose
JyPony
累计撰写
50
篇文章
累计收到
0
条评论
首页
栏目
全部
PHP
Linux
软路由
杂项
Sql
Go
页面
统计
留言
搜索到
46
篇与
的结果
2022-11-24
用shell 命令将多个csv文件合并为一个
获取一个文件的首行, 再将当前目录下所有文件从第二行开始 合并{message type="error" content=注意输出文件格式先不能设置为csv,否则同个目录下会导致死循环"/}head -n 1 one.csv > out.csv_out && tail -n+2 -q *.csv >> out.csv_out
2022年11月24日
493 阅读
0 评论
0 点赞
2022-11-02
redis 批量模糊删除key
集群模式命令:redis-cli -c -h xxx.com KEYS "test:*" | xargs redis-cli -c -h xxx.com DEL普通模式命令:redis-cli -h xxx.com KEYS "test:*" | xargs redis-cli -h xxx.com DEL{message type="error" content="以上的方式如果是大key, 就不推荐使用, 可以使用scan命令去匹配扫描"/}redis-cli -h xxx.com -p 6379 --scan --pattern test:* | xargs redis-cli -h xxx.com -p 6379 unlink
2022年11月02日
305 阅读
0 评论
0 点赞
2022-10-11
docker容器间网络网络连接
查看docker网络docker network list将php81容器加入到my-bridge网络中docker network connect my-bridge php81
2022年10月11日
287 阅读
0 评论
0 点赞
2022-10-11
dockerfile 自定义php镜像
编写dockerfile文件FROM ubuntu:latest MAINTAINER jypony RUN apt-get update && apt-get upgrade && apt-get -y install software-properties-common && add-apt-repository ppa:ondrej/php && apt-get -y update && apt-get install -y php8.1-fpm vim php8.1-bcmath php8.1-curl php8.1-mcrypt php8.1-mysql php8.1-pgsql php8.1-redis php8.1-zip php8.1-mbstring COPY ./www.conf /etc/php/8.1/fpm/pool.d/www.conf RUN mkdir /run/php && touch /run/php/php8.1-fpm.pid EXPOSE 9000 RUN useradd -ms /bin/bash centos RUN usermod -u 1000 centos && groupmod -g 1000 centos CMD ["bash", "-c", "/usr/sbin/php-fpm8.1 -y /etc/php/8.1/fpm/php-fpm.conf -c /etc/php/8.1/cli/php.ini -F"]编译镜像docker build -t jy/php81:v1 .运行容器docker run -id --name php81 --security-opt seccomp=unconfined -v /home/centos/htdocs:/var/www/htdocs 836359257/php-fpm8.1:v1--security-opt seccomp=unconfined参数是当用户权限不足时使用
2022年10月11日
312 阅读
0 评论
0 点赞
2022-09-06
postgrsql update, 给指定字段批量加前缀
使用||连接update user_accounts set principal = ('2022-09-06-' || principal) where user_id NOT IN (select id from users) ;
2022年09月06日
309 阅读
0 评论
0 点赞
1
...
3
4
5
...
10