摘要: 一、硬件环境 假设有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 阅读(1509) 评论(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 阅读(561) 评论(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 阅读(677) 评论(0) 推荐(0)
摘要: 假定用户名是clotho,当从别的用户切换到clotho后,会进入$,例如从root切换到clotho: root@ubuntu:/# su clotho $ 原因: 创建clotho用户时没有指定命令解释程序 解决方法: 先登录root用户,然后指定clotho的命令解释程序: usermod - 阅读全文
posted @ 2021-12-28 14:48 Clotho_Lee 阅读(323) 评论(0) 推荐(0)