linux添加用户和组

groupadd elasticsearch
useradd  elasticsearch -g elasticsearch -p 123456

修改文件夹权限

chown -R elasticsearch:elasticsearch elasticsearch-2.3.3