HP 5991-5565 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Logiciel de base de données HP 5991-5565. HP 5991-5565 User's Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer

Résumé du contenu

Page 1 - Blueprint:

HP Open Source Middleware StacksBlueprint:Web Server on HP ProLiant Servers with SUSE LinuxEnterprise Server Version 10HP Part Number: 5991-5565Publis

Page 2

Typographic ConventionsThis document uses the following typographical conventions.CommandA command name or qualified command phrase.ComputerOutText di

Page 3 - Table of Contents

HP Open Source Web Server Middleware StackThe following components comprise the HP OSMS Web Server Middleware Stack:Apache Web Server The Apache Web S

Page 4 - 4 Table of Contents

Figure 1 Web Server Stack ArchitectureTable 1 lists the software used to test the configurations described in this blueprint.Table 1 Software Test Con

Page 5 - List of Figures

NOTE: The installation and configuration of the MySQL and Oracle databases are not coveredin this blueprint. The MySQL and Oracle databases are instal

Page 6

2. Under the Primary Functions heading, select Web and LAMP Server and under theDevelopment heading, select C/C++ Compiler and Tools as displayed in F

Page 7 - List of Tables

# rpm –q apache2 apache2-prefork apache2–mod_perl apache2–mod_python \ apache2–mod_php5 webalizerIf any of these packages are not installed, locate th

Page 8

1. Download the Sun JDK package from the Java website and install as follows (see Table 1(page 12) for the correct version and website link):Change to

Page 9 - Introduction

4. Log out of the system, and then log back in to start using the revised profile.5. Verify the Sun JDK installation was successful by entering the fo

Page 10 - HP Encourages Your Comments

NOTE: If the iptables firewall is enabled, you will not be able to connect to Tomcat froma remote computer.6. If necessary, stop Tomcat by entering th

Page 11 - Web Server Stack Architecture

You can force a heavier load on the Apache HTTP Server by increasing the number of concurrencyrequests with the -c option, and by prolonging the testi

Page 12

© Copyright 2007 Hewlett-Packard Development Company, L.P.Legal NoticeConfidential computer software. Valid license from HP required for possession, u

Page 13

5. Verify that the /etc/apache2/sysconfig.d/loadmodule.conf file contains thefollowing lines:LoadModule info_module /usr/lib64/apache2-prefork/

Page 14

Apache HTTP Server LogThe Apache HTTP Server provides a detailed and flexible information-logging mechanism. Thetwo most important log files are the e

Page 15 - Components

Figure 8 Webalizer Usage ReportFor detailed information, see the Webalizer website at:http://www.mrunix.net/webalizer/Using Virtual Host SupportA virt

Page 16

8. Populate the file that you created in Step 7 with the following lines:<HTML> <HEAD> </HEAD> <BODY DIR="LTR"> &

Page 17

</BODY></HTML>4. Edit the following configuration file:/etc/apache2/default-server.confAdd the following line to the preceding file:Redi

Page 18

