背景
安装了core版本,但是其他的包都不能在使用的时候正常安装,所以下载完整版。
参考
https://blog.csdn.net/macalzheng/article/details/105757679
准备
--虚拟机控件30G,默认的20G无法安装
--安装jdk
https://www.cnblogs.com/xuliangxing/p/7066913.html
--安装curl
(为安装驱动做准备)
curl安装
https://www.cnblogs.com/weifeng1463/p/10740251.html
--配置环境参数
[maxiu@zhumei00 ~]$ sudo vi /etc/security/limits.conf
添加下述内容(maxiu为用户名),该步骤需要重启
-
root hard nofile 32768
-
root soft nofile 32768
--虚拟机开机关闭防火墙
systemctl disable firewalld.service
下载安装包
https://streamsets.com/products/dataops-platform/data-collector/download/
下载了3.17,5.62G,用迅雷下载
安装
解压
tar xf streamsets-datacollector-3.17.0-el7-all-rpms.tar
共解压出74个文件
tar -jxvf 待解压的文件 能看到解压的过程
安装
yum localinstall streamsets*.rpm
启动
systemctl start sdc
访问
http://<hostname>:18630/
登录默认用户密码为:admin/admin。
出错:
tail -100f /var/log/sdc/sdc.log
解决
原因排查,以上日志中的问题是因为网络原因。在网络好的情况下,能够不报错正常启动。
日志查询不再报错的情况下,如果网页打不开的排查:
- 虚拟机 links
- 网页不正常 网页telnet
- 检查防火墙,要用centos7匹配的开机关闭命令。错误原因是:防火墙命令没有禁止,检测是否开启,用了非centos7的命令