old-www/LDP/solrhe/Securing-Optimizing-Linux-R.../chap4sec26.html

27 lines
11 KiB
HTML

<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Verify,Cross-check</title><meta name="generator" content="DocBook XSL Stylesheets V1.25"><link rel="home" href="coverpage.html" title="Securing and Optimizing Linux"><link rel="up" href="linpostinstall.html" title="4. Post-Install"><link rel="previous" href="chap4sec25.html" title="Check,Re-confirm"><link rel="next" href="chap4sec27.html" title="some colors for a change"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%"><tr><th colspan="3" align="center">Verify,Cross-check</th></tr><tr><td width="20%" align="left"><a href="chap4sec25.html">Prev</a>&nbsp;</td><th width="60%" align="center">4. Post-Install</th><td width="20%" align="right">&nbsp;<a href="chap4sec27.html">Next</a></td></tr></table><hr></div><div id="c38b1b5b6b8" class="section"><div class="titlepage"><h2 class="title" style="clear: all"><a name="c38b1b5b6b8"></a><span class="title">Verify,Cross-check</span></h2></div><p>
After we have uninstalled all the software that must be uninstalled after the installation of our Linux server see <a href="linpostinstall.html#ch3sc3.1-1">Software that must be uninstalled</a>
after installation of the Server and after the addition of the necessary RPM packages, so that we will able to compile programs on our server, we must verify
the list of all installed RPM programs again but this time with the following command:
</p><p>
To verify the list of all installed RPM package on your system, use the command:
<pre class="screen">
[root@deep] /#<b>rpm</b> -qa &gt; installed_rpm
</pre>
The <b><tt>-qa</tt></b> option will query all installed RPM packages on your system and the symbol &gt; will redirect the output to the file
named <tt>installed_rpm.</tt>
</p><p>
<div class="mediaobject"><img src="images/Version6.1.gif" alt="Version 6.1 only"></div>
The content of the <tt>installed_rpm</tt> file must match exactly this:
</p><p>
<table class="simplelist" border="0"><tr><td><tt>setup-2.0.5-1</tt></td><td><tt>findutils-4.1-32</tt></td><td><tt>passwd-0.63-1</tt></td></tr><tr><td><tt>filesystem-1.3.5-1</tt></td><td><tt>gawk-3.0.4-1</tt></td><td><tt>perl-5.00503-6</tt></td></tr><tr><td><tt>basesystem-6.0-4</tt></td><td><tt>cdecl-2.5-9</tt></td><td><tt>flex-2.5.4a-7</tt></td></tr><tr><td><tt>ldconfig-1.9.5-15</tt></td><td><tt>gdbm-1.8.0-2</tt></td><td><tt>procps-2.0.4-2</tt></td></tr><tr><td><tt>glibc-2.1.2-11</tt></td><td><tt>glib-1.2.5-1</tt></td><td><tt>psmisc-18-3</tt></td></tr><tr><td><tt>shadow-utils-19990827-2</tt></td><td><tt>gmp-2.0.2-10</tt></td><td><tt>python-1.5.2-7</tt></td></tr><tr><td><tt>mktemp-1.5-1</tt></td><td><tt>cpp-1.1.2-24</tt></td><td><tt>quota-1.66-8</tt></td></tr><tr><td><tt>termcap-9.12.6-15</tt></td><td><tt>gpm-1.17.9-3</tt></td><td><tt>gdb-4.18-4</tt></td></tr><tr><td><tt>libtermcap-2.0.8-18</tt></td><td><tt>groff-1.11a-9</tt></td><td><tt>readline-2.2.1-5</tt></td></tr><tr><td><tt>bash-1.14.7-16</tt></td><td><tt>gzip-1.2.4-14</tt></td><td><tt>glibc-devel-2.1.2-11</tt></td></tr><tr><td><tt>MAKEDEV-2.5-2</tt></td><td><tt>initscripts-4.48-1</tt></td><td><tt>rootfiles-5.2-5</tt></td></tr><tr><td><tt>SysVinit-2.77-2</tt></td><td><tt>ipchains-1.3.9-3</tt></td><td><tt>rpm-3.0.3-2</tt></td></tr><tr><td><tt>chkconfig-1.0.7-2</tt></td><td><tt>cproto-4.6-2</tt></td><td><tt>sash-3.3-1</tt></td></tr><tr><td><tt>ncurses-4.2-25</tt></td><td><tt>ElectricFence-2.1-1</tt></td><td><tt>make-3.77-6</tt></td></tr><tr><td><tt>info-3.12h-2</tt></td><td><tt>kernel-2.2.12-20</tt></td><td><tt>shapecfg-2.2.12-2</tt></td></tr><tr><td><tt>fileutils-4.0-8</tt></td><td><tt>patch-2.5-9</tt></td><td><tt>slang-1.2.2-4</tt></td></tr><tr><td><tt>grep-2.3-2</tt></td><td><tt>ld.so-1.9.5-11</tt></td><td><tt>slocate-2.0-3</tt></td></tr><tr><td><tt>ash-0.2-18</tt></td><td><tt>less-340-1</tt></td><td><tt>stat-1.5-11</tt></td></tr><tr><td><tt>at-3.1.7-11</tt></td><td><tt>libc-5.3.12-31</tt></td><td><tt>sysklogd-1.3.31-12</tt></td></tr><tr><td><tt>m4-1.4-12</tt></td><td><tt>libstdc++-2.9.0-24</tt></td><td><tt>tar-1.13.11-1</tt></td></tr><tr><td><tt>bdflush-1.5-10</tt></td><td><tt>lilo-0.21-10</tt></td><td><tt>tcp_wrappers-7.6-9</tt></td></tr><tr><td><tt>binutils-2.9.1.0.23-6</tt></td><td><tt>pwdb-0.60-1</tt></td><td><tt>tcpdump-3.4-16</tt></td></tr><tr><td><tt>bzip2-0.9.5c-1</tt></td><td><tt>pam-0.68-7</tt></td><td><tt>tcsh-6.08.00-6</tt></td></tr><tr><td><tt>sed-3.02-4</tt></td><td><tt>sh-utils-2.0-1</tt></td><td><tt>time-1.7-9</tt></td></tr><tr><td><tt>console-tools-19990302-17</tt></td><td><tt>logrotate-3.3-1</tt></td><td><tt>timed-0.10-23</tt></td></tr><tr><td><tt>e2fsprogs-1.15-3</tt></td><td><tt>losetup-2.9u-4</tt></td><td><tt>tmpwatch-2.0-1</tt></td></tr><tr><td><tt>byacc-1.9-11</tt></td><td><tt>lsof-4.45-1</tt></td><td><tt>traceroute-1.4a5-16</tt></td></tr><tr><td><tt>cpio-2.4.2-13</tt></td><td><tt>mailx-8.1.1-9</tt></td><td><tt>utempter-0.5.1-2</tt></td></tr><tr><td><tt>cracklib-2.7-5</tt></td><td><tt>man-1.5g-6</tt></td><td><tt>util-linux-2.9w-24</tt></td></tr><tr><td><tt>cracklib-dicts-2.7-5</tt></td><td><tt>mingetty-0.9.4-10</tt></td><td><tt>vim-common-5.4-2</tt></td></tr><tr><td><tt>crontabs-1.7-7</tt></td><td><tt>mkbootdisk-1.2.2-1</tt></td><td><tt>vim-minimal-5.4-2</tt></td></tr><tr><td><tt>textutils-2.0-2</tt></td><td><tt>mkinitrd-2.3-1</tt></td><td><tt>vixie-cron-3.0.1-39</tt></td></tr><tr><td><tt>dev-2.7.10-2</tt></td><td><tt>modutils-2.1.121-14</tt></td><td><tt>which-2.8-1</tt></td></tr><tr><td><tt>diffutils-2.7-16</tt></td><td><tt>mount-2.9u-4</tt></td><td><tt>zlib-1.1.3-5</tt></td></tr><tr><td><tt>dump-0.4b4-11</tt></td><td><tt>ctags-3.2-1</tt></td><td><tt>dev86-0.14.9-1</tt></td></tr><tr><td><tt>ed-0.2-12</tt></td><td><tt>ncompress-4.2.4-14</tt></td><td><tt>egcs-1.1.2-24</tt></td></tr><tr><td><tt>bison-1.28-1</tt></td><td><tt>net-tools-1.53-1</tt></td><td><tt>kernel-headers-2.2.12-20</tt></td></tr><tr><td><tt>etcskel-2.0-1</tt></td><td><tt>netkit-base-0.10-37</tt></td><td>&nbsp;</td></tr><tr><td><tt>file-3.27-3</tt></td><td><tt>newt-0.50-13</tt></td><td>&nbsp;</td></tr></table>
</p><p>
<div class="mediaobject"><img src="images/Version6.2.gif" alt="Version 6.2 only"></div>
The content of the <tt>installed_rpm </tt> file must look exactly like this:
</p><p>
<table class="simplelist" border="0"><tr><td><tt>setup-2.1.8-1</tt></td><td><tt>file-3.28-2</tt></td><td><tt>ncompress-4.2.4-15</tt></td></tr><tr><td><tt>filesystem-1.3.5-1</tt></td><td><tt>findutils-4.1-34</tt></td><td><tt>net-tools-1.54-4</tt></td></tr><tr><td><tt>basesystem-6.0-4</tt></td><td><tt>gawk-3.0.4-2</tt></td><td><tt>newt-0.50.8-2</tt></td></tr><tr><td><tt>ldconfig-1.9.5-16</tt></td><td><tt>patch-2.5-10</tt></td><td><tt>passwd-0.64.1-1</tt></td></tr><tr><td><tt>glibc-2.1.3-15</tt></td><td><tt>gdbm-1.8.0-3</tt></td><td><tt>perl-5.00503-10</tt></td></tr><tr><td><tt>shadow-utils-19990827-10</tt></td><td><tt>bison-1.28-2</tt></td><td><tt>popt-1.5-0.48</tt></td></tr><tr><td><tt>mktemp-1.5-2</tt></td><td><tt>glib-1.2.6-3</tt></td><td><tt>procmail-3.14-2</tt></td></tr><tr><td><tt>termcap-10.2.7-9</tt></td><td><tt>gmp-2.0.2-13</tt></td><td><tt>procps-2.0.6-5</tt></td></tr><tr><td><tt>libtermcap-2.0.8-20</tt></td><td><tt>gpm-1.18.1-7</tt></td><td><tt>psmisc-19-2</tt></td></tr><tr><td><tt>bash-1.14.7-22</tt></td><td><tt>groff-1.15-8</tt></td><td><tt>quota-2.00pre3-2</tt></td></tr><tr><td><tt>MAKEDEV-2.5.2-1</tt></td><td><tt>gzip-1.2.4a-2</tt></td><td><tt>gdb-4.18-11</tt></td></tr><tr><td><tt>SysVinit-2.78-5</tt></td><td><tt>inetd-0.16-4</tt></td><td><tt>readline-2.2.1-6</tt></td></tr><tr><td><tt>anacron-2.1-6</tt></td><td><tt>initscripts-5.00-1</tt></td><td><tt>make-3.78.1-4</tt></td></tr><tr><td><tt>chkconfig-1.1.2-1</tt></td><td><tt>ipchains-1.3.9-5</tt></td><td><tt>rootfiles-5.2-5</tt></td></tr><tr><td><tt>m4-1.4-12</tt></td><td><tt>iputils-20000121-2</tt></td><td><tt>rpm-3.0.4-0.48</tt></td></tr><tr><td><tt>ncurses-5.0-11</tt></td><td><tt>cpp-1.1.2-30</tt></td><td><tt>sash-3.4-2</tt></td></tr><tr><td><tt>info-4.0-5</tt></td><td><tt>cproto-4.6-3</tt></td><td><tt>shapecfg-2.2.12-2</tt></td></tr><tr><td><tt>fileutils-4.0-21</tt></td><td><tt>kernel-2.2.14-5.0</tt></td><td><tt>slang-1.2.2-5</tt></td></tr><tr><td><tt>grep-2.4-3</tt></td><td><tt>ctags-3.4-1</tt></td><td><tt>slocate-2.1-2</tt></td></tr><tr><td><tt>ash-0.2-20</tt></td><td><tt>kernel-utils-2.2.14-5.0</tt></td><td><tt>stat-1.5-12</tt></td></tr><tr><td><tt>at-3.1.7-14</tt></td><td><tt>ElectricFence-2.1-3</tt></td><td><tt>sysklogd-1.3.31-16</tt></td></tr><tr><td><tt>byacc-1.9-12</tt></td><td><tt>ld.so-1.9.5-13</tt></td><td><tt>tar-1.13.17-3</tt></td></tr><tr><td><tt>bc-1.05a-5</tt></td><td><tt>less-346-2</tt></td><td><tt>tcp_wrappers-7.6-10</tt></td></tr><tr><td><tt>bdflush-1.5-11</tt></td><td><tt>libc-5.3.12-31</tt></td><td><tt>tcpdump-3.4-19</tt></td></tr><tr><td><tt>binutils-2.9.5.0.22-6</tt></td><td><tt>libstdc++-2.9.0-30</tt></td><td><tt>tcsh-6.09-4</tt></td></tr><tr><td><tt>bzip2-0.9.5d-2</tt></td><td><tt>lilo-0.21-15</tt></td><td><tt>time-1.7-9</tt></td></tr><tr><td><tt>sed-3.02-6</tt></td><td><tt>pwdb-0.61-0</tt></td><td><tt>tmpwatch-2.2-1</tt></td></tr><tr><td><tt>console-tools-19990829-10</tt></td><td><tt>pam-0.72-6</tt></td><td><tt>traceroute-1.4a5-18</tt></td></tr><tr><td><tt>e2fsprogs-1.18-5</tt></td><td><tt>sh-utils-2.0-5</tt></td><td><tt>utempter-0.5.2-2</tt></td></tr><tr><td><tt>cpio-2.4.2-16</tt></td><td><tt>logrotate-3.3.2-1</tt></td><td><tt>util-linux-2.10f-7</tt></td></tr><tr><td><tt>cracklib-2.7-5</tt></td><td><tt>losetup-2.10f-1</tt></td><td><tt>vim-common-5.6-11</tt></td></tr><tr><td><tt>cracklib-dicts-2.7-5</tt></td><td><tt>lsof-4.47-2</tt></td><td><tt>vim-minimal-5.6-11</tt></td></tr><tr><td><tt>crontabs-1.7-7</tt></td><td><tt>mailx-8.1.1-10</tt></td><td><tt>vixie-cron-3.0.1-40</tt></td></tr><tr><td><tt>textutils-2.0a-2</tt></td><td><tt>man-1.5h1-1</tt></td><td><tt>which-2.9-2</tt></td></tr><tr><td><tt>dev-2.7.18-3</tt></td><td><tt>mingetty-0.9.4-11</tt></td><td><tt>zlib-1.1.3-6</tt></td></tr><tr><td><tt>diffutils-2.7-17</tt></td><td><tt>mkbootdisk-1.2.5-3</tt></td><td><tt>dev86-0.15.0-2</tt></td></tr><tr><td><tt>dump-0.4b15-1</tt></td><td><tt>mkinitrd-2.4.1-2</tt></td><td><tt>egcs-1.1.2-30</tt></td></tr><tr><td><tt>ed-0.2-13</tt></td><td><tt>modutils-2.3.9-6</tt></td><td><tt>kernel-headers-2.2.14-5.0</tt></td></tr><tr><td><tt>cdecl-2.5-10</tt></td><td><tt>mount-2.10f-1</tt></td><td><tt>glibc-devel-2.1.3-15</tt></td></tr><tr><td><tt>etcskel-2.3-1</tt></td><td><tt>flex-2.5.4a-9</tt></td><td>&nbsp;</td></tr></table>
</p><p>
This step is required to make sure we have not forgotten to remove some unnecessary RPM or to add some important packages that permit us to compile programs on the system. If the result looks as our <tt>installed_rpm</tt> file above,
we are ready to play with our new Linux server.
</p></div><div class="navfooter"><hr><table width="100%"><tr><td width="40%" align="left"><a href="chap4sec25.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a href="coverpage.html">Home</a></td><td width="40%" align="right">&nbsp;<a href="chap4sec27.html">Next</a></td></tr><tr><td width="40%" align="left">Check,Re-confirm&nbsp;</td><td width="20%" align="center"><a href="linpostinstall.html">Up</a></td><td width="40%" align="right">&nbsp;some colors for a change</td></tr></table></div></body></html>