sed -n '/^#network/p' /etc/elasticsearch/elasticsearch.yml
sed -i '/^#network.host/s/.\*/network.host: 0.0.0.0/' /etc/elasticsearch/elasticsearch.yml
sed -n '/^network.host/p' /etc/elasticsearch/elasticsearch.yml
2.3.启动服务
sudo systemctl daemon-reload
sudo systemctl enable elasticsearch.service
sudo systemctl start elasticsearch.service
2.4.配置elastic的自定义密码
执行命令按y确认后输入自定义的elastic的密码
/usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic -i
2.5.获取kibana的token
/usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana
2.6.检查 Elasticsearch 是否在运行
sudo curl --cacert /etc/elasticsearch/certs/http_ca.crt -u elastic:密码 https://localhost:9200/_cluster/health?pretty
2.7.安全配置参考链接
https://blog.csdn.net/UbuntuTouch/article/details/120568128?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522170546061616800188533934%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=170546061616800188533934&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2blogfirst_rank_ecpm_v1~rank_v31_ecpm-3-120568128-null-null.nonecase&utm_term=tls&spm=1018.2226.3001.4450
https://blog.csdn.net/UbuntuTouch/article/details/119249865?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522170546061616800188533934%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=170546061616800188533934&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2blogfirst_rank_ecpm_v1~rank_v31_ecpm-4-119249865-null-null.nonecase&utm_term=tls&spm=1018.2226.3001.4450
https://blog.csdn.net/UbuntuTouch/article/details/105636302?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522170546061616800188533934%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=170546061616800188533934&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2blogfirst_rank_ecpm_v1~rank_v31_ecpm-6-105636302-null-null.nonecase&utm_term=tls&spm=1018.2226.3001.4450
https://www.elastic.co/cn/blog/getting-started-with-elasticsearch-security
https://www.elastic.co/cn/blog/tips-to-secure-elasticsearch-clusters-for-free-with-encryption-users-and-more
https://blog.csdn.net/UbuntuTouch/article/details/130643942?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522170548090016800225550299%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=170548090016800225550299&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2blogfirst_rank_ecpm_v1~rank_v31_ecpm-25-130643942-null-null.nonecase&utm_term=tls&spm=1018.2226.3001.4450
https://blog.csdn.net/UbuntuTouch/article/details/132163344?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522170548090016800225550299%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=170548090016800225550299&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2blogfirst_rank_ecpm_v1~rank_v31_ecpm-26-132163344-null-null.nonecase&utm_term=tls&spm=1018.2226.3001.4450
https://elasticstack.blog.csdn.net/article/details/130247908
https://elasticstack.blog.csdn.net/article/details/126868040
https://elasticstack.blog.csdn.net/article/details/129107566
3.Kibana
3.1.Kibana安装
wget https://artifacts.elastic.co/downloads/kibana/kibana-8.4.3-x86_64.rpm
shasum -a 512 kibana-8.4.3-x86_64.rpm
sudo rpm --install kibana-8.4.3-x86_64.rpm
3.2.修改配置文件
在默认的情况下 Kibana 绑定于 localhost。为了能让 Kibana 在外网进行访问,我们可以修改 kibana.yml 配置文件:
vim /etc/kibana/kibana.yml 将server.host修改为"0.0.0.0"
sed -n '/^#server.host/p' /etc/kibana/kibana.yml
sed -i '/^#server.host/s/.\*/server.host: 0.0.0.0/' /etc/kibana/kibana.yml
sed -n '/^server.host/p' /etc/kibana/kibana.yml
启动服务
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable kibana.service
sudo /bin/systemctl start kibana.service
获取kibana-verification-code
/usr/share/kibana/bin/kibana-verification-code
**自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。**
**深知大多数大数据工程师,想要提升技能,往往是自己摸索成长或者是报班学习,但对于培训机构动则几千的学费,着实压力不小。自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!**
**因此收集整理了一份《2024年大数据全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友。**
![img](https://img-blog.csdnimg.cn/img_convert/0418767757dc62799f24f8f92980d7cb.png)
![img](https://img-blog.csdnimg.cn/img_convert/6ca9df172abf425fe77d81fe3772c5a2.png)
![img](https://img-blog.csdnimg.cn/img_convert/762d14b4c9fab4e6f1feef307dc58d8b.png)
![img](https://img-blog.csdnimg.cn/img_convert/d9e6d1943cf0c183ca1c9db8ba9086fe.png)
![img](https://img-blog.csdnimg.cn/img_convert/0f84558abb35c198ba6e45d79deb51b4.png)
**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上大数据开发知识点,真正体系化!**
**由于文件比较大,这里只是将部分目录大纲截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且后续会持续更新**
**如果你觉得这些内容对你有帮助,可以添加VX:vip204888 (备注大数据获取)**
![img](https://img-blog.csdnimg.cn/img_convert/20e2f8ca30510c8a779e0f52430ec802.png)
**一个人可以走的很快,但一群人才能走的更远。不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎扫码加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!**
2959752124)]
**一个人可以走的很快,但一群人才能走的更远。不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎扫码加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!**