上一页 1 ··· 12 13 14 15 16
摘要: 1 查找 php-fpm find / -name init.d.php-fpm /root/php-7.4.4/sapi/fpm/init.d.php-fpm 2 执行 cp /root/php-7.4.4/sapi/fpm/init.d.php-fpm /etc/init.d/php-fpm c 阅读全文
posted @ 2020-07-06 11:01 hubb 阅读(8656) 评论(0) 推荐(1) 编辑
摘要: 中文分词插件 IK 地址 https://github.com/medcl/elasticsearch-analysis-ik 安装 版本号根据自己的elasticsearch 版本保持一致 /usr/share/elasticsearch/bin/elasticsearch-plugin inst 阅读全文
posted @ 2020-07-05 15:54 hubb 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 集群的运行状况 GET /_cat/health?v 获取集群中的节点列表 GET /_cat/nodes?v 列出所有索引 GET /_cat/indices?v 创建索引 指定参数 PUT twitter { "settings" : { "index" : { "number_of_shard 阅读全文
posted @ 2020-07-04 22:59 hubb 阅读(143) 评论(0) 推荐(0) 编辑
摘要: node 与 cluster elasticsearch 本质上是一个分布式数据库,允许多台服务器协同工作,每台服务器可以运行多个elasticsearch 实例 单个 elasticsearch 实例称为一个节点 (node) 一组节点构成一个集群 (cluster) index 索引 elast 阅读全文
posted @ 2020-07-04 17:07 hubb 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1安装 elasticearch jdk 操作系统 centos7.64位 elasticsearch 需要java环境,所有需要提前安装好jdk,我们用 yum 命令进行安装。 yum install -y java 查看是否正确安装 java -version openjdk version " 阅读全文
posted @ 2020-07-04 14:04 hubb 阅读(323) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16