CHAPTER 6
Installing the Perl Client Environment
This section explains how to install the Perl Client environment.
•
Installing the Perl Client Environment on Linux-Unix Machines on page 75
•
Installing the Perl Client Environment on Windows Machines on page 76
•
Using a Perl Script to Access the NSM API on page 77
Installing the Perl Client Environment on Linux-Unix Machines
Before you can install this client environment, the following software must be installed
on your machine:
•
Perl version 5.8.8
Perl is available (free) at
http://www.activestate.com/Products/activeperl/index.mhtml.
•
openssl installed under /usr.
To install the client environment on a Linux-Unix machine:
1.
Launch cpan as root. Do one of the following:
•
Execute the cpan program:
cpan
•
Run the perl -MCPAN -e shell:
perl -MCPAN -e
2.
Update cpan, accepting all defaults:
cpan[1]> install cpan
3.
Install the CPAN bundle:
cpan[1]> install Bundle::CPAN
4.
Install Crypt::SSLeay:
cpan[1]> install Crypt::SSLeay
.
5.
Install LWP:
cpan[1]> install LWP
6.
install XML Simple:
cpan[1]> install XML::Simple
7.
Install MIME Tools:
cpan[1]> install MIME::Tools
8.
Install the MIME Parser:
cpan[1]> install MIME::Parser
75
Copyright © 2010, Juniper Networks, Inc.
Содержание NETWORK AND SECURITY MANAGER 2010.4 - API GUIDE REV 1
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 10: ...Copyright 2010 Juniper Networks Inc x Network and Security Manager 2010 4 API Guide...
Страница 12: ...Copyright 2010 Juniper Networks Inc xii Network and Security Manager 2010 4 API Guide...
Страница 20: ...Copyright 2010 Juniper Networks Inc 2 Network and Security Manager 2010 4 API Guide...
Страница 24: ...Copyright 2010 Juniper Networks Inc 6 Network and Security Manager 2010 4 API Guide...
Страница 34: ...Copyright 2010 Juniper Networks Inc 16 Network and Security Manager 2010 4 API Guide...
Страница 58: ...Figure 10 IDP Rulebase Copyright 2010 Juniper Networks Inc 40 Network and Security Manager 2010 4 API Guide...
Страница 92: ...Copyright 2010 Juniper Networks Inc 74 Network and Security Manager 2010 4 API Guide...
Страница 98: ...Copyright 2010 Juniper Networks Inc 80 Network and Security Manager 2010 4 API Guide...
Страница 100: ...Copyright 2010 Juniper Networks Inc 82 Network and Security Manager 2010 4 API Guide...
Страница 112: ...Copyright 2010 Juniper Networks Inc 94 Network and Security Manager 2010 4 API Guide...
Страница 128: ...Copyright 2010 Juniper Networks Inc 110 Network and Security Manager 2010 4 API Guide...
Страница 138: ...Copyright 2010 Juniper Networks Inc 120 Network and Security Manager 2010 4 API Guide...
Страница 152: ...Copyright 2010 Juniper Networks Inc 134 Network and Security Manager 2010 4 API Guide...
Страница 165: ...PART 6 Index Index on page 149 147 Copyright 2010 Juniper Networks Inc...
Страница 166: ...Copyright 2010 Juniper Networks Inc 148 Network and Security Manager 2010 4 API Guide...