首页
赞助
时间轴
追番
留言
友人帐
关于
个人导航
更多
学习笔记
壁纸
Search
1
【台式机】2020-06-07,上半年618推荐配置(都是AMD)
977 阅读
2
21年下半年笔记本挑选
934 阅读
3
域名备案成功
807 阅读
4
2020.10 手机号码正则表达式
745 阅读
5
Mybatis缓存
716 阅读
日常
代码
❤心情
博客插件
电脑推荐
KMS服务
登录
Search
标签搜索
电脑推荐
组装电脑
博客插件
跨域访问错误
Maven
Mybatis
Linux
node.js
WebSocket
SpringBoot
跨域
网页背景效果
音乐播放器
看板娘
Pio插件问题
气泡通知
轻薄本
全能本
笔记本推荐
伪静态
旧梦未眠
累计撰写
81
篇文章
累计收到
14
条评论
今日撰写
0
篇文章
首页
栏目
日常
代码
❤心情
博客插件
电脑推荐
KMS服务
页面
赞助
时间轴
追番
留言
友人帐
关于
个人导航
学习笔记
壁纸
用户登录
登录
搜索到
41
篇与
代码
的结果
2025-07-03
腾讯EdgeOne-免费CDN全球加速
本站已接入EdgeOne获取免费码目前获取免费码有三个方式发送X推文去Discord每天15:00/18:00/21:00在giveaway频道抽奖加入github开发人员计划目前测试下来不错
2025年07月03日
1 阅读
0 评论
0 点赞
2025-07-01
【Docker】WARNING: IPv4 forwarding is disabled. Networking will not work.
docker创建容器报错:WARNING: IPv4 forwarding is disabled. Networking will not work.问题原因没有开启转发,docker网桥配置完后,需要开启转发,配置/etc/sysctl.conf添加net.ipv4.ip_forward=1修改重启Network、Dockersystemctl restart network && systemctl restart docker或sudo sysctl -p
2025年07月01日
3 阅读
0 评论
0 点赞
2025-07-01
2025 Jetbrains (IDE、WebStorm等)激活问题解决(We could not validate your license FV8EM46DQYC5AW9)
找到jetbra目录,config-jetbrains/url.conf 文件,新增以下内容保存即可[URL] PREFIX,https://account.jetbrains.com.cn/lservice/rpc/validateKey.action知了大佬官博:https://zhile.io/2024/09/05/jetbrains-2024-2-region.htmljetbra工具:https://3.jetbra.in/
2025年07月01日
3 阅读
0 评论
0 点赞
2025-05-03
Linux换源-Centos,Ubuntu,Rocky
最后执行 - 换源完成后执行更新Centossudo yum clean all sudo yum makecacheUbuntusudo apt-get update sudo apt-get dist-upgrade sudo apt-get upgradeRocky# 清理旧缓存 sudo dnf clean all # 生成新缓存 sudo dnf makecache # 验证配置是否生效(检查仓库地址) sudo dnf repolist换源Centos7目录:/etc/yum.repos.d/CentOS-Base.repo#备份yum原文件 sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak #阿里云源 sudo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo #清华大学源 sudo wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.tuna.tsinghua.edu.cn/repo/Centos-7.repo Centos8 #阿里云源 wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo #清华大学源 wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.tuna.tsinghua.edu.cn/repo/centos8/CentOS-Base.repo Ubuntu22源目录:/etc/apt/sources.list注意:此为Ubuntu22源#腾讯源 deb http://mirrors.cloud.tencent.com/ubuntu jammy main restricted deb http://mirrors.cloud.tencent.com/ubuntu jammy-updates main restricted deb http://mirrors.cloud.tencent.com/ubuntu jammy universe deb http://mirrors.cloud.tencent.com/ubuntu jammy-updates universe deb http://mirrors.cloud.tencent.com/ubuntu jammy multiverse deb http://mirrors.cloud.tencent.com/ubuntu jammy-updates multiverse deb http://mirrors.cloud.tencent.com/ubuntu jammy-backports main restricted universe multiverse deb http://mirrors.cloud.tencent.com/ubuntu jammy-security main restricted deb http://mirrors.cloud.tencent.com/ubuntu jammy-security universe deb http://mirrors.cloud.tencent.com/ubuntu jammy-security multiverse #阿里源 deb https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse deb-src https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse deb-src https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse deb-src https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse deb-src https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse Ubuntu24源#清华源 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-backports main restricted universe multiverse deb http://ports.ubuntu.com/ubuntu-ports/ noble-security main restricted universe multiverse #阿里开源站 deb https://mirrors.aliyun.com/ubuntu/ noble main restricted universe multiverse deb-src https://mirrors.aliyun.com/ubuntu/ noble main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe multiverse deb-src https://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ noble-updates main restricted universe multiverse deb-src https://mirrors.aliyun.com/ubuntu/ noble-updates main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ noble-backports main restricted universe multiverse deb-src https://mirrors.aliyun.com/ubuntu/ noble-backports main restricted universe multiverse Rocky换源目前测试了9.2/9.4正常sed -e 's|^mirrorlist=|#mirrorlist=|g' -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' -i.bak /etc/yum.repos.d/rocky*.repo && dnf makecache
2025年05月03日
6 阅读
0 评论
0 点赞
2025-03-24
记一次ibd文件数据库恢复过程
起因之前服务器安装某个程序需要.net8 要修改glibc更改版本,修改后正常使用,不小心更新宝塔后保存 需要glibc_2.33 2.34,安装2.34的时候直接报错,导致内存异常,ssh连不上,重启后无法进入系统,进入救援模式后,拷贝出数据库data目录文件,进行数据恢复frm,MYD,MYI文件这些文件新建一个数据库,把这个三个文件拷贝进去 刷新数据库即可出现表数据,非常简单。frm,IBD文件需要一个Linux服务器,下载dbsake后,用dbsake解析出表结构,新建一个表,后删除表空间引用,拷贝ibd文件再使用import导入即可。下面是具体步骤。下载dbsakecurl -s http://get.dbsake.net > dbsake给dbsake权限chmod u+x dbsake拷贝frm文件到服务器,使用dbsake 将后面的路径以及文件换成你的路径和文件./dbsake frmdump /www/disk1/dbsake/xxx.frm运行结果:[root@ser3VswS91UBrbe dbsake]# ./dbsake frmdump /www/disk1/dbsake/typecho_weixin.frm -- -- Table structure for table `typecho_weixin` -- Created with MySQL Version 5.7.40 -- CREATE TABLE `typecho_weixin` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `openid` varchar(64) DEFAULT NULL, `name` varchar(32) DEFAULT NULL, `mail` varchar(150) DEFAULT NULL, `ban` int(10) unsigned DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;创建上面的表删除空间引用alter table typecho_weixin DISCARD TABLESPACE将ibd文件拷贝到你用来恢复机子数据库的目录,若不知道使用以下命令查询show variables like '%datadir%';复制ibd文件后,导入ibd数据alter table typecho_weixin IMPORT TABLESPACE导入后就可以正常查看了,之后就是导出sql文件去新服务器上执行就行
2025年03月24日
8 阅读
0 评论
0 点赞
1
2
...
9