目录
1. 下载streamx安装包
2. 数据库准备
3. 启动streamx
4. 参考资料
1. 下载streamx安装包
Release v1.2.0 release · streamxhub/streamx · GitHub
上传服务器/work/flink/streamx_dir并解压
tar -zxvf streamx-console-service-1.2.1-bin.tar.gz
2. 数据库准备
cd /work/flink/streamx_dir/streamx-console-service-1.2.1/conf
修改mysql配置
cd /work/flink/streamx_dir/streamx-console-service-1.2.1/conf
注意:1.2.1版本之前系统会自动建库和表,由于我们使用的是1.2.1版本,因此我们需要指定数据库链接,并手动建库、建表。
mysql> create database streamx; Query OK, 1 row affected (0.01 sec) mysql> use streamx; Database changed mysql> source /work/flink/streamx_dir/streamx-console-service-1.2.1/script/final/v1.2.1.sql
3. 启动streamx
cd /work/flink/streamx_dir/streamx-console-service-1.2.1/bin
[root@vm01 bin]# ./startup.sh
.+.
_____/ /_________ ____ _____ ___ _ __
/ ___/ __/ ___/ _ / __ `/ __ `__ | |/_/
(__ ) /_/ / / __/ /_/ / / / / / /> <
/____/__/_/ ___/__,_/_/ /_/ /_/_/|_|
|/
.
• WebSite: http://www.streamxhub.com
• GitHub : http://github.com/streamxhub/streamx
• Gitee : http://gitee.com/streamxhub/streamx
──────── Make Flink|Spark easier ô‿ô!
[StreamX] Using APP_base: /work/flink/streamx_dir/streamx-console-service-1.2.1
[StreamX] Using APP_HOME: /work/flink/streamx_dir/streamx-console-service-1.2.1
[StreamX] Using JRE_HOME: /work/jdk/jdk1.8.0_271/jre
[StreamX] Using APP_PID: /work/flink/streamx_dir/streamx-console-service-1.2.1/.pid
[StreamX] Usage: properties file:application.yml
[StreamX] WARN: HADOOP_HOME is undefined on your system env,please check it.
[StreamX] StreamX start successful. pid: 44112
浏览器访问
vm01:10000
默认登录账号 admin/streamx
4. 参考资料
平台部署 | StreamXhttps://github.com/streamxhub/streamx/releases



