es7安装

es7需要linux内核要4.0以上

https://jingyan.baidu.com/article/4e5b3e197cdab4d0901e24ff.html

安装docker

​​​​​​Ubuntu Docker 安装 | 菜鸟教程
systemctl start docker

vim /etc/security/limits.conf

* soft nofile 65536
* hard nofile 65536
* soft noproc 65536
* hard noproc 65536
 

vim /etc/sysctl.conf

net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1200
net.ipv4.tcp_keepalive_probes = 3
net.ipv4.tcp_keepalive_intvl = 15
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_max_tw_buckets = 5000
net.ipv4.tcp_max_syn_backlog = 8192
net.ipv4.route.gc_timeout = 100
net.ipv4.tcp_syn_retries = 1
net.ipv4.tcp_synack_retries = 1
net.ipv4.tcp_timestamps = 0
vm.max_map_count = 655360


sysctl -p
 

docker pull elasticsearch:7.6.2
docker run --name=es -d -p 9200:9200 -p 9300:9300 -e --restart=always -e "discovery.type=single-node" elasticsearch:7.6.2

systemctl restart docker

docker container ls

docker ps -a

docker start es

docker logs -f es

curl http://localhost:9200

curl http://localhost:9200/_cat/nodes

安装kibana

docker pull kibana:7.6.2

docker run -it -d --name kibana --link es:es -p 5601:5601 kibana:7.6.2

docker exec -u 0 -it f8f9f1acb3de /bin/bash

yum update
yum upgrade

yum install vim
su - kibana  

#docker exec -it f8f9f1acb3de /bin/bash

cd config

vi kibana.yml 

#192.168.81.222

 docker restart kibana
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值