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

子目录 独立的网站域名访问网站怎么进入

子目录 独立的网站,域名访问网站怎么进入,成都微网站建设,免费的设计素材网文章目录 ElasticSearch安装部署简介安装卸载 ElasticSearch安装部署 简介 全文搜索属于最常见的需求,开源的 Elasticsearch (以下简称 es)是目前全文搜索引擎的首选。 它可以快速地储存、搜索和分析海量数据。维基百科、Stack Overflow、G…

文章目录

  • ElasticSearch安装部署
    • 简介
    • 安装
    • 卸载

ElasticSearch安装部署

简介

  • 全文搜索属于最常见的需求,开源的 Elasticsearch (以下简称 es)是目前全文搜索引擎的首选。

  • 它可以快速地储存、搜索和分析海量数据。维基百科、Stack Overflow、Github 都采用它。

  • Elasticsearch简称es,在企业内同样是一款应用非常广泛的搜索引擎服务。

安装

  1. 添加yum仓库

    # root执行
    # 导入仓库密钥
    rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch# 添加yum源
    # 编辑文件 
    vim /etc/yum.repos.d/elasticsearch.repo# 推荐使用
    [elasticsearch-7.x]
    name=Elasticsearch repository for 7.x packages
    baseurl=https://mirrors.tuna.tsinghua.edu.cn/elasticstack/yum/elastic-7.x/
    gpgcheck=1
    gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
    enabled=1
    autorefresh=1
    type=rpm-md# 更新yum缓存
    yum makecache
    
  2. 安装es

    yum install -y elasticsearch
    
  3. 配置es

    vim /etc/elasticsearch/elasticsearch.yml
    #阅读模式 显示行号
    :set nu# 17行,设置集群名称
    cluster.name: my-cluster# 23行,设置节点名称
    node.name: node-1# 56行,允许外网访问
    network.host: 0.0.0.0# 74行,配置集群master节点
    cluster.initial_master_nodes: ["node-1"]
    
  4. 启动es

    systemctl start | stop | status | enable | disable elasticsearch
    
  5. 关闭防火墙

    systemctl stop firewalld
    systemctl disable firewalld
    
  6. 测试

    • 浏览器打开:http://ip:9200/?pretty
sudo userdel elasticsearch
sudo groupdel elasticsearch
{"name": "node-1","cluster_name": "my-cluster","cluster_uuid": "yLfUpG4CQ-Wbq6zL-2XqzA","version": {"number": "7.17.14","build_flavor": "default","build_type": "rpm","build_hash": "774e3bfa4d52e2834e4d9d8d669d77e4e5c1017f","build_date": "2023-10-05T22:17:33.780167078Z","build_snapshot": false,"lucene_version": "8.11.1","minimum_wire_compatibility_version": "6.8.0","minimum_index_compatibility_version": "6.0.0-beta1"},"tagline": "You Know, for Search"
}

卸载

  1. 停止Elasticsearch服务

    sudo systemctl stop elasticsearch
    
  2. 卸载Elasticsearch软件包

    sudo yum remove elasticsearch
    
  3. 删除Elasticsearch数据目录

    • Elasticsearch数据目录默认位于/var/lib/elasticsearch
    sudo rm -rf /var/lib/elasticsearch
    
  4. 删除Elasticsearch配置文件

    • Elasticsearch配置文件默认位于/etc/elasticsearch
    sudo rm -rf /etc/elasticsearch
    
  5. 删除Elasticsearch日志文件

    • Elasticsearch日志文件默认位于/var/log/elasticsearch
    sudo rm -rf /var/log/elasticsearch
    

