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

c语言做网站后台服务沈阳百度网站的优点

c语言做网站后台服务,沈阳百度网站的优点,广西桂林自驾游攻略,洛阳百姓网安装es 下载elasticsearch安装包解压安装包,并修改配置文件解压进入目录修改配置文件 添加用户#xff0c;并修改所有者切换用户#xff0c;运行es如何迁移旧版本的数据 下载elasticsearch安装包 下载地址如下#xff0c;版本号可以替换成自己想要的。 这里需要注意一点并修改所有者切换用户运行es如何迁移旧版本的数据 下载elasticsearch安装包 下载地址如下版本号可以替换成自己想要的。 这里需要注意一点需要根据你服务器的内核来进行选择如下图所示我就应该选择aarch64版本的否则运行的时候会报错cannot execute binary file: Exec format error https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.3-linux-aarch64.tar.gz https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.3-linux-x86_64.tar.gz 解压安装包,并修改配置文件 解压 tar -zxvf elasticsearch-7.9.3-linux-aarch64.tar.gz 进入目录 cd elasticsearch-7.9.3 修改配置文件 vi config/elasticsearch.yml 有以下几点需要修改 放开node.name这个注释放开path.data、path.log注释并修改成你想要存放的位置修改network.host为0.0.0.0让其可以被IP访问修改cluster.initial_master_nodes 值为第一步配置的名字 下面是修改后的配置文件内容 # Elasticsearch Configuration # # NOTE: Elasticsearch comes with reasonable defaults for most settings. # Before you set out to tweak and tune the configuration, make sure you # understand what are you trying to accomplish and the consequences. # # The primary way of configuring a node is via this file. This template lists # the most important settings you may want to configure for a production cluster. # # Please consult the documentation for further information on configuration options: # https://www.elastic.co/guide/en/elasticsearch/reference/index.html # # ---------------------------------- Cluster ----------------------------------- # # Use a descriptive name for your cluster: # #cluster.name: my-application # # ------------------------------------ Node ------------------------------------ # # Use a descriptive name for the node: # node.name: node-1 # # Add custom attributes to the node: # #node.attr.rack: r1 # # ----------------------------------- Paths ------------------------------------ # # Path to directory where to store the data (separate multiple locations by comma): # path.data: /home/alllinks/elasticsearch-7.9.3/data # # Path to log files: # path.logs: /home/alllinks/elasticsearch-7.9.3/logs # # ----------------------------------- Memory ----------------------------------- # # Lock the memory on startup: # #bootstrap.memory_lock: true # # Make sure that the heap size is set to about half the memory available # on the system and that the owner of the process is allowed to use this # limit. # # Elasticsearch performs poorly when the system is swapping the memory. # # ---------------------------------- Network ----------------------------------- # # Set the bind address to a specific IP (IPv4 or IPv6): # network.host: 0.0.0.0 # # Set a custom port for HTTP: # http.port: 9205 # # For more information, consult the network module documentation. # # --------------------------------- Discovery ---------------------------------- # # Pass an initial list of hosts to perform discovery when this node is started: # The default list of hosts is [127.0.0.1, [::1]] # #discovery.seed_hosts: [host1, host2] # # Bootstrap the cluster using an initial set of master-eligible nodes: # cluster.initial_master_nodes: [node-1] # # For more information, consult the discovery and cluster formation module documentation. # # ---------------------------------- Gateway ----------------------------------- # # Block initial recovery after a full cluster restart until N nodes are started: # #gateway.recover_after_nodes: 3 # # For more information, consult the gateway module documentation. # # ---------------------------------- Various ----------------------------------- # # Require explicit names when deleting indices: # #action.destructive_requires_name: true 添加用户并修改所有者 elasticsearch需要非root用户运行所以需要添加用户并修改elastielcsearch-7.9.3的所有者命令如下 useradd es chown es:es -R elastielcsearch-7.9.3 切换用户运行es su es cd /elastielcsearch-7.9.3/bin ./elasticsearch -d 如何迁移旧版本的数据 如果有旧版本的数据的话可以将旧版本的数据直接cp到data目录下就好但是需要注意版本具体可以访问http://es服务器ip:9200。查看返回值minimum_wire_compatibility_version、minimum_index_compatibility_version
http://www.yutouwan.com/news/266762/

相关文章:

  • 有没有做企业网站的兰州新区规划建设局网站
  • 网站做交叉连接会网站开发没学历
  • 大学生网站开发总结报告移动网站建设制作
  • 有网站域名及空间 别人帮建网站做外贸经常用的网站
  • 湛江做网站需要什么动漫网站设计模板
  • 怎么做网站xml地图网络营销的网站分类有
  • 网站建设.龙兵科技网站如何在google提交收录
  • 网站转换率自学网站建设工资
  • 网站抠图怎么做的html5开发网站
  • ui设计个人作品集seo代码优化步骤
  • 建设银行网站怎么打印明细网站架设
  • 帮人家做网站能赚多少钱网站设计与网站开发是同时进行的
  • 网站代码管理威海营销型网站建设
  • 网站负责人核验照片广州哪家做网站价格好
  • 浙江怎么制作网站网站备案的要求是什么
  • 做室内效果图网站怎样找到工厂直招网站
  • 网站建设代理都有哪些网站建设的费用计入
  • 世界上最有趣的网站广州seo网站优化培训
  • 网站推广渠道有哪些网站建设 2018
  • 中国百科网vip钓鱼网站开发wordpress去除仪表盘
  • 从seo角度去建设网站服务器租用
  • 深圳非凡网站建设公司换友网站
  • 网站开发询价函成都外贸seo
  • 泰兴网站推广做网站高端网站制作哪家好
  • 中国住房城乡建设厅网站济南自助建站模板
  • 一个网站的seo优化有哪些网络编程课程
  • 广州哪里有网站开发网站seo课程
  • 网站按城市做分站浙江网站建设哪家权威
  • 网站开发所有工具多大wordpress 菜单分类
  • 网站规划的原则是什么大淘客联盟做网站