安装 Elasticsearch

  1. 安装Elasticsearch按照社区 修改了Homestead.yaml的配置
    elasticsearch: 6
  2. 重启
    vagrant reload --provision
    vagrant ssh
  3. 启动sudo systemctl restart elasticsearch.service

    遇到报错: Failed to restart elasticsearch.service: Unit elasticsearch.service not found.

    请问怎么解决,弄了好久,是我没有安装elasticsearch吗? 我安装homestead是跟着社区的步骤走的

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
liyu001989
最佳答案

视频里面用的是 开发环境搭建 - MacOS 这个box。

不过你可以自己安装 https://www.elastic.co/guide/en/elasticsea...

5年前 评论
讨论数量: 4
liyu001989

启用 Elasticsearch

这个 box 里面有 Elasticsearch,可以直接使用。使用 homestead 提供的 Elasticsearch 确保一下你的网络没问题。或者你考虑一下跟着 Elasticsearch 的文档手动安装

5年前 评论

@liyu001989 您好,我使用的box 是: laravel/homestead (virtualbox, 7.0.0)
这个里面也有自带 Elasticsearch 吗? 可是我看到端口9200没有开启的,启动也是失败的
失败报错命令: Failed to restart elasticsearch.service: Unit elasticsearch.service not found.

5年前 评论
liyu001989

视频里面用的是 开发环境搭建 - MacOS 这个box。

不过你可以自己安装 https://www.elastic.co/guide/en/elasticsea...

5年前 评论

@liyu001989 谢谢 按照视频教程,顺利安装成功了

5年前 评论
logic 4年前

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!