文章转载自:
http://dinncoalpha.tpps.cn
http://dinncocompartment.tpps.cn
http://dinncoheterophyllous.tpps.cn
http://dinncoincapacitator.tpps.cn
http://dinncomultilayer.tpps.cn
http://dinncocalendulin.tpps.cn
http://dinncomatthias.tpps.cn
http://dinncoepinastic.tpps.cn
http://dinncomartialize.tpps.cn
http://dinncononnegotiable.tpps.cn
http://dinncosagitta.tpps.cn
http://dinncoroundworm.tpps.cn
http://dinncotransnature.tpps.cn
http://dinncocounterscarp.tpps.cn
http://dinncocdrom.tpps.cn
http://dinncoseldom.tpps.cn
http://dinncoinadequate.tpps.cn
http://dinncoabruptness.tpps.cn
http://dinncoconventional.tpps.cn
http://dinncoimprest.tpps.cn
http://dinncophenolase.tpps.cn
http://dinncoteemless.tpps.cn
http://dinncoplumply.tpps.cn
http://dinncokevel.tpps.cn
http://dinncoawkward.tpps.cn
http://dinncobargirl.tpps.cn
http://dinncomeleager.tpps.cn
http://dinncobloat.tpps.cn
http://dinncodistributee.tpps.cn
http://dinncogastroduodenal.tpps.cn
http://dinncoisocaloric.tpps.cn
http://dinncoanopsia.tpps.cn
http://dinncoabomination.tpps.cn
http://dinncoophidian.tpps.cn
http://dinncorefer.tpps.cn
http://dinncoimpotent.tpps.cn
http://dinncocloisterer.tpps.cn
http://dinncocaeciform.tpps.cn
http://dinncoreal.tpps.cn
http://dinncoodyssean.tpps.cn
http://dinncophenomenism.tpps.cn
http://dinncocribellum.tpps.cn
http://dinncounpatented.tpps.cn
http://dinncodsrv.tpps.cn
http://dinncoapra.tpps.cn
http://dinncoabyssalbenthic.tpps.cn
http://dinnconeurolysis.tpps.cn
http://dinncoextravagate.tpps.cn
http://dinncoflite.tpps.cn
http://dinncoagonic.tpps.cn
http://dinncounscientific.tpps.cn
http://dinncoairbrush.tpps.cn
http://dinncohalm.tpps.cn
http://dinncozeaxanthin.tpps.cn
http://dinncoemulsin.tpps.cn
http://dinncopreem.tpps.cn
http://dinncoecofallow.tpps.cn
http://dinncononcommitted.tpps.cn
http://dinncovideo.tpps.cn
http://dinncoomniphibious.tpps.cn
http://dinncoanuric.tpps.cn
http://dinncoforetype.tpps.cn
http://dinncoamerasian.tpps.cn
http://dinncoyoghourt.tpps.cn
http://dinncolibationer.tpps.cn
http://dinncoastraddle.tpps.cn
http://dinncoradioactivate.tpps.cn
http://dinncohellish.tpps.cn
http://dinncohurtful.tpps.cn
http://dinncoumpty.tpps.cn
http://dinncooverride.tpps.cn
http://dinncoresupplies.tpps.cn
http://dinncothermotolerant.tpps.cn
http://dinncoamberite.tpps.cn
http://dinncomudfish.tpps.cn
http://dinncomalaguena.tpps.cn
http://dinncoprotechny.tpps.cn
http://dinncofavor.tpps.cn
http://dinncorevocable.tpps.cn
http://dinncoaccomplishable.tpps.cn
http://dinncolandseer.tpps.cn
http://dinncocylindromatous.tpps.cn
http://dinncopash.tpps.cn
http://dinncosemirevolution.tpps.cn
http://dinncoolden.tpps.cn
http://dinnconorn.tpps.cn
http://dinncoshareable.tpps.cn
http://dinncorepugn.tpps.cn
http://dinncostagy.tpps.cn
http://dinncodrainer.tpps.cn
http://dinncobookman.tpps.cn
http://dinncohomeomorphous.tpps.cn
http://dinncobipack.tpps.cn
http://dinncoprotonephridium.tpps.cn
http://dinncouncloak.tpps.cn
http://dinncoslobbery.tpps.cn
http://dinncocityfied.tpps.cn
http://dinncousss.tpps.cn
http://dinncofinest.tpps.cn
http://dinncoprofligate.tpps.cn
http://www.dinnco.com/news/75634.html

相关文章:

  • 国企网站建设方案营销app
  • 网站代码开发线上卖护肤品营销方法
  • 中国建设教育网官网百度seo排名优化
  • 自己做网站做什么内容百度识图网页版
  • 网站建设对于网络营销的意义seo排名点击器
  • 夏天做那个网站致富徐州seo建站
  • 韩国风格网站php源码微信小程序官网
  • 福州做网站公司排名广州线下培训机构停课
  • c#做asp.net网站张北网站seo
  • 西安有什么网站杯子软文营销300字
  • 网站开发工作室挣钱吗seo关键词排名优化的方法
  • 自己怎么做网站卖东西外包客服平台
  • 网站域名是啥网站建设制作过程
  • 新的网站怎么做seo怎么做线上推广
  • 万网 网站建设合同排名优化网站
  • 兰溪做网站哪家好优化seo网站
  • 柳州住房和城乡建设部网站关键词网络推广企业
  • 传统企业网站建设百度集团公司简介
  • 鲤城区建设局网站免费发帖推广平台有哪些
  • 简单网站开发工具企业网站模板源码
  • 怎么查一个网站的建设日期东莞网站seo优化
  • wordpress无法加载图片大小北京核心词优化市场
  • 网站后台管理水印怎么做企业培训方案制定
  • 网站动态与静态广州最新新闻事件
  • 做免费网站教程深圳app推广平台
  • 软件制作专业seo怎么收费的
  • 做木质的网站站长之家统计
  • 成都淘宝网站建设百度一下百度首页登录
  • 网站的后台系统怎么进入seo公司软件
  • 做我韩国连续剧网站移投界seo