既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!
由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新
volumes:
- "/home/docker/volumes/prq_data/_data/elasticsearch_data/plugins:/usr/share/elasticsearch/plugins"
- "/home/docker/volumes/prq_data/_data/elasticsearch_data/data:/usr/share/elasticsearch/data"
- "/home/docker/volumes/prq_data/_data/elasticsearch_data/logs:/usr/share/elasticsearch/logs"
- "/etc/localtime:/etc/localtime"
- "/etc/timezone:/etc/timezone"
ports:
- 9200:9200
- 9300:9300
kibana:
image: “kibana:7.9.0”
container_name: “kibana”
restart: always
depends_on:
- elasticsearch
environment:
ELASTICSEARCH_HOSTS: http://10.194.17.106:9200
I18N_LOCALE: zh-CN
ports:
- 5601:5601
libreoffice:
image: “libreoffice/online:latest”
container_name: “libreoffice”
ports:
- “9980:9980”
restart: always
privileged: true
volumes:
- “/etc/localtime:/etc/localtime”
- “/etc/timezone:/etc/timezone”
- “/home/docker/volumes/prq_data/_data/libreoffice_data/loolwsd.xml:/etc/loolwsd/loolwsd.xml”
environment:
- domian=domain.com
- username=admin
- password=123456
cap_add:
- MKNOD
##### install.sh脚本
#!/bin/bash
echo “current shell execute direcoty:pwd
”
updatedb
path=dirname $variable_path
echo “swich direcoty to prq shell directory:${path}”
cd ${path}
pwd
image_home=“./images”
image_kibana=“kibana-7.9.0.tar.gz”
image_libreoffice=“libreoffice-online.tar.gz”
image_es=“elasticsearch-7.9.0.tar.gz”
prq文件映射路径 prq_data_path
prq_data_path=“/home/docker/volumes/prq_data/_data”
echo “Loading docker images …”
docker load -i
i
m
a
g
e
h
o
m
e
/
{image_home}/
imagehome/{image_es}
docker load -i
i
m
a
g
e
h
o
m
e
/
{image_home}/
imagehome/{image_libreoffice}
docker load -i
i
m
a
g
e
h
o
m
e
/
{image_home}/
imagehome/{image_kibana}
echo “Creating volumes …”
docker volume create prq_data
echo “preparing for envrionment …”
mkdir -vp ${prq_data_path}/elasticsearch_data/plugins/ik ${prq_data_path}/elasticsearch_data/data ${prq_data_path}/elasticsearch_data/logs ${prq_data_path}/elasticsearch_data/config
cp ${image_home}/elasticsearch-analysis-ik-7.9.0.zip ${prq_data_path}/elasticsearch_data/plugins/ik
cd ${prq_data_path}/elasticsearch_data/plugins/ik
unzip elasticsearch-analysis-ik-7.9.0.zip
cd ${path}
mkdir -vp ${prq_data_path}/libreoffice_data/
chmod -R 777 ${prq_data_path}/libreoffice_data
echo “>>> copy config file to destination location start <<<”
cp conf/loolwsd.xml ${prq_data_path}/libreoffice_data/
echo “>>> config file copy finished <<<”
echo “grant permisssion …”
chmod 777 -R ${prq_data_path}
sysctl vm.overcommit_memory=1
echo "===Starting containers… "
echo “=creating other containers …=======”
docker-compose -f compose-prq-es.yml up -d
可以看到,我们需要用到的目录为:
`config`:配置文件
`data`:数据存储的目录
`plugins`:插件的目录,目前我们放入IK的分词插件,需要将elasticsearch-analysis-ik-7.9.0.zip在`plugins/ik目录下解压`
测试 显示如下页面则成功了,安装的ip:port
![](https://img-blog.csdnimg.cn/direct/a3ecde6037cf48cfb1d1d314f5f8b391.png)
![](https://img-blog.csdnimg.cn/direct/1af9214d48aa416f97916911743991a9.png)
ik安装成功
![](https://img-blog.csdnimg.cn/direct/4722fd28bfc445099c69069b14b409ca.png)
![](https://img-blog.csdnimg.cn/direct/1b731461902a4149a68163261881c51d.png)
或者用postman测试ik是否安装成功
![](https://img-blog.csdnimg.cn/direct/7125fdeff1834e069fdc7b03c8fb8104.png)
![](https://img-blog.csdnimg.cn/direct/4be37028a7474aa78d2f19e9193797ef.png)
两个postman不同点是多了分词器analyzer,不加分词器,默认是standand,即一个字一个字解析。
ik分词器模式介绍
![img](https://img-blog.csdnimg.cn/img_convert/dcb4b87dcd4562ba208095b6d5893a22.png)
![img](https://img-blog.csdnimg.cn/img_convert/7a1fddecb05c75bad724ce5b13572381.png)
![img](https://img-blog.csdnimg.cn/img_convert/2bdb1c1bbb59ccbe98ffb58fe24fff33.png)
**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!**
**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**
**[需要这份系统化资料的朋友,可以戳这里获取](https://bbs.csdn.net/topics/618545628)**
以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!**
**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**
**[需要这份系统化资料的朋友,可以戳这里获取](https://bbs.csdn.net/topics/618545628)**