Whitespace change only. Re-wrap paragraphs.
This commit is contained in:
parent
aff6d69a81
commit
ba75884c26
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11546
1 changed files with 32 additions and 34 deletions
|
@ -37,8 +37,8 @@
|
|||
<indexterm><primary>system configuration/optimization</primary></indexterm>
|
||||
|
||||
<para>Configuring a system correctly can substantially reduce the
|
||||
amount of work involved in maintaining and upgrading it
|
||||
in the future. This chapter describes some of the aspects of
|
||||
amount of work involved in maintaining and upgrading it in the
|
||||
future. This chapter describes some of the aspects of
|
||||
administrative configuration of FreeBSD systems.</para>
|
||||
|
||||
<para>This chapter will also describe some of the parameters that
|
||||
|
@ -113,24 +113,23 @@
|
|||
or &man.sysinstall.8;, it is important to remember that hard
|
||||
drives can transfer data at a faster rate from the outer
|
||||
tracks than the inner. Knowing this, you should place your
|
||||
smaller, heavily-accessed filesystems, such as root and swap,
|
||||
closer to the outside of the drive, while placing larger
|
||||
partitions, such as <filename>/usr</filename>, towards the
|
||||
inner. To do so, it is
|
||||
a good idea to create partitions in a similar order: root,
|
||||
swap, <filename>/var</filename>,
|
||||
<filename>/usr</filename>.</para>
|
||||
smaller, heavily-accessed filesystems, such as root and
|
||||
swap, closer to the outside of the drive, while placing
|
||||
larger partitions, such as <filename>/usr</filename>,
|
||||
towards the inner. To do so, it is a good idea to create
|
||||
partitions in a similar order: root, swap,
|
||||
<filename>/var</filename>, <filename>/usr</filename>.</para>
|
||||
|
||||
<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, log files, and printer spools. 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
|
||||
<filename>/var</filename> partition of over a gigabyte can be
|
||||
suitable. Additionally, <filename>/var/tmp</filename> must be
|
||||
large enough to contain any packages you may wish to
|
||||
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
|
||||
<filename>/var</filename> partition of over a gigabyte can
|
||||
be suitable. Additionally, <filename>/var/tmp</filename>
|
||||
must be large enough to contain any packages you may wish to
|
||||
add.</para>
|
||||
|
||||
<para>The <filename>/usr</filename> partition holds the bulk
|
||||
|
@ -139,16 +138,14 @@
|
|||
<filename>/usr/local</filename> holds the bulk of the files
|
||||
installed from the &man.ports.7; hierarchy. If you do not
|
||||
use ports all that much and do not intend to keep system
|
||||
source (<filename>/usr/src</filename>) on the machine,
|
||||
you can get away with a 1
|
||||
gigabyte <filename>/usr</filename> partition. However,
|
||||
if you install a lot of
|
||||
ports (especially window managers and Linux binaries), we
|
||||
source (<filename>/usr/src</filename>) on the machine, you
|
||||
can get away with a 1 gigabyte <filename>/usr</filename>
|
||||
partition. However, if you install a lot of ports
|
||||
(especially window managers and Linux binaries), we
|
||||
recommend at least a two gigabyte <filename>/usr</filename>
|
||||
and if you also
|
||||
intend to keep system source on the machine, we recommend a
|
||||
three gigabyte <filename>/usr</filename>. Do not
|
||||
underestimate the amount of space you will need in this
|
||||
and if you also intend to keep system source on the machine,
|
||||
we recommend a three gigabyte <filename>/usr</filename>. Do
|
||||
not underestimate the amount of space you will need in this
|
||||
partition, it can creep up and surprise you!</para>
|
||||
|
||||
<para>When sizing your partitions, keep in mind the space
|
||||
|
@ -282,9 +279,9 @@
|
|||
</itemizedlist>
|
||||
|
||||
<para>The <filename>rc.conf.site</filename> file can then be
|
||||
distributed to every system using <command>rsync</command> or a similar
|
||||
program, while the <filename>rc.conf</filename> file remains
|
||||
unique.</para>
|
||||
distributed to every system using <command>rsync</command> or a
|
||||
similar program, while the <filename>rc.conf</filename> file
|
||||
remains unique.</para>
|
||||
|
||||
<para>Upgrading the system using &man.sysinstall.8;
|
||||
or <command>make world</command> will not overwrite the
|
||||
|
@ -592,13 +589,14 @@ nameserver 147.11.100.30</programlisting>
|
|||
|
||||
<indexterm><primary>hosts</primary></indexterm>
|
||||
|
||||
<para><filename>/etc/hosts</filename> is a simple text database
|
||||
reminiscent of the old Internet. It works in conjunction with DNS
|
||||
and NIS providing name to IP address mappings. Local computers
|
||||
connected via a LAN can be placed in here for simplistic naming
|
||||
purposes instead of setting up a &man.named.8; server.
|
||||
Additionally, <filename>/etc/hosts</filename> can be used to provide
|
||||
a local record of Internet names, reducing the need to query
|
||||
<para><filename>/etc/hosts</filename> is a simple text
|
||||
database reminiscent of the old Internet. It works in
|
||||
conjunction with DNS and NIS providing name to IP address
|
||||
mappings. Local computers connected via a LAN can be placed
|
||||
in here for simplistic naming purposes instead of setting up
|
||||
a &man.named.8; server. Additionally,
|
||||
<filename>/etc/hosts</filename> can be used to provide a
|
||||
local record of Internet names, reducing the need to query
|
||||
externally for commonly accessed names.</para>
|
||||
|
||||
<programlisting># $FreeBSD$
|
||||
|
|
Loading…
Reference in a new issue