会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
undefined443
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
58
下一页
2025年4月12日
误删除 KVM 虚拟机 virbr0 接口解决
摘要: 重新创建 virbr0 接口 今天清理机器上不需要的虚拟网络接口,一不小心把 KVM 虚拟机的 virbr0 接口删除了,试了一下果然不能 SSH 登录虚拟机了,于是需要将 virbr0 接口恢复。 拷贝接口定义文件: cp /usr/share/libvirt/networks/default.x
阅读全文
posted @ 2025-04-12 20:13 Undefined443
阅读(123)
评论(0)
推荐(0)
2025年4月10日
Ubuntu 部署 NFS 文件共享
摘要: Server 安装 NFS 服务端: sudo apt install nfs-kernel-server 创建共享目录: sudo mkdir -p /srv/nfs4/data1 /srv/nfs4/data2 sudo chown -R nobody:nogroup /srv/nfs4 编辑导
阅读全文
posted @ 2025-04-10 20:02 Undefined443
阅读(125)
评论(0)
推荐(0)
2025年4月8日
终端 clear 命令报错 "terminals database is inaccessible" 解决
摘要: terminals database is inaccessible $ clear terminals database is inaccessible 出现这个错误的原因是 clear 找不到 terminfo 数据库。可以通过下面的命令指定 terminfo 数据库的位置: export TE
阅读全文
posted @ 2025-04-08 12:56 Undefined443
阅读(853)
评论(0)
推荐(0)
2025年4月6日
pip 安装报错 "unable to get local issuer certificate" 解决
摘要: 在 CentOS 7 上使用 pip 安装 Python 包时出现证书验证错误: $ pip install tensorboard Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple WARNING: Retrying (Retr
阅读全文
posted @ 2025-04-06 22:37 Undefined443
阅读(397)
评论(1)
推荐(0)
2025年4月4日
编译 MPFR
摘要: 从 mpfr.org 下载源码: wget https://www.mpfr.org/mpfr-current/mpfr-4.2.2.tar.xz tar -Jxf mpfr-*.tar.xz 编译并安装: ./configure make -j$(nproc) sudo make install
阅读全文
posted @ 2025-04-04 06:30 Undefined443
阅读(59)
评论(0)
推荐(0)
Ubuntu 安装 QEMU/KVM 虚拟机
摘要: 参见:KVM Network Configuration | Oracle Docs Prerequisite 检查 CPU 虚拟化支持: egrep -c '(vmx|svm)' /proc/cpuinfo # 计算虚拟处理器 VMX 或 SVM 的引用数 输出不为 0 即可。 安装依赖: sud
阅读全文
posted @ 2025-04-04 03:30 Undefined443
阅读(629)
评论(0)
推荐(0)
2025年4月2日
macOS launchd
摘要: launchd 是 macOS 的系统启动和服务管理工具,相当于 Linux 的 systemd。 文件路径: ~/Library/LaunchAgents:仅适用于登录用户的第三方代理 /Library/LaunchAgents:基于每个用户且所有用户适用的第三方代理 /Library/Launc
阅读全文
posted @ 2025-04-02 15:00 Undefined443
阅读(104)
评论(0)
推荐(0)
2025年3月31日
Python "During handling of the above exception, another exception occurred" 解释
摘要: During handling of the above exception, another exception occurred 产生原因:处理异常时,except 块中的代码抛出新的异常。 示例代码: try: 1 / 0 # 这里抛出 ZeroDivisionError except Zer
阅读全文
posted @ 2025-03-31 14:35 Undefined443
阅读(379)
评论(0)
推荐(0)
2025年3月27日
Ubuntu clang++ 找不到标准库头文件解决
摘要: 系统:Ubuntu 22.04 报错: $ clang++ main.cpp read.cpp:1:10: fatal error: 'fstream' file not found #include <fstream> ^~~~~~~~~ 1 error generated. 错误原因:系统安装了
阅读全文
posted @ 2025-03-27 22:53 Undefined443
阅读(301)
评论(0)
推荐(0)
2025年3月23日
深度学习优化算法
摘要: 指数加权平均 指数加权平均(Exponentially Weighted Averages,EWA) ,也叫做指数移动平均(Exponentially Moving Averages,EMA) 是一种用于平滑时间序列数据的技术,通过对数据点赋予不同的权重来计算平均值,其中最近的数据点被赋予更大的权重
阅读全文
posted @ 2025-03-23 16:22 Undefined443
阅读(17)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
58
下一页
公告