HP (Hewlett-Packard) 5991-5565 инструкция обслуживания

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации HP (Hewlett-Packard) 5991-5565. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции HP (Hewlett-Packard) 5991-5565 или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции HP (Hewlett-Packard) 5991-5565 можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций HP (Hewlett-Packard) 5991-5565, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции HP (Hewlett-Packard) 5991-5565 должна находится:
- информация относительно технических данных устройства HP (Hewlett-Packard) 5991-5565
- название производителя и год производства оборудования HP (Hewlett-Packard) 5991-5565
- правила обслуживания, настройки и ухода за оборудованием HP (Hewlett-Packard) 5991-5565
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск HP (Hewlett-Packard) 5991-5565 это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок HP (Hewlett-Packard) 5991-5565 и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта HP (Hewlett-Packard), в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания HP (Hewlett-Packard) 5991-5565, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства HP (Hewlett-Packard) 5991-5565, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции HP (Hewlett-Packard) 5991-5565. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 1

    HP Open S our ce Mi ddle w ar e St ac ks Bluepr int: W eb Se r v er on HP Pr oL i ant Se r v er s w ith S U SE L inu x Ent er pr ise Se r v er V er si on 1 0 HP P ar t Numbe r: 5 99 1 -5 56 5 P ublished: August 200 7 E dition: 3 .0[...]

  • Страница 2

    © Copyright 2007 Hewlett-P ackard Development Company , L.P . Legal Notice Confidential computer softw are. V alid license from HP required for possession, use or copying. Consistent with F AR 12.211 and 12.212, Commercial Computer Softw are, Computer Software Documentation, and T echnical Data for Commercial Items are licensed to the U.S. Governm[...]

  • Страница 3

    T able o f C onte nts Introduction ............................................................................................................................................ 9 Ex ec ut iv e Su mm ar y ...........................................................................................................................9 In te nd ed A ud ie nc[...]

  • Страница 4

    Cr ea ti ng a S im pl e Ap pl ic at io n in T o mc at ..................................................................................37 V er if yi ng t he S im pl e Ap p li ca ti on O p er at io n.............................................................................4 1 Se cu re t he W e b Se rv er S ta ck .................................[...]

  • Страница 5

    L ist of F igur es 1 W eb S er v e r St ac k Ar ch it e ct ur e......................................................................................................1 2 2 W eb S er ve r H ar dw ar e En vi ro nm en t.............................................................................................1 3 3 Y aS T So ft w ar e Se le ct io n an[...]

  • Страница 6

    6[...]

  • Страница 7

    L ist of T ables 1 So ft w ar e T es t C on fi gu ra t io n..........................................................................................................1 2 2 Re qu ir ed O VO W P at ch es ..............................................................................................................49 3 SE -S PI A pp li ca ti on s of t h[...]

  • Страница 8

    8[...]

  • Страница 9

    Intr oducti on Ex ec uti ve Summary The HP Open Source Integrated Portfolio (HP OSIP) comprises a range of products and services designed to verify that customers can successfully realize the cost and feature benefits of adopting open source softw are in their IT environments. HP Open Source foundation components include the base components of an o[...]

  • Страница 10

    T y pogra phic C on ve ntions This document uses the following typographical conventions. Command A command name or qualified command phrase. ComputerOut T ext displayed by the computer . Ctrl-x A key sequence. A sequence such as Ctrl-x indicates that you must hold down the key labeled Ctrl while y ou press another key or button. ENVIRONVAR The nam[...]

  • Страница 11

    HP Open S our ce W eb Serve r Middle war e St ack The following components comprise the HP OSMS W eb Server Middlew are Stack: Apache W eb Server The Apache W eb Server is a mature open source w eb server that has become the de facto standard because of its high adoption rate on the Internet. Apache T omcat Apache T omcat (or T omcat) is a J2EE ser[...]

  • Страница 12

    Figur e 1 W eb Ser ver Stack Architecture T able 1 lists the software used to test the configurations described in this blueprint. T abl e 1 Softwar e T est Configuration W ebsite Link Distributor P ackage Name P ackage V ersion Software Apache httpd website Novell apache2.2.0-21.2.x86_64.rpm 2.2.0-21.2 Apache httpd Apache T omcat website Apache ap[...]

  • Страница 13

    NO TE: The installation and configuration of the MySQL and Oracle databases are not cov ered in this blueprint. The MySQL and Oracle databases are installed on a separate HP ProLiant servers with database files on Modular Smart Array (MSA) 1000 storage. All other softw are listed in T able 1 are installed on HP ProLiant servers, as displayed in Fig[...]

  • Страница 14

    2. Under the Primary Functions heading, select W eb and LAMP Server and under the Development heading, select C/C++ Compiler and T ools as displayed in Figure 3 . Figur e 3 Y aST Software Selection and S ystem T asks 3. Select the Details button to display a table with the detailed software package selections. 4. From the Filter options drop-down l[...]

  • Страница 15

    # rpm – q apache2 apache2-prefork apache2 – mod_perl apache2 – mod_python apache2 – mod_php5 webalizer If any of these packages are not installed, locate the RPM package on the Linux distribution media, and install the missing package. NO TE: By default, the installation enables the iptables firew all, which prevents external systems from[...]

  • Страница 16

    1. Download the Sun JDK package from the Jav a website and install as follows (see T able 1 (page 12) for the correct version and w ebsite link): Change to the Sun JDK install package directory , as appropriate for your system, and install the package by entering the following command: # chmod 755 jdk-1_5_0_10-linux-amd64-rpm.bin # ./jdk-1_5_0_10-l[...]

  • Страница 17

    4. Log out of the system, and then log back in to start using the revised profile. 5. V erify the Sun JDK installation w as successful by entering the following: # java – version The following messages appear: java version "1.5.0_10" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03) Java HotSpot(TM) 64-Bit Server VM [...]

  • Страница 18

    NO TE: If the iptables firew all is enabled, you will not be able to connect to T omcat from a remote computer . 6. If necessary , stop T omcat by entering the following command: # /usr/local/apache-tomcat/bin/shutdown.sh The following messages appear: Using CATALINA_BASE: /usr/local/apache-tomcat Using CATALINA_HOME: /usr/local/apache-tomcat Using[...]

  • Страница 19

    Y ou can force a heavier load on the Apache HTTP Server by increasing the number of concurrency requests with the -c option, and by prolonging the testing round by increasing the number of requests with the -n option. NO TE: If you encounter the following error: socket: Too many open files (24) Y ou can correct the error by entering the following: [...]

  • Страница 20

    5. V erify that the /etc/apache2/sysconfig.d/loadmodule.conf file contains the following lines: LoadModule info_module /usr/lib64/apache2-prefork/mod_info.so LoadModule status_module /usr/lib64/apache2-prefork/mod_status.so If these two lines exist , then the tw o modules have loaded successfully . Use the following procedure to v erify the server [...]

  • Страница 21

    Apac he HTTP Ser v er Log The Apache HTTP Server provides a detailed and flexible information-logging mechanism. The two most important log files are the error and access logs. The default location for the Apache HTTP Server log files is the following directory: /var/log/apache2 Using the Er ror L og to Diagn ose the Apac he HTTP Server The Apache [...]

  • Страница 22

    Figur e 8 W ebalizer Usage Report For detailed information, see the W ebalizer website at: http://www .mrunix.net/webalizer/ Using V irtual Host Support A virtual host runs more than one w ebsite on a single server . For example, www .website1.com and www .website2.com can be hosted on the same server . The most widely used virtual host is "na[...]

  • Страница 23

    8. P opulate the file that you created in Step 7 with the following lines: <HTML> <HEAD> </HEAD> <BODY DIR="LTR"> <P ALIGN=CENTER STYLE="margin-bottom: 0cm"> <FONT FACE="Times New Roman, serif"> <FONT SIZE=6>This is www.website2.com</FONT> </FONT></P> </BOD[...]

  • Страница 24

    </BODY> </HTML> 4. Edit the following configuration file: /etc/apache2/default-server.conf Add the following line to the preceding file: Redirect permanent /testdir http:// <ANOTHER_WEB_SERVER_IP> /test.html 5. Use the following command to restart y our Apache HTTP server , for the preceding changes to take effect: # /etc/init.d/a[...]

  • Страница 25

    6. V iew the access log file on the Apache Proxy server . Messages similar to the following are contained in the file: YOUR_WEB_BROSWER_IP - - [03/Feb/2007:13:30:48 -0500] "GET http://YOUR_WEB_SERVER_IP/test.html HTTP/1.0" 200 206 "-" "ApacheBench/2.0.40-dev" V iew the access log file on the Apache HTTP server . Messag[...]

  • Страница 26

    3. V erify the custom local URL redirect message by opening a browser and entering the following website: http:// <YOUR_WEB_SERVER_IP> /non-exist The following message appears: The page you request does not exist! Local redirects example Cu stomi zing External URL R edirec t Res ponses The URL redirect feature allows y ou to trap a missing li[...]

  • Страница 27

    <P ALIGN=CENTER STYLE="margin-bottom: 0cm"> <FONT FACE="Times New Roman, serif"> <FONT SIZE=6>The is personal homepage of user tester .</FONT> </FONT></P> </BODY> </HTML> 3. V erify that the per-user web directory configuration was successful by opening a browser and entering the f[...]

  • Страница 28

    3. Insert the following line below the DocumentRoot line: JkMount /jsp-examples/* worker1 4. Before you can v erify the T omcat and Apache integration, you must set T omcat to listen for AJP13 requests. The JK module uses AJP to communicate with T omcat so, you must v erify that the AJP <Connector> element is enabled in the T omcat file serve[...]

  • Страница 29

    /var/log/apache2/error_log /var/log/apache2/access_log /var/log/apache2/mod_jk.log Integr ating the Apache W eb Server and P HP The Apache W eb server that is shipped with the supported Linux distribution includes a built-in PHP module. Therefore, no extra configuration is required for Apache. Use the following procedure to configure PHP: 1. V erif[...]

  • Страница 30

    Integr ating the Apache W eb Server and Pyth on The apache2 – mod_python module embeds the Python environment into the Apache W eb server . Embedding this environment avoids the run-time ov erhead of starting the Python environment externally . Use the apache2 – mod_python package provided by the Linux distribution. 1. V erify that the apache2 [...]

  • Страница 31

    Figur e 1 1 T omcat Connections Using JDBC T omcat uses the data-source concept to create database connections. A data source must be configured in an XML configuration file. The data source provides details about the target database, such as the database server IP address and login credentials. The JDBC driv er connects to the database and the use[...]

  • Страница 32

    1. Create a data source descriptor file named $CATALINA_HOME/conf/context.xml and insert the following lines: <Context> … <Resource name="jdbc/mysqlDB" auth="Container" type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql:// <IP_OR_NAME_OF_MYSQL_SERVER >:33[...]

  • Страница 33

    1. Create a JSP file named $CATALINA_HOME/webapps/ROOT/mysqltest.jsp and insert the following lines: <%@page contentType="text/html" import="java.io.*,java.sql.*, javax.sql.*,javax.naming.*"%> <html> <head> <title>Tomcat->MySQL Test </title> <link rel="stylesheet" href="style_ma[...]

  • Страница 34

    layer for w eb applications. A JDBC connector for Oracle is needed to integrate an external Oracle Database server with the T omcat W eb server . This section describes the steps for connecting the T omcat W eb server to an Oracle database. Obtaining and Inst alling the Orac le JDBC Dri ver P erform the following steps from the T omcat W eb server:[...]

  • Страница 35

    1. Create a JSP file named $CATALINA_HOME/webapps/ROOT/oracleTest.jsp and insert the following lines: <%@page contentType="text/html" import="java.io.*,java.sql.*, javax.sql.*,javax.naming.*"%> <html> <head> <title>Tomcat->Oracle Test </title> <link rel="stylesheet" href="style_[...]

  • Страница 36

    Co nnecting T omcat to MyS QL or Or acle U sing Hiber nate Hibernate is an open-source object and relational mapping framework. It uses a lightweight object encapsulation for JDBC and allows JA V A developers to access data from databases using JA V A objects. Hibernate is designed to run in a managed environment, such as the environment of the web[...]

  • Страница 37

    1. Log in to Oracle using the user name osmsusr and password osmspass by entering the following command: # sqlplus osmsusr/osmspass@osmsdb_ora 2. In the Oracle database identified by the Oracle SID, osmsdb_ora , create a table named USERS , and then sequence with the osmsusr user by entering the following commands: SQL> Create sequence hibernate[...]

  • Страница 38

    maxWait="5000" username="osmsusr" url="jdbc:oracle:thin:@IP_OR_HOSTNAME_OF_DB_SERVER:1521:osmsdb_ora" maxActive="15"/> </Context> Where: IP_OR_HOSTNAME_OF_DB_SERVER is the MySQL or Oracle database server name or IP address. 3. Add the Hibernate3 JAR files to the application library by copying the fol[...]

  • Страница 39

    /osms/hibernate/utility and add the following lines so the application can interact with Hibernate: package com.hp.osms.hibernate.utility; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.cfg.Configuration; public class HibernateSessionFactory { private static String CONFIG_FILE_LOCATION = "/hibernate[...]

  • Страница 40

    <property name="firstName" type="java.lang.String"> <column name="FIRST_NAME" length="30" /> </property> <property name="lastName" type="java.lang.String"> <column name="LAST_NAME" length="30" /> </property> </class> </hibern[...]

  • Страница 41

    org.hibernate.Session hbsession = HibernateSessionFactory.getSession(); try{ Transaction tx = hbsession.beginTransaction(); Users users= new Users(); users.setFirstName("Smith"); users.setLastName("Barney"); hbsession.save(users); hbsession.flush(); tx.commit(); }catch(HibernateException he){ he.printStackTrace(); }finally { if([...]

  • Страница 42

    Sec ure the W eb Serv er Stac k This section covers w eb server security . • Data T ransportation —Secure Sockets Layer (SSL) is a widely used technology to protect data transfer . SSL enablement methods for both the Apache W eb server and T omcat Application server . • Application Authentication — Apache W eb server provides a built-in aut[...]

  • Страница 43

    5. P erform the test by navigating to the website located at: https://< YOUR_HOSTNAME > V erify that the certificate is displayed as in Figure 15 : Figur e 1 5 SSL_Enabled Apache Apac he HTTP Ser v er Auth ori z ation The Apache default document root is: /srv/www/htdocs A directory named test must exist in the document root directory . In the[...]

  • Страница 44

    Cr eating a P ass wo rd F ile Create a password file to contain the HTTPS server passwords using the following steps: 1. Create the password directory by entering the following command: # mkdir /etc/apache2/passwd 2. Create and update the user passw ord file by entering the following command: # htpasswd2 -c /etc/apache2/passwd/mypasswords TESTNAME [...]

  • Страница 45

    NO TE: 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 file 1. Create a file named webbase.ldif that contains the following lines: dn: dc=example,dc=com objectClass: dcObject objectClass: organization dc: example o: example dn: dc=osm,dc=example,dc=com objectClass:[...]

  • Страница 46

    1. Edit the following file: /etc/apache2/default-server.conf Add the ldap and authnz_ldap modules to the APACHE_MODULES line. Once this edit is complete, the line should look like the following: APACHE_MODULES= "... ... ldap authnz_ldap" 2. Create the following file: /srv/www/htdocs/ldaptest/index.html Add the following lines to the prece[...]

  • Страница 47

    1. Create a web application named myweb in y our T omcat W eb server by adding the following code to the file $CATALINA_HOME/conf/server.xml : TIP: T o apply the following <Realm/> configuration to all of your virtual machines, insert it between the <Engine/> tags. Y ou can also apply it to the scope of a virtual host by inserting it be[...]

  • Страница 48

    <P ALIGN=CENTER STYLE="margin-bottom: 0cm"> <FONT FACE="Times New Roman, serif" SIZE=6> Integration of tomcat and CDS succeed! </FONT> </P> </BODY> </HTML> 5. Configure the directory service as described in “Configuring CDS and LDAP Services” (page 44) . 6. Restart T omcat by entering the [...]

  • Страница 49

    NO TE: The HP OVO Management server runs on either HP-UX or Windows systems. The examples in this blueprint use HP OVOW . Figure 16 illustrates the SPIs architecture and OpenView components. Figur e 1 6 OV OW Ar c hitecture So ft war e Pr er equisites and R efe re nce Guides Before attempting to install the T omcat SPI, verify that y ou have a func[...]

  • Страница 50

    T ools T able 3 provides an overview of the Tools group in the T omcat Servlet Engine SPI (SESPI). T abl e 3 SE- SPI Applications of the T ool Group Description Servlet Engine SPI Creates the SESPI directory and configurations files and libraries required by the SPI. Configure T omcat Instrumentation Shuts down T omcat server process. Shutdown T om[...]

  • Страница 51

    Appendi x A: Chec klist f or Building a W eb Serve r Middle w ar e Stac k The following checklist is intended to assist y ou in building a W eb Server Middlew are Stack in your environment. Status Complete these steps: Install and verify the Linux installation. 1 Configure the basic Apache HTTP Server (page 15) . 2 Install and configure Sun JDK or [...]

  • Страница 52

    Status Complete these steps: Implement T omcat authorization with Symas CDS (page 46) . 12 Configure T omcat monitoring with HP OVOW (page 48) . 13 52[...]

  • Страница 53

    Appendi x B: F r equentl y Ask ed Q uesti ons Q : How do I disable firew all settings? A : By default, SLES has a firew all enabled. This prevents external systems from accessing ports below 1024. Enter the following to disable the firew all: # /sbin/SuSEfirewall2 stop CA UTION: Disabling the firewall is not advisable. If any external applications [...]

  • Страница 54

    Appendi x C: V endor Inf or mation R efe r ence This appendix provides references to the v endors that are referenced in the HP OSMS W eb Server stack. These web resources contain a w ealth of information and HP encourages you to review each of them. Apache HTTP Server V ersion 2.2 Documentation Provides all the documentation associated with V ersi[...]

  • Страница 55

    Appendi x D: Hiber nate T est A pplicati on So ur ce Code This appendix provides the contents of the following tw o Hibernate T est Application source code files: • HibernateSessionFactory.java • hibernate.jsp The following are the contents of the HibernateSessionFactory.java file: package com.hp.osms.hibernate.utility; import org.hibernate.Hib[...]

  • Страница 56

    public void showData(JspWriter out,List list) { Iterator it = list.iterator(); try{ out.print("<table width='100%' border='1' cellspacing='0' cellpadding='0'><tr>"); out.print("<tr><td bgcolor='E2E6F1'><div align='center'>UserID<br></di[...]

  • Страница 57

    { HibernateSessionFactory.closeSession(); } %> <body><div align="center"><font size="7">OSMS Hibernate Test Page</font> <%initSession();%> </div><h2>1.Retrieve data from table USERS via hibernate<br> <%showData(out,queryAll());%> <h2>2.Insert firstname 'Smith&ap[...]