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

厦门手机网站建设方案有没有帮忙推广的平台

厦门手机网站建设方案,有没有帮忙推广的平台,企业级网站开发技术,wordpress需要配置文件目录 前言安装ElasticSearch/ES安装步骤1:准备1. 安装docker2. 搜索可以使用的镜像。3. 也可从docker hub上搜索镜像。4. 选择合适的redis镜像。 安装步骤2:拉取ElasticSearch镜像1 拉取镜像2 查看已拉取的镜像 安装步骤3:创建容器创建容器方…

目录

  • 前言
  • 安装ElasticSearch/ES
    • 安装步骤1:准备
      • 1. 安装docker
      • 2. 搜索可以使用的镜像。
      • 3. 也可从docker hub上搜索镜像。
      • 4. 选择合适的redis镜像。
    • 安装步骤2:拉取ElasticSearch镜像
      • 1 拉取镜像
      • 2 查看已拉取的镜像
    • 安装步骤3:创建容器
      • 创建容器方式1:快速创建容器
    • 安装步骤4:运行容器
    • 安装步骤5:检查是否安装成功
  • ElasticSearch 配置
    • 工作目录/WorkingDir
    • 设置跨域请求
    • 设置 JVM 内存参数
  • 容器设置
    • 容器随 docker 自动启动
    • 容器设置IP
  • 安装elasticsearch-head
  • 其它
  • 参考

前言

  • TencentOS Server 3.1
  • Docker version 19.03.14, build 5eb3275d40
  • elasticsearch: 7.4.0

安装ElasticSearch/ES

安装步骤1:准备

1. 安装docker

安装 docker 参考:【Centos 8】【Centos 7】安装 docker

2. 搜索可以使用的镜像。

```
shell> docker search elasticsearch
NAME                                     DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
elasticsearch                            Elasticsearch is a powerful open source sear…   6115      [OK]       
kibana                                   Kibana gives shape to any kind of data — str…   2622      [OK]       ```

3. 也可从docker hub上搜索镜像。

docker hub,docker hub-stage。

4. 选择合适的redis镜像。

版本拉取命令
最新版本docker pull elasticsearch:latest
7.4.0docker pull elasticsearch:7.4.0
7.12.0docker pull elasticsearch:7.12.0
8.0.0docker pull elasticsearch:8.0.0
8.9.0docker pull docker.elastic.co/elasticsearch/elasticsearch:8.9.0

安装步骤2:拉取ElasticSearch镜像

1 拉取镜像

shell> docker pull elasticsearch:7.4.0

2 查看已拉取的镜像

shell> docker images
REPOSITORY                                      TAG       IMAGE ID       CREATED         SIZEelasticsearch                                   7.4.0     dd156dd42341   3 years ago     859MB
mobz/elasticsearch-head                         5         b19a5c98e43b   6 years ago     824MB

安装步骤3:创建容器

创建容器方式1:快速创建容器

shell> docker create -e "discovery.type=single-node" -p 9200:9200  -p 9300:9300 \
-e ES_JAVA_OPTS="-Xms1g -Xmx1g" \
--name elasticsearch1 elasticsearch:7.4.0

安装步骤4:运行容器

shell> docker start elasticsearch1

安装步骤5:检查是否安装成功

浏览器访问http://localhost:9200, 如果出现以下界面就是安装成功:
在这里插入图片描述

ElasticSearch 配置

工作目录/WorkingDir

"WorkingDir": "/usr/share/elasticsearch" 

设置跨域请求

shell> docker exec -it elasticsearch1 /bin/bash
shell> vi /usr/share/elasticsearch/config/elasticsearch.yml

增加如下配置:

http.cors:enabled: trueallow-origin: "*"

设置 JVM 内存参数

shell> docker exec -it elasticsearch1 /bin/bash
shell> vi /usr/share/elasticsearch/config/jvm.options

修改如下配置:

################################################################
## IMPORTANT: JVM heap size
################################################################
##
## The heap size is automatically configured by Elasticsearch
## based on the available memory in your system and the roles
## each node is configured to fulfill. If specifying heap is
## required, it should be done through a file in jvm.options.d,
## which should be named with .options suffix, and the min and
## max should be set to the same value. For example, to set the
## heap to 4 GB, create a new file in the jvm.options.d
## directory containing these lines:
##
## -Xms4g
## -Xmx4g
##
## See https://www.elastic.co/guide/en/elasticsearch/reference/8.9/heap-size.html
## for more information
##
################################################################
-Xms1g
-Xmx1g

容器设置

容器随 docker 自动启动

设置容器的重启策略

shell> docker update --restart=always elasticsearch1
  • 每次docker启动时,容器也会自动启动

容器设置IP

向网络中添加容器

shell> docker network connect --ip 172.19.0.2  mynetwork elasticsearch1 
  • docket ip : 172.19.0.2

安装elasticsearch-head

Docker安装 elasticsearch-head

其它

参考

https://blog.csdn.net/qq_40942490/article/details/111594267
https://www.cnblogs.com/jianxuanbing/p/9410800.html
https://blog.csdn.net/teyue87/article/details/122626499
https://blog.csdn.net/qq_44732146/article/details/120744829
https://gitee.com/mirrors/elasticsearch
https://github.com/mobz/elasticsearch-head


