⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config-tuning.html

📁 FreeBSD操作系统的详细使用手册
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta name="generator" content="HTML Tidy, see www.w3.org" /><title>Configuration and Tuning</title><meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /><link rel="HOME" title="FreeBSD Handbook" href="index.html" /><link rel="UP" title="System Administration" href="system-administration.html" /><link rel="PREVIOUS" title="System Administration" href="system-administration.html" /><link rel="NEXT" title="Initial Configuration" href="configtuning-initial.html" /><link rel="STYLESHEET" type="text/css" href="docbook.css" /></head><body class="CHAPTER" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084"alink="#0000FF"><div class="NAVHEADER"><table summary="Header navigation table" width="100%" border="0" cellpadding="0"cellspacing="0"><tr><th colspan="3" align="center">FreeBSD Handbook</th></tr><tr><td width="10%" align="left" valign="bottom"><a href="system-administration.html"accesskey="P">Prev</a></td><td width="80%" align="center" valign="bottom"></td><td width="10%" align="right" valign="bottom"><a href="configtuning-initial.html"accesskey="N">Next</a></td></tr></table><hr align="LEFT" width="100%" /></div><div class="CHAPTER"><h1><a id="CONFIG-TUNING" name="CONFIG-TUNING"></a>Chapter 11 Configuration andTuning</h1><div class="TOC"><dl><dt><b>Table of Contents</b></dt><dt>11.1 <a href="config-tuning.html#CONFIG-SYNOPSIS">Synopsis</a></dt><dt>11.2 <a href="configtuning-initial.html">Initial Configuration</a></dt><dt>11.3 <a href="configtuning-core-configuration.html">Core Configuration</a></dt><dt>11.4 <a href="configtuning-appconfig.html">Application Configuration</a></dt><dt>11.5 <a href="configtuning-starting-services.html">Starting Services</a></dt><dt>11.6 <a href="configtuning-cron.html">Configuring the <tt class="COMMAND">cron</tt>Utility</a></dt><dt>11.7 <a href="configtuning-rcng.html">Using rc under FreeBSD 5.X</a></dt><dt>11.8 <a href="config-network-setup.html">Setting Up Network Interface Cards</a></dt><dt>11.9 <a href="configtuning-virtual-hosts.html">Virtual Hosts</a></dt><dt>11.10 <a href="configtuning-configfiles.html">Configuration Files</a></dt><dt>11.11 <a href="configtuning-sysctl.html">Tuning with sysctl</a></dt><dt>11.12 <a href="configtuning-disk.html">Tuning Disks</a></dt><dt>11.13 <a href="configtuning-kernel-limits.html">Tuning Kernel Limits</a></dt><dt>11.14 <a href="adding-swap-space.html">Adding Swap Space</a></dt><dt>11.15 <a href="acpi-overview.html">Power and Resource Management</a></dt><dt>11.16 <a href="acpi-debug.html">Using and Debugging FreeBSD <acronymclass="ACRONYM">ACPI</acronym></a></dt></dl></div><i class="AUTHORGROUP"><span class="CONTRIB">Written by</span> Chern Lee.</i> <iclass="AUTHORGROUP"><span class="CONTRIB">Based on a tutorial written by</span> MikeSmith.</i> <i class="AUTHORGROUP"><span class="CONTRIB">Also based on tuning(7) writtenby</span> Matt Dillon.</i> <div class="SECT1"><h1 class="SECT1"><a id="CONFIG-SYNOPSIS" name="CONFIG-SYNOPSIS">11.1 Synopsis</a></h1><p>One of the important aspects of FreeBSD is system configuration. Correct systemconfiguration will help prevent headaches during future upgrades. This chapter willexplain much of the FreeBSD configuration process, including some of the parameters whichcan be set to tune a FreeBSD system.</p><p>After reading this chapter, you will know:</p><ul><li><p>How to efficiently work with file systems and swap partitions.</p></li><li><p>The basics of <tt class="FILENAME">rc.conf</tt> configuration and <ttclass="FILENAME">/usr/local/etc/rc.d</tt> startup systems.</p></li><li><p>How to configure and test a network card.</p></li><li><p>How to configure virtual hosts on your network devices.</p></li><li><p>How to use the various configuration files in <tt class="FILENAME">/etc</tt>.</p></li><li><p>How to tune FreeBSD using <tt class="COMMAND">sysctl</tt> variables.</p></li><li><p>How to tune disk performance and modify kernel limitations.</p></li></ul><p>Before reading this chapter, you should:</p><ul><li><p>Understand <span class="TRADEMARK">UNIX</span>&reg; and FreeBSD basics (<ahref="basics.html">Chapter 3</a>).</p></li><li><p>Be familiar with the basics of kernel configuration/compilation (<ahref="kernelconfig.html">Chapter 8</a>).</p></li></ul></div></div><div class="NAVFOOTER"><hr align="LEFT" width="100%" /><table summary="Footer navigation table" width="100%" border="0" cellpadding="0"cellspacing="0"><tr><td width="33%" align="left" valign="top"><a href="system-administration.html"accesskey="P">Prev</a></td><td width="34%" align="center" valign="top"><a href="index.html"accesskey="H">Home</a></td><td width="33%" align="right" valign="top"><a href="configtuning-initial.html"accesskey="N">Next</a></td></tr><tr><td width="33%" align="left" valign="top">System Administration</td><td width="34%" align="center" valign="top"><a href="system-administration.html"accesskey="U">Up</a></td><td width="33%" align="right" valign="top">Initial Configuration</td></tr></table></div><p align="center"><small>This, and other documents, can be downloaded from <ahref="ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/">ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/</a>.</small></p><p align="center"><small>For questions about FreeBSD, read the <ahref="http://www.FreeBSD.org/docs.html">documentation</a> before contacting &#60;<ahref="mailto:questions@FreeBSD.org">questions@FreeBSD.org</a>&#62;.<br />For questions about this documentation, e-mail &#60;<ahref="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>&#62;.</small></p></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -