Red Hat APPLICATION STACK 2.1 RELEASE Скачать руководство пользователя страница 7

Introduction

1. Overview of This Release

Red Hat Application Stack is a set of software components that have been tested and certified

to work together in an integrated fashion. Red Hat Application Stack is designed for dynamic

web applications for both the LAMP and Java (TM) platforms.

2. Installation Prerequisites

• Red Hat Application Stack V.2.1 has been tested and certified on Red Hat Enterprise Linux 5

systems. It is not certified for use with earlier versions of Red Hat Enterprise Linux. Please

follow the separate instructions for installing Red Hat Enterprise Linux 5 before installing Red

Hat Application Stack V.2.1.

• Red Hat Application Stack V.2.1 is available for 32- and 64-bit Intel architectures only (i386

and x86_64).

• Red Hat Application Stack V.2.1 includes JBoss Enterprise Application Platform 4.2, for

running web applications in a standard middleware environment. Note that the JBoss

Enterprise Application Platform uses an embedded Tomcat and does not require a

stand-alone Tomcat. Before installing and running the JBoss Application Server (the

application server component of JBoss Enterprise Application Platform 4.2), you will require a

working installation of Java 1.5. Currently Red Hat Application Stack is certified with the Sun

JVM 1.5.0 update 15 or later, and the latest BEA JVM available through RHN. Please refer to

Chapter 2, Configuring the Java Environment

for instructions on configuring the Java

environment for JBoss Application Server.

• If you intend to use the production config (started by default), you will need atleast 1.5GB of

physical memory.

3. Package-specific Notes

In most cases, Red Hat Application Stack contains more recent versions of packages than

those that are included in Red Hat Enterprise Linux. Installing Red Hat Application Stack may

update/overwrite these packages. Please ensure you review the complete package list before

beginning the installation process.

Chapter 1.

1

Содержание APPLICATION STACK 2.1 RELEASE

Страница 1: ...Red Hat Application Stack V 2 1 Release Notes 2 1 ISBN N A Publication date ...

Страница 2: ...Red Hat Application Stack V 2 1 Release Notes ...

Страница 3: ...Red Hat Application Stack V 2 1 Release Notes Copyright 2008 Red Hat Inc ...

Страница 4: ...Red Hat Application Stack V 2 1 Release Notes ...

Страница 5: ... Hat Application Stack 7 4 Using JBoss Application Server 11 1 Using the Linux service production 11 2 Using run sh development 13 3 Creating copies of JBOSS_HOME 14 4 Using the jbossas commands from any directory 14 5 Running multiple instances of JBoss Application Server 15 5 1 Running multiple instances of JBoss Application Server using different sets of ports 16 5 2 Running multiple instances ...

Страница 6: ...vi ...

Страница 7: ...ddleware environment Note that the JBoss Enterprise Application Platform uses an embedded Tomcat and does not require a stand alone Tomcat Before installing and running the JBoss Application Server the application server component of JBoss Enterprise Application Platform 4 2 you will require a working installation of Java 1 5 Currently Red Hat Application Stack is certified with the Sun JVM 1 5 0 ...

Страница 8: ...2 ...

Страница 9: ...cy 1 Install a supported SDK 1 1 Installing a BEA IBM or Sun SDK 1 Install a Java SDK from RHN Java SDKs are provided by the Red Hat Enterprise Linux 5 Supplementary channel for your Linux variant and architecture Depending on the architecture the channel names are rhel i386 server supplementary 5 and rhel x86_64 server supplementary 5 The java 1 5 0 bea java 1 5 0 ibm and java 1 5 0 sun SDKs are ...

Страница 10: ...e Application Platform child channel e g jbappplatform 4 i386 as 5 rpm or jbappplatform 4 x86_64 as 5 rpm 3 Install JBoss Application Server For the Application Server which includes an embedded Tomcat run yum install jbossas Refer also to Chapter 4 Using JBoss Application Server below 2 2 Using yum DVD To install using yum DVD 1 Update your installation and install the JVM as described above 2 Mo...

Страница 11: ...he installation is complete remove the file you added in etc yum repos d in Step 3 or set enabled 0 in that file Failure to do this will result in yum exiting with an error whenever it is run again without mounting the Red Hat Application Stack V 2 1 DVD Refer also to Chapter 4 Using JBoss Application Server below Using yum DVD 5 ...

