Skip to content

Commit b21ef6e

Browse files
committed
Changed: 调整elastic
1 parent 54f8808 commit b21ef6e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

elasticsearch/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/bash
2-
docker pull elasticsearch:5.4.3
2+
source ./config.sh
3+
docker pull ${ESIMAGE}

elasticsearch/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## 设置内存
2-
echo "vm.max_map_count=262144" > /etc/sysctl.conf
2+
echo "vm.max_map_count=262144" >> /etc/sysctl.conf
33
sysctl -p
44

55
# 测试分词

0 commit comments

Comments
 (0)