-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install es on Mac #4
Comments
在 Mac 上装了 Java7 之后, chrome 就不能运行 Java 了,可能导致一些 applet 不能用(可能一些银行网站会受影响?)
不管他,实在不行用 safari,这些狗屎的落后技术。 |
显然我需要安装 java7:
打开 terminal,看起来不太对劲
重启了一下,还是一样,而且试了一下 chrome 用 boc.cn 也还可以用 但是用 safari 打开:https://www.java.com/en/download/help/mac_install.xml |
运行
|
启动应用,试图去使用搜素功能,报错:
terminal 里去运行 es 报错:
看来目前依然是 java6 (1.6 就是 6? YES)
终于在 system preference 下找到 java7 的安装位置了:http://java.com/en/download/faq/java_mac.xml#version,原来在 但是直接把这个 path 导出成 JAVA_HOME 依然是不灵的:
|
其实是可以的,上面 export 时,最后多了
这时命令行执行 |
现在再去执行搜索,报错
解决方法:要”索引数据“,参考:http://happycasts.github.io/ep/elasticsearch-setup/ |
好,现在 es 可以工作了。 |
重启机器, es 没有起来。es 本身的 plist 已经加载了,所以看来是 java7 没有加载。
ADD TO ~/.zshrc. 也还是不行。 需要一种开机就加载 java 的方式。先不折腾了,启动机器后,打开终端,自己起一下 es 就能用了。
|
thanks for sharing |
@chiehwen You're welcome |
then I see
The text was updated successfully, but these errors were encountered: