HP 5991-5565 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Databázový software HP 5991-5565. HP 5991-5565 User's Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - Blueprint:

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

Strany 2

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 12

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

Strany 13

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

Strany 14

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

Strany 15 - Components

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

Strany 16

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

Strany 17

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

Strany 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

Strany 19

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

Strany 20

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

Strany 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

Strany 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

Strany 23

Table of ContentsIntroduction...

Strany 24

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

Strany 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

Strany 26

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

Strany 27

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

Strany 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

Strany 29

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

Strany 30

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

Strany 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

Strany 32

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

Strany 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

Strany 34 - Configuring the Oracle Server

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

Strany 35

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

Strany 36

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

Strany 37

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

Strany 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

Strany 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

Strany 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

Strany 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,

Strany 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

Strany 43

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

Strany 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

Strany 45

List of Figures1 Web Server Stack Architecture...12

Strany 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

Strany 47

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

Strany 48

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

Strany 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

Strany 50 - Policies

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

Strany 51

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

Strany 52 - StatusComplete these steps:

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

Strany 53 - --dport 80 --syn -j ACCEPT

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

Strany 55

List of Tables1 Software Test Configuration...1

Strany 57

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

Komentáře k této Příručce

Žádné komentáře