我爲什麼從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\/"}]}]}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章