6. View the access log file on the Apache Proxy server. Messages similar to the following arecontained in the file:YOUR_WEB_BROSWER_IP - - [03/Feb/200

Page 19

3. Verify the custom local URL redirect message by opening a browser and entering thefollowing website:http://<YOUR_WEB_SERVER_IP>/non-existThe

Page 20

<P ALIGN=CENTER STYLE="margin-bottom: 0cm"> <FONT FACE="Times New Roman, serif"> <FONT SIZE=6>The is pers

Page 21 - Apache HTTP Server Log

3. Insert the following line below the DocumentRoot line:JkMount /jsp-examples/* worker14. Before you can verify the Tomcat and Apache integration, yo

Page 22 - Using Virtual Host Support

/var/log/apache2/error_log/var/log/apache2/access_log/var/log/apache2/mod_jk.logIntegrating the Apache Web Server and PHPThe Apache Web server that is

Page 23

Table of ContentsIntroduction...

Page 24

Integrating the Apache Web Server and PythonThe apache2–mod_python module embeds the Python environment into the Apache Webserver. Embedding this envi

Page 25 - Error Responses and Redirects

Figure 11 Tomcat Connections Using JDBCTomcat uses the data-source concept to create database connections. A data source must beconfigured in an XML c

Page 26

1. Create a data source descriptor file named $CATALINA_HOME/conf/context.xml andinsert the following lines:<Context>…<Resource name="jd

Page 27

1. Create a JSP file named $CATALINA_HOME/webapps/ROOT/mysqltest.jsp and insertthe following lines:<%@page contentType="text/html" import

Page 28

layer for web applications. A JDBC connector for Oracle is needed to integrate an external OracleDatabase server with the Tomcat Web server. This sect

Page 29

1. Create a JSP file named $CATALINA_HOME/webapps/ROOT/oracleTest.jsp and insertthe following lines:<%@page contentType="text/html" impor

Page 30

Connecting Tomcat to MySQL or Oracle Using HibernateHibernate is an open-source object and relational mapping framework. It uses a lightweightobject e

Page 31 - Connecting Tomcat and MySQL

1. Log in to Oracle using the user name osmsusr and password osmspass by entering thefollowing command:# sqlplus osmsusr/osmspass@osmsdb_ora2. In the

Page 32

maxWait="5000" username="osmsusr" url="jdbc:oracle:thin:@IP_OR_HOSTNAME_OF_DB_SERVER:1521:osmsdb_ora" maxAc

Page 33 - Connecting Tomcat and Oracle

/osms/hibernate/utility and add the following lines so the application can interactwith Hibernate:package com.hp.osms.hibernate.utility; import org.hi

Page 34 - Configuring the Oracle Server

Creating a Simple Application in Tomcat...37Verifying the Simple Applic

Page 35

<property name="firstName" type="java.lang.String"> <column name="FIRST_NAME" length="30" /&g

Page 36

org.hibernate.Session hbsession = HibernateSessionFactory.getSession();try{ Transaction tx = hbsession.beginTransaction();Users users= new Users();

Page 37

Secure the Web Server StackThis section covers web server security.• Data Transportation—Secure Sockets Layer (SSL) is a widely used technology to pro

Page 38 - </Context>

5. Perform the test by navigating to the website located at:https://<YOUR_HOSTNAME>Verify that the certificate is displayed as in Figure 15:Figu

Page 39

Creating a Password FileCreate a password file to contain the HTTPS server passwords using the following steps:1. Create the password directory by ent

Page 40

NOTE: In the steps for this procedure:rootdn is set to"cn=Manager,dc=example,dc=com"rootpw is set to secret in the slapd.conf file1. Create

Page 41

1. Edit the following file:/etc/apache2/default-server.confAdd the ldap and authnz_ldap modules to the APACHE_MODULES line. Once this edit iscomplete,

Page 42 - Secure the Web Server Stack

1. Create a web application named myweb in your Tomcat Web server by adding the followingcode to the file $CATALINA_HOME/conf/server.xml:TIP: To apply

Page 43

<P ALIGN=CENTER STYLE="margin-bottom: 0cm"> <FONT FACE="Times New Roman, serif" SIZE=6> Integration of tom

Page 44

NOTE: The HP OVO Management server runs on either HP-UX or Windows systems. Theexamples in this blueprint use HP OVOW.Figure 16 illustrates the SPIs a

Page 45

List of Figures1 Web Server Stack Architecture...12

Page 46

ToolsTable 3 provides an overview of the Tools group in the Tomcat Servlet Engine SPI (SESPI).Table 3 SE-SPI Applications of the Tool GroupDescription

Page 47

Appendix A: Checklist for Building a Web Server Middleware StackThe following checklist is intended to assist you in building a Web Server Middleware

Page 48

StatusComplete these steps:Implement Tomcat authorization with Symas CDS (page 46).12Configure Tomcat monitoring with HP OVOW (page 48).1352

Page 49 - Tomcat SPI Components

Appendix B: Frequently Asked QuestionsQ: How do I disable firewall settings?A: By default, SLES has a firewall enabled. This prevents external systems

Page 50 - Policies

Appendix C: Vendor Information ReferenceThis appendix provides references to the vendors that are referenced in the HP OSMS Web Serverstack. These web

Page 51

Appendix D: Hibernate Test Application Source CodeThis appendix provides the contents of the following two Hibernate Test Application sourcecode files

Page 52 - StatusComplete these steps:

public void showData(JspWriter out,List list) { Iterator it = list.iterator(); try{out.print("<table width='100%' border=&a

Page 53 - --dport 80 --syn -j ACCEPT

{ HibernateSessionFactory.closeSession(); } %> <body><div align="center"><font size="7">OSMS Hibernate Te

Page 55

List of Tables1 Software Test Configuration...1

Page 57

IntroductionExecutive SummaryThe HP Open Source Integrated Portfolio (HP OSIP) comprises a range of products and servicesdesigned to verify that custo

Commentaires sur ces manuels

Pas de commentaire