惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog
V
Vulnerabilities – Threatpost
Apple Machine Learning Research
Apple Machine Learning Research
V
V2EX
博客园 - 叶小钗
阮一峰的网络日志
阮一峰的网络日志
人人都是产品经理
人人都是产品经理
Latest news
Latest news
博客园 - 三生石上(FineUI控件)
美团技术团队
aimingoo的专栏
aimingoo的专栏
Google Online Security Blog
Google Online Security Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
T
Threatpost
Y
Y Combinator Blog
T
Tailwind CSS Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
A
Arctic Wolf
C
Cyber Attacks, Cyber Crime and Cyber Security
小众软件
小众软件
Recent Commits to openclaw:main
Recent Commits to openclaw:main
T
Tenable Blog
W
WeLiveSecurity
L
LINUX DO - 热门话题
D
Docker
Cyberwarzone
Cyberwarzone
量子位
A
About on SuperTechFans
The Last Watchdog
The Last Watchdog
雷峰网
雷峰网
C
CERT Recently Published Vulnerability Notes
P
Palo Alto Networks Blog
The Hacker News
The Hacker News
Blog — PlanetScale
Blog — PlanetScale
P
Proofpoint News Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
F
Full Disclosure
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
T
The Exploit Database - CXSecurity.com
Engineering at Meta
Engineering at Meta
O
OpenAI News
Hacker News - Newest:
Hacker News - Newest: "LLM"
Scott Helme
Scott Helme
IT之家
IT之家
S
Secure Thoughts
MongoDB | Blog
MongoDB | Blog
L
Lohrmann on Cybersecurity
博客园 - 司徒正美
Google DeepMind News
Google DeepMind News

博客园 - lizhigang

DBeaver 打开 utf8的sql文件 SMT 贴片机与 MES 系统集成指南 容器访问外部服务(10.100.1.90:9090)防火墙规则配置总结 Docker 容器间通信故障排查与修复操作总结 Docker 容器部署与运维总结报告 Nginx Docker 容器白名单配置操作总结 使用 pnpm 构建 Vue2 项目操作总结(Node 16 → Node 22) 前端项目 Docker 镜像构建完整操作总结 Windows 11 下使用 MySQL Workbench 还原多数据库备份文件操作指南 在 WSL2 + Docker Desktop 环境下构建前后端 Docker 镜像 从内网私有仓库迁移镜像到阿里云 ACR 完整指南 wsl网络设置允许访问ssh(端口22) 在 Windows 11 上安装 Docker Nginx配置 访问数据库报错 Windows系统运行RuoYi-Vue完整指南 RuoYi-Vue 项目结构分析 win11 报错 windows 11 如何使用 Microsoft Hyper-V VMware 替代产品 IntelliJ IDEA 社区版支持 Spring Boot 开发说明文档 imes开发部署(IDEA社区版 差异) IntelliJ IDEA 社区版默认支持 Spring Boot 吗? imes开发部署 IDEA 端口被占用 解决办法 使用MySQL Workbench进行数据库备份 ruoyi-nbcio Widows下安装和配置Redis Windows下Redis安装与配置全攻略 mes开源 imes:注意 若依框架:开源
ktg-mes、ktm-mes-ui部署
lizhigang · 2025-09-04 · via 博客园 - lizhigang

一、git源码

https://gitee.com/kutangguo

image

 https://gitee.com/kutangguo/ktg-mes

git clone https://gitee.com/kutangguo/ktg-mes-ui.git

https://gitee.com/kutangguo/ktg-mes-ui

git clone https://gitee.com/kutangguo/ktg-mes.git

https://gitee.com/kutangguo/ktg-mes/commits/master

image

二、数据库

MySQL Workbench 8.0 CE 创建数据库 j2eedb

image

image

image

三、Redis

1.下载

https://github.com/microsoftarchive/redis/releases

image

2.解压

image

3.启动服务

image

4.启动客户端

image

 5.配置环境变量(方便使用命令启动)

image

image

image

image

6.创建自启动服务

切换到Redis的安装目录
cd D:\Environment\Redis-x64-3.0.504

创建Redis服务
redis-server --service-install redis.windows.conf --loglevel verbose

判断是否创建成功,出现Redis successfully installed as a service.

image

 在Windows服务管理器中也能查看到Redis服务,之后开机就会自启动。

image

四、Node环境

https://nodejs.org/en/download

image

image

四、后端

IntelliJ IDEA 打开项目 ktg-meg,检查数据库配置、Redis配置,Ctrl+Alt+Shift+S配置JDK1.8,运行启动文件。

1.数据库配置

image

2.Redis配置

image

 3.JDK配置

image

4.同步/重新加载所有maven项目

image

5.运行 RuoYiApplication.main

image


