1)下载elasticsearch-1.1.2.zip
2)用ssh工具连接目录主机,在命令窗口输入:mkdir -p /opt/elasticsearch创建elasticsearch文件夹
3)通过WinSCP工具将elasticsearch-1.1.2.zip拖入 Linux /opt/elasticsearch目录下
4)在elasticsearch目录下解压elasticsearch-1.1.2.zip,输入命令unzip elasticsearch-1.1.2.zip
5)elasticsearch不允许用root用户启动,创建新用户elasticsearch 输入命令useradd elasticsearch
给新建用户添加密码,输入命令passwd elasticsearch