会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DuoBa
心向往之,行必能至。
博客园
首页
新随笔
管理
上一页
1
2
3
4
5
6
7
8
9
···
24
下一页
2021年5月7日
centos 安装mqtt
摘要: 在centos上搭建mqtt服务,主要是用到mosquitto消息代理服务软件: 我的linux版本为centos7 1、安装软件 按照如下命令安装: yum install gcc-c++yum install cmakeyum install openssl-devel新建data文件夹存放软件
阅读全文
posted @ 2021-05-07 22:05 litf
阅读(597)
评论(0)
推荐(0)
2021年4月30日
小程序 内容过长显示省略号
摘要: text-overflow: -o-ellipsis-lastline;/*css3中webkit内核提供的一个方法类似ellipsis*/ overflow: hidden; text-overflow: ellipsis; display: -webkit-box;/*自适应盒子*/ -webk
阅读全文
posted @ 2021-04-30 13:36 litf
阅读(151)
评论(0)
推荐(0)
2021年4月24日
批量关闭某个程序进程
摘要: ps aux|grep java | grep -v grep |awk '{print "kill -9 "$2}'|sh awk文本分析指令,读入一列表(含有换行符,作为一条记录),在一条记录中已空格或者table作为分割符分成n个域,$0表示所以域即整条记录,$1标识第二个域中的内容,$n表示
阅读全文
posted @ 2021-04-24 08:42 litf
阅读(224)
评论(0)
推荐(0)
2020年11月24日
centos 集群
摘要: /redis-5.0.2/src/redis-server /redis-cluster/master/redis.conf redis-5.0.2/src/redis-sentinel /redis-5.0.2/redis_sentinel/sentinel1.conf ./redis-cli -
阅读全文
posted @ 2020-11-24 16:30 litf
阅读(134)
评论(0)
推荐(0)
2020年9月3日
Redis锁实现防重复提交和并发问题
摘要: @Slf4j @Component public class RedisLock { public static final int LOCK_EXPIRE = 5000; @Autowired private StringRedisTemplate redisTemplate; /** * 分布式
阅读全文
posted @ 2020-09-03 18:21 litf
阅读(3213)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
24
下一页
公告