Kibana 7.11安装部署

下载地址:https://www.elastic.co/cn/downloads/kibana

在这里插入图片描述

1.解压

tar -zxvf kibana-7.11.1-linux-x86_64.tar.gz

2.kibana.yml配置

vim config/kibana.yml

在这里插入图片描述

Kibana设置中文页面
i18n.locale: "zh-CN"

在这里插入图片描述

3.启动

后台启动脚本
在kibana安装目录下bin目录下面新建run.sh脚本

在这里插入图片描述

#!/bin/sh

nohup ./kibana &
# 修改权限
chmod 755 run.sh

Elasticsearch是不能用root用户启动的,
我们需要重新创建一下用户

# 1.创建用户
useradd jack
# 2.查看用户
vim /etc/passwd
# 3.给新建的用户权限
chown -R jack /usr/
# 4.切换用户 su是switch user缩写
su jack
# 5.启动kibana(目录对应好,此时在/usr/local/kibana-7.11.1-linux-x86_64/bin下面)
./run.sh

查看端口是否运行
fuser -n tcp 5601

在这里插入图片描述

访问网址: http://1x.xxx.xxx.xxx:5601/

在这里插入图片描述

4.报错

如果你的服务器是CentOS7 应该不会出现下面问题
如果是CentOS6 需要升级一下即可

./../node/bin/node: /lib64/libc.so.6: version `GLIBC_2.16' not found (required by ./../node/bin/node)
./../node/bin/node: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by ./../node/bin/node)
./../node/bin/node: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./../node/bin/node)
./../node/bin/node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by ./../node/bin/node)
./../node/bin/node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by ./../node/bin/node)
./../node/bin/node: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by ./../node/bin/node)
./../node/bin/node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./../node/bin/node)

4.1 解决libc.so.6:

参考链接:https://blog.csdn.net/huaishuming/article/details/102900254
下载:https://ftp.gnu.org/gnu/glibc/glibc-2.17.tar.gz

tar -zxvf glibc-2.17.tar.gz
cd glibc-2.15
mkdir build; 
cd build
../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
make -j 8
make  install

# 查看是否安装成功
strings /lib64/libc.so.6 | grep GLIBC

4.2 解决libstdc++.so.6

参考链接: https://blog.csdn.net/xiguatony/article/details/108507498
下载http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/

tar -zxvf gcc-8.3.0.tar.gz
cd gcc-8.3.0/ 
chmod +x ./contrib/download_prerequisites
./contrib/download_prerequisites
mkdir build
cd build
chmod +x ../configure
../configure --enable-checking=release --enable-languages=c,c++ --disable-multilib
chmod +x ../move-if-change
chmod +x ../libgcc/*.sh
make && make install
cp /usr/local/lib64/libstdc++.so.6.0.25 /usr/lib64
cd /usr/lib64
rm -rf libstdc++.so.6
ln -s libstdc++.so.6.0.25 libstdc++.so.6

# 检测动态库
strings /usr/lib64/libstdc++.so.6 | grep GLIBC

node -v
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Jack魏

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值