- Make the Simplified Chinese documentation valid XML
This commit is contained in:
parent
b139b56e0f
commit
757d04e9ef
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/xml-tools/; revision=40710
62 changed files with 149 additions and 361 deletions
zh_CN.GB2312
articles
books
arch-handbook
handbook
Makefile
advanced-networking
audit
basics
bibliography
book.xmlboot
chapters.entcolophon.xmlconfig
cutting-edge
desktop
disks
dtrace
eresources
filesystems
firewalls
geom
install
introduction
jails
kernelconfig
l10n
linuxemu
mac
mail
mirrors
multimedia
network-servers
pgpkeys
ports
ppp-and-slip
preface
printing
security
serialcomms
users
vinum
virtualization
x11
porters-handbook
share/xml
|
@ -149,7 +149,7 @@ in your /etc/rc.conf. Extra options can be found in startup script.</screen>
|
|||
<title>Ports</title>
|
||||
|
||||
<para>&os; 的第二种安装应用程序的方法就是使用 Ports 套件了。
|
||||
Ports 套件是 &os 上的一个利用 <filename>Makefile</filename>
|
||||
Ports 套件是 &os; 上的一个利用 <filename>Makefile</filename>
|
||||
和一些补丁文件来特定从源码定制安装各种软件程序的框架。
|
||||
当安装一个 port 时系统会获取程序源码,
|
||||
应用任何所需要的补丁,编译源码,
|
||||
|
|
|
@ -911,8 +911,8 @@ start_precmd="${name}_prestart"
|
|||
|
||||
mumbled_prestart()
|
||||
{
|
||||
if ! checkyesno frotz_enable && \
|
||||
! /etc/rc.d/frotz forcestatus 1>/dev/null 2>&1; then
|
||||
if ! checkyesno frotz_enable && \
|
||||
! /etc/rc.d/frotz forcestatus 1>/dev/null 2>&1; then
|
||||
force_depend frotz || return 1<co id="rcng-hookup-force"/>
|
||||
fi
|
||||
return 0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<!ENTITY chap.pccard SYSTEM "pccard/chapter.xml">
|
||||
|
||||
<!-- Part three - Appendices -->
|
||||
<![%chap.index[
|
||||
<![%chap.index;[
|
||||
<!ENTITY chap.index SYSTEM "index.xml">
|
||||
]]>
|
||||
<!ENTITY chap.index "">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD SMP Next Generation Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
Copyright (c) 2002-2005 Networks Associates Technology, Inc.
|
||||
All rights reserved.
|
||||
|
@ -2770,8 +2770,8 @@
|
|||
</tgroup>
|
||||
</informaltable>
|
||||
|
||||
<para>根据 &man.listen.2 套接字 <parameter>oldsocket</parameter>,
|
||||
为新建 &man.accept.2 的套接字 <parameter>newsocket</parameter>,设置标记。</para>
|
||||
<para>根据 &man.listen.2; 套接字 <parameter>oldsocket</parameter>,
|
||||
为新建 &man.accept.2; 的套接字 <parameter>newsocket</parameter>,设置标记。</para>
|
||||
</sect4>
|
||||
|
||||
<sect4 id="mac-mpo-relabel-pipe">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD SMP Next Generation Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -272,30 +272,56 @@ DOC_PREFIX?= ${.CURDIR}/../../..
|
|||
#
|
||||
# rules generating lists of mirror site from XML database.
|
||||
#
|
||||
XMLDOCS= mirrors-ftp:::mirrors.xml.ftp.inc \
|
||||
XMLDOCS= lastmod:::mirrors.lastmod.inc \
|
||||
mirrors-ftp-index:::mirrors.xml.ftp.index.inc \
|
||||
mirrors-ftp:::mirrors.xml.ftp.inc \
|
||||
mirrors-cvsup-index:::mirrors.xml.cvsup.index.inc \
|
||||
mirrors-cvsup:::mirrors.xml.cvsup.inc \
|
||||
eresources-index:::eresources.xml.www.index.inc \
|
||||
eresources:::eresources.xml.www.inc
|
||||
DEPENDSET.DEFAULT= transtable mirror
|
||||
XSLT.DEFAULT= ${XSL_MIRRORS}
|
||||
XML.DEFAULT= ${XML_MIRRORS}
|
||||
NO_TIDY.DEFAULT= yes
|
||||
|
||||
PARAMS.lastmod+= --param 'target' "'lastmod'"
|
||||
PARAMS.mirrors-ftp-index+= --param 'type' "'ftp'" \
|
||||
--param 'proto' "'ftp'" \
|
||||
--param 'target' "'index'"
|
||||
PARAMS.mirrors-ftp+= --param 'type' "'ftp'" \
|
||||
--param 'proto' "'ftp'" \
|
||||
--param 'target' "'handbook/mirrors/chapter.xml'"
|
||||
PARAMS.mirrors-cvsup-index+= --param 'type' "'cvsup'" \
|
||||
--param 'proto' "'cvsup'" \
|
||||
--param 'target' "'index'"
|
||||
PARAMS.mirrors-cvsup+= --param 'type' "'cvsup'" \
|
||||
--param 'proto' "'cvsup'" \
|
||||
--param 'target' "'handbook/mirrors/chapter.xml'"
|
||||
PARAMS.eresources-index+= --param 'type' "'www'" \
|
||||
--param 'proto' "'http'" \
|
||||
--param 'target' "'index'"
|
||||
PARAMS.eresources+= --param 'type' "'www'" \
|
||||
--param 'proto' "'http'" \
|
||||
--param 'target' "'handbook/eresources/chapter.xml'"
|
||||
|
||||
SRCS+= mirrors.xml.ftp.inc \
|
||||
SRCS+= mirrors.lastmod.inc \
|
||||
mirrors.xml.ftp.inc \
|
||||
mirrors.xml.ftp.index.inc \
|
||||
mirrors.xml.cvsup.inc \
|
||||
eresources.xml.www.inc
|
||||
mirrors.xml.cvsup.index.inc \
|
||||
eresources.xml.www.inc \
|
||||
eresources.xml.www.index.inc
|
||||
|
||||
CLEANFILES+= mirrors.xml.ftp.inc \
|
||||
CLEANFILES+= mirrors.lastmod.inc \
|
||||
mirrors.xml.ftp.inc \
|
||||
mirrors.xml.ftp.index.inc \
|
||||
mirrors.xml.cvsup.inc \
|
||||
eresources.xml.www.inc
|
||||
mirrors.xml.cvsup.index.inc \
|
||||
eresources.xml.www.inc \
|
||||
eresources.xml.www.index.inc
|
||||
|
||||
lint: mirrors.lastmod.inc mirrors.xml.ftp.inc mirrors.xml.ftp.index.inc \
|
||||
mirrors.xml.cvsup.inc mirrors.xml.cvsup.index.inc \
|
||||
eresources.xml.www.inc eresources.xml.www.index.inc
|
||||
|
||||
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Chinese Documentation Project
|
||||
|
@ -640,7 +640,7 @@ route_net2="-net 192.168.1.0/24 192.168.1.1"</programlisting>
|
|||
<acronym>DVMRP</acronym> 多播路由协议,
|
||||
在许多采用多播的场合,
|
||||
它已被 &man.pim.4; 取代。 &man.mrouted.8; 以及相关的
|
||||
&man.map-mbone.8; 和 &man.mrinfo.8 工具可以在 &os; 的 Ports Collection
|
||||
&man.map-mbone.8; 和 &man.mrinfo.8; 工具可以在 &os; 的 Ports Collection
|
||||
<filename role="package">net/mrouted</filename> 中找到。</para>
|
||||
</note>
|
||||
</sect2>
|
||||
|
@ -1874,7 +1874,7 @@ wpa_pairwise=CCMP TKIP <co id="co-ap-wpapsk-pwise"/></programlisting>
|
|||
<para>接下来的一步就是运行
|
||||
<application>hostapd</application>:</para>
|
||||
|
||||
<screen>&prompt.root <userinput>/etc/rc.d/hostapd forcestart</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>/etc/rc.d/hostapd forcestart</userinput></screen>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput>
|
||||
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2290
|
||||
|
@ -5670,7 +5670,7 @@ ifconfig_carp1="vhid 2 advskew 100 pass testpass 192.168.1.51/24"</programlistin
|
|||
回到原来内容服务器。 具体做法是在
|
||||
<hostid>provider.example.org</hostid> 上使用下面的命令:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig carp0 down && ifconfig carp0 up</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>ifconfig carp0 down && ifconfig carp0 up</userinput></screen>
|
||||
|
||||
<para>这个操作需要在与出现问题的主机对应的那个 <devicename>carp</devicename>
|
||||
接口上进行。</para>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
@ -463,7 +463,7 @@ www:fc,+ex:no</programlisting>
|
|||
<para>审计记帐是以 BSM 二进制格式保存的, 因此必须使用工具来对其进行修改,
|
||||
或将其转换为文本。 &man.praudit.1;
|
||||
命令能够将记帐文件转换为简单的文本格式; 而
|
||||
&man.auditreduce.1 命令则可以为分析、 存档或打印目的来浓缩审计日志文件。
|
||||
&man.auditreduce.1; 命令则可以为分析、 存档或打印目的来浓缩审计日志文件。
|
||||
<command>auditreduce</command> 支持一系列筛选参数, 包括事件类型、 事件类、
|
||||
用户、 事件的日期和时间, 以及文件路径或操作对象。</para>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Chinese Documentation Project
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
|||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>FreeBSD & Windows 集成组网实务 (简体中文),
|
||||
<para>FreeBSD & Windows 集成组网实务 (简体中文),
|
||||
<ulink url="http://www.tdpress.com/">中国铁道出版社</ulink>。
|
||||
ISBN 7-113-03845-X。</para>
|
||||
</listitem>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
|
||||
"../../../share/xml/freebsd42.dtd" [
|
||||
<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//ZH" "../../share/xml/entities.ent">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Chinese (Simplified) Project
|
||||
|
|
|
@ -11,231 +11,61 @@
|
|||
$FreeBSD$
|
||||
-->
|
||||
|
||||
<!ENTITY % not.published "INCLUDE">
|
||||
|
||||
<!ENTITY % chap.introduction "IGNORE">
|
||||
<!ENTITY % chap.install "IGNORE">
|
||||
<!ENTITY % chap.basics "IGNORE">
|
||||
<!ENTITY % chap.ports "IGNORE">
|
||||
<!ENTITY % chap.config "IGNORE">
|
||||
<!ENTITY % chap.boot "IGNORE">
|
||||
<!ENTITY % chap.users "IGNORE">
|
||||
<!ENTITY % chap.kernelconfig "IGNORE">
|
||||
<!ENTITY % chap.security "IGNORE">
|
||||
<!ENTITY % chap.jails "IGNORE">
|
||||
<!ENTITY % chap.printing "IGNORE">
|
||||
<!ENTITY % chap.disks "IGNORE">
|
||||
<!ENTITY % chap.geom "IGNORE">
|
||||
<!ENTITY % chap.vinum "IGNORE">
|
||||
<!ENTITY % chap.x11 "IGNORE">
|
||||
<!ENTITY % chap.l10n "IGNORE">
|
||||
<!ENTITY % chap.multimedia "IGNORE">
|
||||
<!ENTITY % chap.desktop "IGNORE">
|
||||
<!ENTITY % chap.serialcomms "IGNORE">
|
||||
<!ENTITY % chap.ppp-and-slip "IGNORE">
|
||||
<!ENTITY % chap.advanced-networking "IGNORE">
|
||||
<!ENTITY % chap.firewalls "IGNORE">
|
||||
<!ENTITY % chap.network-servers "IGNORE">
|
||||
<!ENTITY % chap.mail "IGNORE">
|
||||
<!ENTITY % chap.cutting-edge "IGNORE">
|
||||
<!ENTITY % chap.linuxemu "IGNORE">
|
||||
<!ENTITY % chap.mirrors "IGNORE">
|
||||
<!ENTITY % chap.mirrors.ftp.inc "INCLUDE">
|
||||
<!ENTITY % chap.mirrors.cvsup.inc "INCLUDE">
|
||||
<!ENTITY % chap.bibliography "IGNORE">
|
||||
<!ENTITY % chap.eresources "IGNORE">
|
||||
<!ENTITY % chap.eresources.www.inc "INCLUDE">
|
||||
<!ENTITY % chap.pgpkeys "IGNORE">
|
||||
<!ENTITY % chap.index "IGNORE">
|
||||
<!ENTITY % chap.freebsd-glossary "IGNORE">
|
||||
<!ENTITY % chap.mac "IGNORE">
|
||||
<!ENTITY % chap.audit "IGNORE">
|
||||
<!ENTITY % chap.filesystems "IGNORE">
|
||||
<!ENTITY % chap.dtrace "IGNORE">
|
||||
|
||||
<!ENTITY chap.preface SYSTEM "preface/preface.xml">
|
||||
<!ENTITY % pgpkeys SYSTEM "../../../share/pgpkeys/pgpkeys.ent"> %pgpkeys;
|
||||
|
||||
<!-- Part One -->
|
||||
<![%chap.introduction;[
|
||||
<!ENTITY chap.introduction SYSTEM "introduction/chapter.xml">
|
||||
]]>
|
||||
<![%chap.install;[
|
||||
<!ENTITY chap.install SYSTEM "install/chapter.xml">
|
||||
]]>
|
||||
<![%chap.basics;[
|
||||
<!ENTITY chap.basics SYSTEM "basics/chapter.xml">
|
||||
]]>
|
||||
<![%chap.ports;[
|
||||
<!ENTITY chap.ports SYSTEM "ports/chapter.xml">
|
||||
]]>
|
||||
<![%chap.x11;[
|
||||
<!ENTITY chap.x11 SYSTEM "x11/chapter.xml">
|
||||
]]>
|
||||
|
||||
<!-- Part Two -->
|
||||
<![%chap.desktop;[
|
||||
<!ENTITY chap.desktop SYSTEM "desktop/chapter.xml">
|
||||
]]>
|
||||
<![%chap.multimedia;[
|
||||
<!ENTITY chap.multimedia SYSTEM "multimedia/chapter.xml">
|
||||
]]>
|
||||
<![%chap.kernelconfig;[
|
||||
<!ENTITY chap.kernelconfig SYSTEM "kernelconfig/chapter.xml">
|
||||
]]>
|
||||
<![%chap.printing;[
|
||||
<!ENTITY chap.printing SYSTEM "printing/chapter.xml">
|
||||
]]>
|
||||
<![%chap.linuxemu;[
|
||||
<!ENTITY chap.linuxemu SYSTEM "linuxemu/chapter.xml">
|
||||
]]>
|
||||
|
||||
<!-- Part Three -->
|
||||
<![%chap.config;[
|
||||
<!ENTITY chap.config SYSTEM "config/chapter.xml">
|
||||
]]>
|
||||
<![%chap.boot;[
|
||||
<!ENTITY chap.boot SYSTEM "boot/chapter.xml">
|
||||
]]>
|
||||
<![%chap.users;[
|
||||
<!ENTITY chap.users SYSTEM "users/chapter.xml">
|
||||
]]>
|
||||
<![%chap.security;[
|
||||
<!ENTITY chap.security SYSTEM "security/chapter.xml">
|
||||
]]>
|
||||
<![%chap.jails;[
|
||||
<!ENTITY chap.jails SYSTEM "jails/chapter.xml">
|
||||
]]>
|
||||
<![%chap.mac;[
|
||||
<!ENTITY chap.mac SYSTEM "mac/chapter.xml">
|
||||
]]>
|
||||
<![%chap.audit;[
|
||||
<!ENTITY chap.audit SYSTEM "audit/chapter.xml">
|
||||
]]>
|
||||
<![%chap.disks;[
|
||||
<!ENTITY chap.disks SYSTEM "disks/chapter.xml">
|
||||
]]>
|
||||
<![%chap.geom;[
|
||||
<!ENTITY chap.geom SYSTEM "geom/chapter.xml">
|
||||
]]>
|
||||
<![%chap.filesystems;[
|
||||
<!ENTITY chap.filesystems SYSTEM "filesystems/chapter.xml">
|
||||
]]>
|
||||
<![%chap.vinum;[
|
||||
<!ENTITY chap.vinum SYSTEM "vinum/chapter.xml">
|
||||
]]>
|
||||
<![%chap.virtualization;[
|
||||
<!ENTITY chap.virtualization SYSTEM "virtualization/chapter.xml">
|
||||
]]>
|
||||
<![%chap.l10n;[
|
||||
<!ENTITY chap.l10n SYSTEM "l10n/chapter.xml">
|
||||
]]>
|
||||
<![%chap.cutting-edge;[
|
||||
<!ENTITY chap.cutting-edge SYSTEM "cutting-edge/chapter.xml">
|
||||
]]>
|
||||
<![%chap.dtrace;[
|
||||
<!ENTITY chap.dtrace SYSTEM "dtrace/chapter.xml">
|
||||
]]>
|
||||
|
||||
<!-- Part Four -->
|
||||
<![%chap.serialcomms;[
|
||||
<!ENTITY chap.serialcomms SYSTEM "serialcomms/chapter.xml">
|
||||
]]>
|
||||
<![%chap.ppp-and-slip;[
|
||||
<!ENTITY chap.ppp-and-slip SYSTEM "ppp-and-slip/chapter.xml">
|
||||
]]>
|
||||
<![%chap.mail;[
|
||||
<!ENTITY chap.mail SYSTEM "mail/chapter.xml">
|
||||
]]>
|
||||
<![%chap.network-servers;[
|
||||
<!ENTITY chap.network-servers SYSTEM "network-servers/chapter.xml">
|
||||
]]>
|
||||
<![%chap.firewalls;[
|
||||
<!ENTITY chap.firewalls SYSTEM "firewalls/chapter.xml">
|
||||
]]>
|
||||
<![%chap.advanced-networking;[
|
||||
<!ENTITY chap.advanced-networking SYSTEM "advanced-networking/chapter.xml">
|
||||
]]>
|
||||
|
||||
<!-- Part Five (appendices) -->
|
||||
<![%chap.mirrors;[
|
||||
<!ENTITY chap.mirrors SYSTEM "mirrors/chapter.xml">
|
||||
]]>
|
||||
<![%chap.mirrors.ftp.inc;[
|
||||
<!ENTITY chap.mirrors.lastmod.inc SYSTEM "mirrors.lastmod.inc">
|
||||
<!ENTITY chap.mirrors.ftp.index.inc SYSTEM "mirrors.xml.ftp.index.inc">
|
||||
<!ENTITY chap.mirrors.ftp.inc SYSTEM "mirrors.xml.ftp.inc">
|
||||
]]>
|
||||
<![%chap.mirrors.cvsup.inc;[
|
||||
<!ENTITY chap.mirrors.cvsup.index.inc SYSTEM "mirrors.xml.cvsup.index.inc">
|
||||
<!ENTITY chap.mirrors.cvsup.inc SYSTEM "mirrors.xml.cvsup.inc">
|
||||
]]>
|
||||
<![%chap.bibliography;[
|
||||
<!ENTITY chap.bibliography SYSTEM "bibliography/chapter.xml">
|
||||
]]>
|
||||
<![%chap.eresources;[
|
||||
<!ENTITY chap.eresources SYSTEM "eresources/chapter.xml">
|
||||
]]>
|
||||
<![%chap.eresources.www.inc;[
|
||||
<!ENTITY chap.eresources.www.index.inc SYSTEM "eresources.xml.www.index.inc">
|
||||
<!ENTITY chap.eresources.www.inc SYSTEM "eresources.xml.www.inc">
|
||||
]]>
|
||||
<![%chap.pgpkeys;[
|
||||
<!ENTITY chap.pgpkeys SYSTEM "pgpkeys/chapter.xml">
|
||||
]]>
|
||||
<![%chap.freebsd-glossary;[
|
||||
<!ENTITY chap.freebsd-glossary "&freebsd-glossary;">
|
||||
]]>
|
||||
<![%chap.index;[
|
||||
<!ENTITY chap.index SYSTEM "index.xml">
|
||||
]]>
|
||||
<!ENTITY chap.index "">
|
||||
|
||||
<!ENTITY chap.colophon SYSTEM "colophon.xml">
|
||||
|
||||
<!-- IGNORE cases -->
|
||||
|
||||
<!-- Part One -->
|
||||
<!ENTITY chap.introduction "">
|
||||
<!ENTITY chap.install "">
|
||||
<!ENTITY chap.basics "">
|
||||
<!ENTITY chap.ports "">
|
||||
<!ENTITY chap.x11 "">
|
||||
|
||||
<!-- Part Two -->
|
||||
<!ENTITY chap.desktop "">
|
||||
<!ENTITY chap.multimedia "">
|
||||
<!ENTITY chap.kernelconfig "">
|
||||
<!ENTITY chap.printing "">
|
||||
<!ENTITY chap.linuxemu "">
|
||||
|
||||
<!-- Part Three -->
|
||||
<!ENTITY chap.config "">
|
||||
<!ENTITY chap.boot "">
|
||||
<!ENTITY chap.users "">
|
||||
<!ENTITY chap.security "">
|
||||
<!ENTITY chap.jails "">
|
||||
<!ENTITY chap.mac "">
|
||||
<!ENTITY chap.audit "">
|
||||
<!ENTITY chap.disks "">
|
||||
<!ENTITY chap.geom "">
|
||||
<!ENTITY chap.filesystems "">
|
||||
<!ENTITY chap.vinum "">
|
||||
<!ENTITY chap.virtualization "">
|
||||
<!ENTITY chap.l10n "">
|
||||
<!ENTITY chap.cutting-edge "">
|
||||
<!ENTITY chap.dtrace "">
|
||||
|
||||
<!-- Part Four -->
|
||||
<!ENTITY chap.serialcomms "">
|
||||
<!ENTITY chap.ppp-and-slip "">
|
||||
<!ENTITY chap.mail "">
|
||||
<!ENTITY chap.network-servers "">
|
||||
<!ENTITY chap.firewalls "">
|
||||
<!ENTITY chap.advanced-networking "">
|
||||
|
||||
<!-- Part Five (appendices) -->
|
||||
<!ENTITY chap.mirrors "">
|
||||
<!ENTITY chap.mirrors.ftp.inc "">
|
||||
<!ENTITY chap.mirrors.cvsup.inc "">
|
||||
<!ENTITY chap.bibliography "">
|
||||
<!ENTITY chap.eresources "">
|
||||
<!ENTITY chap.eresources.www.inc "">
|
||||
<!ENTITY chap.pgpkeys "">
|
||||
<!ENTITY chap.freebsd-glossary "">
|
||||
<!ENTITY chap.index "">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Chinese Documentation Project
|
||||
|
@ -674,7 +674,7 @@ sshd is running as pid 433.</screen>
|
|||
&man.rc.8; 和 &man.rc.subr.8; 联机手册中找到。
|
||||
如果您有意撰写自己的 <filename>rc.d</filename> 脚本,
|
||||
或对现有的脚本进行一些改进, 也可以参考
|
||||
<ulink url="&url.articles.rc-scripting">这篇文章</ulink>。</para>
|
||||
<ulink url="&url.articles.rc-scripting;">这篇文章</ulink>。</para>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="config-network-setup">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
@ -1064,72 +1064,6 @@ DOCSUPFILE?= /usr/share/examples/cvsup/doc-supfile</programlisting>
|
|||
<screen>&prompt.root; <userinput>portupgrade -PP hu-freebsd-doc</userinput></screen>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<!-- FIXME: Waiting for a working docsnap server... -->
|
||||
<![ IGNORE [
|
||||
<sect2 id="docsnap">
|
||||
<sect2info>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<firstname>Pav</firstname>
|
||||
<surname>Lucistnik</surname>
|
||||
<contrib>原作: </contrib>
|
||||
</author>
|
||||
</authorgroup>
|
||||
</sect2info>
|
||||
|
||||
<title>Using Docsnap</title>
|
||||
|
||||
<indexterm><primary>Updating and Upgrading</primary></indexterm>
|
||||
|
||||
<indexterm>
|
||||
<primary>Docsnap</primary>
|
||||
<see>Updating and Upgrading</see>
|
||||
</indexterm>
|
||||
|
||||
<para><application>Docsnap</application> 是一个通过 &man.rsync.1;
|
||||
仓库更新已安装的 &os; 文档简单快速的方法。
|
||||
一台 <quote><application>Docsnap</application> 服务器</quote>
|
||||
跟踪文档原代码, 并每个小时编译自动成 HTML 格式。 使用
|
||||
<application>Docsnap</application> 并不需要
|
||||
<filename role="package">textproc/docproj</filename>,
|
||||
有的只是对已编译文档生成的补丁。</para>
|
||||
|
||||
<para>使用这项技术唯一需要的就是
|
||||
<filename role="package">net/rsync</filename> port
|
||||
或者对应的二进制包。 可使用如下的命令安装:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>pkg_add -r rsync</userinput></screen>
|
||||
|
||||
<note>
|
||||
<para><application>Docsnap</application> 原本是被用来更新安装到
|
||||
<filename class="directory">/usr/share/doc</filename>
|
||||
的文档, 但是以下的例子同样适用于其他的目录。 对于用户的目录,
|
||||
这样就不需要 <username>root</username> 权限了。</para>
|
||||
</note>
|
||||
|
||||
<para>更新文档, 运行如下的命令:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>rsync -rltvz <replaceable>docsnap.sk.FreeBSD.org</replaceable>::docsnap <replaceable>/usr/share/doc</replaceable></userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>目前还只有上面所显示的 <hostid>docsnap.sk.FreeBSD.org</hostid>
|
||||
这一台 <application>Docsnap</application> 服务器。</para>
|
||||
</note>
|
||||
|
||||
<para>此处不要使用 <option>--delete</option> 标志,
|
||||
因为还有些 <command>make installworld</command> 时安装到
|
||||
<filename class="directory">/usr/share/doc</filename>
|
||||
下的文件可能会被意外的移除。 请使用如下的命令清除无用的文件:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>rsync -rltvz --delete <replaceable>docsnap.sk.FreeBSD.org</replaceable>::docsnap/??_??\.\* <replaceable>/usr/share/doc</replaceable></userinput></screen>
|
||||
|
||||
<para>如果只需升级文档的某一子集, 比如,
|
||||
可以使用如下的命令升级文档的英文部分:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>rsync -rltvz <replaceable>docsnap.sk.FreeBSD.org</replaceable>::docsnap/en_US.ISO8859-1 <replaceable>/usr/share/doc</replaceable></userinput></screen>
|
||||
</sect2>
|
||||
]]>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="current-stable">
|
||||
|
@ -1201,7 +1135,7 @@ DOCSUPFILE?= /usr/share/examples/cvsup/doc-supfile</programlisting>
|
|||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>修复错漏的快捷方式。任何 &os.current
|
||||
<para>修复错漏的快捷方式。任何 &os.current;
|
||||
的既定版本在修复已知错漏的同时又可能会产生新的错漏。</para>
|
||||
</listitem>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
@ -293,7 +293,7 @@
|
|||
|
||||
<para>如果您并没有安装其它的操作系统,可以使用 <literal>dedicated</literal>
|
||||
模式。记住这种模式可能会弄乱 Microsoft 的操作系统,但不会对它进行破坏。
|
||||
它不识别找到的 IBM &os2 的 <quote>appropriate</quote> 分区。</para>
|
||||
它不识别找到的 IBM &os2; 的 <quote>appropriate</quote> 分区。</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>dd if=/dev/zero of=/dev/da1 bs=1k count=1</userinput>
|
||||
&prompt.root; <userinput>bsdlabel -Bw da1 auto</userinput>
|
||||
|
@ -2431,16 +2431,6 @@ sa0(ncr1:4:0): Logical unit is in process of becoming ready</screen>
|
|||
任何造成数据丢失的的灾难都可能再次发生。 现在花一些时间,
|
||||
也许可以在下次发生灾难时救您一把。</para>
|
||||
</sect3>
|
||||
|
||||
<![ %not.published; [
|
||||
|
||||
<sect3>
|
||||
<title>* I Did Not Prepare for the Disaster, What Now?</title>
|
||||
|
||||
<para></para>
|
||||
</sect3>
|
||||
]]>
|
||||
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
|
@ -3993,7 +3983,7 @@ case "$1" in
|
|||
|
||||
# Wait for any "hastd secondary" processes to stop
|
||||
for disk in ${resources}; do
|
||||
while $( pgrep -lf "hastd: ${disk} \(secondary\)" > /dev/null 2>&1 ); do
|
||||
while $( pgrep -lf "hastd: ${disk} \(secondary\)" > /dev/null 2>&1 ); do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
|
@ -4008,7 +3998,7 @@ case "$1" in
|
|||
# Wait for the /dev/hast/* devices to appear
|
||||
for disk in ${resources}; do
|
||||
for I in $( jot 60 ); do
|
||||
[ -c "/dev/hast/${disk}" ] && break
|
||||
[ -c "/dev/hast/${disk}" ] && break
|
||||
sleep 0.5
|
||||
done
|
||||
|
||||
|
@ -4041,7 +4031,7 @@ case "$1" in
|
|||
umount -f /hast/${disk}
|
||||
fi
|
||||
sleep $delay
|
||||
hastctl role secondary ${disk} 2>&1
|
||||
hastctl role secondary ${disk} 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
logger -p $log -t $name "Unable to switch role to secondary for resource ${disk}."
|
||||
exit 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
Recently I suggested to myself that this should become a profiling
|
||||
and debugging chapter, which covers things like ktrace(1) and
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
@ -1831,6 +1831,11 @@
|
|||
|
||||
<sect2 id="eresources-web-mirrors">
|
||||
<title>Official Mirrors</title>
|
||||
|
||||
&chap.eresources.www.index.inc;
|
||||
|
||||
&chap.mirrors.lastmod.inc;
|
||||
|
||||
&chap.eresources.www.inc;
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
Original Revision: r37255
|
||||
|
@ -200,7 +200,7 @@ example 17547136 0 17547136 0% /example</screen>
|
|||
我们能像访问普通的文件系统那样访问它,
|
||||
就像以下例子中演示的那样,用户能够在上面创建文件并浏览:</para>
|
||||
|
||||
<screen>&prompt.root <userinput>cd /example</userinput>
|
||||
<screen>&prompt.root; <userinput>cd /example</userinput>
|
||||
&prompt.root; <userinput>ls</userinput>
|
||||
&prompt.root; <userinput>touch testfile</userinput>
|
||||
&prompt.root; <userinput>ls -al</userinput>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Chinese Documentation Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Chinese Documentation Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
|
@ -542,14 +542,14 @@ LOG=/var/log/lmgrd.log
|
|||
|
||||
case "$1" in
|
||||
start)
|
||||
lmgrd -c ${LICENSE_FILE} 2>> ${LOG} 1>&2
|
||||
lmgrd -c ${LICENSE_FILE} 2>> ${LOG} 1>&2
|
||||
echo -n " lmgrd"
|
||||
;;
|
||||
stop)
|
||||
lmgrd -c ${LICENSE_FILE} -x lmdown 2>> ${LOG} 1>&2
|
||||
lmgrd -c ${LICENSE_FILE} -x lmdown 2>> ${LOG} 1>&2
|
||||
;;
|
||||
*)
|
||||
echo "Usage: `basename $0` {start|stop}" 1>&2
|
||||
echo "Usage: `basename $0` {start|stop}" 1>&2
|
||||
exit 64
|
||||
;;
|
||||
esac
|
||||
|
@ -797,7 +797,7 @@ exit 0</programlisting>
|
|||
contain the following:</para>
|
||||
|
||||
<programlisting>#!/usr/compat/linux/bin/sh
|
||||
(sleep 5; killall -1 matlab_helper) &
|
||||
(sleep 5; killall -1 matlab_helper) &
|
||||
exit 0</programlisting>
|
||||
</step>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
@ -505,7 +505,7 @@ test: biba/high</screen>
|
|||
注意到这点是大有裨益的。 深入来说就是需要事先做好计划,
|
||||
因为管理起来可能十分困难。</para>
|
||||
|
||||
<para>在 &os 以后的版本中, 将包含一种将用户映射到标签的新方式,
|
||||
<para>在 &os; 以后的版本中, 将包含一种将用户映射到标签的新方式,
|
||||
尽管如此, 这也要到 &os; 5.3 之后的某个时间才能实现。</para>
|
||||
</sect3>
|
||||
|
||||
|
@ -1610,7 +1610,7 @@ setpmac biba/10\(10-10\) /usr/local/etc/rc.d/nagios.sh forcestart</userinput></s
|
|||
除非您已经修改了特定的 <command>sysctl</command> 来阻止超级用户的访问。</para>
|
||||
|
||||
<note>
|
||||
<para>在添加新用户时, 他们的 &man.mac.bsdextended.4
|
||||
<para>在添加新用户时, 他们的 &man.mac.bsdextended.4;
|
||||
规则不会自动出现在规则集表中。 要迅速更新规则集,
|
||||
只需简单地使用 &man.kldunload.8; 和 &man.kldload.8;
|
||||
工具来卸载并重新加载安全策略模块。</para>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Chinese Documentation Project
|
||||
|
@ -1470,11 +1470,11 @@ SENDMAIL_LDADD=-lsasl2</programlisting>
|
|||
<para>重新编译 <application>sendmail</application> 运行如下命令:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /usr/src/lib/libsmutil</userinput>
|
||||
&prompt.root; <userinput>make cleandir && make obj && make</userinput>
|
||||
&prompt.root; <userinput>make cleandir && make obj && make</userinput>
|
||||
&prompt.root; <userinput>cd /usr/src/lib/libsm</userinput>
|
||||
&prompt.root; <userinput>make cleandir && make obj && make</userinput>
|
||||
&prompt.root; <userinput>make cleandir && make obj && make</userinput>
|
||||
&prompt.root; <userinput>cd /usr/src/usr.sbin/sendmail</userinput>
|
||||
&prompt.root; <userinput>make cleandir && make obj && make && make install</userinput></screen>
|
||||
&prompt.root; <userinput>make cleandir && make obj && make && make install</userinput></screen>
|
||||
|
||||
<para>如果 <filename>/usr/src</filename>
|
||||
和共享库没有大的变化并且它们都必须可用,<application>sendmail</application>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Chinese Documentation Project
|
||||
|
@ -243,6 +243,10 @@
|
|||
访问而有些站点也提供其他的访问方式。对每个站点可用的访问方式
|
||||
在其主机名后有所说明。</para>
|
||||
|
||||
&chap.mirrors.ftp.index.inc;
|
||||
|
||||
&chap.mirrors.lastmod.inc;
|
||||
|
||||
&chap.mirrors.ftp.inc;
|
||||
</sect1>
|
||||
|
||||
|
@ -2233,6 +2237,11 @@ doc/zh_*</screen>
|
|||
<para>&os; 的 <link linkend="cvsup">CVSup</link> 服务器运行于
|
||||
下列站点:</para>
|
||||
|
||||
|
||||
&chap.mirrors.cvsup.index.inc;
|
||||
|
||||
&chap.mirrors.lastmod.inc;
|
||||
|
||||
&chap.mirrors.cvsup.inc;
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Documentation Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Documentation Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Chinese Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Chinese Documentation Project
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The Vinum Volume Manager
|
||||
By Greg Lehey (grog at lemis dot com)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
@ -732,8 +732,8 @@ xenbr1 8000.feffffffffff no vif0.1
|
|||
<sect2 id="virtualization-guest-vmware">
|
||||
<title>运行于 MacOS 的 VMware</title>
|
||||
|
||||
<para>&mac 版本的 <application>VMware Fusion</application>
|
||||
是一个商业软件,运行在基于 &intel 的 &apple; &mac 计算机的
|
||||
<para>&mac; 版本的 <application>VMware Fusion</application>
|
||||
是一个商业软件,运行在基于 &intel; 的 &apple; &mac; 计算机的
|
||||
&macos; 10.4.9 或更版本的操作系统上。 &os;
|
||||
是一个完全被支持的客户操作系统。 在 &macos; X 上安装了
|
||||
<application>VMware Fusion</application> 之后,
|
||||
|
@ -909,7 +909,7 @@ xenbr1 8000.feffffffffff no vif0.1
|
|||
<title>作为宿主 OS 的 &os;</title>
|
||||
|
||||
<para>在过去的几年中 &os; 并没有任何可用的并被官方支持的虚拟化解决方案。
|
||||
一些用户曾时使用过利用 &linux 二进制兼容层运行的
|
||||
一些用户曾时使用过利用 &linux; 二进制兼容层运行的
|
||||
<application>VMware</application> 陈旧并多半已过时的版本 (比如
|
||||
<filename role="package">emulators/vmware3</filename>)。
|
||||
在 &os; 7.2 发布不久, Sun 开源版本 (Open Source Edition
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="gb2312" standalone="no"?>
|
||||
<?xml version="1.0" encoding="gb2312"?>
|
||||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
@ -268,7 +268,7 @@
|
|||
上的默认 X11 实现。 <application>&xorg;</application>
|
||||
是由 X.Org 基金会发行的开放源代码 X Window 系统实现中的 X 服务。
|
||||
<application>&xorg;</application> 基于
|
||||
<application>&xfree86 4.4RC2</application> 和 X11R6.6 的代码。
|
||||
<application>&xfree86; 4.4RC2</application> 和 X11R6.6 的代码。
|
||||
从 &os; Ports 套件可以安装 <application>&xorg;</application>
|
||||
的 &xorg.version; 版本。</para>
|
||||
|
||||
|
@ -1002,7 +1002,7 @@ EndSection</programlisting>
|
|||
只要键入如登录用户名和密码这样的验证信息。</para>
|
||||
|
||||
<para>您也可以把 <application>XDM</application> 想象成与
|
||||
&man.getty.8 工具一样(see <xref linkend="term-config"/> for
|
||||
&man.getty.8; 工具一样(see <xref linkend="term-config"/> for
|
||||
details)。为用户提供了同样功能。它可以完成系统的登录任务,
|
||||
然后为用户运行一个会话管理器
|
||||
(通常是一个 X 视窗管理器)。接下来 <application>XDM</application>
|
||||
|
@ -1272,7 +1272,7 @@ DisplayManager.requestPort: 0</screen>
|
|||
<programlisting>proc /proc procfs rw 0 0</programlisting>
|
||||
|
||||
<para>到 <filename>/etc/fstab</filename> 以便在系统启动时自动挂载
|
||||
&man.procfs.5。</para>
|
||||
&man.procfs.5;。</para>
|
||||
|
||||
<para>一旦装好了 <application>GNOME</application>,
|
||||
就必须告诉 X server 启动
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
注意这些文件使用了非标准的制表符:
|
||||
<application>Emacs</application> 和
|
||||
<application>Vim</application> 应该能在打开文件的时候自动识别它,
|
||||
而 &man.vi.1; 和 &man.ex.1 则需要在打开文件的时候通过
|
||||
而 &man.vi.1; 和 &man.ex.1; 则需要在打开文件的时候通过
|
||||
<command>:set tabstop=4</command> 来修正默认的设置。</para>
|
||||
</note>
|
||||
|
||||
|
@ -3567,8 +3567,8 @@ PKGNAMESUFFIX= ${RESOLUTION}
|
|||
:
|
||||
# default
|
||||
RESOLUTION?= 300
|
||||
.if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \
|
||||
${RESOLUTION} != 300 && ${RESOLUTION} != 400
|
||||
.if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \
|
||||
${RESOLUTION} != 300 && ${RESOLUTION} != 400
|
||||
@${ECHO_MSG} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\""
|
||||
@${ECHO_MSG} "Possible values are: 118, 240, 300 (default) and 400."
|
||||
@${FALSE}
|
||||
|
@ -4120,14 +4120,14 @@ PORTVERSION= 1.0</programlisting>
|
|||
|
||||
<programlisting>post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})</programlisting>
|
||||
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})</programlisting>
|
||||
|
||||
<para>这个例子将原作者提供的整个
|
||||
<filename>examples</filename> 目录复制到您 port 指定的安装示范文件的位置。</para>
|
||||
|
||||
<programlisting>post-install:
|
||||
${MKDIR} ${DATADIR}/summer
|
||||
(cd ${WRKSRC}/temperatures/ && ${COPYTREE_SHARE} "June July August" ${DATADIR}/summer/)</programlisting>
|
||||
(cd ${WRKSRC}/temperatures/ && ${COPYTREE_SHARE} "June July August" ${DATADIR}/summer/)</programlisting>
|
||||
|
||||
<para>这个例子将把夏季的三个月的数据, 复制到
|
||||
<filename><makevar>DATADIR</makevar></filename> 中的
|
||||
|
@ -4140,7 +4140,7 @@ PORTVERSION= 1.0</programlisting>
|
|||
|
||||
<programlisting>post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}/examples/ && \
|
||||
(cd ${WRKSRC}/examples/ && \
|
||||
${COPYTREE_SHARE} \* ${EXAMPLESDIR} "! -name Makefile")</programlisting>
|
||||
|
||||
<para>需要注意的是, 这些宏并不能自动将所安装的文件加到
|
||||
|
@ -5659,7 +5659,7 @@ QT_COMPONENTS= gui moc_build qmake_build rcc_build uic_build</programlisting>
|
|||
<programlisting>HAS_CONFIGURE= yes
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
||||
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
||||
${QMAKE} -unix PREFIX=${PREFIX} texmaker.pro</programlisting>
|
||||
|
||||
<para>请注意, 这与系统提供的 <filename>BUILD.sh</filename>
|
||||
|
@ -8288,7 +8288,7 @@ CFLAGS+= -DLUA_VERSION_STRING="${VER_STR}"
|
|||
<ulink url="&url.books.handbook;/configtuning-rcd.html">使用手册的 rc.d
|
||||
章节</ulink> 找到。 关于可用命令的详细解释, 则可以在
|
||||
&man.rc.8; 和 &man.rc.subr.8; 找到。 最后, 您可以参阅
|
||||
<ulink url="&url.articles.rc-scripting">这篇文章</ulink>
|
||||
<ulink url="&url.articles.rc-scripting;">这篇文章</ulink>
|
||||
了解撰写 <filename>rc.d</filename> 脚本的最佳实践。</para>
|
||||
|
||||
<para>可以安装一或多个 <filename>rc.d</filename> 脚本:</para>
|
||||
|
@ -8645,7 +8645,7 @@ etc/orbit.conf.sample
|
|||
|
||||
<para>将目录结构保存到一新文件中。</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>(cd /var/tmp/`make -V PORTNAME` && find -d * -type d) | sort > OLD-DIRS</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>(cd /var/tmp/`make -V PORTNAME` && find -d * -type d) | sort > OLD-DIRS</userinput></screen>
|
||||
|
||||
<para>建立一空白 <filename>pkg-plist</filename> 文件:</para>
|
||||
|
||||
|
@ -8655,11 +8655,11 @@ etc/orbit.conf.sample
|
|||
则接下来应安装该 port 并创建装箱单。</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>make install PREFIX=/var/tmp/`make -V PORTNAME`</userinput>
|
||||
&prompt.root; <userinput>(cd /var/tmp/`make -V PORTNAME` && find -d * \! -type d) | sort > pkg-plist</userinput></screen>
|
||||
&prompt.root; <userinput>(cd /var/tmp/`make -V PORTNAME` && find -d * \! -type d) | sort > pkg-plist</userinput></screen>
|
||||
|
||||
<para>此外还应把新建立的目录加入装箱单。</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>(cd /var/tmp/`make -V PORTNAME` && find -d * -type d) | sort | comm -13 OLD-DIRS - | sort -r | sed -e 's#^#@dirrm #' >> pkg-plist</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>(cd /var/tmp/`make -V PORTNAME` && find -d * -type d) | sort | comm -13 OLD-DIRS - | sort -r | sed -e 's#^#@dirrm #' >> pkg-plist</userinput></screen>
|
||||
|
||||
<para>最后需要手工整理 packing list; 这一过程不是
|
||||
<emphasis>完全</emphasis> 自动的。 联机手册应列入 port
|
||||
|
@ -9702,7 +9702,7 @@ as .putsy.conf and edit it.</programlisting>
|
|||
然后将您的新记录加入到 VuXML 数据库中。 接下来,
|
||||
用下面的命令来检查它是否符合语法:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>cd ${PORTSDIR}/security/vuxml && make validate</userinput></screen>
|
||||
<screen>&prompt.user; <userinput>cd ${PORTSDIR}/security/vuxml && make validate</userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>您需要安装下列 package 中的至少一个:
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<xsl:import href="../../../share/xml/mirrors-master.xsl" />
|
||||
|
||||
<xsl:output type="xml" encoding="gb2312"
|
||||
omit-xml-declaration="yes"
|
||||
indent="yes"/>
|
||||
|
||||
<!-- template: "mirrors-docbook-contact" -->
|
||||
|
|
|
@ -447,13 +447,10 @@ Coverity Extend
|
|||
DAMAGE.</para>
|
||||
</important>
|
||||
|
||||
<![%output.for.print;[
|
||||
|
||||
<important><para><emphasis>从 FreeBSD 和 FreeBSD 中文化项目官方网站获取的本文档
|
||||
PostScript® 和 PDF 格式文件中内嵌的中文字体,由文鼎科技开发股份有限公司按
|
||||
《文鼎公众授权书》授权提供。</emphasis></para></important>
|
||||
|
||||
<!-- Start of ARPHIC PUBLIC LICENSE -->
|
||||
<para>文鼎公众授权书</para>
|
||||
<para></para>
|
||||
<para>版权所有(C) 1999 文鼎科技开发股份有限公司</para>
|
||||
|
@ -559,8 +556,6 @@ Coverity Extend
|
|||
均不对您因使用或不能使用本字型(包括但不限于替代商品或服务的采购;
|
||||
使用、 数据或利益之损失; 或者营业妨碍) 所引致的任何直接、 间接、 必然、
|
||||
偶然、 特殊或惩罚性损失负责, 即使版权人或其他人已知该损失的可能性时亦不例外。</para>
|
||||
<!-- End of ARPHIC PUBLIC LICENSE -->
|
||||
]]>
|
||||
</legalnotice>
|
||||
'>
|
||||
|
||||
|
|
Loading…
Reference in a new issue