Docker部署系列:数据集成工具KettleWeb

本文介绍如何使用Docker部署并配置Kettle Web应用,包括拉取镜像、启动容器、实现中文环境配置等步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

# 拉取镜像
docker pull hiromuhota/webspoon

# 启动镜像
docker run -d --name kettle-web -p 8080:8080 hiromuhota/webspoon 

# 测试访问
http://192.168.5.11:8080/spoon/spoon

#配置中文化(root权限)
docker exec -it -u 0 kettle-web /bin/bash

# 清空/etc/apt/sources.list文件
echo > /etc/apt/sources.list

echo -e "deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib \ndeb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib \ndeb http://mirrors.aliyun.com/debian-security stretch/updates main \ndeb-src http://mirrors.aliyun.com/debian-security stretch/updates main \ndeb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib \ndeb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib \ndeb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib \ndeb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib" > /etc/apt/sources.list
apt-get update
apt-get install -y libtinfo5 --allow-remove-essential
apt-get install -y vim

cd /usr/local/tomcat/bin
vim setenv.sh 

# 汉化配置,在文件末尾追加这如下两项内容配置
CATALINA_OPTS="-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true"
JAVA_OPTS="-Duser.language=zh -Duser.region=CN -Dfile.encoding=UTF-8"

docker restart kettle-web

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值