上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页
摘要: 在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)
摘要: 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)
摘要: 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)
摘要: /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)
摘要: @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 下一页