最赞回答 / 慕圣8088645
你用root用户执行一下 yum install git npm,安装一下就好了,node -v是看node.js的版本,head插件通过grunt启动,而grunt是基于Node.js的构建工具.
2018-05-23
最赞回答 / 沧海逝月
client.addTransportAddress(new TransportAddress(InetAddress.getByName("127.0.0.1"), 9300));直接用这个https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/transport-client.html
2018-04-20