摘要: File file = new File(imgPath); FileSystemResource resource = new FileSystemResource(file); // 2. 构建请求体 MultiValueMap<String, Object> body = new Linked 阅读全文
posted @ 2025-03-05 01:01 TIFOSI_Z 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 不要添加前缀 控制器和类 @PostMapping("text-only") public List<TextDto> ocrTextOnly(@RequestBody OcrParam ocrParam) { //TODO return ocrapiService.ocrText(ocrParam 阅读全文
posted @ 2025-03-05 00:53 TIFOSI_Z 阅读(4) 评论(0) 推荐(0) 编辑
摘要: systemctl stop docker cd /var/lib/docker/containers cd 容器id vim hostconfig.json修改json文件中portbinding内容 阅读全文
posted @ 2025-03-03 17:45 TIFOSI_Z 阅读(1) 评论(0) 推荐(0) 编辑
摘要: # 下载镜像 docker pull redis # 检查当前所有Docker下载的镜像 docker images 启动前需要先创建Redis外部挂载的配置文件 ( /home/redis/conf/redis.conf ) 之所以要先创建 , 是因为Redis本身容器只存在 /etc/redis 阅读全文
posted @ 2025-03-03 14:21 TIFOSI_Z 阅读(8) 评论(0) 推荐(0) 编辑
摘要: Could not find a version that satisfies the requirement 先确认python版本对不对 考虑是否使用国内镜像 阅读全文
posted @ 2025-03-02 12:24 TIFOSI_Z 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 背景:Ubuntu 24.04 docker compose本地部署 尝试按照官方解决问题方式: 这是因为Nginx将服务转发到了错误的位置导致的,首先确保容器正在运行,然后以Root权限运行以下命令: docker ps -q | xargs -n 1 docker inspect --forma 阅读全文
posted @ 2025-02-26 22:21 TIFOSI_Z 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 终端命令添加 Docker 镜像加速 docker镜像经常失效 参考 https://github.com/dongyubin/DockerHub?tab=readme-ov-file Docker镜像地址写入 /etc/docker/daemon.json 文件 echo '{ "registry 阅读全文
posted @ 2025-02-20 13:44 TIFOSI_Z 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 原文https://www.cnblogs.com/x666-6/p/17964760 docker run \ -p 3307:3306 \ --name mysql-first \ --privileged=true \ --restart unless-stopped \ -v /usr/lo 阅读全文
posted @ 2024-09-19 10:18 TIFOSI_Z 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 卸载云盾 远程连接到阿里云云服务器或者轻量应用服务器后,执行以下代码卸载阿里云盾: wget http://update.aegis.aliyun.com/download/uninstall.sh chmod +x uninstall.sh ./uninstall.sh wget http://u 阅读全文
posted @ 2022-09-09 22:28 TIFOSI_Z 阅读(1280) 评论(0) 推荐(0) 编辑
摘要: 输入法@和" 互换了位置 |和~互换了位置 在设置选项里 搜索input sources 把选中的uk 改为us 阅读全文
posted @ 2022-08-26 22:18 TIFOSI_Z 阅读(566) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示