StreamSets3.9.1安装说明


#1新建账号 streamsets
useradd streamsets
passwd streamsets
输入密码: streamsets

#1上传并解压streamsets-datacollector-core-3.9.1.tgz
[streamsets@cdhagent2 streamsets-datacollector-3.9.1]$ tar -zxvf streamsets-datacollector-core-3.9.1.tgz

#异常,文件上限
Configuration of maximum open file limit is too low: 1024 (expected at least 32768)
[root@cdhagent2 ~]#  vi /etc/security/limits.conf
sdc soft nofile     32768
sdc hard nofile     32768

[root@cdhagent2 ~]# vi /etc/profile
ulimit -HSn 32768

[root@cdhagent2 ~]# source /etc/profile

#2 启动服务
[streamsets@cdhagent2 streamsets-datacollector-3.9.1]$ cd /home/streamsets/streamsets-datacollector-3.9.1
[streamsets@cdhagent2 streamsets-datacollector-3.9.1]$ nohup ./bin/streamsets dc 2>&1 &

#3 服务地址
http://192.192.0.27:18630/

账号: admin
密码: admin


#4 新增Mysql binlog的资源包与驱动

#通过网页端Package Manager进行安装,安装后可查看对应生成的目录
[streamsets@cdhagent2 streamsets-datacollector-3.9.1]$ cd streamsets-libs
[streamsets@cdhagent2 streamsets-libs]$cd streamsets-datacollector-mysql-binlog-lib


Install RPM:
$ tar xf streamsets-datacollector-3.9.1-[operating system]-all-rpms.tar
$ yum localinstall streamsets*.rpm

Run Data Collector on an EL6 operating system:
$ service sdc start

Run Data Collector on an EL7 operating system:
$ systemctl start sdc

Browse to http://localhost:18630/

The default username and password are “admin” and “admin”.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM