随笔 - 232  文章 - 1  评论 - 28  阅读 - 60万 
03 2020 档案
Snowflake 分布式UUID
摘要:/** * Twitter_Snowflake<br> * SnowFlake的结构如下(每部分用-分开):<br> * 0 - 0000000000 0000000000 0000000000 0000000000 0 - 00000 - 00000 - 000000000000 <br> * 1 阅读全文
posted @ 2020-03-25 16:15 肖建锋 阅读(182) 评论(0) 推荐(0) 编辑
lsof 查看端口使用时刻
摘要:yum install lsof lsof -i:80 lsof 查看端口使用情况 阅读全文
posted @ 2020-03-22 14:12 肖建锋 阅读(199) 评论(0) 推荐(0) 编辑
nginx.pid" failed (2: No such file or directory)
摘要:kill -9 , 删除nginx的所有进程 nginx -c /etc/nginx/nginx.conf nginx -s reload nginx -s quit nginx lsof -i:80 yum install lsof lsof 查看端口使用情况 阅读全文
posted @ 2020-03-22 14:10 肖建锋 阅读(969) 评论(0) 推荐(0) 编辑
解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
摘要:有两种修改方法: 1)是通过redis命令行修改 命令行修改方式示例: 127.0.0.1:6379> config set stop-writes-on-bgsave-error no 2)是直接修改redis.conf配置文件 修改redis.conf文件:vi打开redis-server配置的 阅读全文
posted @ 2020-03-12 17:14 肖建锋 阅读(451) 评论(0) 推荐(0) 编辑
Linux环境下 Jna 解决so依赖文件not found
摘要:sudo gedit /etc/ld.so.conf 将自己的so文件夹地址添加在最后一行,执行 lddconfig ldd xxx.so 阅读全文
posted @ 2020-03-05 19:24 肖建锋 阅读(889) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示