Application Version: ${ktg.version}
Spring Boot Version: 2.5.12
////////////////////////////////////////////////////////////////////
// _ooOoo_ //
// o8888888o //
// 88" . "88 //
// (| ^_^ |) //
// O\ = /O //
// ____/`---'\____ //
// .' \\| |// `. //
// / \\||| : |||// \ //
// / _||||| -:- |||||- \ //
// | | \\\ - /// | | //
// | \_| ''\---/'' | | //
// \ .-\__ `-` ___/-. / //
// ___`. .' /--.--\ `. . ___ //
// ."" '< `.___\_<|>_/___.' >'"". //
// | | : `- \`.;`\ _ /`;.`/ - ` : | | //
// \ \ `-. \_ __\ /__ _/ .-` / / //
// ========`-.____`-.___\_____/___.-`____.-'======== //
// `=---=' //
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
// 佛祖保佑 永不宕机 永无BUG //
////////////////////////////////////////////////////////////////////
15:29:27.982 [restartedMain] INFO c.k.RuoYiApplication - [logStarting,55] - Starting RuoYiApplication using Java 1.8.0_161 on PC00013387 with PID 57272 (E:\06研发中心\GIT\RuoyYi\ktg-mes\ktg-admin\target\classes started by lizhg in E:\06研发中心\GIT\RuoyYi\ktg-mes)
15:29:27.984 [background-preinit] INFO o.h.v.i.util.Version - [<clinit>,21] - HV000001: Hibernate Validator 6.2.3.Final
15:29:27.985 [restartedMain] DEBUG c.k.RuoYiApplication - [logStarting,56] - Running with Spring Boot v2.5.12, Spring v5.3.18
15:29:27.985 [restartedMain] INFO c.k.RuoYiApplication - [logStartupProfileInfo,681] - The following 1 profile is active: "druid"
15:29:31.551 [restartedMain] INFO o.a.c.h.Http11NioProtocol - [log,173] - Initializing ProtocolHandler ["http-nio-8080"]
15:29:31.551 [restartedMain] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat]
15:29:31.552 [restartedMain] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/9.0.60]
15:29:31.630 [restartedMain] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext
15:29:34.771 [restartedMain] DEBUG c.k.f.s.f.JwtAuthenticationTokenFilter - [init,242] - Filter 'jwtAuthenticationTokenFilter' configured for use
15:29:37.776 [restartedMain] INFO c.a.d.p.DruidDataSource - [init,998] - {dataSource-1} inited
15:29:37.781 [restartedMain] DEBUG c.k.s.m.S.selectConfigList - [debug,137] - ==> Preparing: select config_id, config_name, config_key, config_value, config_type, create_by, create_time, update_by, update_time, remark from sys_config
15:29:37.995 [restartedMain] DEBUG c.k.s.m.S.selectConfigList - [debug,137] - ==> Parameters:
15:29:38.053 [restartedMain] DEBUG c.k.s.m.S.selectConfigList - [debug,137] - <== Total: 5
15:29:40.307 [restartedMain] DEBUG c.k.s.m.S.selectDictDataList - [debug,137] - ==> Preparing: select dict_code, dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, remark from sys_dict_data WHERE status = ? order by dict_sort asc
15:29:40.329 [restartedMain] DEBUG c.k.s.m.S.selectDictDataList - [debug,137] - ==> Parameters: 0(String)
15:29:40.432 [restartedMain] DEBUG c.k.s.m.S.selectDictDataList - [debug,137] - <== Total: 309
15:29:40.864 [restartedMain] INFO o.q.i.StdSchedulerFactory - [instantiate,1220] - Using default implementation for ThreadExecutor
15:29:40.899 [restartedMain] INFO o.q.c.SchedulerSignalerImpl - [<init>,61] - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
15:29:40.901 [restartedMain] INFO o.q.c.QuartzScheduler - [<init>,229] - Quartz Scheduler v.2.3.2 created.
15:29:40.904 [restartedMain] INFO o.q.s.RAMJobStore - [initialize,155] - RAMJobStore initialized.
15:29:40.907 [restartedMain] INFO o.q.c.QuartzScheduler - [initialize,294] - Scheduler meta-data: Quartz Scheduler (v2.3.2) 'quartzScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

15:29:40.908 [restartedMain] INFO o.q.i.StdSchedulerFactory - [instantiate,1374] - Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance.
15:29:40.908 [restartedMain] INFO o.q.i.StdSchedulerFactory - [instantiate,1378] - Quartz scheduler version: 2.3.2
15:29:40.909 [restartedMain] INFO o.q.c.QuartzScheduler - [setJobFactory,2293] - JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@2a5d2a3f
15:29:40.961 [restartedMain] DEBUG c.k.q.m.S.selectJobAll - [debug,137] - ==> Preparing: select job_id, job_name, job_group, invoke_target, cron_expression, misfire_policy, concurrent, status, create_by, create_time, remark from sys_job
15:29:40.962 [restartedMain] DEBUG c.k.q.m.S.selectJobAll - [debug,137] - ==> Parameters:
15:29:40.971 [restartedMain] DEBUG c.k.q.m.S.selectJobAll - [debug,137] - <== Total: 0

_____ __________ __________________ _______ ________ ______________
__ / / /___ __ \___ ____/___ __ \__ __ \___ __ \___ __/__|__ \
_ / / / __ /_/ /__ __/ __ /_/ /_ / / /__ /_/ /__ / ____/ /
/ /_/ / _ _, _/ _ /___ _ ____/ / /_/ / _ _, _/ _ / _ __/
\____/ /_/ |_| /_____/ /_/ \____/ /_/ |_| /_/ /____/
........................................................................................................
. uReport, is a Chinese style report engine licensed under the Apache License 2.0, .
. which is opensource, easy to use,high-performance, with browser-based-designer. .
........................................................................................................

15:29:47.122 [restartedMain] INFO o.a.c.h.Http11NioProtocol - [log,173] - Starting ProtocolHandler ["http-nio-8080"]
15:29:48.326 [restartedMain] INFO o.q.c.QuartzScheduler - [start,547] - Scheduler quartzScheduler_$_NON_CLUSTERED started.
15:29:48.337 [restartedMain] INFO c.k.RuoYiApplication - [logStarted,61] - Started RuoYiApplication in 20.836 seconds (JVM running for 23.101)
(♥◠‿◠)ノ゙ KTM-MES启动成功 ლ(´ڡ`ლ)゙

五、前端

VS Code 打开项目 ktg-meg-ui,检查配置,安装依赖,运行。

image

npm install

image

npm run dev

image

 六、演示

image

 testuser/123456

image

 admin/admin123

image