From b5b7ef3b7e6f0be846e653487c040c7527e8e6f5 Mon Sep 17 00:00:00 2001 From: smallchill Date: Wed, 30 Oct 2019 23:34:42 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=20=E5=A2=9E=E5=8A=A0elk=E9=9B=86?= =?UTF-8?q?=E7=BE=A4=E6=B3=A8=E6=84=8F=E7=82=B9=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/docker/elk/README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/script/docker/elk/README.md b/script/docker/elk/README.md index e7afa274..6b11711b 100644 --- a/script/docker/elk/README.md +++ b/script/docker/elk/README.md @@ -1,16 +1,18 @@ -一、调整内存:max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144](elasticsearch用户拥有的内存权限太小,至少需要262144) +##一、调整内存:max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144](elasticsearch用户拥有的内存权限太小,至少需要262144) -## 修改配置sysctl.conf +#### 修改配置sysctl.conf [root@localhost ~]# vi /etc/sysctl.conf -## 添加下面配置: +#### 添加下面配置: vm.max_map_count=262144 -## 重新加载: +#### 重新加载: [root@localhost ~]# sysctl -p -## 最后重新启动elasticsearch,即可启动成功。 +#### 最后重新启动elasticsearch,即可启动成功。 -二、Docker 命令自动补全 -## 安装依赖工具bash-complete +##二、Docker 命令自动补全 +#### 安装依赖工具bash-complete [root@localhost ~]# yum install -y bash-completion + [root@localhost ~]# source /usr/share/bash-completion/completions/docker + [root@localhost ~]# source /usr/share/bash-completion/bash_completion \ No newline at end of file