请参见https://gitee.com/zs cat-platform/mall/wikis /部署? sort_id=1339355下载地址: https://www.elastic.co/downloads/past-releases/elastic search-2-4-6.zip文件plugininstallmobz/elastic search-head中文分词插件: https://github.com/medcl/elastic search-analysis-ik下载地址: 3355555 download/v1. 10.6/Elastic search-analysis-ik-1.10.10.6.zip解压缩并复制到elastic的plugins目录下的elasticsearch: http://localhost :9200/_ plugin/head /解析root无法启动3359 blog.csdn.net/u 010317005/article 52205825外部网接入9200 9300端口外部网访问3359 www.cn blogs.com/xdao/p/elastic search _ config.html添加域名访问权限,以访问nginx配置服务器{
listen 9200
server_name maliang666.com;
位置/{
proxy _ set _ headerx-real-IP $ remote _ addr;
proxy_set_header Host $http_host;
proxy_pass http://es;
}
}upstream es{
#同一台机器为多网络时,路由切换,ip可能不同
#weigth参数表示权重,权重越高被分配的概率越高
# server localhost :8080 weight=1;
# server localhost :9080 weight=1;
server 127.0.0.1:9200;
在后台启动sddmy/elasticsearch -d并显示jps