会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
东峰叵.com
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
13
下一页
2024年1月26日
docker安装宝塔面板并跳过强制绑定账号
摘要: 1.下载镜像 docker pull btpanel/bt 2.启动 docker run -itd --net=host --restart=always -v /data/app:/opt --name baota cyberbolt/baota:latest 这里映射目录是为了上传的文件,宿主
阅读全文
posted @ 2024-01-26 14:00 东峰叵,com
阅读(1032)
评论(0)
推荐(0)
2024年1月22日
docker构建跨平台应用(x86,arm)
摘要: 1.直接从官方仓库拉去指定平台的镜像 docker pull --platform=<plartform> <image-name>:<tag> 例: docker pull --platform=arm64 nginx:latest 2.打包指定平台的镜像 安装并使用 buildx 使用 buil
阅读全文
posted @ 2024-01-22 10:45 东峰叵,com
阅读(4853)
评论(0)
推荐(1)
2024年1月15日
MYSQL的B+Tree索引树高度如何计算
摘要: 前一段被问到一个平时没有关注到有关于MYSQL索引相关的问题点,被问到一个表有3000万记录,假如有一列占8位字节的字段,根据这一列建索引的话索引树的高度是多少? 这一问当时就被问蒙了,平时这也只关注MySQL索引一般都是都是用B+Tree来存储维护索引的,还有一些复合索引的最左匹配原则等等,还真没
阅读全文
posted @ 2024-01-15 09:59 东峰叵,com
阅读(391)
评论(0)
推荐(0)
2024年1月2日
linux下以lvm的方式挂载磁盘到指定目录
摘要: 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
阅读(1169)
评论(0)
推荐(0)
2023年12月19日
curl 命令行工具加请求头
摘要: 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
阅读(155)
评论(0)
推荐(0)
2023年11月16日
504 与413错误处理
摘要: 报 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
阅读(54)
评论(0)
推荐(0)
2023年11月15日
WARNING: image with reference cucker/get_command_4_run_container was found but does not match the specified platform: wanted linux/arm64/v8, actual: linux/amd64解决
摘要: 这样的错误是因为在下载镜像时没有指定平台 docker pull <镜像名称> --platform linux/arm64
阅读全文
posted @ 2023-11-15 20:05 东峰叵,com
阅读(353)
评论(0)
推荐(0)
Docker 查看已启动容器当时的运行命令与参数
摘要: 方案一: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
阅读(323)
评论(0)
推荐(0)
SpringBoot 配置文件内容加密
摘要: 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
阅读(75)
评论(0)
推荐(0)
2023年11月14日
查询mysql数据量,表数量脚本
摘要: # 查询数据库中每个库的数据量 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
阅读(46)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
13
下一页
公告