摘要: spring boot的项目引用了spring-boot-docker-compose,运行时没问题,但是将该项目放到了一个父项目中作为一个module后,在idea里直接运行的话会报错找不到compose.yaml文件,因为idea试图去父项目的路径下找。 如果直接在子项目的路径里运行: mvn 阅读全文
posted @ 2024-09-10 22:30 脱缰的野猪 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 参考文档:https://knowledge.broadcom.com/external/article/316620/cloned-vm-acquires-the-same-dhcp-ip-addr.html 现象: ubuntu server 22.04,通过vmware player创建了一个 阅读全文
posted @ 2024-09-08 19:44 脱缰的野猪 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 参考文档:https://ken.io/note/docker-private-image-server-deploy 1. 访问在本地创建docker的registry默认是不需要输入用户名,密码的,公司内网或开发小组内部使用起来很方便,但是直接pull会报错: $ docker pull 192 阅读全文
posted @ 2024-08-22 01:16 脱缰的野猪 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 安装docker的官方文档在ubuntu上无法安装docker了,之前安装的也无法更新了,因为 https://download.docker.com 无法访问。 测试了一下下面的文档,使用ali的源,安装成功。 使用的操作系统是:ubuntu 22.04.3 server版本。 参考文档: htt 阅读全文
posted @ 2024-08-22 01:01 脱缰的野猪 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 想查看H2数据库的话,需要在application.properties中进行设置: spring.application.name=jpa-rest server.port=8888 spring.h2.console.enabled=true spring.h2.console.path=/h2 阅读全文
posted @ 2024-08-16 23:27 脱缰的野猪 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 尝试了半天才成功: docker-compose.yml # Copyright Broadcom, Inc. All Rights Reserved. # SPDX-License-Identifier: APACHE-2.0 version: "2" services: kafka-ui: im 阅读全文
posted @ 2024-08-16 21:24 脱缰的野猪 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1. Settings -> Sharing -> Remost Desktop 将远程连接是能 2. 通过windows 的远程桌面就可以访问了,但是有一个问题,一旦锁屏了连接就会终端,为了解决这个问题需要 3. 安装Extension Manager通过Ubuntu Software 4. 打开 阅读全文
posted @ 2023-10-24 23:54 脱缰的野猪 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 在ubuntu上安装了google chrome, 运行时有问题,删除了之后再次运行 sudp apt update 会报错 E: The repository 'http://dl.google.com/linux/chrome/deb stable InRelease' is not signe 阅读全文
posted @ 2023-10-22 00:04 脱缰的野猪 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 1. 执行命令, 请注意,将USER改为你自己的用户名 $ sudo visudo -f /etc/sudoers.d/USER 2. 在文件中输入 USER ALL=(ALL) NOPASSWD:ALL 3. 保存成功后即可生效,可以做如下测试: 取消sudo 的缓存(每次输入sudo 后,系统都 阅读全文
posted @ 2023-10-09 01:31 脱缰的野猪 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 来自:https://help.ubuntu.com/community/LinuxFilesystemTreeOverview Main directories The standard Ubuntu directory structure mostly follows the Filesyste 阅读全文
posted @ 2023-10-09 00:29 脱缰的野猪 阅读(9) 评论(0) 推荐(0) 编辑