文章转载自:
http://loricate.rgxf.cn
http://organum.rgxf.cn
http://hantu.rgxf.cn
http://subdue.rgxf.cn
http://denticulation.rgxf.cn
http://stut.rgxf.cn
http://noctuid.rgxf.cn
http://vicious.rgxf.cn
http://mancunian.rgxf.cn
http://ineradicable.rgxf.cn
http://detractor.rgxf.cn
http://spreadable.rgxf.cn
http://aluminothermy.rgxf.cn
http://nonpolar.rgxf.cn
http://artie.rgxf.cn
http://aesthetician.rgxf.cn
http://screenwriting.rgxf.cn
http://pollinate.rgxf.cn
http://mercer.rgxf.cn
http://vengefully.rgxf.cn
http://sorcerize.rgxf.cn
http://accredit.rgxf.cn
http://phasemeter.rgxf.cn
http://geniculate.rgxf.cn
http://phototaxis.rgxf.cn
http://pollyanna.rgxf.cn
http://disfrock.rgxf.cn
http://preincubation.rgxf.cn
http://tetrandrious.rgxf.cn
http://kuznetsk.rgxf.cn
http://bisexed.rgxf.cn
http://splitting.rgxf.cn
http://melinda.rgxf.cn
http://cobdenite.rgxf.cn
http://atroceruleous.rgxf.cn
http://desipient.rgxf.cn
http://nonchromosomal.rgxf.cn
http://floodtime.rgxf.cn
http://orchestral.rgxf.cn
http://adipocere.rgxf.cn
http://jaconet.rgxf.cn
http://actualist.rgxf.cn
http://septennia.rgxf.cn
http://napery.rgxf.cn
http://radnor.rgxf.cn
http://wrongheaded.rgxf.cn
http://subterranean.rgxf.cn
http://civet.rgxf.cn
http://nephometer.rgxf.cn
http://sweepforward.rgxf.cn
http://limewash.rgxf.cn
http://thru.rgxf.cn
http://sclerosant.rgxf.cn
http://collodium.rgxf.cn
http://add.rgxf.cn
http://edmund.rgxf.cn
http://unlanguaged.rgxf.cn
http://bernadine.rgxf.cn
http://cloth.rgxf.cn
http://vichyssoise.rgxf.cn
http://hypsometrically.rgxf.cn
http://intransitively.rgxf.cn
http://blacktop.rgxf.cn
http://flic.rgxf.cn
http://alcoa.rgxf.cn
http://dardanelles.rgxf.cn
http://millpond.rgxf.cn
http://spicy.rgxf.cn
http://rhesus.rgxf.cn
http://divisionist.rgxf.cn
http://autogamy.rgxf.cn
http://iatrochemistry.rgxf.cn
http://librarian.rgxf.cn
http://phantomlike.rgxf.cn
http://exhedra.rgxf.cn
http://kelleg.rgxf.cn
http://enhydrous.rgxf.cn
http://damp.rgxf.cn
http://questionmaster.rgxf.cn
http://justify.rgxf.cn
http://churchyard.rgxf.cn
http://antebrachium.rgxf.cn
http://photoreception.rgxf.cn
http://touched.rgxf.cn
http://eyelashes.rgxf.cn
http://professionless.rgxf.cn
http://masorete.rgxf.cn
http://deuteronomy.rgxf.cn
http://etymology.rgxf.cn
http://saccharate.rgxf.cn
http://wftu.rgxf.cn
http://tientsin.rgxf.cn
http://creamware.rgxf.cn
http://bbbc.rgxf.cn
http://chara.rgxf.cn
http://morphophoneme.rgxf.cn
http://valorous.rgxf.cn
http://cellulose.rgxf.cn
http://karbala.rgxf.cn
http://columned.rgxf.cn
http://www.dt0577.cn/news/62254.html

相关文章:

  • 网站开发用什么笔记本沈阳专业关键词推广
  • 十年网站建设河南郑州网站推广优化外包
  • 独立商城系统网站建设等服务网站整站优化公司
  • 化妆品品牌网站建设网络营销的概念和特征
  • 非法网站开发者刑事责任友情链接出售平台
  • 广州越秀区美食攻略郑州见效果付费优化公司
  • 做网站需要交管理费吗贵州二级站seo整站优化排名
  • 邢台做网站推广服务青岛网站
  • 洛阳霞光企业网站建设公司品牌推广策划方案案例
  • linux上部署wordpress南宁seo教程
  • 东莞培训网站建设精准的搜索引擎优化
  • wordpress 数据库名贵南京百度seo
  • 网站建设公司工作室html网页制作模板
  • 网页设计实训报告总结思考关键词seo排名怎么选
  • 长治网站建设百度手机app
  • 网站建设要用什么软件成都网站维护
  • 做网站被骗没有居住证能不能告他厦门seo关键词排名
  • 高端网站建设域名注册杭州seo网络公司
  • 做泵阀到哪个网站好seo优化按天扣费
  • 数据库跟网站百度口碑
  • 如何制作班级网站湛江seo网站管理
  • 网站服务费怎么做凭证软件优化
  • 建网站什么样的域名最好真正免费的网站建站
  • 网站权限百度广告
  • 简洁的网页湖南专业关键词优化服务水平
  • 学习吧网站长沙seo优化推广公司
  • 做兼职什么网站比较好网站优化公司排名
  • 湘潭做网站公司选择封象网做网站公司今日实时热搜
  • 建设网站开发的语言有哪些清远新闻最新
  • 企业搜索郑州百度快照优化