惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tenable Blog
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
H
Help Net Security
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
量子位
N
Netflix TechBlog - Medium
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
Recorded Future
Recorded Future
博客园 - 三生石上(FineUI控件)
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
Scott Helme
Scott Helme
The Last Watchdog
The Last Watchdog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
AI
AI
WordPress大学
WordPress大学
Security Archives - TechRepublic
Security Archives - TechRepublic
Google Online Security Blog
Google Online Security Blog
U
Unit 42
V2EX - 技术
V2EX - 技术
MongoDB | Blog
MongoDB | Blog
Schneier on Security
Schneier on Security
博客园 - Franky
H
Heimdal Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Cloudbric
Cloudbric
B
Blog RSS Feed
N
News | PayPal Newsroom
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
I
Intezer
Hacker News - Newest:
Hacker News - Newest: "LLM"
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园_首页
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
雷峰网
雷峰网

挖井

免费搭建域名邮箱,使用Cloudflare、Mailgun和Gmail 被优化了 C++ Builder12.1试用体验 Windows平台使调试器在子进程启动时attach 湖州龙之梦乐园跨年 修改DNS去广告 Debian上使用Nginx搭建WebDav服务要点 武夷山之旅 配置Debian路由器双WAN接入
更新FreeBSD、NetBSD、OpenBSD、DragonflyBSD
missdeer · 2024-04-14 · via 挖井

之前在PVE上装了几个BSD系统后,也没怎么用,就时不时更新一下,各个BSD有各自的更新方式,这里简单记一下。

更新都是在root下进行,或在命令前加sudo。系统更新尽量在控制台进行,不要通过ssh远程登录执行,因为ssh进程很可能会在更新过程中被干掉。

FreeBSD

更新系统

更新补丁

1
freebsd-update fetch install

更新大版本

1
2
3
4
5
6
7
8
9
freebsd-update -r 14.0-RELEASE upgrade
freebsd-update install
reboot
freebsd-update install
pkg-static install -f pkg
pkg update
pkg upgrade
/usr/sbin/freebsd-update install
reboot

更新预编译包

1
pkg update && pkg upgrade

修改包镜像源

修改文件/usr/local/etc/pkg/repos/FreeBSD.conf

NetBSD

更新系统

1
sysupgrade auto ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-10.0/amd64

更新预编译包

1
pkgin update && pkgin upgrade

修改包镜像源

修改文件/usr/pkg/etc/pkgin/repositories.conf

OpenBSD

更新系统

1
sysupgrade auto https://ftp.usa.openbsd.org/pub/OpenBSD/7.5/amd64

更新预编译包

修改包镜像源

修改文件/etc/installurl

DragonflyBSD

更新系统

官方文档,需要自己下载源代码,编译,安装,再重启。

更新预编译包

1
pkg update && pkg upgrade

修改包镜像源

修改文件/usr/local/etc/pkg/repos/df-latest.conf