摘要: #!/bin/bashpath="/disk2/es" case "$1" instart) su cheng<<! cd $path ./bin/elasticsearch -d! echo "elasticsearch startup" ;;stop) es_pid=`ps aux|grep e 阅读全文
posted @ 2020-04-29 18:25 酷酷的城池 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 虚拟机使用net连接模式1Download and unzip the latest Elasticsearch distribution 2Run bin/elasticsearch on Unix or bin\elasticsearch.bat on Windows 3Run curl -X 阅读全文
posted @ 2020-04-29 14:15 酷酷的城池 阅读(578) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/apple_llb/article/details/50444280 #!/bin/bash REDISPORT=8530 EXEC=/usr/local/redis/redis-4.0.9/src/redis-server CLIEXEC=/usr/lo 阅读全文
posted @ 2020-04-29 10:51 酷酷的城池 阅读(1041) 评论(0) 推荐(0) 编辑