2002-03-24 01:10:27 +00:00
|
|
|
<chapter>
|
|
|
|
<title>System configuration</title>
|
|
|
|
<section>
|
|
|
|
<title>Kernel modules</title>
|
|
|
|
<para>
|
|
|
|
Kernel modules configuration is stored in <filename>/etc/modules.conf</filename>.
|
|
|
|
Some common examples:</para>
|
|
|
|
<para>
|
|
|
|
Use kernel module <literal>3c509</literal> (3Com 509/509b adapter) to handle first ethernet
|
|
|
|
device (eth0):
|
|
|
|
<programlisting>alias eth0 3c509</programlisting>
|
|
|
|
|
|
|
|
Use kernel module <literal>aic7xxx</literal> to handle SCSI hostadapter:
|
|
|
|
<programlisting>alias scsi_hostadapter aic7xxx</programlisting>
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
See <citerefentry><refentrytitle>modules.conf</refentrytitle></citerefentry>for details.
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<title>Disks</title>
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<literallayout>
|
|
|
|
fstab:
|
|
|
|
disks
|
|
|
|
removable media: CD, diskettes etc
|
|
|
|
user access
|
|
|
|
automounter
|
|
|
|
</literallayout>
|
|
|
|
</section>
|
|
|
|
<section id="inittab">
|
|
|
|
<title>Init control: /etc/inittab</title>
|
|
|
|
<para>
|
|
|
|
This file is read by <command>init</command> to control
|
|
|
|
behaviour in particular runlevel.
|
|
|
|
What it usually contains is:
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
<emphasis>Default runlevel</emphasis> - the runlevel used
|
|
|
|
when init is invoked without parameters (e.g. during system startup).
|
|
|
|
(runlevels are described in <xref linkend="runlevels"/>),
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Instructions to start consoles.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Invocation of proper init scripts.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Handling special events like Ctrl-Alt-Del keystroke.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<title>Basic system configuration: <filename>/etc/sysconfig</filename></title>
|
2002-03-23 21:04:04 +00:00
|
|
|
<section>
|
2002-03-24 01:10:27 +00:00
|
|
|
<title>Intro</title>
|
2002-03-23 21:04:04 +00:00
|
|
|
<para>
|
2002-03-24 01:10:27 +00:00
|
|
|
Directory <filename>/etc/sysconfig</filename> contains several files
|
|
|
|
that are used by rc-scripts (system startup scripts located in
|
|
|
|
/etc/rc.d). Those files defines basic properties of the system.
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<title>console</title>
|
2002-03-23 21:04:04 +00:00
|
|
|
<para>
|
2002-03-24 01:10:27 +00:00
|
|
|
File <filename>/etc/sysconfig/console</filename>
|
|
|
|
contains basic console settings.
|
2002-03-23 21:04:04 +00:00
|
|
|
</para>
|
2002-03-24 01:10:27 +00:00
|
|
|
<para>
|
|
|
|
After modyfying config file, issue
|
|
|
|
<programlisting>/etc/rc.d/init.d/console restart</programlisting>
|
|
|
|
if you want the changes to take effect.
|
2002-03-23 21:04:04 +00:00
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
<section>
|
2002-03-24 01:10:27 +00:00
|
|
|
<title>mouse</title>
|
|
|
|
<para>
|
|
|
|
File <filename>/etc/sysconfig/mouse</filename> contains
|
|
|
|
mouse settings for service <command>gpm</command> (General Purpose Mouse).
|
|
|
|
This service provides mouse support for console based
|
|
|
|
applications and may be also used by X Window System.
|
|
|
|
<!-- (see <xref linkend="x-repeater"/>) -->
|
|
|
|
</para>
|
2002-03-23 21:04:04 +00:00
|
|
|
<para>
|
2002-03-24 01:10:27 +00:00
|
|
|
After modyfying config file, issue
|
|
|
|
<programlisting>/etc/rc.d/init.d/gpm restart</programlisting>
|
|
|
|
if you want the changes to take effect.
|
2002-03-23 21:04:04 +00:00
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
2002-03-24 01:10:27 +00:00
|
|
|
<title>clock</title>
|
2002-03-23 21:04:04 +00:00
|
|
|
<para>
|
2002-03-24 01:10:27 +00:00
|
|
|
File <filename>/etc/sysconfig/clock</filename> contains
|
|
|
|
clock settings.
|
|
|
|
Its content is used by /etc/rc.d/rc.sysinit script
|
|
|
|
at very early stage of system bootup.
|
|
|
|
This file contains very general clock properties.
|
|
|
|
Setting clock can be done with <command>date</command>
|
|
|
|
and <command>hwclock</command> commands.
|
2002-03-23 21:04:04 +00:00
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
<section>
|
2002-03-24 01:10:27 +00:00
|
|
|
<title>system</title>
|
2002-03-23 21:04:04 +00:00
|
|
|
<para>
|
2002-03-24 01:10:27 +00:00
|
|
|
Its content is used by rc-scripts at very early stage of system bootup.
|
|
|
|
It contains some very basic like system behaviour in case of kernel
|
|
|
|
panic, etc.
|
2002-03-23 21:04:04 +00:00
|
|
|
</para>
|
|
|
|
</section>
|
2002-03-24 01:10:27 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<title>Printing</title>
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<title>X Window</title>
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
</chapter>
|
2002-03-23 21:04:04 +00:00
|
|
|
|
|
|
|
|
2002-03-24 01:10:27 +00:00
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: xml
|
|
|
|
sgml-omittag:nil
|
|
|
|
sgml-shorttag:nil
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:2
|
|
|
|
sgml-indent-data:t
|
|
|
|
sgml-default-dtd-file:"../dbxbook4.1.2.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
sgml-declaration:nil
|
|
|
|
sgml-validate-command:"rxp -sxV %s %s"
|
|
|
|
sgml-parent-document:("PLD-Guide.xml" "book" "section")
|
|
|
|
End:
|
|
|
|
-->
|