Fix some grammar errors in the configuration chapter.
While I'm here, replace $FreeBSD$ with $FreeBSD$ because this fails the pre_commit checks otherwise. PR: 32474 Submitted by: Ceri <setantae@submonkey.net>
This commit is contained in:
parent
517cc7722f
commit
e12acaea8f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11363
1 changed files with 12 additions and 12 deletions
|
@ -50,14 +50,14 @@
|
|||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>Why and how to efficiently size, layout, and place
|
||||
filesystems and swap partition on your hard drive.</para>
|
||||
filesystems and swap partitions on your hard drive.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>The basics of the <filename>rc.conf</filename> configuration and
|
||||
<filename>/usr/local/etc/rc.d</filename> startup systems.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>How to configure virtual hosts on your network device.</para>
|
||||
<para>How to configure virtual hosts on your network devices.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>How to use the various configuration files in
|
||||
|
@ -123,7 +123,7 @@
|
|||
<para>The size of your <filename>/var</filename> partition
|
||||
reflects the intended use of your machine.
|
||||
<filename>/var</filename> is primarily used to hold:
|
||||
mailboxes, print spool and log files. Mail boxes and log
|
||||
mailboxes, print spool and log files. Mailboxes and log
|
||||
files, in particular, can grow to unexpected sizes based upon
|
||||
how many users are on your system and how long your log files
|
||||
are kept. If you intend to run a mail server, a
|
||||
|
@ -315,7 +315,7 @@
|
|||
configuration files for the application, they will be created by
|
||||
copying the .default files.</para>
|
||||
|
||||
<para>For example, here is
|
||||
<para>For example, consider the contents of the directory
|
||||
<filename>/usr/local/etc/apache</filename>:</para>
|
||||
|
||||
<literallayout class="monospaced">-rw-r--r-- 1 root wheel 2184 May 20 1998 access.conf
|
||||
|
@ -656,7 +656,7 @@ nameserver 147.11.100.30</programlisting>
|
|||
of <command>syslog</command> messages are logged to particular
|
||||
log files.</para>
|
||||
|
||||
<programlisting># $FreeBSD$
|
||||
<programlisting># $FreeBSD$
|
||||
#
|
||||
# Spaces ARE valid field separators in this file. However,
|
||||
# other *nix-like systems still insist on using tabs as field
|
||||
|
@ -704,7 +704,7 @@ cron.* /var/log/cron
|
|||
<filename>logfile</filename> is moved to
|
||||
<filename>logfile.0</filename>, <filename>logfile.0</filename>
|
||||
is moved to <filename>logfile.1</filename>, and so on.
|
||||
Additionally, the log files may be archived in &man.gzip.1; format
|
||||
Alternatively, the log files may be archived in &man.gzip.1; format
|
||||
causing them to be named: <filename>logfile.0.gz</filename>,
|
||||
<filename>logfile.1.gz</filename>, and so on.</para>
|
||||
|
||||
|
@ -715,7 +715,7 @@ cron.* /var/log/cron
|
|||
certain periodic time/date.</para>
|
||||
|
||||
<programlisting># configuration file for newsyslog
|
||||
# $FreeBSD$
|
||||
# $FreeBSD$
|
||||
#
|
||||
# filename [owner:group] mode count size when [ZB] [/pid_file] [sig_num]
|
||||
/var/log/cron 600 3 100 * Z
|
||||
|
@ -775,8 +775,8 @@ compat.linux.osrelease=4.3-STABLE</programlisting>
|
|||
administrator. Over five hundred system variables can be read
|
||||
and set using &man.sysctl.8;.</para>
|
||||
|
||||
<para>At its core, &man.sysctl.8; serves to do two functions: read and
|
||||
modify system settings.</para>
|
||||
<para>At its core, &man.sysctl.8; serves two functions: to read and
|
||||
to modify system settings.</para>
|
||||
|
||||
<para>To view all readable variables:</para>
|
||||
|
||||
|
@ -889,8 +889,8 @@ kern.maxfiles: 2088 -> 5000</screen>
|
|||
are two downsides to Soft Updates that you should be aware of: First,
|
||||
Soft Updates guarantees filesystem consistency in the case of a crash
|
||||
but could very easily be several
|
||||
seconds (even a minute!) behind updating the physical disk. If you
|
||||
crash you may lose more work than otherwise. Secondly, Soft Updates
|
||||
seconds (even a minute!) behind updating the physical disk. If your system
|
||||
crashes you may lose more work than otherwise. Secondly, Soft Updates
|
||||
delays the freeing of filesystem blocks. If you have a filesystem
|
||||
(such as the root filesystem) which is close to full, doing a major
|
||||
update of it, e.g. <command>make installworld</command>, can run it
|
||||
|
@ -943,7 +943,7 @@ kern.maxfiles: 2088 -> 5000</screen>
|
|||
<title>Network Limits</title>
|
||||
|
||||
<para>The <varname>NMBCLUSTERS</varname> kernel configuration
|
||||
option dictate the amount of network mbufs available to the
|
||||
option dictates the amount of network mbufs available to the
|
||||
system. A heavily-trafficked server with a low number of MBUFs
|
||||
will hinder FreeBSD's ability. Each cluster represents
|
||||
approximately 2K of memory, so a value of 1024 represents 2
|
||||
|
|
Loading…
Reference in a new issue