1 2 3 4 5 ··· 19 下一页
摘要: shell> echo -n key | gzip -c | tail -c8 | hexdump -n4 -e '"%u"' | awk '{print $0%1024}' 阅读全文
posted @ 2023-01-12 22:29 wshenJin 阅读(154) 评论(0) 推荐(0) 编辑
摘要: gcc8 yum install centos-release-scl yum install devtoolset-8 source /opt/rh/devtoolset-8/enable gcc7 yum install centos-release-scl yum install devtoo 阅读全文
posted @ 2022-12-30 17:55 wshenJin 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 安装 [root@ ]# rpm -ivh http://li.nux.ro/download/nux/misc/el7/x86_64/tunctl-1.5-12.el7.nux.x86_64.rpm 参数: -u 指定用户名,表明这个接口只受该用户控制,这个接口发生的事不会影响到系统的接口。 -g 阅读全文
posted @ 2022-12-16 20:19 wshenJin 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/16563211.html 根据业务方的需求,针对/user/login/api.php路径下,userid=(1234567890|1234567891|1234567892)的接口做特定IP 阅读全文
posted @ 2022-08-08 19:50 wshenJin 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/16542778.html 安装 tiup install dumpling 所需要权限 shell SELECT RELOAD LOCK TABLES REPLICATION CLIENT P 阅读全文
posted @ 2022-08-02 09:56 wshenJin 阅读(609) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash ## 创建有名管道文件 [ -e /tmp/fd1 ] || mkfifo /tmp/fd1 ## 创建文件描述符3, 并以可读(<)和可写(>)的方式关联管道文件, 这时文件描述符3就有了有名管道文件的特性 exec 3<>/tmp/fd1 ## 这时候管道文件可以删除 r 阅读全文
posted @ 2022-07-21 15:57 wshenJin 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/16277007.html innodb_file_per_table=1 直接使用ibd迁移的方式 1.在不同库或者实例上新建相同的表结构,并卸载表空间 mysql> ALTER TABLE 阅读全文
posted @ 2022-05-16 15:07 wshenJin 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/16113785.html 现在的云主机都可以给云盘扩容,然后我们就可以对分区进行无损扩容了。 例如: /dev/sdb1 5.0G 1.2G 3.9G 24% /disk1 /dev/sdb2 阅读全文
posted @ 2022-04-07 19:04 wshenJin 阅读(1450) 评论(0) 推荐(0) 编辑
摘要: 在自己的lua文件中,如果使用到了自己写的C库或者第三方库,想让lua编译到自己指定的目录下寻找*.lua或*。so文件的时候,可以再自己的Lua代码中添加如下代码,可以指定require搜索的路径。 package.path = '/usr/local/share/lua/5.1/?.lua;/h 阅读全文
posted @ 2022-04-07 18:22 wshenJin 阅读(1336) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/16072599.html 创建快照仓库 curl -H "Content-Type: application/json" -XPOST http://127.0.0.1:9200/_snaps 阅读全文
posted @ 2022-03-29 16:37 wshenJin 阅读(1334) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 19 下一页