handbook:
advanced-networking/chapter.sgml 1.403 -> 1.404 basics/chapter.sgml 1.151 -> 1.152 config/chapter.sgml 1.227 -> 1.228 desktop/chapter.sgml 1.74 -> 1.75 disks/chapter.sgml 1.277 -> 1.279 firewalls/chapter.sgml 1.77 -> 1.78 geom/chapter.sgml 1.34 -> 1.38 ports/chapter.sgml 1.268 -> 1.269 serialcomms/chapter.sgml 1.119 -> 1.120 Obtained from: The FreeBSD Simplified Chinese Project
This commit is contained in:
parent
4176be5dd7
commit
e48afc96cc
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=31205
9 changed files with 63 additions and 38 deletions
zh_CN.GB2312/books/handbook
advanced-networking
basics
config
desktop
disks
firewalls
geom
ports
serialcomms
|
@ -2,7 +2,7 @@
|
|||
The FreeBSD Documentation Project
|
||||
The FreeBSD Chinese Documentation Project
|
||||
|
||||
Original revision: 1.403
|
||||
Original revision: 1.404
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
||||
|
@ -2791,6 +2791,20 @@ bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1
|
|||
而无需划分子网。</para>
|
||||
</sect3>
|
||||
|
||||
<sect3>
|
||||
<title>地址限制</title>
|
||||
|
||||
<para>接口后的源 MAC 地址数量是可以控制的。
|
||||
一旦到达了限制未知源地址的包将会被丢弃,
|
||||
直至现有缓存中的一项过期或被移除。</para>
|
||||
|
||||
<para>下面的例子是设置 <hostid role="Hostname">CustomerA</hostid>
|
||||
在 <literal>vlan100</literal> 上可连接的以太网设备最大值为
|
||||
10。</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig bridge0 ifmaxaddr vlan100 10</userinput></screen>
|
||||
</sect3>
|
||||
|
||||
<sect3>
|
||||
<title>SNMP 管理</title>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
||||
Original Revision: 1.151
|
||||
Original Revision: 1.152
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
||||
|
@ -283,7 +283,8 @@ options SC_PIXEL_MODE</programlisting>
|
|||
<screen>&prompt.root; <userinput>vidcontrol -i mode</userinput></screen>
|
||||
|
||||
<para>这个命令的输出是一份你的硬件所支持的显示模式列表。
|
||||
你可以在以 root 身份在控制台上键入以下命令来改变显示模式:</para>
|
||||
你可以在以 root 身份在控制台上键入 &man.vidcontrol.1;
|
||||
命令来改变显示模式:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>vidcontrol MODE_279</userinput></screen>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
The FreeBSD Documentation Project
|
||||
The FreeBSD Chinese Documentation Project
|
||||
|
||||
Original Revision: 1.227
|
||||
Original Revision: 1.228
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
||||
|
@ -404,7 +404,7 @@ run_rc_command "$1"</programlisting>
|
|||
|
||||
<programlisting>utility_enable="YES"</programlisting>
|
||||
|
||||
<para>这个新方法也使得命令行参数、包含 <filename>/etc/rc.subr</filename>
|
||||
<para>这个方法也使得命令行参数、包含 <filename>/etc/rc.subr</filename>
|
||||
中所提供的功能, 兼容 &man.rcorder.8; 工具并提供更简单的通过
|
||||
<filename>rc.conf</filename> 文件来配置的方法。</para>
|
||||
</sect2>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
The FreeBSD Documentation Project
|
||||
The FreeBSD Chinese Project
|
||||
|
||||
Original Revision: 1.74
|
||||
Original Revision: 1.75
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
||||
|
@ -914,10 +914,12 @@
|
|||
<secondary><application>KMyMoney</application></secondary>
|
||||
</indexterm>
|
||||
|
||||
<para><application>KMyMoney</application> 是一个 KDE
|
||||
环境下的个人财务管理软件。 KMyMoney
|
||||
<para><application>KMyMoney</application> 是一个
|
||||
<application>KDE</application>环境下的个人财务管理软件。
|
||||
<application>KMyMoney</application>
|
||||
旨在提供并融合各种商业财务管理软件所有的重要特性。
|
||||
它也同样注重易用性和特有的复式记帐功能。 KMyMoney
|
||||
它也同样注重易用性和特有的复式记帐功能。
|
||||
<application>KMyMoney</application>
|
||||
能从标准的 Quicken Interchange Format (QIF) 文件导入数据,
|
||||
追踪投资,处理多种货币并能提供一个财务报告。
|
||||
另有可用的插件支持导入 OFX 格式的数据。</para>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
||||
Original Revision: 1.277
|
||||
Original Revision: 1.279
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
||||
|
@ -2450,26 +2450,11 @@ gzip -c -best /bin/sync > /mnt/bin/sync
|
|||
|
||||
cp /root/.profile /mnt/root
|
||||
|
||||
cp -f /dev/MAKEDEV /mnt/dev
|
||||
chmod 755 /mnt/dev/MAKEDEV
|
||||
|
||||
chmod 500 /mnt/sbin/init
|
||||
chmod 555 /mnt/sbin/fsck /mnt/sbin/mount /mnt/sbin/halt
|
||||
chmod 555 /mnt/bin/sh /mnt/bin/sync
|
||||
chmod 6555 /mnt/sbin/restore
|
||||
|
||||
#
|
||||
# create the devices nodes
|
||||
#
|
||||
cd /mnt/dev
|
||||
./MAKEDEV std
|
||||
./MAKEDEV da0
|
||||
./MAKEDEV da1
|
||||
./MAKEDEV da2
|
||||
./MAKEDEV sa0
|
||||
./MAKEDEV pty0
|
||||
cd /
|
||||
|
||||
#
|
||||
# create minimum file system table
|
||||
#
|
||||
|
@ -3635,6 +3620,10 @@ geli_da2_flags="-p -k /root/da2.key"</programlisting>
|
|||
在其上使用密钥长度为 128-位 的 Blowfish 加密算法, 4 kilobytes
|
||||
的扇区尺寸, 并采用 <quote>最后一次关闭时卸下</quote> 的策略:</para>
|
||||
|
||||
<programlisting>geli_swap_flags="-e blowfish -l 128 -s 4096 -d"</programlisting>
|
||||
|
||||
<para>For systems prior to &os; 6.2-RELEASE, use the following line:</para>
|
||||
|
||||
<programlisting>geli_swap_flags="-a blowfish -l 128 -s 4096 -d"</programlisting>
|
||||
|
||||
<para>请参见 &man.geli.8; 联机手册中关于 <command>onetime</command>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
||||
Original Revision: 1.77
|
||||
Original Revision: 1.78
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
||||
Original Revision: 1.34
|
||||
Original Revision: 1.38
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
||||
|
@ -512,10 +512,6 @@ ggate0
|
|||
|
||||
<screen>&prompt.root; <userinput>mount /home</userinput></screen>
|
||||
|
||||
<para>下列命令可以清除标签:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>glabel destroy home</userinput></screen>
|
||||
|
||||
<para>现在, 只要在系统引导时通过 <filename>/boot/loader.conf</filename> 配置加载了内核模块
|
||||
<filename>geom_label.ko</filename>, 或在联编内核时指定了
|
||||
<literal>GEOM_LABEL</literal> 选项,
|
||||
|
@ -524,6 +520,10 @@ ggate0
|
|||
<para>通过使用 <command>newfs</command> 命令的
|
||||
<option>-L</option> 参数, 可以在创建文件系统时为其添加默认的标签。
|
||||
请参见联机手册 &man.newfs.8; 以了解进一步的详情。</para>
|
||||
|
||||
<para>下列命令可以清除标签:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>glabel destroy home</userinput></screen>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
|
@ -564,7 +564,7 @@ ggate0
|
|||
<devicename>da4</devicename>, 具体的操作步骤为:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>gjournal label /dev/da4</userinput>
|
||||
<userinput>gjournal load</userinput></screen>
|
||||
&prompt.root; <userinput>gjournal load</userinput></screen>
|
||||
|
||||
<para>这样, 就会出现一个与
|
||||
<devicename>/dev/da4</devicename> 设备节点对应的
|
||||
|
@ -578,13 +578,16 @@ ggate0
|
|||
|
||||
<para>然后就可以用 <command>mount</command> 命令来挂接设备了:</para>
|
||||
|
||||
<screen>&prompt.root <userinput>mount /dev/da4.journal /mnt</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>mount /dev/da4.journal <replaceable>/mnt</replaceable></userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>当磁盘包含多个 slice 时, 每个 slice 上都会建立日志。
|
||||
例如, 如果有 ad4s1 和 ad4s2
|
||||
这两个 slice, 则 <command>gjournal</command> 会建立
|
||||
ad4s1.journal 和 ad4s2.journal。 如果连续运行两次这个命令, 则会建立
|
||||
例如, 如果有 <devicename>ad4s1</devicename> 和
|
||||
<devicename>ad4s2</devicename> 这两个 slice,
|
||||
则 <command>gjournal</command> 会建立
|
||||
<devicename>ad4s1.journal</devicename> 和
|
||||
<devicename>ad4s2.journal</devicename>。
|
||||
如果连续运行两次这个命令, 则会建立
|
||||
<quote>多层日志</quote>。</para>
|
||||
</note>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Documentation Project
|
||||
|
||||
Original Revision: 1.268
|
||||
Original Revision: 1.269
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
||||
|
@ -961,6 +961,22 @@ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ fetch</userinput></screen>
|
|||
<makevar>PREFIX</makevar> 是困难甚至是不可能的事情。</para>
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3>
|
||||
<title>重新配置 Ports</title>
|
||||
|
||||
<para>当你在编译某些 ports 的时候,可能会弹出一个基于 ncurses
|
||||
的菜单来让你来选择一些编译选项。 通常用户都希望能够在一个 port
|
||||
被编译安装了以后还能再次访问这份菜单以添加删除或修改这些选项。
|
||||
实际上有很多方法来做这件事情。 一个方法进入那个 port 的目录后键入
|
||||
<command>make</command> <maketarget>config</maketarget>,
|
||||
之后便会再次显示出菜单和已选择的项目。 另一个方法是用
|
||||
<command>make</command> <maketarget>showconfig</maketarget>,
|
||||
这会给你显示出所有的配置选项。还有一个方法是执行
|
||||
<command>make</command> <maketarget>rmconfig</maketarget>,
|
||||
这将删除所有已选择的项目。 有关这些选项更详细的内容请参阅
|
||||
&man.ports.7;。</para>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="ports-removing">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
||||
Original Revision: 1.119
|
||||
Original Revision: 1.120
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
||||
|
|
Loading…
Reference in a new issue