From owner-svn-doc-all@freebsd.org Thu Dec 20 06:29:25 2018 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7D4F1337D21; Thu, 20 Dec 2018 06:29:24 +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 7862E8F451; Thu, 20 Dec 2018 06:29:24 +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 6A7FF21AFD; Thu, 20 Dec 2018 06:29:24 +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 wBK6TOvf096152; Thu, 20 Dec 2018 06:29:24 GMT (envelope-from rcyu@FreeBSD.org) Received: (from rcyu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBK6TJfv096149; Thu, 20 Dec 2018 06:29:19 GMT (envelope-from rcyu@FreeBSD.org) Message-Id: <201812200629.wBK6TJfv096149@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rcyu set sender to rcyu@FreeBSD.org using -f From: Ruey-Cherng Yu Date: Thu, 20 Dec 2018 06:29:19 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r52701 - 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: 52701 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 7862E8F451 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.967,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.998,0] X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2018 06:29:25 -0000 Author: rcyu Date: Thu Dec 20 06:29:19 2018 New Revision: 52701 URL: https://svnweb.freebsd.org/changeset/doc/52701 Log: - fix typo. Reported by: lwhsu 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 Wed Dec 19 19:51:24 2018 (r52700) +++ head/zh_TW.UTF-8/books/handbook/book.xml Thu Dec 20 06:29:19 2018 (r52701) @@ -16,7 +16,8 @@ $FreeBSD$ --> - + + @@ -44,7 +45,9 @@ + + @@ -97,6 +100,7 @@ + @@ -165,9 +169,11 @@ + + @@ -175,6 +181,7 @@ + @@ -230,6 +237,7 @@ + @@ -238,6 +246,7 @@ + @@ -263,8 +272,10 @@ + + @@ -272,6 +283,7 @@ + @@ -294,6 +306,7 @@ + @@ -311,6 +324,7 @@ + @@ -343,7 +357,9 @@ + + @@ -426,6 +442,7 @@ + @@ -437,6 +454,7 @@ + @@ -452,6 +470,7 @@ + @@ -471,6 +490,7 @@ + @@ -484,6 +504,7 @@ + @@ -506,6 +527,7 @@ + @@ -514,6 +536,7 @@ + @@ -538,6 +561,7 @@ + @@ -560,6 +584,8 @@ + + @@ -595,6 +621,7 @@ + @@ -670,6 +697,7 @@ 2015 2016 2017 + 2018 The FreeBSD Documentation Project @@ -747,7 +775,13 @@ - 歡迎使用 FreeBSD! 本使用手冊涵蓋範圍包括了 FreeBSD 11.1-RELEASE, FreeBSD 11.0-RELEASEFreeBSD 10.4-RELEASE 的安裝與平日操作的說明。 這份使用手冊是很多人的集體創作,而且仍然『持續不斷』的進行中,因此部份章節可能尚未仍未完成,如果您有興趣協助本計畫的話,請寄電子郵件至 FreeBSD 文件專案郵遞論壇。 + 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 網站 可以找到本文件的最新版本,舊版文件可從 https://docs.FreeBSD.org/doc/ 取得。本文件也提供各種格式與不同壓縮方式的版本可自 FreeBSD FTP 伺服器 或是其中一個 鏡像網站 下載。 列印出來的實體書面資料可在 FreeBSD 商城 購買。 此外,您可在 搜尋頁面 中搜尋本文件或其他文件的資料。 @@ -1369,112 +1403,124 @@ 4.4BSD-Lite - FreeBSD 是一個從 4.4BSD-Lite 衍生出而能在以 Intel (x86 與 Itanium), AMD64, ARM, Sun UltraSPARC 為基礎的電腦上執行的作業系統。同時,移植到其他平台的工作也在進行中。 對於本計劃歷史的介紹,請看 FreeBSD 歷史, 對於 FreeBSD 的最新版本介紹,請看 最新的發行版。 若打算對於 FreeBSD 計劃有所貢獻的話 (程式碼、硬體、經費), 請看 如何對 FreeBSD 貢獻。 + 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 能做什麼? + + + 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. + - FreeBSD 提供給你許多先進功能。這些功能包括: + + 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. + - - - 動態優先權調整的 先佔式多工 - preemptive multitasking - 能夠確保,即使在系統負擔很重的情況下,程式執行平順並且應用程式與使用者公平地共享資源。 - + + 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. + - - 多人共用 - multi-user facilities - 代表著許多人可以同時使用一個 FreeBSD 系統來處理各自的事務。 系統的硬體周邊 (如印表機及磁帶機) 也可以讓所有的使用者適當地分享。 也可以針對各別使用者或一群使用者的系統資源,予以設限,以保護系統不致被過度使用。 - + + Extensive security features, + from the Mandatory Access Control framework to Capsicum + capability and sandbox mechanisms. + - - 強大的 TCP/IP 網路 - TCP/IP networking - 功能可支援許多業界標準,如:SCTP、DHCP、NFS、NIS、PPP、SLIP、IPSec、IPv6 的支援,也就是說 FreeBSD 可以容易地跟其他作業系統透過網路共同運作,或是當作企業的伺服器用途 ,例如提供遠端檔案共享 (NFS) 及電子郵件等服務, 或是讓您的企業連上網際網路並提供 WWW、FTP、路由及防火牆 (安全性) 等必備服務。 - + + Over 30 thousand prebuilt + packages for all supported architectures, + and the Ports Collection which makes it easy to build your + own, customized ones. + - - 記憶體保護 能確保程式 (或使用者) 不會互相干擾,即使任何程式有不正常的運作,都不會影響其他程式的執行。 - + + 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). + - - 業界標準的 X Window 系統 - X Window System - (X11R7) 可以在常見的便宜 VGA 顯示卡/螢幕, 提供了圖形化的使用者介面 (GUI),並且包括了完整的原始程式碼。 - + + 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. + - - - binary compatibility - Linux - - binary compatibility - SCO - - binary compatibility - SVR4 - - binary compatibility - BSD/OS - - binary compatibility - NetBSD - Binary 相容性 可執行許多其他作業系統 (如: Linux、SCO、SVR4、BSDI 和 NetBSD) 的可執行檔。 - + + Staying true to Unix philosophy, + preferring composability instead of monolithic all + in one daemons with hardcoded behavior. + - - 數以萬計的 立即可以執行 的應用程式,這些都可透過 FreeBSD 的 Port套件 管理機制來取得。 不再需要費心到網路上到處搜尋所需要的軟體。 - + + binary compatibility + Linux + Binary compatibility with Linux, + which makes it possible to run many Linux binaries without + the need for virtualisation. + + - - 在網路上有數以千計 易於移植 的應用程式。FreeBSD 的原始程式碼與許多常見的商業版 UNIX 系統都相容, 所以大部分的程式都只需要很少的修改 (或根本不用修改) ,就可以編譯執行。 - - - 依需要換頁的 虛擬記憶體 - virtual memory - 合併式 VM/buffer 快取 設計,有效的滿足了需使用大量記憶體的程式,同時也能維持與其他使用者的互動。 - + FreeBSD is based on the 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. - - 支援 CPU 的對稱多工處理 (SMP) - Symmetric Multi-Processing - (SMP) - :可以支援多 CPU 的電腦系統。 - + + FreeBSD 能做什麼? - - - compilers - C - - compilers - C++ - 完全相容的 CC++ 以及 Fortran 的環境和其他開發工具。 以及其他許多可供進階研發的程式語言也收集在 Port 和套件集。 - + 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. - - 整個系統都有 原始程式碼 - source code - , 這讓你對作業環境擁有最完全的掌握度。 既然能擁有完全開放的系統,何苦被特定封閉軟體所約束,任廠商擺佈呢? - - - - 廣泛且豐富的 線上文件 - - - - 當然囉,還不止如此! - - - - FreeBSD 系統乃是基於美國加州大學柏克萊分校的電腦系統研究組 (Computer Systems Research Group 也就是 CSRG) 所發行的 4.4BSD-Lite - 4.4BSD-Lite - ,以及基於 BSD 系統開發的優良傳統。 除了由 CSRG 所提供的高品質的成果, 為了提供可處理真正具負荷的工作, FreeBSD 計劃也投入了數千小時以上的細部調整, 以能獲得最好的執行效率以及系統的穩定度。 正當許多商業上的巨人正努力地希望能提供效能及穩定時,FreeBSD 已經具備這樣的特質,並具有其他地方沒有的尖端功能。 - - FreeBSD 的運用範圍無限,其實完全限制在你的想像力上。 從軟體的開發到工廠自動化,或是人造衛星上面的天線的方位角度的遠端控制; 這些功能若可以用商用的 UNIX 產品來達成, 那麼極有可能使用 FreeBSD 也能辦到! FreeBSD 也受益於來自於全球各研究中心及大學所開發的數千個高品質的軟體 ,這些通常只需要花費很少的費用或根本就是免費的。 當然也有商業軟體,而且出現的數目是與日俱增。 - 由於每個人都可以取得 FreeBSD 的原始程式碼, 這個系統可以被量身訂做成能執行任何原本完全無法想像的功能或計劃, 而對於從各廠商取得的作業系統通常沒有辦法這樣地被修改。 以下提供一些人們使用 FreeBSD 的例子: @@ -1483,9 +1529,7 @@ - 全球資訊網伺服器 - web servers - (標準的或更安全的 [SSL]) + Web servers @@ -1507,12 +1551,15 @@ - + + electronic mail email - + + email - 電子郵件伺服器 + + Email servers @@ -1568,6 +1615,19 @@ 使用者 執行 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 先進的功能、成熟的安全性、可預測的發佈週期以及自由的授權條款,讓 FreeBSD 已經被用來做為建立許多商業、開源應用、裝置以及產品的平台,有許多世界上最大的資訊公司使用 FreeBSD: @@ -1597,25 +1657,23 @@ + 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. + + + Dell KACE Dell KACE - KACE 系統管理設備中運作了 FreeBSD,因為 FreeBSD 的可靠性、可擴展性以及支持其持續發展的社群。 - Experts Exchange - Experts Exchange - - 所有面對大眾的 Web 伺服器皆由 FreeBSD 驅動,且他們大量使用 Jail 來隔離開發與測試環境,減少了虛擬化的額外開銷。 - - - - Isilon - Isilon - - Isilon 的企業存儲設備以 FreeBSD 為基礎。非常自由的 FreeBSD 授權條款讓 Isilon 整合了它們的智慧財產到整個核心,並專注打造自己的產品,而不是一個作業系統。 - - - - iXsystems iXsystems - 統合存儲 (Unified Storage) 設備的 TrueNAS 產品線是以 FreeBSD 為基礎。除了該公司自己的商業產品外,iXsystems 也管理著 TrueOS 和 FreeNAS 兩個開源計劃的開發。 @@ -1769,92 +1827,9 @@ - FreeBSD 也同時被用來驅動一些網際網路上的大型網站,包括: + Wikipedia also maintains a list + of products based on FreeBSD. - - - Yahoo! - - Yahoo! - - - - - Yandex - - Yandex - - - - - Rambler - - Rambler - - - - - Sina - - Sina - - - - - Pair - Networks - - Pair Networks - - - - - Sony - Japan - - Sony Japan - - - - - Netcraft - - Netcraft - - - - - Netflix - - Netflix - - - - - NetEase - - NetEase - - - - - Weathernews - - Weathernews - - - - - TELEHOUSE - America - - TELEHOUSE America - - - - - - 還有許多的應用。維基百科也維護了一份 以 FreeBSD 為基礎的產品。 @@ -1989,9 +1964,20 @@ FreeBSD 核心團隊 - 如果把 FreeBSD 看成是一家公司的話, FreeBSD 核心團隊 (FreeBSD core team) + The FreeBSD core team + core team - 就相當於董事會。 核心團隊的主要職責在於確保此計劃有良好的架構,以朝著正確的方向發展。 此外,邀請熱血且負責的軟體開發者加入提交者的行列, 以在若干成員離去時得以補充新血。 目前的核心團隊是在 2014 年 7 月從提交者候選人之中選出來的,這個選舉每兩年會舉辦一次。 + 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. 如同多數的開發者,核心團隊大部分成員加入 FreeBSD 開發都是志工性質而已, 並未從本計劃中獲得任何薪酬,所以這只是一個 承諾 不應該被誤解為 保證支援 才對。 前面用 董事會 來舉例可能不是很恰當,或許我們應該說: 他們是一群自願放棄原本的優渥生活、個人其他領域成就, 而選擇投入 FreeBSD 開發的熱血有為者才對! @@ -2028,7 +2014,15 @@ 其他文件 - 所有最近的 FreeBSD 版本在安裝程式 (不是 sysinstall8 就是 bsdinstall8) 都有提供一個選項在初始系統安裝時可安裝額外的說明文件到 /usr/local/share/doc/freebsd。說明文件也可在往後使用套件安裝,詳細說明於 。您可以使用任何支援 HTML 的瀏覽器進入下列 URL 檢視已安裝在本機的操作手冊: + 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: @@ -2125,8 +2119,54 @@ 安裝 - 自從 FreeBSD 9.0-RELEASE 開始,FreeBSD 提供一個易用,文字介面的安裝程式 bsdinstall。 本章描述如何用 bsdinstall 來安裝 FreeBSD。 + There are several different ways of getting FreeBSD to run, + depending on the environment. Those are: + + + 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. + + + + 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. + + + + 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. + + + + Installation images, to install FreeBSD on + a hard drive for the usual desktop, laptop, or server + systems. + + + + The rest of this chapter describes the fourth case, + explaining how to install FreeBSD using the text-based + installation program named + bsdinstall. + 一般來說,本章所寫的安裝說明是針對 i386AMD64 架構。如果可以用於其他平台,將會列表說明。 安裝程式和本章所敘述的內容可能會有些微差異,所以請將本章視為通用的指引,而不是完全照著來做。 @@ -2209,15 +2249,6 @@ - pc98 - - NEC PC-9801/9821 系列幾乎所有 i386 相容處理器包括 80486、PentiumPentium Pro 和 Pentium II 都有支援。 所有 AMD, Cyrix, IBM, 及 IDT 的i386 相容處理器都有支援。 相容 NEC PC-9801 的 EPSON PC-386/486/586 系列都有支援。 NEC FC-9801/9821 及 NEC SV-98 系列也有支援。 - - 不支援高解析度模式。NEC PC-98XA/XL/RL/XL^2 和 NEC PC-H98 系列只支援正常 (PC-9801 相容) 模式。 FreeBSD 對稱多處理器 SMP 相關功能並不支援。 PC-H98, SV-H98 和FC-H98 新延伸標準架構 (NESA) 匯流排不支援。 - - - - powerpc 所有內建 USB 的 New World ROM Apple Mac 系統都有支援。 SMP 在多 CPU 的機器都有支援。 @@ -2306,7 +2337,15 @@ 檢查 FreeBSD 勘誤表 - 儘管 FreeBSD 計劃努力確保每個 FreeBSD 發行版能夠儘可能地穩定,但錯誤偶爾還是會悄悄出現,並有極小的可能會發生影響安裝流程的錯誤,當這些問題被發現並修正後,會被紀錄在 FreeBSD 網站的 FreeBSD 勘誤表 (https://www.freebsd.org/releases/11.1R/errata.html)。 安裝前先檢查勘誤表,以確保沒有會影響到安裝的問題。 + 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 網站的發行資訊找到 (https://www.freebsd.org/releases/index.html)。 @@ -2341,7 +2380,7 @@ -memstick.img:這個檔案含有所有安裝 FreeBSD 所需的檔案,包含原始碼及 Port 套件集。這個檔案應依據以下操作指示寫入到 USB 隨身碟使用。 - + -mini-memstick.img:類似 -bootonly.iso,但不含安裝檔 (可依所要下載),安裝時需要網際網路連線,可依 的說明將此檔案寫入至 USB 隨身碟。 @@ -4895,11 +4934,6 @@ root 5211 0.0 0.2 3620 1724 2 I+ 2:09AM - /etc/namedb/ - named8 設定檔。 - - - /etc/periodic/ 每日、每週、每月透過 cron8,執行的定期排程 Script,詳情請參閱 periodic8 @@ -6108,7 +6142,10 @@ Swap: 2048M Total, 2048M Free 要持續追蹤 Port 的更新可以訂閱 FreeBSD Port 郵遞論壇 與 FreeBSD Port 問題郵遞論壇。 - 在安裝任何應用程式之前,請先查看 是否有與該應用程式相關的安全性問題或輸入 pkg audit -F 來檢查所有已安裝的應用程式是否有已知的漏洞。 + 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. 本章接下來的部份將說明如何在 FreeBSD 使用 Binary 套件及 Port 套件安裝與管理第三方軟體。 @@ -6240,7 +6277,12 @@ Info: Lists information about open files (similar to FreeBSD 內建啟動 (Bootstrap) 工具可用來下載並安裝 pkg 及其操作手冊。這個工具是設計在 FreeBSD 版本 10.X 之後使用。 - 不是所有 FreeBSD 版本及架構支援此啟動程序,目前支援的清單列於 ,對不支援的版本,必須改透過 Port 套件集或者 Binary 套件來安裝 pkg + 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. @@ -6550,7 +6592,18 @@ Deinstalling ca_root_nss-3.15.1_1... done 下面我們會介紹如何使用 Port 套件集來安裝、移除軟體的基本用法。 make 可用的目標及環境變數詳細說明可參閱 ports7 - 在編譯任何 Port 套件前,請先確認已經如前章節所敘述之方法更新 Port 套件集。安裝任何第三方軟體皆可能會導致安全性漏洞,建議在安裝前先閱讀 了解 Port 已知的安全性問題。或者在每次安裝新 Port 前執行 pkg audit -F。此指令可以設定在每日系統安全性檢查時自動完成安全性稽查以及更新漏洞資料庫。要取得更多資訊,請參考 pkg-audit8periodic8 + 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 套件集會假設您擁有可正常連線的網路,同時也會需要超級使用者的權限。 @@ -6692,7 +6745,7 @@ The deinstallation will free 229 kB - 升級與管理 Port 的工具 + Tools to Upgrade and Manage Ports ports upgrading-tools @@ -7266,7 +7319,40 @@ 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. + + + Intel KMS driver + Radeon KMS driver + AMD KMS driver + + + 2D and 3D acceleration is supported on most + Intel KMS driver graphics cards provided by Intel. + + Driver name: i915kms + + 2D and 3D acceleration is supported on most older + Radeon KMS driver graphics cards provided by AMD. + + Driver name: radeonkms + + 2D and 3D acceleration is supported on most newer + AMD KMS driver graphics cards provided by AMD. + + Driver name: amdgpu + + For reference, please see + or + for a list of supported GPUs. + + + Intel @@ -7836,7 +7922,7 @@ EndSection Seth Kingsley - Contributed by + Originally contributed by @@ -7855,7 +7941,14 @@ EndSection 更改關 (off) 為開 (on) 然後儲存編輯。在此項目中的 ttyv8 代表 XDM 會在第 9 個虛擬終端機執行。 - XDM 的設定目錄位於 /usr/local/lib/X11/xdm。此目錄中包含數個可用來更改 XDM 行為與外觀的檔案以及在 XDM 執行時用來設定桌面的一些 Script 及程式, 摘要了每個檔案的功能。這些檔案正確的語法與用法在 xdm1 有說明。 + 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 設定檔 @@ -7886,7 +7979,10 @@ EndSection Xsession - 預設的登入階段 Script,使用者登入之後由 XDM 執行。一般每一位使用者都會有自訂的階段 Script 在 ~/.xsession 來覆蓋此 Script 的設定。 + 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. @@ -7918,13 +8014,20 @@ EndSection 預設只有同系統的使用者可以使用 XDM 登入。要開啟讓其他系統的使用者可連線到顯示伺服器,需編輯存取控制規則及開啟連線傾聽程式。 - 要設定 XDM 傾聽作何遠端的連線,在 /usr/local/lib/X11/xdm/xdm-config 中的 DisplayManager.requestPort 行前加上 ! 來註解該行: + 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: ! 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 - 儲存編輯並重新啟動 XDM,要限制遠端存取,請看 /usr/local/lib/X11/xdm/Xaccess 中的範例項目,並參考 xdm1 取得進一步資訊。 + 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. @@ -7986,9 +8089,7 @@ hald_enable="YES" 第三種方法是使用 XDM 做為顯示管理程式,在這個方法需要建立一個可執行的 ~/.xsession - % echo "#!/bin/sh" > ~/.xsession -% echo "exec /usr/local/bin/gnome-session" >> ~/.xsession -% chmod +x ~/.xsession + % echo "exec /usr/local/bin/gnome-session" > ~/.xsession @@ -8031,9 +8132,7 @@ hald_enable="YES" 第三種啟動 KDE 的方式是透過 XDM,要使用這個方法需要建立一個可執行的 ~/.xsession 如下: - % echo "#!/bin/sh" > ~/.xsession -% echo "exec /usr/local/bin/startkde" >> ~/.xsession -% chmod +x ~/.xsession + % echo "exec /usr/local/bin/startkde" > ~/.xsession 啟動 KDE 之後,請參考內建的說明系統來取得更多有關如何使用各種選單及應用程式的資訊。 @@ -8052,15 +8151,28 @@ hald_enable="YES" # cd /usr/ports/x11-wm/xfce4 # make install clean - 不像 GNOMEKDEXfce 並沒有自己的登入管理程式,要由指令列啟動 Xfce 需輸入 startx,在這之前需先加入其項目到 ~/.xinitrc + Xfce uses + D-Bus for a message bus. This + application is automatically installed as dependency of + Xfce. Enable it in + /etc/rc.conf so it will be started when + the system boots: - % echo "exec /usr/local/bin/startxfce4 --with-ck-launch" > ~/.xinitrc + dbus_enable="YES" + Unlike GNOME or + KDE, + Xfce does not provide its own login + manager. In order to start Xfce + from the command line by typing startx, + first create ~/.xinitrc with this + command: + + % echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xinitrc + 另一種方式是使用 XDM,要設定這個方式需建立一個可執行的 ~/.xsession - % echo "#!/bin/sh" > ~/.xsession -% echo "exec /usr/local/bin/startxfce4 --with-ck-launch" >> ~/.xsession -% chmod +x ~/.xsession + % echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xsession @@ -8548,7 +8660,12 @@ EndSection Firefox - Firefox 是一套已完整植到 FreeBSD 的開放源始碼瀏覽器,它具備符合 HTML 標準的顯示引擎、頁籤瀏覽、彈出視窗封鎖、擴充套件、強化安全性及其他更多功能。Firefox 的基礎使用了 Mozilla 的程式庫。 + Firefox is an open source + browser that features a + standards-compliant HTML display engine, tabbed browsing, + popup blocking, extensions, improved security, and more. + Firefox is based on the + Mozilla codebase. 要安裝最新釋出版本的 Firefox 套件可輸入: @@ -8564,81 +8681,6 @@ EndSection # cd /usr/ports/www/firefox # make install clean - - - Firefox 與 <trademark>Java</trademark> 附加元件 - - Firefox 的安裝並不包含 Java 支援,雖然如此 java/icedtea-web 提供了免費的網頁瀏覽器附加元件來執行 Java applet,此附加元件可以用 Binary 套件安裝: *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***