上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 1.直接从官方仓库拉去指定平台的镜像 docker pull --platform=<plartform> <image-name>:<tag> 例: docker pull --platform=arm64 nginx:latest 2.打包指定平台的镜像 安装并使用 buildx 使用 buil 阅读全文
posted @ 2024-01-22 10:45 东峰叵,com 阅读(945) 评论(0) 推荐(0) 编辑
摘要: 前一段被问到一个平时没有关注到有关于MYSQL索引相关的问题点,被问到一个表有3000万记录,假如有一列占8位字节的字段,根据这一列建索引的话索引树的高度是多少? 这一问当时就被问蒙了,平时这也只关注MySQL索引一般都是都是用B+Tree来存储维护索引的,还有一些复合索引的最左匹配原则等等,还真没 阅读全文
posted @ 2024-01-15 09:59 东峰叵,com 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1.创建PV pvcreate /dev/vdb 2.创建VG分组 vgcreate vg_data /dev/vdb 3.创建逻辑卷 lvcreate -l 100%VG -n lv_data vg_data 4、mkfs(格式化) mkfs.xfs /dev/vg_data/lv_data 5. 阅读全文
posted @ 2024-01-02 10:47 东峰叵,com 阅读(630) 评论(0) 推荐(0) 编辑
摘要: curl -H "Content-Type: application/json" -H "Authorization: Bearer token" url 例: curl -H "Content-Type: application/json" -H "Authorization: Bearer 66 阅读全文
posted @ 2023-12-19 14:32 东峰叵,com 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 报 504 错误,我们可以从 ngxin 上找找看是否是 nginx 访问超时导致的错误。 proxy_connect_timeout 1000; proxy_send_timeout 1000; proxy_read_timeout 1000; send_timeout 1000; 如果还是不行, 阅读全文
posted @ 2023-11-16 18:18 东峰叵,com 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 这样的错误是因为在下载镜像时没有指定平台 docker pull <镜像名称> --platform linux/arm64 阅读全文
posted @ 2023-11-15 20:05 东峰叵,com 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 方案一:docker ps -a --no-trunc 方案二:docker inspect 方案三:get_command_4_run_container(推荐) 1.安装下载镜像 docker pull cucker/get_command_4_run_container 2.使用命令查看启动命 阅读全文
posted @ 2023-11-15 19:58 东峰叵,com 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 1.引入pom <dependency> <groupId>com.github.ulisesbocchio</groupId> <artifactId>jasypt-spring-boot-starter</artifactId> <version>3.0.3</version> </depend 阅读全文
posted @ 2023-11-15 14:12 东峰叵,com 阅读(44) 评论(0) 推荐(0) 编辑
摘要: # 查询数据库中每个库的数据量 SELECT table_schema AS "Database", SUM(data_length + index_length) / 1024 / 1024 AS "Size (MB)" FROM information_schema.TABLES GROUP B 阅读全文
posted @ 2023-11-14 11:25 东峰叵,com 阅读(7) 评论(0) 推荐(0) 编辑
摘要: # 创建相关配置目录mkdir -p /data/clickhouse/datamkdir -p /data/clickhouse/confmkdir -p /data/clickhouse/log # 拉取镜像# 下载最新版本clickhousedocker pull clickhouse/cli 阅读全文
posted @ 2023-10-09 15:16 东峰叵,com 阅读(63) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页