ASNMTAP
view release on metacpan or search on metacpan
lib/ASNMTAP/Asnmtap/Applications.pod view on Meta::CPAN
... SSH REQUEST FAILED INSPECTION - SKIPPING 'killall number'
...
Dependencies:
- Getopt::Long
=item perfparse_asnmtap_pulp_command.pl
... TODO ... NO PART OF NORMAL SETUP ...
=item perfparse_crontab.sh
... TODO ... NO PART OF NORMAL SETUP ...
=item perfparse_crontab_failed.sh
... TODO ... NO PART OF NORMAL SETUP ...
=item perfparse_debug.sh
... TODO ... NO PART OF NORMAL SETUP ...
=item purge_table.pl
perl /opt/asnmtap/applications/sbin/purge_table.pl -H dtbs.citap.be -D snmptt -T 'snmptt_archive' -u asnmtap -p asnmtap --ago='-14 days'
perl /opt/asnmtap/applications/sbin/purge_table.pl -H dtbs.citap.be -D snmptt -T 'snmptt_unknown_archive' -u asnmtap -p asnmtap --ago='-14 days'
... TODO ... NO PART OF NORMAL SETUP ...
=back
=back
=head1 INSTALL
when i have more time, this will also be automated, but for now ...
=over 4
=item user asnmtap
DON't run the ASNMTAP Applications under the ROOT account, use one dedicated account for the ASNMTAP Applications instead!
=over 4
=item create user asnmtap
groupadd -g 32005 asnmtap
useradd -u 32005 -g asnmtap -c ASNMTAP Configuration User -d /home/asnmtap -s /bin/ksh -m asnmtap
/usr/sbin/groupadd asnmtapcmd
/usr/sbin/usermod -G asnmtapcmd asnmtap
/usr/sbin/usermod -G asnmtapcmd nobody
=item .cronprofile example
PATH=/usr/local/bin:/usr/local/sbin:/usr/sbin:/etc:/usr/ccs/bin:/usr/bin:/opt/csw/bin:/usr/ucb:${PATH}
LD_LIBRARY_PATH=/opt/asnmtap/ssl/lib:/usr/local/lib/mysql:/usr/local/lib:/usr/lib/:${LD_LIBRARY_PATH}
http_proxy=http://proxy.citap.be:8080
ftp_proxy=http://proxy.citap.be:8080
alias su=/usr/bin/su
alias perl=/usr/bin/env perl
if [ -d /opt/asnmtap/cpan-shared/lib/perl5 ]; then
PERL5LIB=${PERL5LIB:+$PERL5LIB:}/opt/asnmtap/cpan-shared/lib/perl5
MANPATH=${MANPATH:+$MANPATH:}/opt/asnmtap/cpan-shared/share/man
fi
umask 022
=item .profile example
export PATH=/usr/local/bin:/usr/local/sbin:/usr/sbin:/etc:/usr/ccs/bin:/usr/bin:/opt/csw/bin:/usr/ucb:${PATH}
export LD_LIBRARY_PATH=/opt/asnmtap/ssl/lib:/usr/local/lib/mysql:/usr/local/lib:/usr/lib/:${LD_LIBRARY_PATH}
export http_proxy=http://proxy.citap.be:8080
export ftp_proxy=http://proxy.citap.be:8080
alias su=/usr/bin/su
alias perl=/usr/bin/env perl
if [ -d /opt/asnmtap/cpan-shared/lib/perl5 ]; then
PERL5LIB=${PERL5LIB:+$PERL5LIB:}/opt/asnmtap/cpan-shared/lib/perl5
MANPATH=${MANPATH:+$MANPATH:}/opt/asnmtap/cpan-shared/share/man
export MANPATH PERL5LIB
fi
umask 022
=item .bash_profile example
MAIL=/usr/mail/${LOGNAME:?}
export PATH
umask 022
=item create ssh key
...
<slave server>:
ssh-keygen -q -t rsa -f /home/asnmtap/.ssh/ssh -N ''
or
ssh-keygen -q -t dsa -f /home/asnmtap/.ssh/ssh -N ''
chmod go-w /home/asnmtap/
chmod 700 /home/asnmtap/.ssh
chmod go-rwx /home/asnmtap/.ssh/*
chmod 644 ssh.pub
chown asnmtap:asnmtap ssh.pub
chmod 600 ssh
chown apache:asnmtap ssh
cat /home/asnmtap/.ssh/ssh.pub >> /home/asnmtap/.ssh/authorized_keys
chmod 600 /home/asnmtap/.ssh/authorized_keys
vi /home/asnmtap/.ssh/authorized_keys
add command='/opt/asnmtap/applications/sbin/sshWrapperASNMTAP.pl' before ssh.pub
or
add command='ASNMTAP_PERL5LIB=/opt/asnmtap/cpan-shared/lib/perl5; /opt/asnmtap/applications/sbin/sshWrapperASNMTAP.pl' before ssh.pub
=back
=item Apache
=over 4
=item Install for HTTPS support
install openssh, openssl, openssl096 & openssl-devel
=item add /etc/httpd/conf.d/asnmtap.conf
Link index.html and index-cv.html to the default screens
[/opt/asnmtap/applications/htmlroot]# ln -s citap.html index.html
[/opt/asnmtap/applications/htmlroot]# ln -s citap-cv.html index-cv.html
vi /etc/httpd/conf.d/asnmtap.conf
AddHandler cgi-script .cgi .pl
DirectoryIndex index.htm index.html index.html.var index.shtml index.cfm index.pl
<VirtualHost *:80>
ServerName asnmtap.citap.com
ServerAlias asnmtap.citap.be
ServerAdmin webmaster@citap.com
DocumentRoot /opt/asnmtap/applications/htmlroot
ErrorLog /var/log/httpd/asnmtap.citap.com-error.log
CustomLog /var/log/httpd/asnmtap.citap.com-combined.log combined
IndexIgnore *.png *nok.txt *all.txt *.html
IndexOptions NameWidth=* FancyIndexing FoldersFirst SuppressDescription
IndexOrderDefault Ascending Name
Alias /asnmtap "/opt/asnmtap/applications/htmlroot"
<Directory "/opt/asnmtap/applications/htmlroot">
AllowOverride AuthConfig
Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Alias /results "/opt/asnmtap/results"
<Directory "/opt/asnmtap/results">
HeaderName HEADER.html
ReadmeName FOOTER.html
AllowOverride AuthConfig
Options Indexes
# Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Alias /config "/opt/asnmtap/applications/tmp/config"
<Directory "/opt/asnmtap/applications/tmp/config">
HeaderName HEADER.html
ReadmeName FOOTER.html
AllowOverride AuthConfig
Options Indexes
# Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
ScriptAlias /asnmtap/cgi-bin/ "/opt/asnmtap/applications/htmlroot/cgi-bin/"
<Directory "/opt/asnmtap/applications/htmlroot/cgi-bin">
lib/ASNMTAP/Asnmtap/Applications.pod view on Meta::CPAN
cd ~/.cpan/CPAN
vi MyConfig.pm
# <-- MyConfig.pm
$CPAN::Config = {
'build_cache' => q[10],
'build_dir' => q[/home/asnmtap/.cpan/build],
'cache_metadata' => q[1],
'cpan_home' => q[/home/asnmtap/.cpan],
'ftp' => q[/usr/kerberos/bin/ftp],
'ftp_proxy' => q[http://proxyorg:8080],
'getcwd' => q[cwd],
'gpg' => q[/usr/bin/gpg],
'gzip' => q[/bin/gzip],
'histfile' => q[/home/asnmtap/.cpan/histfile],
'histsize' => q[100],
'http_proxy' => q[http://proxyorg:8080],
'inactivity_timeout' => q[0],
'index_expire' => q[1],
'inhibit_startup_message' => q[0],
'keep_source_where' => q[/home/asnmtap/.cpan/sources],
'links' => q[],
'make' => q[/usr/local/bin/make],
'make_arg' => q[],
'make_install_arg' => q[],
'makepl_arg' => q[PREFIX=/opt/asnmtap/cpan-shared SITELIBEXP=/opt/asnmtap/cpan-shared/lib/perl5 LIB=/opt/asnmtap/cpan-shared/lib/perl5 INSTALLMAN1DIR=/opt/asnmtap/cpan-shared/share/man/man1 INSTALLMAN3DIR=/opt/asnmtap/cpan-shared/share/man/man3 INS...
'ncftp' => q[],
'ncftpget' => q[],
'no_proxy' => q[],
'pager' => q[/usr/bin/less],
'prerequisites_policy' => q[ask],
'proxy_user' => q[],
'scan_cache' => q[atstart],
'shell' => q[/bin/bash],
'tar' => q[/bin/tar],
'term_is_latin' => q[1],
'unzip' => q[/usr/bin/unzip],
'urllist' => [q[http://cpan.llarian.net/], q[http://ftp.easynet.be/pub/CPAN/], q[http://cpan.mirrors.skynet.be/pub/CPAN], q[http://ftp.belnet.be/packages/cpan/], q[ftp://http.kulnet.kuleuven.ac.be/pub/mirror/CPAN/], q[http://ftp.scarlet.be/pub/cpan...
'wget' => q[/usr/bin/wget],
};
1;
__END__
# MyConfig.pm -->
su - asnmtap
perl -c MyConfig.pm
perl -MCPAN -e 'reload index'
vi ~/.bash_profile
...
export PATH=/usr/local/bin:/usr/local/sbin:/usr/sbin:/etc:/usr/ccs/bin:/usr/bin:/opt/csw/bin:/usr/ucb:/usr/local/mysql/bin:${PATH}
if [ -d /opt/asnmtap/cpan-shared/lib/perl5 ]; then
PERL5LIB=${PERL5LIB:+$PERL5LIB:}/opt/asnmtap/cpan-shared/lib/perl5
MANPATH=${MANPATH:+$MANPATH:}/opt/asnmtap/cpan-shared/share/man
export MANPATH PERL5LIB
fi
export LD_LIBRARY_PATH=/opt/asnmtap/ssl/lib:/usr/local/lib/mysql:/usr/local/lib:/usr/lib:${LD_LIBRARY_PATH}
...
vi /etc/init.d/httpd
...
if [ -d /opt/asnmtap/cpan-shared/lib/perl5 ]; then
PERL5LIB=${PERL5LIB:+$PERL5LIB:}/opt/asnmtap/cpan-shared/lib/perl5
MANPATH=${MANPATH:+$MANPATH:}/opt/asnmtap/cpan-shared/share/man
export MANPATH PERL5LIB
fi
...
start() {
echo -n $"Starting $prog: "
check13 || exit 1
PATH=$PATH MANPATH=$MANPATH PERL5LIB=$PERL5LIB LANG=$HTTPD_LANG daemon $httpd $OPTIONS
RETVAL=$?
echo
[ $RETVAL = 0 ] && touch ${lockfile}
return $RETVAL
}
...
sudo /etc/init.d/httpd restart
more /etc/httpd/conf.d/asnmtap.conf
...
<VirtualHost *:80>
...
SetEnv PERL5LIB /opt/asnmtap/cpan-shared/lib/perl5
...
</VirtualHost>
# Module section - - - - - - - - - - - - - - - - - - - - - - - - - - - -
vi Makefile.pl
...
use lib qw(/opt/asnmtap/cpan-shared/lib/perl5/.);
...
# Configuration section - - - - - - - - - - - - - - - - - - - - - - - - -
If you're not the Perl administrator you probably don't have permission to install a module to its default location.
Then you should install it for your own use into your home directory or other directory like so:
perl Makefile.PL PREFIX=/opt/asnmtap/cpan-shared SITELIBEXP=/opt/asnmtap/cpan-shared/lib/perl5 LIB=/opt/asnmtap/cpan-shared/lib/perl5 INSTALLMAN1DIR=/opt/asnmtap/cpan-shared/share/man/man1 INSTALLMAN3DIR=/opt/asnmtap/cpan-shared/share/man/man3 INSTA...
or
perl Makefile.PL INSTALL_BASE=/opt/asnmtap/cpan-shared
This will put modules into /opt/asnmtap/cpan-shared/lib/perl5, man pages into /opt/asnmtap/cpan-shared/man and programs into /opt/asnmtap/cpan-shared/bin.
INSTALLARCHLIB INSTALL_BASE/lib/perl5/$Config{archname}
INSTALLPRIVLIB INSTALL_BASE/lib/perl5
INSTALLBIN INSTALL_BASE/bin
INSTALLSCRIPT INSTALL_BASE/bin
INSTALLMAN1DIR INSTALL_BASE/man/man1
INSTALLMAN3DIR INSTALL_BASE/man/man3
make
make install
=back
=item Apache
=over 4
=item How create simple test certificates with openssl?
http://www.vanemery.com/Linux/Apache/apache-SSL.html
=over 4
=item Step 1: Setup your own CA (Certificate Authority)
openssl genrsa -des3 -out server-ca.key 2048
openssl req -new -x509 -days 3650 -key server-ca.key -out server-ca.crt
# To remove the pass phrase from the key file, execute this:
openssl rsa -in server-ca.key -out server-ca-nopass.key
openssl x509 -in server-ca.crt -text -noout
=item Step 2: Make a key and a certificate for the web server:
openssl genrsa -des3 -out citap-server.key 1024
openssl req -new -key citap-server.key -out citap-server.csr
...
Common Name (eg, your name or your server's hostname) []:secure.citap.com <=== This must be the real FQDN of your server!!!
openssl rsa -in citap-server.key -out citap-server-nopass.key
openssl x509 -req -in citap-server.csr -out citap-server.crt -sha1 -CA server-ca.crt -CAkey server-ca.key -CAcreateserial -days 3650
openssl x509 -in citap-server.crt -text -noout
=item Step 3: Creating Client Certificates for Authentication
openssl genrsa -des3 -out alex-peeters.key 1024
openssl req -new -key alex-peeters.key -out alex-peeters.csr
openssl x509 -req -in alex-peeters.csr -out alex-peeters.crt -sha1 -CA server-ca.crt -CAkey server-ca.key -CAcreateserial -days 3650
openssl pkcs12 -export -in alex-peeters.crt -inkey alex-peeters.key -name "Alex Peeters" -out alex-peeters.p12
openssl pkcs12 -in alex-peeters.p12 -clcerts -nokeys -info
when:
[error] Re-negotiation handshake failed: Not accepted by client!?
[error] Certificate Verification: Error (20): unable to get local issuer certificate
vi /etc/httpd/cond.d/ssl.conf
SSLCertificateFile /etc/httpd/conf/ssl.crt/citap-server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/citap-server.key
SSLCertificateChainFile /etc/httpd/conf/ssl.crt/server-ca.crt
SSLCACertificateFile /etc/httpd/conf/ssl.crt/server-ca.crt
=back
=back
=item MySQL
=over 4
=item A -> B -> C -> A replication
MySQL Reference Manual http://mysqld.active-venture.com/
It is safe to connect servers in a circular master/slave relationship with log-slave-updates enabled. Note, however, that many queries will not work correctly in this kind of setup unless your client code is written to take care of the potential prob...
A -> B -> C -> A
Server IDs are encoded in the binary log events. A will know when an event it reads had originally been created by A, so A will not execute it and there will be no infinite loop. But this circular setup will work only if you only if you perform no co...
=over 4
=item PURGE MASTER LOGS
PURGE {MASTER|BINARY} LOGS TO 'log_name'
PURGE {MASTER|BINARY} LOGS BEFORE 'date'
Deletes all the binary logs listed in the log index that are strictly prior to the specified log or date. The logs also are removed from this list recorded in the log index file, so that the given log now becomes the first.
If you have an active slave that is currently reading one of the logs you are trying to delete, this command does nothing and fails with an error. However, if you have a dormant slave, and happen to purge one of the logs it wants to read, the slave w...
You must first check all the slaves with SHOW SLAVE STATUS to see which log they are reading, then do a listing of the logs on the master with SHOW MASTER LOGS, find the earliest log among all the slaves (if all the slaves are up to date, this will b...
=item RESET MASTER
Deletes all binary logs listed in the index file, resetting the binlog index file to be empty
=item RESET SLAVE
Makes the slave forget its replication position in the master's binlogs. This statement is meant to be used for a clean start: it deletes the `master.info' and `relay-log.info' files, all the relay logs, and starts a new relay log.
Note: All relay logs are deleted, even if they had not been totally executed by the slave SQL thread. (This is a condition likely to exist on a replication slave that is highly loaded, or if you have issued a STOP SLAVE statement.) Connection informa...
=item How do I configure a slave if the master is already running and I do not want to stop it?
There are several options. If you have taken a backup of the master at some point and recorded the binlog name and offset ( from the output of SHOW MASTER STATUS ) corresponding to the snapshot, do the following:
Make sure the slave is assigned a unique server ID.
Execute the following statement on the slave, filling in appropriate values for each parameter:
mysql> CHANGE MASTER TO
-> MASTER_HOST='master_host-name',
-> MASTER_USER='master_user_name',
-> MASTER_PASSWORD='master_pass',
-> MASTER_LOG_FILE='recorded_log_name',
-> MASTER_LOG_POS=recorded_log_pos;
Execute START SLAVE on the slave.
lib/ASNMTAP/Asnmtap/Applications.pod view on Meta::CPAN
=item How to import a *.sql generated recovery file?
mysql -u root -p
-> USE asnmtap;
If you use LOAD DATA INFILE ... the file must be on the server
-> LOAD DATA LOW_PRIORITY INFILE '<filename>.sql' INTO TABLE events FIELDS TERMINATED BY ',' ENCLOSED BY '\"' LINES TERMINATED BY '\\n';
If you use LOAD DATA LOCAL INFILE ... the file is expected to be on the client.
If you specify the keyword LOW_PRIORITY, execution of the LOAD DATA statement is delayed until no other clients are reading from the table.
-> LOAD DATA LOW_PRIORITY LOCAL INFILE '<filename>.sql' INTO TABLE events FIELDS TERMINATED BY ',' ENCLOSED BY '\"' LINES TERMINATED BY '\\n';
=item How to import drop a InnoDB table that is referenced by a FOREIGN KEY constraint?
InnoDB does not allow you to drop a table that is referenced by a FOREIGN KEY constraint, unless you do SET FOREIGN_KEY_CHECKS=0. When you drop a table, the constraints that were defined in its create statement are also dropped.
=back
=back
=head1 REQUIREMENTS
=over 4
=item Linux (Centos/Redhat EL3 and EL4)
Staring from a core installation you need:
rpm -i autoconf-2.60.noarch.rpm
rpm -i automake-1.10.noarch.rpm
rpm -i libtool-1.5.6-4.EL4.1.i386.rpm
rpm -i libtool-libs-1.5.6-4.EL4.1.i386.rpm
rpm -i libstdc++-devel-3.4.5-2.i386.rpm
rpm -i gcc-c++-3.4.6.i386.rpm
rpm -i libpng10-1.0.16-1.i386.rpm
rpm -i libpng10-devel-1.0.16-1.i386.rpm
rpm -i libpng-1.2.16.el4.2.i386.rpm
rpm -i libpng-devel-1.2.16.el4.2.i386.rpm
rpm -i libjpeg-6b-33.i386.rpm
rpm -i libjpeg-devel-6b-33.i386.rpm
rpm -i freetype-2.3.1.i386.rpm
rpm -i freetype-devel-2.3.1.i386.rpm
rpm -i freetype-utils-2.3.1.i386.rpm
rpm -i fontconfig-2.4.2.i386.rpm
rpm -i fontconfig-devel-2.4.2.i386.rpm
rpm -i glib2-2.13.0.i386.rpm
rpm -i glib2-devel-2.13.0.i386.rpm
rpm -i zlib-devel-1.2.3.i386.rpm
rpm -i e2fsprogs-devel-1.35-12.3.EL4.i386.rpm
rpm -i krb5-devel-1.3.4-27.i386.rpm
rpm -i openssl-devel-0.9.8e.i386.rpm
rpm -i gd-2.0.33-4.4E.1.i386.rpm
rpm -i gd-devel-2.0.33-4.4E.1.i386.rpm
rpm -i gd-progs-2.0.33-4.4E.1.i386.rpm
rpm -i libmcrypt-2.5.7-1.2.el4.rf.i386.rpm
rpm -i libxml2-2.6.26.i386.rpm
rpm -i httpd-2.0.59.ent.i386.rpm
rpm -i httpd-suexec-2.0.59.ent.i386.rpm
rpm -i mysql-5.0.29.RHEL4.1.i386.rpm
rpm -i mysql-devel-5.0.29.RHEL4.1.i386.rpm
perl -MCPAN -e 'install Bundle::CPAN'
perl -MCPAN -e 'install Pod::Coverage'
perl -MCPAN -e 'install Test::Pod'
perl -MCPAN -e 'install Module::Signature'
rpm -i perl-HTML-Tagset-3.03-30.noarch.rpm
rpm -i perl-HTML-Parser-3.35-6.i386.rpm
rpm -i perl-URI-1.30-4.noarch.rpm
rpm -i perl-libwww-perl-5.79-5.noarch.rpm
rpm -i perl-Crypt-SSLeay-0.51-5.i386.rpm
rpm -i perl-Date-Calc-5.3-9.i386.rpm
rpm -i perl-DBI-1.40-8.i386.rpm
rpm -i perl-DBD-MySQL-2.9004-3.1.i386.rpm
rpm -i perl-Time-HiRes-1.55-3.i386.rpm
rpm -i perl-XML-Parser-2.34-5.i386.rpm
rpm -i perl-XML-Dumper-0.71-2.noarch.rpm
=item Solaris 9
Starting from a core installation you need:
=over 4
=item sunfreeware.com
pkgadd -d bash-3.1-sol9-sparc-local
pkgadd -d coreutils-4.5.4-sol9-sparc-local
pkgadd -d libiconv-1.8-sol9-sparc-local
pkgadd -d ncurses-5.4-sol9-sparc-local
pkgadd -d perl-5.8.8-sol9-sparc-local
pkgadd -d popt-1.7-sol9-sparc-local
pkgadd -d tar-1.15.1-sol9-sparc-local
pkgadd -d tcp_wrappers-7.6-sol9-sparc-local
pkgadd -d tcpdump-3.9.3-sol9-sparc-local
pkgadd -d wget-1.10.2-sol9-sparc-local
pkgadd -d zlib-1.2.3-sol9-sparc-local
pkgadd -d apache-2.0.55-sol9-sparc-local
pkgadd -d autoconf-2.59-sol9-sparc-local
pkgadd -d automake-1.9-sol9-sparc-local
pkgadd -d bison-1.875d-sol9-sparc-local
pkgadd -d bzip2-1.0.2-sol9-sparc-local
pkgadd -d db-4.2.52.NC-sol9-sparc-local
pkgadd -d diffutils-2.8.1-sol9-sparc-local
pkgadd -d expat-1.95.5-sol9-sparc-local
pkgadd -d flex-2.5.31-sol9-sparc-local
pkgadd -d fping-2.4b2-sol9-sparc-local
pkgadd -d fontconfig-2.2.98-sol9-sparc-local
pkgadd -d freetype-2.1.9-sol9-sparc-local
pkgadd -d gcc-3.4.2-sol9-sparc-local
pkgadd -d gd-2.0.33-sol9-sparc-local
pkgadd -d gdbm-1.8.3-sol9-sparc-local
pkgadd -d glib-2.6.2-sol9-sparc-local
pkgadd -d jpeg-6b-sol9-sparc-local
pkgadd -d libnet-1.1.1-sol9-sparc-local
pkgadd -d libpcap-0.9.3-sol9-sparc-local
pkgadd -d libpng-1.2.8-sol9-sparc-local
pkgadd -d librsync-0.9.7-sol9-sparc-local
pkgadd -d libtool-1.5-sol9-sparc-local
pkgadd -d libxml2-2.6.16-sol9-sparc-local
pkgadd -d m4-1.4.2-sol9-sparc-local
pkgadd -d make-3.80-sol9-sparc-local
pkgadd -d mrtg-2.10.15-sol9-sparc-local
pkgadd -d openssl-0.9.8b-sol9-sparc-local
pkgadd -d openssl-0.9.7g-sol9-sparc-local
pkgadd -d pkgconfig-0.15.0-sol9-sparc-local
pkgadd -d prngd-0.9.25-sol9-sparc-local
pkgadd -d readline-5.1-sol9-sparc-local
pkgadd -d rsync-2.6.8-sol9-sparc-local
pkgadd -d texinfo-4.2-sol9-sparc-local
pkgadd -d unzip-5.50-sol9-sparc-local
pkgadd -d xpm-3.4k-sol9-sparc-local
=item blastwave.org
pkgadd -d pkg_get.pkg
pkgadd -d common-1.4.3,REV=2006.01.22-SunOS5.8-sparc-CSW.pkg
pkgadd -d awstats-6.4-SunOS5.8-all-CSW.pkg
pkgadd -d binutils-2.16.1-SunOS5.8-sparc-CSW.pkg
=item libmcrypt
tar -xvzf libmcrypt-2.5.7.tar.gz
cd libmcrypt-2.5.7
./configure
make
make install
=item MySQL
MySQL 5.0.x and 5.1.x are supported
tar -xvzf mysql-5.0.20.tar.gz or higher
cd mysql-5.0.20
./configure --without-server --enable-local-infile
make
make install
/usr/local/bin/mysql_client_test --host asnmtap
=item Perl
perl -MCPAN -e 'reload index'
perl -MCPAN -e 'install Date::Manip'
perl -MCPAN -e 'install LWP::UserAgent'
perl -MCPAN -e 'install Statistics::Descriptive'
perl -MCPAN -e 'install Text::ParseWords'
perl -MCPAN -e 'install Test::Pod'
perl -MCPAN -e 'install Net::Daemon'
perl -MCPAN -e 'install Bundle::DBI'
perl -MCPAN -e 'install Bundle::DBD::mysql'
perl -MCPAN -e 'install Net::SNMP'
perl -MCPAN -e 'install Config::IniFiles'
=back
=back
=head1 EXPORT
...
=head1 AUTHOR
Alex Peeters [alex.peeters@citap.be]
=head1 SEE ALSO
ASNMTAP::Asnmtap, ASNMTAP::Asnmtap::Applications::CGI, ASNMTAP::Asnmtap::Applications::Collector, ASNMTAP::Asnmtap::Applications::Display
=head1 DEPENDENCIES
ASNMTAP::Time
ASNMTAP::Asnmtap
Carp
Config::General
Config::General::Interpolated
Getopt::Long
HTML::Entities
Mail::Sendmail
Time::Local
=head1 COPYRIGHT NOTICE
(c) Copyright 2000-2011 by Alex Peeters [alex.peeters@citap.be],
All Rights Reserved.
ASNMTAP is based on 'Process System daemons v1.60.17-01', Alex Peeters [alex.peeters@citap.be]
Purpose: CronTab (CT, sysdCT),
Disk Filesystem monitoring (DF, sysdDF),
Intrusion Detection for FW-1 (ID, sysdID)
Process System daemons (PS, sysdPS),
Reachability of Remote Hosts on a network (RH, sysdRH),
Rotate Logfiles (system activity files) (RL),
Remote Socket monitoring (RS, sysdRS),
System Activity monitoring (SA, sysdSA).
'Process System daemons' is based on 'sysdaemon 1.60' written by Trans-Euro I.T Ltd
=head1 LICENSE
This ASNMTAP CPAN library and Plugin templates are free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The other parts of ASNMTAP may be used and modified free of charge by anyone so long as this copyright notice and the comments above remain intact. By using this code you agree to indemnify Alex Peeters from any liability that might arise from it's u...
Selling the code for this program without prior written consent is expressly forbidden. In other words, please ask first before you try and make money off of my program.
Obtain permission before redistributing this software over the Internet or in any other medium. In all cases copyright and header must remain intact.
=cut
( run in 0.533 second using v1.01-cache-2.11-cpan-acf6aa7dc9e )