From owner-svn-doc-head@freebsd.org Tue Dec 3 17:05:46 2019 Return-Path: Delivered-To: svn-doc-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6AF4F1B60F2; Tue, 3 Dec 2019 17:05:46 +0000 (UTC) (envelope-from rcyu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47S7fL31Vqz4dvY; Tue, 3 Dec 2019 17:05:46 +0000 (UTC) (envelope-from rcyu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 474B71AD98; Tue, 3 Dec 2019 17:05:46 +0000 (UTC) (envelope-from rcyu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xB3H5kDt002118; Tue, 3 Dec 2019 17:05:46 GMT (envelope-from rcyu@FreeBSD.org) Received: (from rcyu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xB3H5fcg002114; Tue, 3 Dec 2019 17:05:41 GMT (envelope-from rcyu@FreeBSD.org) Message-Id: <201912031705.xB3H5fcg002114@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rcyu set sender to rcyu@FreeBSD.org using -f From: Ruey-Cherng Yu Date: Tue, 3 Dec 2019 17:05:41 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r53653 - head/zh_TW.UTF-8/books/handbook X-SVN-Group: doc-head X-SVN-Commit-Author: rcyu X-SVN-Commit-Paths: head/zh_TW.UTF-8/books/handbook X-SVN-Commit-Revision: 53653 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2019 17:05:46 -0000 Author: rcyu Date: Tue Dec 3 17:05:41 2019 New Revision: 53653 URL: https://svnweb.freebsd.org/changeset/doc/53653 Log: - Update po file with newest handbook document. - Traditional Chinese translation of the following sections: 27.4 PPPoE 29.5 LDAP 29.11 NTP Submitted by: Chien Wei Lin Differential Revision: https://reviews.freebsd.org/D22570 Modified: head/zh_TW.UTF-8/books/handbook/book.xml head/zh_TW.UTF-8/books/handbook/zh_TW.po Modified: head/zh_TW.UTF-8/books/handbook/book.xml ============================================================================== --- head/zh_TW.UTF-8/books/handbook/book.xml Tue Dec 3 13:07:20 2019 (r53652) +++ head/zh_TW.UTF-8/books/handbook/book.xml Tue Dec 3 17:05:41 2019 (r53653) @@ -67,6 +67,8 @@ + + @@ -91,7 +93,6 @@ - @@ -103,10 +104,12 @@ + + @@ -150,13 +153,15 @@ - + + + @@ -186,6 +191,7 @@ + @@ -264,6 +270,7 @@ + @@ -278,7 +285,9 @@ + + @@ -361,6 +370,7 @@ + @@ -435,6 +445,7 @@ + @@ -478,6 +489,7 @@ + @@ -486,6 +498,7 @@ + @@ -496,6 +509,7 @@ + @@ -698,6 +712,7 @@ 2016 2017 2018 + 2019 The FreeBSD Documentation Project @@ -775,15 +790,9 @@ - Welcome to FreeBSD! This handbook covers the installation - and day to day use of - FreeBSD 12.0-RELEASE and - FreeBSD 11.2-RELEASE. This book is - the result of ongoing work by many individuals. Some sections - might be outdated. Those interested in helping to update and - expand this document should send email to the FreeBSD documentation project mailing list. + 歡迎使用 FreeBSD! 本使用手冊涵蓋範圍包括了 FreeBSD 12.0-RELEASEFreeBSD 11.3-RELEASE 的安裝與平日操作的說明。 這份使用手冊是很多人的集體創作,而且仍然『持續不斷』的進行中,因此部份章節可能尚未仍未完成,如果您有興趣協助本計畫的話,請寄電子郵件至 FreeBSD 文件專案郵遞論壇。 - FreeBSD 網站 可以找到本文件的最新版本,舊版文件可從 https://docs.FreeBSD.org/doc/ 取得。本文件也提供各種格式與不同壓縮方式的版本可自 FreeBSD FTP 伺服器 或是其中一個 鏡像網站 下載。 列印出來的實體書面資料可在 FreeBSD 商城 購買。 此外,您可在 搜尋頁面 中搜尋本文件或其他文件的資料。 + FreeBSD 網站 可以找到本手冊的最新版本,舊版文件可從 https://docs.FreeBSD.org/doc/ 取得。本文件也提供各種格式與不同壓縮方式的版本可自 FreeBSD FTP 伺服器 或是其中一個 鏡像網站 下載。 列印出來的實體書面資料可在 FreeBSD 商城 購買。 此外,您可在 搜尋頁面 中搜尋本文件或其他文件的資料。 @@ -876,7 +885,7 @@ 自第一版後的主要修訂 (2001) - 本手冊的第二版是 FreeBSD 文件計劃的成員歷時兩年完成的心血之作。第二版包的主要變動如下︰ + 本手冊的第二版是 FreeBSD 文件計劃的成員歷時兩年完成的心血之作。第二版包的主要變動如下: @@ -1234,7 +1243,7 @@ 本書的編排體裁 - 為方便閱讀本書,以下是一些本書所遵循的編排體裁: + 為了提供有一致性且易於閱讀的內容,以下是一些本書所遵循的編排體裁。 文字編排體裁 @@ -1373,7 +1382,7 @@ 非常感謝您對 FreeBSD 感興趣!以下章節涵蓋 FreeBSD 計劃的各方面:比如它的歷史、目標、開發模式等等。 - 讀完這章,您將了解︰ + 讀完這章,您將了解: @@ -1403,123 +1412,56 @@ 4.4BSD-Lite - FreeBSD is an Open Source, standards-compliant Unix-like - operating system for x86 (both 32 and 64 bit), ARM, AArch64, - RISC-V, MIPS, POWER, PowerPC, and Sun UltraSPARC - computers. It provides all the features that are - nowadays taken for granted, such as preemptive multitasking, - memory protection, virtual memory, multi-user facilities, SMP - support, all the Open Source development tools for different - languages and frameworks, and desktop features centered around - X Window System, KDE, or GNOME. Its particular strengths - are: + FreeBSD 是一套開源、符合標準的類 Unix 的作業系統,適用於 x86 (32 與 64 位元), ARM, AArch64, RISC-V, MIPS, POWER, PowerPC 以及 Sun UltraSPARC 的電腦。它提供了現代作業系統所應具備的所有功能,例如:先佔式多工、記憶體保護、虛擬記憶體、多使用者架構、對稱多工處理 (SMP)、各種針對不同語言和框架的開源開發工具以及以 X Window 系統、KDE 及 GNOME 為主的桌面功能,而它有以下優勢: - Liberal Open Source license, - which grants you rights to freely modify and extend - its source code and incorporate it in both Open Source - projects and closed products without imposing - restrictions typical to copyleft licenses, as well - as avoiding potential license incompatibility - problems. + 自由的開放原始碼授權,授予您自由修改和擴充其原始碼並將其合併到開放原始碼專案或封閉的產品中的權力,不會對 Copyleft 授權施加典型的限制,也避免了授權不相容的潛在問題。 - Strong TCP/IP networking - TCP/IP - networking - FreeBSD - implements industry standard protocols with ever - increasing performance and scalability. This makes - it a good match in both server, and routing/firewalling - roles - and indeed many companies and vendors use it - precisely for that purpose. + 強大的 TCP/IP 網路 TCP/IP + networking - FreeBSD 以工業標準實作通訊協定並不斷改善效能與擴展性,這使得 FreeBSD 非常適合應用在伺服器、路由器/防火牆的角色 - 這也是許多公司和供應商使用它的原因。 - Fully integrated OpenZFS support, - including root-on-ZFS, ZFS Boot Environments, fault - management, administrative delegation, support for jails, - FreeBSD specific documentation, and system installer - support. + 完全整合 OpenZFS,包含 root-on-ZFS、ZFS 開機環境、故障管理、委託管理、對 Jail 的支援、FreeBSD 專屬的文件以及系統安裝程式的支援。 - Extensive security features, - from the Mandatory Access Control framework to Capsicum - capability and sandbox mechanisms. + 鉅細靡遺的安全性功能,從強制存取控制 (Mandatory Access Control, MAC) 框架到 Capsicum 功能以及沙盒機制。 - Over 30 thousand prebuilt - packages for all supported architectures, - and the Ports Collection which makes it easy to build your - own, customized ones. + 超過 3 萬個預編的套件供所有支援的架構以及可簡單編譯依您的需求所客製的 Port 套件集。 - Documentation - in addition - to Handbook and books from different authors that cover - topics ranging from system administration to kernel - internals, there are also the man1 pages, not only - for userspace daemons, utilities, and configuration files, - but also for kernel driver APIs (section 9) and individual - drivers (section 4). + 說明文件 - 除了操作手冊及由許多作者著作從系統管理到核心內部主題的書籍外,也有不僅只針對 Userspace Daemon、工具及設定檔,同樣也有針對核心驅動程式 APIs (第 9 節) 及各別驅動程式 (第 4 節) 的操作說明頁 ( man1 page)。 - Simple and consistent repository structure - and build system - FreeBSD uses a single - repository for all of its components, both kernel and - userspace. This, along with an unified and easy to - customize build system and a well thought out development - process makes it easy to integrate FreeBSD with build - infrastructure for your own product. + 簡單且具一致性的檔案庫架構與編譯系統 - FreeBSD 對所有的元件、核心與 Userspace 使用單一的檔案庫,加上統一、易於客製的編譯系統以及嚴謹的開發流程,讓 FreeBSD 的編譯基礎架構更容易與您產品的整合。 - Staying true to Unix philosophy, - preferring composability instead of monolithic all - in one daemons with hardcoded behavior. + 忠於 Unix 哲學,偏好可組合而非具寫死的 多合一 單一 Daemon。 - binary compatibility - Linux - Binary compatibility with Linux, - which makes it possible to run many Linux binaries without - the need for virtualisation. + binary compatibility + Linux Linux 執行檔 (Binary) 相容性,無需虛擬化即可執行許多 Linux 執行檔。 - FreeBSD is based on the 4.4BSD-Lite + FreeBSD 系統是基於美國加州大學柏克萊分校的電腦系統研究組 (Computer Systems Research Group 也就是 CSRG) 所發行的 4.4BSD-Lite 4.4BSD-Lite - release from Computer - Systems Research Group (CSRG) - Computer Systems Research Group (CSRG) - at the University of California at Berkeley, and - carries on the distinguished tradition of BSD systems - development. In addition to the fine work provided by CSRG, - the FreeBSD Project has put in many thousands of man-hours - into extending the functionality and fine-tuning the system - for maximum performance and reliability - in real-life load situations. FreeBSD offers performance and - reliability on par with other Open Source and commercial - offerings, combined with cutting-edge features not available - anywhere else. + ,繼承了 BSD 系統開發的優良傳統。 除了由 CSRG 所提供的高品質的成果外,FreeBSD 計劃也投入了上千人時在擴充及微調,來讓系統在真實情境下能達到最大的效能與可靠性。 FreeBSD 提供了其他開源與商業產品的效能及穩定性,並結合其他產品所沒有的尖端功能。 FreeBSD 能做什麼? - The applications to which FreeBSD can be put are truly - limited only by your own imagination. From software - development to factory automation, inventory control to - azimuth correction of remote satellite antennae; if it can be - done with a commercial UNIX product then it is more than - likely that you can do it with FreeBSD too! FreeBSD also benefits - significantly from literally thousands of high quality - applications developed by research centers and universities - around the world, often available at little to no cost. + FreeBSD 能應用的情境完全限制在你的想像力上。 從軟體開發到工廠自動化,庫存管控到遠程衛星天線的方位角校正;若您的需求可以用商用的 UNIX 產品來達成,那麼極有可能使用 FreeBSD 也能辦到! FreeBSD 也受益於來自於全球各研究中心及大學所開發的數千個高品質的軟體 ,這些通常只需要花費很少的費用或根本就是免費的。 由於每個人都可以取得 FreeBSD 的原始程式碼, 這個系統可以被量身訂做成能執行任何原本完全無法想像的功能或計劃, 而對於從各廠商取得的作業系統通常沒有辦法這樣地被修改。 以下提供一些人們使用 FreeBSD 的例子: @@ -1529,7 +1471,7 @@ - Web servers + 網頁伺服器 @@ -1541,7 +1483,7 @@ firewall 以及 NAT NAT - (IP 偽裝) 通訊閘。 + (IP 偽裝) 通訊閘 @@ -1551,15 +1493,12 @@ - - + electronic mail email - - + email - - Email servers + 電子郵件伺服器 @@ -1569,7 +1508,7 @@ - 教育:若您是資工相關領域的學生,再也沒有比使用 FreeBSD 能學到更多作業系統、計算機結構、及網路的方法了。 另外如果你想利用電腦來處理一些其他的工作,還有一些如 CAD、 數學運算以及圖形處理軟體等可以免費地取得使用。 + 教育:您是電腦科學相關領域的學生嗎?再也沒有比使用 FreeBSD 能學到更多作業系統、計算機結構、及網路的方法了。其中許多免費提供的 CAD,數學和圖形設計套件對於那些需要在電腦完成 其他 工作的人也非常有用! @@ -1615,18 +1554,7 @@ 使用者 執行 FreeBSD 的大型站台 - FreeBSD has been known for its web serving capabilities - - sites that run on FreeBSD include - Hacker News, - Netcraft, - NetEase, - Netflix, - Sina, - Sony Japan, - Rambler, - Yahoo!, and - Yandex. - + FreeBSD 以其網頁 (Web) 服務功能而聞名 - 在 FreeBSD 上運作的網站包括 Hacker News, Netcraft, NetEase, Netflix, Sina, Sony Japan, Rambler, Yahoo! 及 Yandex。 FreeBSD 先進的功能、成熟的安全性、可預測的發佈週期以及自由的授權條款,讓 FreeBSD 已經被用來做為建立許多商業、開源應用、裝置以及產品的平台,有許多世界上最大的資訊公司使用 FreeBSD: @@ -1657,20 +1585,15 @@ - Dell EMC Isilon - + Dell EMC Isilon Isilon - - Isilon's enterprise storage appliances - are based on FreeBSD. The extremely liberal FreeBSD license - allowed Isilon to integrate their intellectual property - throughout the kernel and focus on building their product - instead of an operating system. + - Isilon 的企業存儲設備是以 FreeBSD 為基礎。非常自由的 FreeBSD 授權條款讓 Isilon 整合了它們的智慧財產到整個核心,並專注打造自己的產品,而不是一個作業系統。 - Dell KACE - Dell KACE - - KACE 系統管理設備中運作了 FreeBSD,因為 FreeBSD 的可靠性、可擴展性以及支持其持續發展的社群。 + Quest KACE + Quest KACE + - KACE 系統管理設備中運作了 FreeBSD,是因為 FreeBSD 的可靠性、可擴展性以及支持其持續發展的社群。 @@ -1827,8 +1750,7 @@ - Wikipedia also maintains a list - of products based on FreeBSD. + 在 FreeBSD 基金會網站上可以找到以 FreeBSD 為基礎的產品與服務的公司的推薦 清單。 Wikipedia 也維護了一份以 FreeBSD 為基礎的產品清單。 @@ -1927,7 +1849,7 @@ FreeBSD 的開發是一個非常開放且具彈性的過程,就像從 貢獻者名單 所看到的,是由全世界成千上萬的貢獻者發展起來的。 FreeBSD 的開發基礎架構允許數以百計的開發者透過網際網路協同工作。 我們也經常關注著那些對我們的計畫感興趣的新開發者和新的創意, 那些有興趣更進一步參與計劃的人只需要在 FreeBSD 技術討論郵遞論壇 連繫我們。 FreeBSD 公告郵遞論壇 對那些希望了解我們進度的人也是相當有用的。 - 無論是單獨開發者或者封閉式的團隊合作,多瞭解 FreeBSD 計劃和它的開發過程會是不錯的︰ + 無論是單獨開發者或者封閉式的團隊合作,多瞭解 FreeBSD 計劃和它的開發過程會是不錯的: @@ -1964,20 +1886,9 @@ FreeBSD 核心團隊 - The FreeBSD core team - + 如果把 FreeBSD 看成是一家公司的話, FreeBSD 核心團隊 (FreeBSD core team) core team - would be equivalent to the board of - directors if the FreeBSD Project were a company. The - primary task of the core team is to make sure the - project, as a whole, is in good shape and is heading in - the right directions. Inviting dedicated and - responsible developers to join our group of committers - is one of the functions of the core team, as is the - recruitment of new core team members as others move on. - The current core team was elected from a pool of - committer candidates in July 2018. Elections are held - every 2 years. + 就相當於公司的董事會。 核心團隊的主要職責在於確保此計劃的整體有良好的架構,以朝著正確的方向發展。 此外,邀請敬業且負責的開發者加入提交者的行列也是核心團隊的職責之一,隨著其他新成員的加入也招募新的核心團隊成員。 目前的核心團隊是在 2018 年 7 月從提交者候選人之中選出來的,這個選舉每兩年會舉辦一次。 如同多數的開發者,核心團隊大部分成員加入 FreeBSD 開發都是志工性質而已, 並未從本計劃中獲得任何薪酬,所以這只是一個 承諾 不應該被誤解為 保證支援 才對。 前面用 董事會 來舉例可能不是很恰當,或許我們應該說: 他們是一群自願放棄原本的優渥生活、個人其他領域成就, 而選擇投入 FreeBSD 開發的熱血有為者才對! @@ -2014,15 +1925,7 @@ 其他文件 - All supported FreeBSD versions provide an option in the - installer to - install additional documentation under - /usr/local/share/doc/freebsd during the - initial system setup. Documentation may also be installed at - any later time using packages as described in - . You may view the - locally installed manuals with any HTML capable browser using - the following URLs: + 所有支援的 FreeBSD 版本都會在安裝程式中提供一個選項,讓您可以在初始化系統安裝的階段安裝額外的說明文件到 /usr/local/share/doc/freebsd。說明文件也可在往後隨時使用套件安裝,詳細說明於 。您也可以使用任何支援 HTML 的瀏覽器進入下列 URL 檢視已安裝在本機的手冊: @@ -2119,53 +2022,27 @@ 安裝 - There are several different ways of getting FreeBSD to run, - depending on the environment. Those are: + 有多種不同的方法可以執行 FreeBSD,根據所在環境,包含: - Virtual Machine images, to download and import on a - virtual environment of choice. These can be downloaded from - the Download - FreeBSD page. There are images for KVM - (qcow2), VMWare (vmdk), - Hyper-V (vhd), and raw device images that are - universally supported. These are not installation images, - but rather the preconfigured (already - installed) instances, ready to run and perform - post-installation tasks. + 一般虛擬機映像檔,可下載並匯入到您所選擇的虛擬環境。映像檔可從 Download FreeBSD 頁面下載,KVM (qcow2), VMWare (vmdk), Hyper-V (vhd) 及原始裝置的映像檔都支援。這些並非安裝程式的映像檔,而是已經預先設定好 (已安裝好) 的實例,可直接使用並執行安裝後的作業。 - Virtual Machine images available at Amazon's AWS - Marketplace, Microsoft - Azure Marketplace, and Google - Cloud Platform, to run on their respective hosting - services. For more information on deploying FreeBSD on Azure - please consult the relevant chapter in the Azure - Documentation. + 託管服務虛擬機映像檔,可在 Amazon 的 AWS Marketplace, Microsoft Azure Marketplace 和 Google Cloud Platform 等託管服務上運行的虛擬機映像檔。有關如何在 Azure 上部署 FreeBSD 的資訊可查詢 Azure 說明文件中的相關章節。 - SD card images, for embedded systems such as Raspberry - Pi or BeagleBone Black. These can be downloaded from the - Download - FreeBSD page. These files must be uncompressed and - written as a raw image to an SD card, from which the board - will then boot. + SD 卡映像檔,供嵌入式系統,如 Raspberry Pi 或 BeagleBone Black 使用的映像檔,可從 Download FreeBSD 頁面下載,這些檔案必須先解壓縮後以原始映像檔的格式寫入 SD 卡以讓這些開發電路板能夠啟動。 - Installation images, to install FreeBSD on - a hard drive for the usual desktop, laptop, or server - systems. + 安裝程式映像檔,用來安裝 FreeBSD 到硬碟,供一般的桌機、筆電或伺服器系統使用。 - The rest of this chapter describes the fourth case, - explaining how to install FreeBSD using the text-based - installation program named - bsdinstall. + 此章接下來的部份會介紹第四個案例,說明如何使用文字介面為基礎的安裝程式 bsdinstall 安裝 FreeBSD。 一般來說,本章所寫的安裝說明是針對 i386AMD64 架構。如果可以用於其他平台,將會列表說明。 安裝程式和本章所敘述的內容可能會有些微差異,所以請將本章視為通用的指引,而不是完全照著來做。 @@ -2173,7 +2050,7 @@ 喜歡用圖形化安裝程式安裝 FreeBSD 的使用者, 可能會對 pc-sysinstall 有興趣,這是 TrueOS 計畫所使用的。 他可以用來安裝圖形化桌面 (TrueOS) 或是指令列版本的 FreeBSD。 細節請參考 TrueOS 使用者 Handbook (https://www.trueos.org/handbook/trueos.html)。 - 讀完這章,您將了解︰ + 讀完這章,您將了解: @@ -2201,7 +2078,7 @@ - 在開始閱讀這章之前,您需要︰ + 在開始閱讀這章之前,您需要: @@ -2337,15 +2214,7 @@ 檢查 FreeBSD 勘誤表 - Although the FreeBSD Project strives to ensure that - each release of FreeBSD is as stable as possible, bugs - occasionally creep into the process. On very rare occasions - those bugs affect the installation process. As these - problems are discovered and fixed, they are noted in the - FreeBSD Errata (https://www.freebsd.org/releases/12.0R/errata.html) - on the FreeBSD web site. Check the errata before installing to - make sure that there are no problems that might affect the - installation. + 儘管 FreeBSD 計劃努力確保每個 FreeBSD 發行版能夠儘可能地穩定,但臭蟲偶爾還是會悄悄出現,並有極小的可能會發生影響安裝流程的錯誤,當這些問題被發現並修正後,會被紀錄在 FreeBSD 網站的 FreeBSD 勘誤表 (https://www.freebsd.org/releases/12.0R/errata.html)。 安裝前先檢查勘誤表,以確保沒有會影響到安裝的問題。 所有發行版的資訊和勘誤表可以在 FreeBSD 網站的發行資訊找到 (https://www.freebsd.org/releases/index.html)。 @@ -2411,7 +2280,7 @@ # dd if=FreeBSD-10.2-RELEASE-amd64-memstick.img of=/dev/da0 bs=1M conv=sync - 若這個指示執行失敗,請確認 USB 隨身碟是否未掛載,以及該裝置名稱是否為這個隨身碟,而非一個分割區。部份作業系統可能需要使用 sudo8 來執行這個指令。像 Linux 這類的系統可能會暫存寫入動作,要強制完成所有寫入動作,可使用 sync8 + 若這個指示執行失敗,請確認 USB 隨身碟是否還未掛載,以及該裝置名稱是否指向這個隨身碟,而不是一個分割區。有些作業系統可能需要使用 sudo8 來執行這個指令。且 dd1 的指令語法在不同的作業系統上有些不同,例如在 Mac OS 需要使用小寫的 ,而在 Linux 這類的系統可能會暫存寫入動作,要強制完成所有寫入動作,需使用 sync8 @@ -2742,18 +2611,8 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4. 配置磁碟空間 - 接下來的選單用來決定配置磁碟空間的方式,選單中可用的選項會依安裝的 FreeBSD 版本而有所不同。 + 接下來的選單用來決定配置磁碟空間的方式。 -
- FreeBSD 9.x 的磁碟分割選項 - - - - - - -
-
FreeBSD 10.x 或更新版本的磁碟分割選項 @@ -2922,7 +2781,7 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4. - 選擇完分割區表格式並建立之後,再選擇 [ Create ] 一次來建立分割區。 + 選擇完分割區表格式並建立之後,再選擇 [ Create ] 一次來建立分割區。Tab 鍵可用來在欄位間移動游標。
手動建立分割區 @@ -3759,7 +3618,7 @@ Starting sshd. 部份安裝問題可以透過更各種硬體元件的韌體來避免或緩解,特別是主機板。主機板的韌體通常稱為 BIOS,大部份主機板與電腦製造商會有網站可以取得升級程式與升級資訊。 - 製造商通常會建議若沒有特殊原因盡量避免升級主機板 BIOS + 製造商通常會建議若沒有特殊原因盡量避免升級主機板 BIOS,例如:重大更新,升級的程多可能會出錯,導致未更新完成的 BIOS 並讓電腦無法運作。 若系統在開機偵測硬體時卡住或安裝時運作異常,可能主因為 ACPI,FreeBSD 在 i386, amd64 及 ia64 平台廣泛的使用了系統 ACPI 服務來協助設定系統組態,若在開機時有偵測到該功能。不幸的是,ACPI 驅動程式與系統主機板及 BIOS 韌體之間仍存在部份問題。可於開機載入程式的第三階段設定 hint.acpi.0.disabled Hint 來關閉 ACPI @@ -3817,7 +3676,7 @@ Starting sshd. 接下來的這一章將涵蓋 FreeBSD 作業系統的基本指令及功能。 大部份的內容在 UNIX-like 作業系統中都是相通的。 如果您對這些內容熟悉的話,可以放心的跳過。 如果您剛接觸 FreeBSD,那您一定要仔細的讀完這章。 - 讀完這章,您將了解︰ + 讀完這章,您將了解: @@ -3900,7 +3759,7 @@ login: FreeBSD 預設提供多個虛擬 Console 可輸入指令,每個虛擬 Console 都有自己的登入提示及 Shell 並且可以輕易的在虛擬 Console 間切換。 這實際上讓指令輸入有了類似於圖型化環境中可以同時開啟多個視窗的功能。 - 組合鍵 AltF1AltF8 被 FreeBSD 保留用來切換虛擬 Console,使用 AltF1 可切換至系統 Console (ttyv0),AltF2 可存取第一個虛擬 Console (ttyv1),AltF3 可存取第二個虛擬 Console (ttyv2),以此類推。 + 組合鍵 AltF1AltF8 被 FreeBSD 保留用來切換虛擬 Console,使用 AltF1 可切換至系統 Console (ttyv0),AltF2 可存取第一個虛擬 Console (ttyv1),AltF3 可存取第二個虛擬 Console (ttyv2),以此類推。當使用 Xorg 作為圖型化 Console 時,組合鍵則改使用 CtrlAltF1 來切換回文字介面的虛擬 Console。 當您從一個 Console 切換到下一個的時候,FreeBSD 會切換畫面顯示的內容, 這就好像有很多虛擬的螢幕和鍵盤可以讓您輸入指令到 FreeBSD 執行。 在某一個虛擬 Console 上執行的程式並不會因為使用者切到別的 Console 而停止執行。 @@ -3985,7 +3844,7 @@ console none unknown off FreeBSD 允許多使用者同時使用電腦,在一次只能有一位使用者坐在電腦螢幕前使用鍵盤操作的同時,可讓任何數量的使用者透過網路登入到系統。每一位要使用該系統的使用者應有自己的帳號。 - 本章介紹︰ + 本章介紹: @@ -4416,7 +4275,7 @@ Other information: changing password - 任何使用者皆可簡單的使用 passwd1 更改自己的密碼。要避免意外或未授權的變更,這個指令在設定新密碼之前會提示使用者輸入原來的密碼。 + 任何使用者皆可簡單的使用 passwd1 更改自己的密碼。要避免意外或未授權的變更,這個指令在設定新密碼之前會提示使用者輸入原來的密碼: 更改您的密碼 @@ -4693,7 +4552,7 @@ total 530 (動作) + - 增加權限 + 增加權限 @@ -4745,7 +4604,7 @@ total 530 % chmod go= FILE - 若有兩個以上的符號表示可以使用逗號 (,) 區隔。 例如,下列指令將會移除群組及其他人對檔案 FILE 的寫入權限, 並使全部人 (world) 對該檔有執行權限。 + 若有兩個以上的權限更改可以使用逗號 (,) 區隔。 例如,下列指令將會移除群組及全部人 (world) 對檔案 FILE 的寫入權限, 並使全部人對該檔有執行權限: % chmod go-w,a+x FILE @@ -5223,7 +5082,7 @@ root 5211 0.0 0.2 3620 1724 2 I+ 2:09AM FreeBSD 也會使用磁碟空間作為交換空間 (Swap space) 來提供虛擬記憶體 (Virtual memory)。 這讓您的電腦好像擁有比實際更多的記憶體。 當 FreeBSD 的記憶體用完的時候,它會把一些目前沒用到的資料移到交換空間,然後在用到的時候移回去 (同時移出部份沒用到的)。 - 部份分區有使用的慣例如下: + 有些分割區有特定的使用慣例。 @@ -5240,12 +5099,12 @@ root 5211 0.0 0.2 3620 1724 2 I+ 2:09AM a - 通常內含根檔案系統 + 通常含有根檔案系統。 b - 通常內含交換空間 + 通常含有交換空間。 @@ -5577,7 +5436,7 @@ root 5211 0.0 0.2 3620 1724 2 I+ 2:09AM unmounting - 要缺載檔案系統可使用 umount(8) 指令。該指令需要一個參數可以是掛載點 (mountpoint),裝置名稱,以及 -a 或是 -A 等選項。 + 要卸載檔案系統可使用 umount8 指令。該指令需要一個參數可以是掛載點 (mountpoint),裝置名稱,以及 或是 等選項。 加上 可以強制卸載,加上 則是會顯示詳細資訊。 要注意的是一般來說用 並不是個好主意,強制卸載檔案系統有可能會造成電腦當機, 或者損壞檔案系統內的資料。 @@ -5680,7 +5539,7 @@ Swap: 2048M Total, 2048M Free 對大多數 UNIX 指令來講,kill1 執行成功時並不會輸出任何訊息。 假設您送一個信號給某個不是使用者所擁有的程序, 那麼就會顯示這個錯誤訊息: kill: PID: Operation not permitted。 若打錯 PID 的話,那就會把信號送給錯誤的程序,並把該程序關閉,或者是把信號送給一個非使用中的 PID,那您就會看到錯誤:kill: PID: No such process - 為何要使用 <command>/bin/kill</command>? + 為何要使用 <command>/bin/kill</command>? 多數 Shell 都有提供內建的 kill 指令。 也就是說這種 shell 會直接發送信號,而不是執行 /bin/kill。 但要小心不同的 shell 會有不同的語法來指定信號的名稱等。 與其嘗試去把它們通通學會,不如就單純的直接用 /bin/kill @@ -6027,7 +5886,7 @@ Swap: 2048M Total, 2048M Free 套件 FreeBSD 內建豐富的系統工具集,此外 FreeBSD 提供了兩種安裝第三方軟體的套件管理技術︰由原始碼安裝的 FreeBSD Port 套件集,以及由預先編譯好的 Binary 安裝的 Binary 套件集。兩種方法都可使用本地的媒體或網路來安裝軟體。 - 讀完這章,您將了解︰ + 讀完這章,您將了解: @@ -6142,10 +6001,7 @@ Swap: 2048M Total, 2048M Free 要持續追蹤 Port 的更新可以訂閱 FreeBSD Port 郵遞論壇 與 FreeBSD Port 問題郵遞論壇。 - Before installing any application, check - for security issues related to the application or type - pkg audit -F to check all installed - applications for known vulnerabilities. + 在安裝任何應用程式之前,請先查看 是否有與該應用程式相關的安全性問題或輸入 pkg audit -F 來檢查所有已安裝的應用程式是否有已知的漏洞。 本章接下來的部份將說明如何在 FreeBSD 使用 Binary 套件及 Port 套件安裝與管理第三方軟體。 @@ -6277,12 +6133,7 @@ Info: Lists information about open files (similar to FreeBSD 內建啟動 (Bootstrap) 工具可用來下載並安裝 pkg 及其操作手冊。這個工具是設計在 FreeBSD 版本 10.X 之後使用。 - Not all FreeBSD versions and architectures - support this bootstrap process. The current list is at - . - For other cases, - pkg must instead be installed - from the Ports Collection or as a binary package. + 不是所有 FreeBSD 版本及架構支援此啟動程序,目前支援的清單列於 ,對不支援的版本,必須改透過 Port 套件集或者 Binary 套件來安裝 pkg @@ -6412,9 +6263,9 @@ Proceed with deleting packages [y/N]: y - 自動移除不使用的相依 + 自動移除未使用的套件 - 移除一個套件可能會留下不再需要使用的相依套件。不再需要的相依套件可以使用以下指令自動偵測並移除: + 移除一個套件可能會留下不再需要使用的相依套件。不再需要的相依套件是當初隨著其套件所安裝的套件 (枝葉套件),可以使用以下指令自動偵測並移除: # pkg autoremove Packages to be autoremoved: @@ -6424,6 +6275,33 @@ The autoremoval will free 723 kB Proceed with autoremoval of packages [y/N]: y Deinstalling ca_root_nss-3.15.1_1... done + + 因為相依所安裝的套件稱作 自動 (Automatic) 套件,而非自動套件即套件被安裝的原因不是因為其他套件所相依,可以使用以下方式查詢: + + # pkg prime-list +nginx +openvpn +sudo + + pkg prime-list 是一個別名指令,定義在 /usr/local/etc/pkg.conf,尚還有許多其他相關指令可以用來查詢系統的套件資料庫,例如,指令 pkg prime-origins 可用來取得上述清單的來源 Port 目錄: + + # pkg prime-origins +www/nginx +security/openvpn +security/sudo + + 這份清單可以用來重新編譯所有安裝在系統中的套件,使用 ports-mgmt/poudriere ports-mgmt/synth 這類的編譯工具。 + + 要將一個安裝好的套件註記成為 "自動" 可以用: + + # pkg set -A 1 devel/cmake + + 當套件為末端套件 (Leaf Package) 且被註記為 "自動",則會被 pkg autoremove 挑選出來。 + + 要註記一個安裝好的套件為 "自動" 可以用: + + # pkg set -A 0 devel/cmake + @@ -6592,18 +6470,7 @@ Deinstalling ca_root_nss-3.15.1_1... done 下面我們會介紹如何使用 Port 套件集來安裝、移除軟體的基本用法。 make 可用的目標及環境變數詳細說明可參閱 ports7 - Before compiling any port, be sure to update the Ports - Collection as described in the previous section. Since - the installation of any third-party software can introduce - security vulnerabilities, it is recommended to first check - - for known security issues related to the port. Alternately, - run pkg audit -F before installing a new - port. This command can be configured to automatically - perform a security audit and an update of the vulnerability - database during the daily security system check. For more - information, refer to pkg-audit8 and - periodic8. + 在編譯任何 Port 套件前,請先確認已經如前章節所敘述之方法更新 Port 套件集。安裝任何第三方軟體皆可能會導致安全性漏洞,建議在安裝前先閱讀 了解 Port 已知的安全性問題。或者在每次安裝新 Port 前執行 pkg audit -F。此指令可以設定在每日系統安全性檢查時自動完成安全性稽查以及更新漏洞資料庫。要取得更多資訊,請參考 pkg-audit8periodic8 使用 Port 套件集會假設您擁有可正常連線的網路,同時也會需要超級使用者的權限。 @@ -6745,7 +6612,7 @@ The deinstallation will free 229 kB - Tools to Upgrade and Manage Ports + 升級與管理 Port 的工具 ports upgrading-tools @@ -7061,7 +6928,7 @@ ports-mgmt/pkg - 自行修正看看!Porter's Handbook 中含有 Port 基礎架構的詳細資訊,可提供資訊讓您可修正偶然損壞的 Port 或甚至您可以提交之自己的 Port。 + 自行修正看看!Porter's Handbook 中含有 Port 基礎架構的詳細資訊,可提供資訊讓您可修正偶然損壞的 Port 或甚至您可以提交之自己的 Port! @@ -7107,7 +6974,7 @@ ports-mgmt/pkg 更多有關 Xorg 支援影像硬體資訊,請參考 x.org 網站。 - 讀完這章,您將了解︰ + 讀完這章,您將了解: @@ -7131,7 +6998,7 @@ ports-mgmt/pkg - 在開始閱讀這章之前,您需要︰ + 在開始閱讀這章之前,您需要: @@ -7319,37 +7186,28 @@ ports-mgmt/pkg 顯示卡 - Because of changes made in recent versions of FreeBSD, it - is now possible to use graphics drivers provided by the Ports - framework or as packages. As such, users can use one of the - following drivers available from - graphics/drm-kmod. + 由於最近 FreeBSD 版本所做的變更,現在可以使用由 Port 或套件所提供的繪圖驅動程式,所以使用者可以使用下列來自 graphics/drm-kmod 的驅動程式。 - Intel KMS driver - Radeon KMS driver - AMD KMS driver + Intel KMS 驅動程式 + Radeon KMS 驅動程式 + AMD KMS 驅動程式 - 2D and 3D acceleration is supported on most - Intel KMS driver graphics cards provided by Intel. + 大多數使用 Intel KMS 驅動程式的 Intel 顯示卡支援 2D 與 3D 加速。 - Driver name: i915kms + 驅動程式名稱:i915kms - 2D and 3D acceleration is supported on most older - Radeon KMS driver graphics cards provided by AMD. + 大多數使用 Radeon KMS 驅動程式的舊 AMD 顯示卡支援 2D 與 3D 加速。 - Driver name: radeonkms + 驅動程式名稱:radeonkms - 2D and 3D acceleration is supported on most newer - AMD KMS driver graphics cards provided by AMD. + 大多數使用 AMD KMS 驅動程式的新 AMD 顯示卡支援 2D 與 3D 加速。 - Driver name: amdgpu + 驅動程式名稱:amdgpu - For reference, please see - or - for a list of supported GPUs. + 參考文獻請至 或至 取得支援的 GPU 清單。 @@ -7761,14 +7619,14 @@ EndSection Load "freetype" - 現在要建立一個儲存 TrueType 字型的目錄 (例如,/usr/local/share/fonts/TrueType) 然後複製所有 TrueType 字型到這個目錄。要注意 TrueType 字型並無法直接取自 Apple MacXorg 使用的字型必須為 UNIX/MS-DOS/Windows 的格式。檔案複製到讓目錄之後,使用 mkfontdir 來建立 fonts.dir 來讓 X 字型繪製程式知道安裝了新的檔案。mkfontdir 可用套件的方式安裝: + 現在要建立一個儲存 TrueType 字型的目錄 (例如,/usr/local/share/fonts/TrueType) 然後複製所有 TrueType 字型到這個目錄。要注意 TrueType 字型並無法直接取自 Apple MacXorg 使用的字型必須為 UNIX/MS-DOS/Windows 的格式。檔案複製到讓目錄之後,使用 mkfontscale 來建立 fonts.dir 來讓 X 字型繪製程式知道安裝了新的檔案。mkfontscale 可用套件的方式安裝: - # pkg install mkfontdir + # pkg install mkfontscale 然後在目錄中建立 X 字型檔的索引: # cd /usr/local/share/fonts/TrueType -# mkfontdir +# mkfontscale 接著加入 TrueType 目錄到字型路徑。這個動作與 中所介紹的方式相同: @@ -7941,14 +7799,7 @@ EndSection 更改關 (off) 為開 (on) 然後儲存編輯。在此項目中的 ttyv8 代表 XDM 會在第 9 個虛擬終端機執行。 - The XDM configuration directory - is located in /usr/local/etc/X11/xdm. - This directory contains several files used to change the - behavior and appearance of XDM, as - well as a few scripts and programs used to set up the desktop - when XDM is running. summarizes the function of each - of these files. The exact syntax and usage of these files is - described in xdm1. + XDM 的設定目錄位於 /usr/local/etc/X11/xdm。此目錄中包含數個可用來更改 XDM 行為與外觀的檔案以及在 XDM 執行時用來設定桌面的一些 Script 及程式, 摘要了每個檔案的功能。這些檔案正確的語法與用法在 xdm1 有說明。 XDM 設定檔 @@ -7979,10 +7830,7 @@ EndSection Xsession - Default session script for logins which is run by - XDM after a user has logged - in. This points to a customized session - script in ~/.xsession. + 預設的登入階段 Script,使用者登入之後由 XDM 執行。這會指向使用者自訂的登入階段 Script 於 ~/.xsession @@ -8014,20 +7862,13 @@ EndSection 預設只有同系統的使用者可以使用 XDM 登入。要開啟讓其他系統的使用者可連線到顯示伺服器,需編輯存取控制規則及開啟連線傾聽程式。 - To configure XDM to listen for - any remote connection, comment out the - DisplayManager.requestPort line in - /usr/local/etc/X11/xdm/xdm-config by - putting a ! in front of it: + 要設定 XDM 傾聽任何遠端的連線,在 /usr/local/etc/X11/xdm/xdm-config 中的 DisplayManager.requestPort 行前加上 ! 來註解該行: ! SECURITY: do not listen for XDMCP or Chooser requests ! Comment out this line if you want to manage X terminals with xdm DisplayManager.requestPort: 0 - Save the edits and restart XDM. - To restrict remote access, look at the example entries in - /usr/local/etc/X11/xdm/Xaccess and refer - to xdm1 for further information. + 儲存編輯並重新啟動 XDM,要限制遠端存取,請看 /usr/local/etc/X11/xdm/Xaccess 中的範例項目,並參考 xdm1 取得進一步資訊。 @@ -8064,7 +7905,7 @@ DisplayManager.requestPort: 0 # cd /usr/ports/x11/gnome3 # make install clean - GNOME 需要掛載 /proc。加入下行到 /etc/fstab 讓系統啟動時會自動掛載這個檔案系統。 + GNOME 需要掛載 /proc。加入下行到 /etc/fstab 讓系統啟動時會自動掛載這個檔案系統: proc /proc procfs rw 0 0 @@ -8101,11 +7942,11 @@ hald_enable="YES" 要安裝 KDE 套件,請輸入: - # pkg install x11/kde4 + # pkg install x11/kde5 或者要使用 KDE Port 編譯,可使用以下指令,採用 Port 方式安裝會有選單可以選擇要安裝的元件。KDE 是一個大型的應用程式,即使在較快的電腦上仍需要花費一段時間來編譯。 - # cd /usr/ports/x11/kde4 + # cd /usr/ports/x11/kde5 # make install clean @@ -8122,17 +7963,21 @@ hald_enable="YES" dbus_enable="YES" hald_enable="YES" - KDE 的安裝包含了 KDE Display Manager, KDM,要開啟這個顯示管理程式,需加入下行到 /etc/rc.conf + 自 KDE Plasma 5 開始,KDE Display Manager, KDM 便停止開發,可能的替代方案為 SDDM,要安裝該套件可輸入: - kdm4_enable="YES" + # pkg install x11/sddm + 加入下行到 /etc/rc.conf + + sddm_enable="YES" + 第二種執行 KDE 的方法是在在指令列輸入 startx。要採用這個方式,需要加入下行到 ~/.xinitrc - exec /usr/local/bin/startkde + exec ck-launch-session startkde 第三種啟動 KDE 的方式是透過 XDM,要使用這個方法需要建立一個可執行的 ~/.xsession 如下: - % echo "exec /usr/local/bin/startkde" > ~/.xsession + % echo "exec ck-launch-session startkde" > ~/.xsession 啟動 KDE 之後,請參考內建的說明系統來取得更多有關如何使用各種選單及應用程式的資訊。 *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***