From 82d902f7b6564fd3cce673d315cf153e4703d5c7 Mon Sep 17 00:00:00 2001 From: ddomingo Date: Wed, 1 Oct 2008 13:13:25 +1000 Subject: added installation chapter --- .../en-US/Installation.xml | 98 ++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 doc/SystemTap_Beginners_Guide/en-US/Installation.xml (limited to 'doc/SystemTap_Beginners_Guide') diff --git a/doc/SystemTap_Beginners_Guide/en-US/Installation.xml b/doc/SystemTap_Beginners_Guide/en-US/Installation.xml new file mode 100644 index 00000000..92d40bc0 --- /dev/null +++ b/doc/SystemTap_Beginners_Guide/en-US/Installation.xml @@ -0,0 +1,98 @@ + + + + + + Setup and Installation + + required packages, installation thru yum, repos (?); possibly, a script to install all required packages + + + + notes in ~/Desktop/SystemTap/aug21chatlog and ~/Desktop/SystemTap/noted_wcohenmeeting + + + + To deploy SystemTap, you need to install the SystemTap packages along with the corresponding set of debug RPMs of your kernel. This means that if your system has multiple kernels installed, and you wish to use SystemTap on more than one kernel, you will need to install the debug RPMs for each of those kernels. + +
+ Preparing For Installation + + To view what kernels and kernel versions are installed on your system, check the contents of /boot. Each installed kernel/kernel version has a corresponding vmlinuz-kernel version there. + + + + To determine what kernel your system is currently using, use: + + + +uname -r + + + + You will also need to configure yum to point to a repository that houses the necessary debug RPMs. Most debugging RPMs for Red Hat Enterprise Linux 5 can be found at the following repository: + + + ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/i386/Debuginfo/ + + find any other such repository, if only for RHEL +
+ +
+ Deploying SystemTap + + + Once you've decided which kernels with which you need to use SystemTap with, install the following packages: + + + systemtap + systemtap-runtime + + + This will install the SystemTap suite of tools. + + + Next, you'll need to download and install the necessary debug RPMs for your kernel. The necessary debugging RPMs for the ordinary "vanilla" kernel are as follows: + + + kernel-debuginfo + kernel-debuginfo-common + kernel-devel + + +For example, if you wish to use SystemTap on kernel version 2.6.18-53.el5, then you need to download the following debugging RPMs: + + + Sample List of Debugging RPMs + + kernel-debuginfo-2.6.18-53.1.13.el5.i686.rpm + kernel-debuginfo-common-2.6.18-53.1.13.el5.i686.rpm + kernel-devel-2.6.18-53.1.13.el5.i686.rpm + + + + Install the debugging RPMs using rpm -ivh RPM or yum localinstall RPM. + + +
+ + +
\ No newline at end of file -- cgit