当前位置: 首页 > news >正文

游戏开发小说朔州网站seo

游戏开发小说,朔州网站seo,注册了域名 网站怎么做,网站有收录没权重目录 前言准备安装 jdk 安装nodejsElasticSearch下载ElasticSearch-head 下载 安装ElasticSearch安装ElasticSearch-head插件设置用户名密码访问ElasticSearch 默认用户名和密码参考 前言 win10elasticsearch 8.9.0 准备 安装 jdk ElasticSearch 是基于lucence开发的&#…

目录

  • 前言
  • 准备
    • 安装 jdk
  • 安装nodejs
    • ElasticSearch下载
    • ElasticSearch-head 下载
  • 安装ElasticSearch
  • 安装ElasticSearch-head插件
  • 设置用户名密码访问
  • ElasticSearch 默认用户名和密码
  • 参考

前言

  • win10
  • elasticsearch 8.9.0

准备

安装 jdk

ElasticSearch 是基于lucence开发的,也就是运行需要java jdk支持。
ElasticSearch 8.9.0 自带 OpenJDK ,无需再安装jdk。

安装nodejs

在Windows系统安装Nodejs

ElasticSearch下载

下载安装包:https://www.elastic.co/downloads/elasticsearch

ElasticSearch-head 下载

下载源码:https://github.com/mobz/elasticsearch-head

安装ElasticSearch

  1. 下载安装包后解压

在这里插入图片描述

  1. 修改 ES/config/elasticsearch.yml 文件
    xpack.security.enabled: false
    xpack.security.http.ssl.enabled: false
    http.cors:enabled: trueallow-origin: "*"
    
  2. 进入bin目录下,双击执行elasticsearch.bat

在这里插入图片描述

  1. 看到started说明启动成功,打开浏览器测试一下,如下图

http://localhost:9200
在这里插入图片描述

安装ElasticSearch-head插件

  1. 解压源码
    在这里插入图片描述
  2. 进入 elasticsearch-head 目录,执行命令:npm install (如果报错,尝试:npm install phantomjs-prebuilt@2.1.16 --ignore-scripts
  3. 启动:npm run start
  4. 打开: http://localhost:9100/

设置用户名密码访问

  1. 修改 ES/config/elasticsearch.yml 文件

    xpack.security.enabled: true
    http.cors:enabled: trueallow-origin: "*"allow-headers: Authorization,X-Requested-With,Content-Length,Content-Type
    
  2. 重启elasticsearch

  3. elasticsearch 8.9.0 默认情况下,elastic 的用户已存在且已设置了密码,需要执行命令重置密码:

    cmd> elasticsearch-reset-password.bat -u elastic
    warning: ignoring JAVA_HOME=C:\Program Files\Java\jdk1.8.0_144; using bundled JDK
    This tool will reset the password of the [elastic] user to an autogenerated value.
    The password will be printed in the console.
    Please confirm that you would like to continue [y/N]yPassword for the [elastic] user successfully reset.
    New value: qh1rG*****************
    
  4. 打开: http://localhost:9200
    在这里插入图片描述

  5. 打开ElasticSearch-head : http://localhost:9100/?auth_user=elastic&auth_password=changeme
    在这里插入图片描述

ElasticSearch 默认用户名和密码

user: elastic 
password: changeme 

参考

https://www.cnblogs.com/hualess/p/11540477.html
https://blog.csdn.net/shen198623/article/details/123045793
https://blog.csdn.net/fenghuibian/article/details/86585344
https://blog.csdn.net/qq_35349114/article/details/100096115
https://huaweicloud.csdn.net/637ef507df016f70ae4ca581.html

http://www.hkea.cn/news/406498/

相关文章:

  • 专业做相册书的网站电商网站建设制作
  • 银川网站开发公司电话东莞网
  • 环境保护局网站管理制度建设百度指数的主要功能有
  • 安装wordpress提示500错误关键词优化的策略有哪些
  • 企业网站建设公司排名深圳高端seo公司助力企业
  • 做网站套餐网站seo
  • 网站上的代码网页怎么做的下载百度软件
  • 网站功能模块建设搜狗推广
  • 网站做推广有用吗网站页面设计
  • 做简报的网站广州搜发网络科技有限公司
  • 南乐县住房和城乡建设局网站制作网站的步骤是什么
  • 金华做网站最专业的公司搜易网提供的技术服务
  • wordpress适合门户网站吗怎么营销自己的产品
  • 常用的网站类型有哪些seo优化专员编辑
  • 网站专题框架怎么做海阳seo排名
  • 手机网站代码下载黄页网站推广服务
  • 做网站前端多少钱在线bt种子
  • wordpress+模版+推荐专业网站seo推广
  • 浦项建设公司员工网站2023免费推广入口
  • 如何查询某个网站的设计公司最新推广注册app拿佣金
  • 八宝山做网站公司打广告
  • wordpress vip查看插件南宁seo费用服务
  • 建站之星模板怎么设置手机如何做网站
  • 上海公司网站制作价格西安百度关键词排名服务
  • 长沙网页制作开发公司aso优化方案
  • 深圳罗湖网站制作成人电脑基础培训班
  • 无锡网站制作咨询深圳网站设计十年乐云seo
  • 大连城市建设网站seo优化顾问服务阿亮
  • 福州 网站建设沈阳seo关键词排名优化软件
  • 做网站还要买服务器吗镇江seo