Elasticsearch 6.5.3 安装错误日志记录

版权声明:转载请注明出处,码字不易,且转切珍惜 https://blog.csdn.net/weixin_40165004/article/details/88044287

安装Elasticsearch环境的道路很漫长,一边爬坑一边跳坑。遇到了很多错误,特此记录。

1.Elasticsearch配置出错。

错误截图如下:

解决方案:

使用root账户登录,修改/etc/security/limits.d/20-nproc.conf

命令:

vi /etc/security/limits.d/20-nproc.conf

修改内容:

* soft nproc 2048

#修改为

* soft nproc 4096

修改完成后,注销账户,重新登录

运行结果:

Yes,没有错误了,就是一堆提示警告信息。

2.安装node.js中 grunt 工具出错解决日志

使用Root账户也有错:

尝试安装npm来解决报错问题:

安装成功,测试显示版本信息:

安装grunt


测试安装成功

 

查找路径 语句,whereis

3.Nodejs yum安装总结:

安装命令:

curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -

Yum安装

命令:

yum install -y nodejs

安装grunt  命令:

Npm install -g grunt-cli

 

安装成功检测

命令:

node -v

Npm -v

Grunt -version

4. Head插件安装

git clone git://github.com/mobz/elasticsearch-head.git

cd elasticsearch-head

npm install

npm run start

 

在浏览器中打开: http://localhost:9100/

5.修改静态IP后不能联网问题解决记录

安装成功报错解决

以上就是我曾经摸过的坑,在此记录一下,请各位大神指教!

猜你喜欢

转载自blog.csdn.net/weixin_40165004/article/details/88044287