Files
oldlinux-files/docs/Install-Guide/install-guide-2.2.2/node80.html
2024-02-19 00:23:35 -05:00

86 lines
5.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
<!Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
<HEAD>
<TITLE>2.4 Postinstallation procedures</TITLE>
</HEAD>
<BODY>
<meta name="description" value="2.4 Postinstallation procedures">
<meta name="keywords" value="gs">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
<BR> <HR><A NAME=tex2html2709 HREF="node81.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html2707 HREF="node50.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html2701 HREF="node79.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html2711 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html2712 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html2710 HREF="node81.html">2.5 Running Into Trouble</A>
<B>Up:</B> <A NAME=tex2html2708 HREF="node50.html">2 Obtaining and Installing </A>
<B> Previous:</B> <A NAME=tex2html2702 HREF="node79.html">2.3.8 Additional installation procedures</A>
<BR> <HR> <P>
<H1><A NAME=SECTION00440000000000000000>2.4 Postinstallation procedures</A></H1>
<P>
<A NAME=secinstallpostinstall>&#160;</A>
<P>
After you have completed installing the Linux software, there should be
very little left to do before you can begin to use the system. In most
cases, you should be
able to reboot the system, login as <tt>root</tt>, and begin exploring
the system. (Each distribution has a slightly different method for doing
this.)
<P>
At this point it's a good idea to explain how to reboot and shutdown the
system as you're using it.
You should never reboot or shutdown your Linux system by pressing the
reset switch or with the old ``Vulcan Nerve Pinch''---that is, by
pressing <IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img68.gif"> in unison.<A NAME=tex2html293 HREF="footnode.html#1533"><IMG ALIGN=BOTTOM ALT="gif" SRC="foot_motif.gif"></A>
You shouldn't simply switch off
the power, either. As with most UNIX systems, Linux caches disk
writes in memory. Therefore, if you suddenly reboot the system without
shutting down ``cleanly'', you can corrupt the data on your drives,
causing untold damage.
<P>
The easiest way to shut down the system is with the <tt>shutdown</tt> command.
As an example, to shutdown and reboot the system immediately, use the
following command as <tt>root</tt>:
<P><TT> # <em>shutdown --r now</em>
<A NAME=1534>&#160;</A>
<P></TT>
This will cleanly reboot your system. The man page for <tt>shutdown</tt>
describes the other command-line arguments that are available.<A NAME=tex2html295 HREF="footnode.html#1535"><IMG ALIGN=BOTTOM ALT="gif" SRC="foot_motif.gif"></A>
<P>
Note, however, that many Linux distributions do not provide the
<tt>shutdown</tt> command on the installation media. This means that
the first time you reboot your system after installation, you may
need to use the <IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img70.gif"> combination after all. Thereafter,
you should always use the <tt>shutdown</tt> command.
<P>
After you have a chance to explore and use the system, there are several
configuration chores that you should undertake. The first is to create
a user account for yourself (and, optionally, for any other users that
might have access to the system). Creating user accounts is described in
Section <A HREF="node166.html#secmanageusers">4.4</A>. Usually, all that you have to do is
login as <tt>root</tt>, and run the <tt>adduser</tt> (sometimes <tt>useradd</tt>)
program. This will lead you through several prompts to create a new
user account.
<P>
If you created more than one filesystem for Linux, or if you're using
a swap partition, you may need to edit the file <tt>/etc/fstab</tt> in
order for those filesystems to be available automatically after rebooting.
(For example, if you're using a separate filesystem for <tt>/usr</tt>, and
none of the files that should be in <tt>/usr</tt> appear to be
present, you may simply need to mount that filesystem.)
Section <A HREF="node184.html#secmanagefs">4.8</A> describes this procedure.
<P>
Note that the Slackware distribution of Linux automatically configures
your filesystems and swap space at installation time, so this
usually isn't necessary.
<P>
<BR> <HR><A NAME=tex2html2709 HREF="node81.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html2707 HREF="node50.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html2701 HREF="node79.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html2711 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html2712 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html2710 HREF="node81.html">2.5 Running Into Trouble</A>
<B>Up:</B> <A NAME=tex2html2708 HREF="node50.html">2 Obtaining and Installing </A>
<B> Previous:</B> <A NAME=tex2html2702 HREF="node79.html">2.3.8 Additional installation procedures</A>
<BR> <HR> <P>
<BR> <HR>
<P><ADDRESS>
<I>Matt Welsh <BR>
mdw@sunsite.unc.edu</I>
</ADDRESS>
</BODY>