我为什么从macOS迁移到FreeBSD?

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"不久前,macOS还是我的日常工作必备之一。我购买了一台macbook笔记本,原因是底层的BSD Unix和它漂亮的图形界面。另外,我还有一个iPhone手机。但是,我放弃macOS也是因为这些相同的原因。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"我不想在迁移后马下就写这篇文章。我想慢慢来,每天使用FreeBSD,看看我是否会怀念macOS。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"这是我8个月前的一个推文:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/8f\/2e\/8f38ed8c92d5a45392eca86e5416122e.png","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"macOS的槽点"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"我们可以这样看。macOS每年都变得越来越没有Unix风格,"},{"type":"codeinline","content":[{"type":"text","text":"date(1)"}]},{"type":"text","text":"已经过时,在系统启动时,有100多Unix进程运行,其中大部分对于普通用户是没用的,它没有本地的包管理器(至少还有MacPorts\/homebrew\/pkgsrc),而对于一个高级用户,没有合适的文档。你看过FreeBSD的手册吗?所有的东西都在里面写得很清楚!"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"关于漂亮的图形界面部分。你看过最新最棒的Big Sur吗?它看起来华而不实,根本不是为高级用户设计的,所有东西都让人心烦意乱,即使图标也是这样。我不是UI大师,但把iOS带到桌面并不适合所有人。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"因此,我决定迁移到FreeBSD。很多人告诉我“好吧,但不是所有东西都能在框框之外工作”,真的!但是,现在哪个操作系统能在框框之外工作呢?Windows仍然是一个噩梦,上次安装macOS花了我3天时间,如果你从头开始构建Linux则会花更多时间。设置FreeBSD花费了我3天时间,但是这意味着我在很长一段时间内不需要再更改它。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"每次Apple推送一个更新,我macOS上的"},{"type":"codeinline","content":[{"type":"text","text":"pf.conf"}]},{"type":"text","text":"和"},{"type":"codeinline","content":[{"type":"text","text":"automount"}]},{"type":"text","text":"配置都会损坏。它们要么被删除了,要么被移动到某个地方。最近两次是被删除了。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在FreeBSD上,我从"},{"type":"codeinline","content":[{"type":"text","text":"12.1-RELEASE"}]},{"type":"text","text":"升级到"},{"type":"codeinline","content":[{"type":"text","text":"12.2-RELEASE"}]},{"type":"text","text":",没有任何东西损坏,如果有任何变化,FreeBSD会询问我该如何做。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Unix已经过时了,Apple也并不在乎它,华丽的图形界面现在太花哨。认真做点事几乎不可能。硬件也不是最好的(你拆过MacBook Pro吗?它要花费2个小时来更换一个电池,而我可以在30分钟内重装我的Dell Latitudes和ThinkPads)。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"迁移到FreeBSD"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"因此,没有理由再留在这里了。我必须迁移。问题是:迁移到哪?"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Linux有systemd,我并不喜欢,Windows是隐私的噩梦。我只剩下2个主要选项:不带systemd的Linux(例如Gentoo)或者BSDs。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"因为我到处运行FreeBSD服务器,因此我迁移到了FreeBSD。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"下面是关于在ThinkPad T480上运行FreeBSD的一个简短回顾。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"bulletedlist","content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"WiFi:正常。不是最快,但足够快。"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"图形界面:正常。"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"触摸板:可与多个手指配合,可以通过"},{"type":"codeinline","content":[{"type":"text","text":"sysctl"}]},{"type":"text","text":"配置。"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"蓝牙可以发现和连接,我还需要用非Apple的耳机试试。"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"COVID-19 时代:Zoom、Google Hangouts、Jitsi和所有其它基于WebRTC的视频会议软件也可以通过web工作。"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"多亏了"},{"type":"link","attrs":{"href":"https:\/\/forums.freebsd.org\/threads\/linuxulator-how-to-run-google-chrome-linux-binary-on-freebsd.77559\/","title":"","type":null},"content":[{"type":"text","text":"Linuxulator"}]},{"type":"text","text":",我还可以看Netflix。"}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/42\/bc\/420f50af4c796b3c24d4c043dc4499bc.jpg","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"最重要的是,它是免费和开源的。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"我已经有一个月零一天没有碰我的MacBook Pro了,所以,我还怀念什么呢?"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"bulletedlist","content":[{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"更好的蓝牙支持"}]}]},{"type":"listitem","attrs":{"listStyle":null},"content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"更快的WiFi"}]}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"就这些,这是所有在FreeBSD笔记本上没有的东西。根据"},{"type":"codeinline","content":[{"type":"text","text":"ifconfig"}]},{"type":"text","text":",WiFi可以达到48Mbps,但我通常只有10-20Mbps。蓝牙可以连接上我的Apple AirPods耳机,但我希望它能一直工作。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"拥有一台好用的工作站\/笔记本并不容易,使用macOS意味着要遵循Apple的规则生活,使用Windows则要遵循Microsoft的规则。BSDs则给了我尽可能的自由:)"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在接下来的几周,我将尝试在博客上记录实际的安装方法。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"blockquote","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"亲爱的Apple员工,如果你读到这篇文章,请告诉你的管理层去更新他们的BSD Unix层。我们一些人仍然关心,我们有些人不仅仅是Docker用户,我们一些人不仅仅是“现代”Web开发者。提前谢谢了。"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"原文链接:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https:\/\/antranigv.am\/weblog_en\/posts\/macos_to_freebsd\/","title":"","type":null},"content":[{"type":"text","text":"https:\/\/antranigv.am\/weblog_en\/posts\/macos_to_freebsd\/"}]}]}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章