diff options
author | ddomingo <ddomingo@redhat.com> | 2009-02-10 13:58:17 +1000 |
---|---|---|
committer | ddomingo <ddomingo@redhat.com> | 2009-02-10 13:58:17 +1000 |
commit | 066e0c0154fd18b9fb4fa880474adb98f27bd091 (patch) | |
tree | cd84d71fc30065eadb87459b0d10202b038e372e /doc/SystemTap_Beginners_Guide/en-US | |
parent | e0b8b4c0262d7d446a6d207700795f78ccbfe2a4 (diff) | |
download | systemtap-steved-066e0c0154fd18b9fb4fa880474adb98f27bd091.tar.gz systemtap-steved-066e0c0154fd18b9fb4fa880474adb98f27bd091.tar.xz systemtap-steved-066e0c0154fd18b9fb4fa880474adb98f27bd091.zip |
BZ484506, added yum setup instructions for RHEL
Diffstat (limited to 'doc/SystemTap_Beginners_Guide/en-US')
-rw-r--r-- | doc/SystemTap_Beginners_Guide/en-US/Installation.xml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/SystemTap_Beginners_Guide/en-US/Installation.xml b/doc/SystemTap_Beginners_Guide/en-US/Installation.xml index 1ff2ff29..3a45d269 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/Installation.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/Installation.xml @@ -186,8 +186,22 @@ uname -r <note> <title>Note</title> <para>Running <xref linkend="stapprep"/> as root will display the required kernel packages <emphasis>and</emphasis> install them as well, provided that <command>yum</command> and <command>yum-utils</command> are configured properly.</para> -</note> +<para condition="RedHat"> + In order for <command>yum</command> to find and download the required kernel packages, you need to + point it to a repository containing those packages. Most required kernel packages can be found at + <ulink url="ftp://ftp.redhat.com/pub/redhat/linux/enterprise/"/>; navigate there until you find the + appropriate <filename>Debuginfo</filename> directory for your system. Configure + <command>yum</command> accordingly by adding a new "debug" <command>yum</command> repository file under <filename>/etc/yum.repos.d</filename> containing the following lines: +</para> + +<programlisting condition="RedHat">
+[rhel-debuginfo]
+name=Red Hat Enterprise Linux $releasever - $basearch - Debug
+baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
+enabled=1
+</programlisting> +</note> <!-- Running <xref linkend="stapprep"/> without any arguments will display and install the required kernel information packages for the currently loaded kernel. If you wish to probe a kernel other than the one currently loaded, you can pass a specific kernel version as an argument to <xref linkend="stapprep"/>; the script will then install that kernel's corresponding kernel information packages. </para> --> |