上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 1、配置数据库 在https://github.com/alibaba/nacos/tree/develop/distribution/conf找到sql脚本,执行它 2、拉取镜像 docker pull nacos/nacos-server:v2.5.0 3、配置application.prope 阅读全文
posted @ 2025-01-24 20:36 徐徐丶 阅读(297) 评论(0) 推荐(0)
摘要: sudo apt-get update sudo apt-get install mysql-server sudo service mysql start sudo mysql -u root # 登录mysql ALTER USER 'root'@'localhost' IDENTIFIED W 阅读全文
posted @ 2025-01-24 16:55 徐徐丶 阅读(50) 评论(0) 推荐(0)
摘要: sudo apt-get install openjdk-17-jdk # docker docker network create my-network docker network ls docker network inspect my-network # 检查网络详情 docker netw 阅读全文
posted @ 2025-01-23 18:44 徐徐丶 阅读(17) 评论(0) 推荐(0)
摘要: sudo apt-get update sudo apt-get install openssh-server sudo apt-get install openssh-client sudo systemctl status ssh # 查看ssh运行状态 sudo service ssh sta 阅读全文
posted @ 2025-01-22 22:29 徐徐丶 阅读(23) 评论(0) 推荐(0)
摘要: 一、docker安装 1、卸载旧docker sudo apt-get remove docker docker-engine docker.io containerd runc 2、更新软件包 apt-get update 3、安装docker依赖 apt-get install ca-certi 阅读全文
posted @ 2025-01-22 18:35 徐徐丶 阅读(1306) 评论(0) 推荐(0)
摘要: package utils; import cn.hutool.core.exceptions.ValidateException; import cn.hutool.jwt.JWT; import cn.hutool.jwt.JWTValidator; import cn.hutool.jwt.s 阅读全文
posted @ 2025-01-19 20:55 徐徐丶 阅读(57) 评论(0) 推荐(0)
摘要: package config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype. 阅读全文
posted @ 2025-01-19 20:54 徐徐丶 阅读(18) 评论(0) 推荐(0)
摘要: 1、建立项目 建立父项目,在父项目下建立子项目gateway,建立common项目。 然后在gateway中导入以下依赖: <!--common--> <dependency> <groupId>com.tkshop</groupId> <artifactId>app-common</artifac 阅读全文
posted @ 2025-01-19 20:44 徐徐丶 阅读(21) 评论(0) 推荐(0)
摘要: AuthGlobalFilter package filter; import cn.hutool.core.text.AntPathMatcher; import config.AuthProperties; import lombok.RequiredArgsConstructor; impor 阅读全文
posted @ 2025-01-19 20:34 徐徐丶 阅读(28) 评论(0) 推荐(0)
摘要: OpenFeign 1、依赖 <!--openFeign--> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> </de 阅读全文
posted @ 2025-01-14 23:54 徐徐丶 阅读(9) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 9 下一页