Lines 50-63
Link Here
|
50 |
<itemizedlist> |
50 |
<itemizedlist> |
51 |
<listitem> |
51 |
<listitem> |
52 |
<para>Why and how to efficiently size, layout, and place |
52 |
<para>Why and how to efficiently size, layout, and place |
53 |
filesystems and swap partition on your hard drive.</para> |
53 |
filesystems and swap partitions on your hard drive.</para> |
54 |
</listitem> |
54 |
</listitem> |
55 |
<listitem> |
55 |
<listitem> |
56 |
<para>The basics of the <filename>rc.conf</filename> configuration and |
56 |
<para>The basics of the <filename>rc.conf</filename> configuration and |
57 |
<filename>/usr/local/etc/rc.d</filename> startup systems.</para> |
57 |
<filename>/usr/local/etc/rc.d</filename> startup systems.</para> |
58 |
</listitem> |
58 |
</listitem> |
59 |
<listitem> |
59 |
<listitem> |
60 |
<para>How to configure virtual hosts on your network device.</para> |
60 |
<para>How to configure virtual hosts on your network devices.</para> |
61 |
</listitem> |
61 |
</listitem> |
62 |
<listitem> |
62 |
<listitem> |
63 |
<para>How to use the various configuration files in |
63 |
<para>How to use the various configuration files in |
Lines 123-129
Link Here
|
123 |
<para>The size of your <filename>/var</filename> partition |
123 |
<para>The size of your <filename>/var</filename> partition |
124 |
reflects the intended use of your machine. |
124 |
reflects the intended use of your machine. |
125 |
<filename>/var</filename> is primarily used to hold: |
125 |
<filename>/var</filename> is primarily used to hold: |
126 |
mailboxes, print spool and log files. Mail boxes and log |
126 |
mailboxes, print spool and log files. Mailboxes and log |
127 |
files, in particular, can grow to unexpected sizes based upon |
127 |
files, in particular, can grow to unexpected sizes based upon |
128 |
how many users are on your system and how long your log files |
128 |
how many users are on your system and how long your log files |
129 |
are kept. If you intend to run a mail server, a |
129 |
are kept. If you intend to run a mail server, a |
Lines 315-321
Link Here
|
315 |
configuration files for the application, they will be created by |
315 |
configuration files for the application, they will be created by |
316 |
copying the .default files.</para> |
316 |
copying the .default files.</para> |
317 |
|
317 |
|
318 |
<para>For example, here is |
318 |
<para>For example, consider the contents of the directory |
319 |
<filename>/usr/local/etc/apache</filename>:</para> |
319 |
<filename>/usr/local/etc/apache</filename>:</para> |
320 |
|
320 |
|
321 |
<literallayout class="monospaced">-rw-r--r-- 1 root wheel 2184 May 20 1998 access.conf |
321 |
<literallayout class="monospaced">-rw-r--r-- 1 root wheel 2184 May 20 1998 access.conf |
Lines 704-710
Link Here
|
704 |
<filename>logfile</filename> is moved to |
704 |
<filename>logfile</filename> is moved to |
705 |
<filename>logfile.0</filename>, <filename>logfile.0</filename> |
705 |
<filename>logfile.0</filename>, <filename>logfile.0</filename> |
706 |
is moved to <filename>logfile.1</filename>, and so on. |
706 |
is moved to <filename>logfile.1</filename>, and so on. |
707 |
Additionally, the log files may be archived in &man.gzip.1; format |
707 |
Alternatively, the log files may be archived in &man.gzip.1; format |
708 |
causing them to be named: <filename>logfile.0.gz</filename>, |
708 |
causing them to be named: <filename>logfile.0.gz</filename>, |
709 |
<filename>logfile.1.gz</filename>, and so on.</para> |
709 |
<filename>logfile.1.gz</filename>, and so on.</para> |
710 |
|
710 |
|
Lines 775-782
Link Here
|
775 |
administrator. Over five hundred system variables can be read |
775 |
administrator. Over five hundred system variables can be read |
776 |
and set using &man.sysctl.8;.</para> |
776 |
and set using &man.sysctl.8;.</para> |
777 |
|
777 |
|
778 |
<para>At its core, &man.sysctl.8; serves to do two functions: read and |
778 |
<para>At its core, &man.sysctl.8; serves two functions: to read and |
779 |
modify system settings.</para> |
779 |
to modify system settings.</para> |
780 |
|
780 |
|
781 |
<para>To view all readable variables:</para> |
781 |
<para>To view all readable variables:</para> |
782 |
|
782 |
|
Lines 889-896
Link Here
|
889 |
are two downsides to Soft Updates that you should be aware of: First, |
889 |
are two downsides to Soft Updates that you should be aware of: First, |
890 |
Soft Updates guarantees filesystem consistency in the case of a crash |
890 |
Soft Updates guarantees filesystem consistency in the case of a crash |
891 |
but could very easily be several |
891 |
but could very easily be several |
892 |
seconds (even a minute!) behind updating the physical disk. If you |
892 |
seconds (even a minute!) behind updating the physical disk. If your |
893 |
crash you may lose more work than otherwise. Secondly, Soft Updates |
893 |
system |
|
|
894 |
crashes you may lose more work than otherwise. Secondly, Soft Updates |
894 |
delays the freeing of filesystem blocks. If you have a filesystem |
895 |
delays the freeing of filesystem blocks. If you have a filesystem |
895 |
(such as the root filesystem) which is close to full, doing a major |
896 |
(such as the root filesystem) which is close to full, doing a major |
896 |
update of it, e.g. <command>make installworld</command>, can run it |
897 |
update of it, e.g. <command>make installworld</command>, can run it |
Lines 943-949
Link Here
|
943 |
<title>Network Limits</title> |
944 |
<title>Network Limits</title> |
944 |
|
945 |
|
945 |
<para>The <varname>NMBCLUSTERS</varname> kernel configuration |
946 |
<para>The <varname>NMBCLUSTERS</varname> kernel configuration |
946 |
option dictate the amount of network mbufs available to the |
947 |
option dictates the amount of network mbufs available to the |
947 |
system. A heavily-trafficked server with a low number of MBUFs |
948 |
system. A heavily-trafficked server with a low number of MBUFs |
948 |
will hinder FreeBSD's ability. Each cluster represents |
949 |
will hinder FreeBSD's ability. Each cluster represents |
949 |
approximately 2K of memory, so a value of 1024 represents 2 |
950 |
approximately 2K of memory, so a value of 1024 represents 2 |