HostedDB - Dedicated UNIX Servers

Securing-Optimizing-RH-Linux-1_2_378
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca © Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ® 378 “Devel::Symdump”. This third party module will allow you to inspect perl's symbol table and the class hierarchies within a running program. To build and install it, please follow these steps. Packages Devel-Symdump Homepage: http://www.perl.com/CPAN/modules/by-module/Devel/ You must be sure to download: Devel-Symdump-2_00_tar.gz Devel-Symdump version number is 2.00 [root@deep /]# cp Devel-Symdump-version.tar.gz /var/tmp/ [root@deep /]# cd /var/tmp/ [root@deep tmp]# tar xzpf Devel-Symdump-version.tar.gz Step 1 Move into the new Devel-Symdump directory and type the following commands on your terminal to compile and install the module in your Linux server: [root@deep Devel-Symdump-2.00]# perl Makefile.PL [root@deep Devel-Symdump-2.00]# make [root@deep Devel-Symdump-2.00]# make test [root@deep Devel-Symdump-2.00]# make install Step 2 Once the module has been installed in your system, you must include in your “/etc/httpd/conf/httpd.conf” file the following lines to be able to see status of different Perl modules on the server: Edit the httpd.conf file (vi /etc/httpd/conf/httpd.conf) and add the following lines: <Location /perl-status> SetHandler  perl-script PerlHandler Apache::Status Order deny,allow Deny from all Allow from 192.168.1.0/24 </Location> Step 3 You must restart Apache web server for the changes to take effect: · To restart Apache, use the following commands: [root@deep /]# /etc/rc.d/init.d/httpd restart Shutting down http:                                          [  OK  ] Starting httpd:                                              [  OK  ] Step 4 Finally, we must test the new Devel-Symdump module to be sure that we can see status of different Perl modules on the server. To verify if it works, points your web browser to the following address: http://my-web-server/perl- status/. The <my-web-server> is the address where you Apache web server live.