上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 41 下一页
摘要: 参考资料: https://www.jianshu.com/p/c8aeb3eee6bc https://www.freesion.com/article/26351092635/ 阅读全文
posted @ 2022-01-11 18:37 Clotho_Lee 阅读(34) 评论(0) 推荐(0)
摘要: -h <hostname> Server hostname (default: 127.0.0.1). -p <port> Server port (default: 6379). -s <socket> Server socket (overrides hostname and port). -a 阅读全文
posted @ 2022-01-11 14:32 Clotho_Lee 阅读(544) 评论(0) 推荐(0)
摘要: 原因: SpringBoot会自动从/src/main/resources/templates目录获取Thymeleaf模板引擎,若该目录缺失,就会报该警告。 方法1: 创建该目录 方法2: 在application.yml中加入以下配置: thymeleaf: check-template: fa 阅读全文
posted @ 2022-01-11 01:22 Clotho_Lee 阅读(2528) 评论(0) 推荐(0)
摘要: 原因: 之前编译Redis失败,例如没装pkg-config插件。等到装好pkg-config后再次编译Redis就会报这个错,因为上次编译失败时残留了缓存文件。 解决方法: 先清除了残留文件再重新编译: make distclean && make 阅读全文
posted @ 2022-01-10 03:06 Clotho_Lee 阅读(275) 评论(0) 推荐(0)
摘要: HBase 先登录hbase用户: su hbase 修复HBase: #显示问题的详细信息 hbase hbck -details #尝试修复region级别的不一致情况 hbase hbck -fix #尝试自动修复,但实际上只是把不一致的数值加1 hbase hbck -repair #修复元 阅读全文
posted @ 2022-01-07 12:21 Clotho_Lee 阅读(871) 评论(0) 推荐(0)
摘要: 情况: 已启动ZooKeeper和HDFS,再启动HBase,虽然启动成功,但过了几秒后HBase自动关闭了,并报错。 完整的报错信息: master.HMaster: Failed to become active master org.apache.hadoop.hbase.util.FileS 阅读全文
posted @ 2022-01-07 02:33 Clotho_Lee 阅读(2127) 评论(0) 推荐(0)
摘要: 一、硬件环境 假设有4台机,IP及主机名如下: 192.168.100.105 c1 192.168.100.110 c2 192.168.100.115 c3 192.168.100.120 c4 二、软件环境 操作系统:Ubuntu Server 18.04 JDK:1.8.0 Elastics 阅读全文
posted @ 2021-12-28 20:10 Clotho_Lee 阅读(1517) 评论(0) 推荐(0)
摘要: 启动Elasticsearch报错: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] 意思是虚拟内存上限的值设置得太小了,至少要262144 临时方法: sysct 阅读全文
posted @ 2021-12-28 19:07 Clotho_Lee 阅读(566) 评论(0) 推荐(0)
摘要: 先登录root账号 假定创建的用户名是clotho #创建用户 useradd clotho #设置密码 passwd clotho #指定命令解释程序 usermod -s /bin/bash clotho #指定主目录 usermod -d /home/clotho clotho #切换到clo 阅读全文
posted @ 2021-12-28 16:01 Clotho_Lee 阅读(682) 评论(0) 推荐(0)
摘要: 假定用户名是clotho,当从别的用户切换到clotho后,会进入$,例如从root切换到clotho: root@ubuntu:/# su clotho $ 原因: 创建clotho用户时没有指定命令解释程序 解决方法: 先登录root用户,然后指定clotho的命令解释程序: usermod - 阅读全文
posted @ 2021-12-28 14:48 Clotho_Lee 阅读(328) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 41 下一页