Страница 12: ...6 ...

Страница 13: ...your database is optional but recommended Run as root mysqldump all databases p tmp mysqldumpfile sql 2 Stop the daemons sbin service httpd stop To shut down MySQL sbin service mysqld stop To shut down PostgreSQL sbin service postgresql stop 3 Install the software Option 1 To install from RHN which is the preferable option to avoid dependency issues Subscribe to the Red Hat Application Stack child...

Страница 14: ... will result in yum exiting with an error whenever it is run again without mounting the Red Hat Application Stack V 2 1 DVD Note You may need to install the following packages to satisfy dependencies before executing the above command if they are not already installed apr devel apr util devel libc client mx pcre devel Note You can also install specific components of the stack via the yum groupinst...

Страница 15: ... group The groupremove directive will only remove packages in the group not the dependencies that the package install may have brought in 4 Restore your database For PostgreSQL Move or remove the database directory mv var lib pgsql data var lib pgsql data backup Initialize the database sbin service postgresql initdb Start the new PostgreSQL service sbin service postgresql start Restore your data f...

Страница 16: ...ql_upgrade Restore your data mysql p tmp mysqldumpfile sql 5 Start the remaining daemons Start the http daemon sbin service httpd start The installation is now complete Chapter 3 Installing Red Hat Application Stack 10 ...

Страница 17: ...ystem Settings Server Settings Services Note For security purposes beginning with Red Hat Application Stack V 1 1 authentication for the jmx console web console jmx invoker and http invoker is turned on Additionally no user accounts are active by default so as to prevent default user password based attacks Accounts for the jmx console and the invokers can be set up by modifying JBOSS_HOME server C...

Страница 18: ...for which the user jboss has no read access in the deployment directory will cause the server to fail to deploy To create additional JBoss Application Server configurations besides the provided default minimal all and production you must create a new directory for your configuration as follows note the switches given to the cp command export JBOSS_BASE var lib jbossas cd JBOSS_HOME cp pL R server ...

Страница 19: ... to have JAVA_HOME set to this same SDK Also some may prefer to use the alternatives selected one instead These users may be affected by this global setting of JAVA_HOME If you still need to set JAVA_HOME for some other reason the alternatives selected SDK is in usr lib jvm java so a export JAVA_HOME usr lib jvm java will do IMPORTANT The entire JBoss Application Server suite runs under a new jbos...

Страница 20: ... jbossas my_new_jboss_home_directory To run multiple servers simultaneously you will need to adjust the configuration to avoid port conflicts as described in the JBoss Application Server documentation Refer to Running multiple instances of JBoss Application Server for more information Note Please note that automated updating of copies created using methods above is not supported If you create cust...

Страница 21: ...ultiple SysV services that run JBoss Application Server by creating additional service scripts The process basically consists of creating a link with the new service name to the original jbossas init script in etc init d copying the jbossas file in etc sysconfig to one with the new service name the init script and the configuration file names must match making the desired configuration changes mak...

Страница 22: ...ve write permissions for the user jboss Note Starting the server this first time may take a little longer due to the file copying There are 2 ways to run additional instances of JBoss Application Server and avoid port conflicts By using different sets of ports By binding to different local IP addresses 5 1 Running multiple instances of JBoss Application Server using different sets of ports Using d...

Страница 23: ...oss Application Server binding to different local IP addresses Each JBoss Application Server instance is bound to a particular IP address 1 Create a new file etc init d service name which is a symlink to etc init d jbossas e g ln s etc init d jbossas etc init d jbossas instance2 2 Create a new config file for service name etc sysconfig service name with instance specific values uncommented and upd...

Страница 24: ...6 More Information More general documentation for JBoss Application Server is available under usr share doc jbossas 4 2 0 Chapter 4 Using JBoss Application Server 18 ...

Страница 25: ...ny sensitive nuclear chemical or biological weapons or missile technology end uses unless authorized by the U S Government by regulation or specific license e Understand and agree that if you are in the United States and export or transfer the Software to eligible end users you will as required by EAR Section 740 17 e submit semi annual reports to the Commerce Department s Bureau of Industry Secur...

Страница 26: ...20 ...

Отзывы: