Installation elasticsearch, kibana, open external network access, always fail, pit ah.
After two days off of hard work, finally get, recorded as follows:
kibana open external network access
1) Modify server.host ip address of the machine-
vim /etc/kibana/kibana.yml
2) disable the firewall
Check the status of: firewall-cmd --state
Turn off the firewall: systemctl stop firewalld
ElasticSearch open external network access
This is the most troublesome, the Internet, said positive relaxed, the back of the network.host localhost change 0.0.0.0 ok, but I changed after 0.0.0.0, ElasticSearch directly not start up.
Check the log to see ElasticSearch
We find the following error
Depending on the error search I found this article: https://blog.csdn.net/x_i_xw/article/details/81256363
Add the following two lines in elasticsearch.yml
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
After the restart elasticsearch, problem solving, can already be accessed via the Internet.