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

泉州自主建站模板怎么做谷歌收录的网站

泉州自主建站模板,怎么做谷歌收录的网站,中文字体设计网站,做网站在哪里做安装elasticsearch rpm包安装 下载地址 https://mirrors.aliyun.com/elasticstack/7.x/yum/7.10.2/ 生成证书 #1.生成CA证书 # 生成CA证书,执行命令后,系统还会提示你输入密码,可以直接留空 cd /usr/share/elasticsearch/bin ./elasticsearch-certutil ca#会在/usr/share/el…

安装elasticsearch

rpm包安装
下载地址
https://mirrors.aliyun.com/elasticstack/7.x/yum/7.10.2/

生成证书

#1.生成CA证书
# 生成CA证书,执行命令后,系统还会提示你输入密码,可以直接留空
cd /usr/share/elasticsearch/bin
./elasticsearch-certutil ca#会在/usr/share/elasticsearch/下生成一个elastic-stack-ca.p12文件
ls -l /usr/share/elasticsearch/
-rw-------. 1 elastic elastic 2527 May 21 14:29 elastic-stack-ca.p12#2.根据elastic-stack-ca.p12文件 生成elastic-certificates.p12
# 生成证书和私钥,系统还会提示你输入密码,你可以输入证书和密钥的密码,也可以留空
cd /usr/share/elasticsearch/
./bin/elasticsearch-certutil cert --ca elastic-stack-ca.p12

把生成的证书放到 /etc/elasticsearch/目录下,并授权

不加认证,启动集群模式

egrep -v “#|^$” /etc/elasticsearch/elasticsearch.yml

cluster.name: es
node.name: es1
path.data: /app/es/data
path.logs: /app/es/log
network.host: 0.0.0.0
node.master: true
node.data: true
discovery.seed_hosts: ["172.17.13.10:9300", "172.17.13.11:9300", "172.17.13.12:9300"]
cluster.initial_master_nodes: ["es1", "es2", "es3"]
discovery.zen.minimum_master_nodes: 2
http.cors.enabled: true
http.cors.allow-origin: "*"
#xpack.security.enabled: true
#xpack.security.transport.ssl.enabled: true
#xpack.security.transport.ssl.verification_mode: certificate
#xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
#xpack.security.transport.ssl.truststore.path: elastic-stack-ca.p12
http.cors.allow-headers: Authorization,X-Requested-With,Content-Length,Content-Type

启动集群,查看状态

curl -XGET  "http://127.0.0.1:9200/_cat/nodes"

添加认证和证书,重启集群

egrep -v “#|^$” /etc/elasticsearch/elasticsearch.yml

cluster.name: es
node.name: es1
path.data: /app/es/data
path.logs: /app/es/log
network.host: 0.0.0.0
node.master: true
node.data: true
discovery.seed_hosts: ["172.17.13.10:9300", "172.17.13.11:9300", "172.17.13.12:9300"]
#cluster.initial_master_nodes: ["es1", "es2", "es3"]
discovery.zen.minimum_master_nodes: 2
http.cors.enabled: true
http.cors.allow-origin: "*"
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: elastic-stack-ca.p12
http.cors.allow-headers: Authorization,X-Requested-With,Content-Length,Content-Type

设置口令

./bin/elasticsearch-setup-passwords interactive

查看集群信息

curl -XGET -u elastic:123456 "http://127.0.0.1:9200/_cluster/health?pretty"
curl -XGET -u elastic:123456 "http://127.0.0.1:9200/_cat/nodes"

kibana

vim /etc/kibana/kibana.yml

server.port: 5601
server.host: 0.0.0.0
elasticsearch.hosts: ["http://192.168.0.11:9200","http://192.168.0.12:9200","http://192.168.0.13:9200"]
xpack.security.enabled: true
kibana.index: ".kibana"
i18n.locale: "zh-CN"
elasticsearch.username: "elastic"
elasticsearch.password: "123456"
http://www.yayakq.cn/news/630123/

相关文章:

  • 游戏币网站建设温州品牌推广
  • 郑州网站建设案例wordpress 头部导航栏
  • 网站源码获取在线购物商城系统
  • 做的网站显示不了背景图片广州冼村属于哪个区
  • wordpress 网站 注册wordpress 投稿 加标签
  • 潍坊建设企业网站wordpress模板展示网站
  • 济南公司网站建设公司哪家好拼多多网站的类型
  • 网站建设规划书300字上海人才网招聘网最新招聘
  • 廊坊门户网站网络服务电话
  • 公司建设门户网站的总结烟台开发区网站
  • 如何在vps上建设网站河北省城乡规划建设局官方网站
  • wordpress动漫网站微信小程序是什么意思?有什么用
  • 网站自主制作平台国内app开发公司
  • 网站备案要phpcms wordpress比较
  • 西安高端网站定制工作总结2023年个人
  • 厦门网站开发招聘网页编辑的软件
  • 徐州网站开发柳州专业网站推广公司
  • 大连网络建站公司分析商标免费设计
  • 域名命名网站网站名字词
  • 做网站建设有哪些公司哪个公司的手机网络最好
  • 门户网站的布局游戏直播网站怎么做的
  • 中山哪家做网站好wordpress 不同页面不同侧边栏
  • 惠城网站建设费用惠州seo排名优化
  • 四川企业seo推广优化设计三年级下册数学答案
  • 江西中恒建设集团有限公司网站wordpress 网膜
  • 警惕网站免费看手机的品质网站建设
  • dw手机网站怎么做华宇万户网络
  • 中劵资本集团股票交易网站建设中Wordpress会员充值积分
  • 做网站如何宣传网站图片处理方案
  • 百度注册网站怎么弄网站正在维护中