28天瞎寫的第二百一五天:爲了看片兒折騰 Linux 的故事

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"#挑戰28天寫作計劃 第七季我的主題是 28 天 28 個故事。","attrs":{}}]},{"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":"今天講講看片兒的故事,爲了看片兒可以把聰明才智用的什麼程度,驅使我乾的那些破事兒,竟然積累成爲以後與甲方掐架的資本。","attrs":{}}]},{"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":"先說我真正意義上的第一臺電腦配置:AMD K6-II 400MHz CPU, 64M+128M 內存,10G+10G硬盤,32M 集成顯卡,磐石主板,15寸 CRT 顯示器,臺電光驅,裸奔沒有機箱,電源主板攤開放置,開機靠鑰匙撥拉針腳,一般熟手一次可以拔拉成功,這玩意,有點踹摩托車啓動的感覺,超帶感。","attrs":{}}]},{"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":"後來因爲外宿舍的同學好奇,也要“踹”一回,誤傷了主板上的電路,嘗試用鉛筆描線修復(石墨過電),效果不理想,又去電腦城花 20 塊錢買了雜牌主板,這 20塊錢也是這臺電腦的唯一現金支出。","attrs":{}}]},{"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":"那這套電腦怎麼來的?","attrs":{}}]},{"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":"顯示器、CPU、主板、64M 內存是花了一個月時間在電腦城陪老闆們打《極品飛車2》贏來的,剩下的部分是從機房、網吧、同學、電腦城老闆東拼西湊的。","attrs":{}}]},{"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":"說這麼多配置和配件來源,主要是爲了突出,我是一個節省的人,爲了看片兒,是絞盡腦汁的提升配置,畢竟是學生,沒錢。","attrs":{}}]},{"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":"這臺電腦在宿舍最多的功能不是打遊戲(遊戲只能打蜘蛛紙牌、掃雷,就這也被通關了),是看片兒,是全體舍友臥談會之外不多的娛樂項目。","attrs":{}}]},{"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":"爲了播放不卡頓,讀碟更寬容,開啓了“系統優化”的不歸路。","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"numberedlist","attrs":{"start":"1","normalizeStart":1},"content":[{"type":"listitem","content":[{"type":"paragraph","attrs":{"indent":0,"number":1,"align":null,"origin":null},"content":[{"type":"text","text":"win98 第二版,我記憶裏最穩定的版本,超級解霸,糾錯強,但是喫資源,經常一羣人盯着進度條緩慢的前進,連鼠標都不敢動,動一下,就會佔用資源重新繪製鼠標位置。","attrs":{}}]}],"attrs":{}},{"type":"listitem","content":[{"type":"paragraph","attrs":{"indent":0,"number":2,"align":null,"origin":null},"content":[{"type":"text","text":"後來轉向對配置要求較低的 Linux 系統,最開始是 Turbo Linux,從學校機房拷的,發現界面太醜,然後走上了尋找漂亮界面的 Linux 發行版的歧途。","attrs":{}}]}],"attrs":{}},{"type":"listitem","content":[{"type":"paragraph","attrs":{"indent":0,"number":3,"align":null,"origin":null},"content":[{"type":"text","text":"先後“學習”了 BluePoint、Mandriva、Slackware、ReadHat、SUSE(多年以後在氣象總局又遇到 SUSE)等常見的,好看的耗資源,不佔資源的又不好看。","attrs":{}}]}],"attrs":{}},{"type":"listitem","content":[{"type":"paragraph","attrs":{"indent":0,"number":4,"align":null,"origin":null},"content":[{"type":"text","text":"直到遇到了 Gentoo Linux,選擇全部手動編譯,進入 boot 後,一邊對着手冊,一邊仔細覈對需要編譯的 kernel 模塊,儘可能保證只把需要的編譯到 kernel,儘可能的縮小體積,增加啓動速度,接着是仔細覈對需要的 base package,儘可能的不要任何多餘程序,最最蛋疼的是解決依賴和衝突,也就是著名的 emerge 指令,KDE、GNome不敢用,XWindows 上面加一個 OpenBox 是極限,最多 LXDE。","attrs":{}}]}],"attrs":{}},{"type":"listitem","content":[{"type":"paragraph","attrs":{"indent":0,"number":5,"align":null,"origin":null},"content":[{"type":"text","text":"九牛二虎之力安裝好了,開始編譯 mPlayer,一定不要二進制包,就要自選參數,挖盡一切可能,build 出最適合我機器的性能最優版,mplayer 不得不說太大了,一般要超過 8h 編譯時間。","attrs":{}}]}],"attrs":{}},{"type":"listitem","content":[{"type":"paragraph","attrs":{"indent":0,"number":6,"align":null,"origin":null},"content":[{"type":"text","text":"最後,都搞定了,慢慢享受吧,哎,發現還有一個點可以優化的,重新進 boot,再編譯一次 kernel。","attrs":{}}]}],"attrs":{}},{"type":"listitem","content":[{"type":"paragraph","attrs":{"indent":0,"number":7,"align":null,"origin":null},"content":[{"type":"text","text":"很快,我發現相比較看片兒,更喜歡用不同的姿勢去編譯內核,甚至經常切換內核來對比啓動日誌都幹了些什麼,完全的失去了初心。","attrs":{}}]}],"attrs":{}},{"type":"listitem","content":[{"type":"paragraph","attrs":{"indent":0,"number":8,"align":null,"origin":null},"content":[{"type":"text","text":"再後來,Gentoo 的掌控顆粒度已經滿足不了我的變態慾望,終於決定走向編譯一個系統的終極:FSF(Linux From Scratch)。","attrs":{}}]}],"attrs":{}}]},{"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,而我也教不會他們,按他們當時的話,放在今天,絕對是真理:“我要的是馬上、現在、立刻滿足‘業務’需求,而不是跟我扯那麼什麼 NB 的技術,滿足不了,就是垃圾,垃圾,懂嗎?”","attrs":{}}]},{"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":"每次遇到這樣的爭論,一般我都會很羞愧,編譯系統特別耗時間,編譯期間不能看片兒,顯然一個人的自私,犧牲了全宿舍的精神生活,但是,我不後悔,只要給一個機會,操作系統我能跟你吹三天三夜不循環,哼~!","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章