Sie sind auf Seite 1von 3

INSTALACIN JBOSS 7.1.

1 Final AS
Requerimientos
- Distribucion Linux (Probado en Ubuntu 10.x y superiores y CentOS 6.x) - JDK 1.7 1. Crear usuario JBOSS #adduser jboss Aadiendo el usuario jboss ... Aadiendo el nuevo grupo 'boss' (1004) ... Aadiendo el nuevo usuario jbossx (1004) con grupo zjboss ... Creando el directorio personal /home/jboss ... Copiando los ficheros desde `/etc/skel' ... Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for jboss Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Es correcta la informacin? [S/n] S 2. Descargar el archivo 7.1.1.Final AS Certified Java EE 6 Full Profile TAR.GZ 3.- Extraer en la siguiente ruta: # tar zxf /Descargas/jboss-as-7.1.1.Final.tar.gz -C /opt/ 4.- conectarse como jboss su jboss 5.- Crear usuario Administrador de Jbosss $ cd /opt/jboss-as-7.1.1.Final/bin $ ./add-user.sh

What type of user do you wish to add? a) Management User (mgmt-users.properties) b) Application User (application-users.properties) (a): a Enter the details of the new user to add. Realm (ManagementRealm) : Username : jbossAdmon Password : Re-enter Password : 6.- Iniciar Jbos en modo STANDALONE $ ./standalone.sh -Djboss.bind.address=0.0.0.0 -Djboss.bind.address.management=0.0.0.0& -Djboss.bind.address=0.0.0.0 -Djboss.bind.address.management=0.0.0.0& (*** PARA PERMITIR ACCESOS REMOTOS ****) 7.- Dar de baja el servidor $ ./jboss-cli.sh --connect command=:shutdown 7.- Probar en el navegador http://IP:9990, ingresar datos del administrador.

OPERATING MODES
JBoss Application Server 7 can be booted in two different modes. A managed domain allows you to run and manage a multi-server topology. Alternatively, you can run a standalone server instance.

Standalone Server
For many use cases, the centralized management capability available via a managed domain is not necessary. For these use cases, a JBoss Application Server 7 instance can be run as a "standalone server". A standalone server instance is an independent process, much like an JBoss Application Server 3, 4, 5, or 6 instance is. Standalone instances can be launched via the standalone.sh or standalone.bat launch scripts. If more than one standalone instance is launched and multi-server management is desired, it is the user's responsibility to coordinate management across the servers. For example, to deploy an application across all of the standalone servers, the user would need to individually deploy the application on each server.

It is perfectly possible to launch multiple standalone server instances and have them form an HA cluster, just like it was possible with JBoss Application Server 3, 4, 5 and 6.

Managed Domain
One of the primary new features of JBoss Application Server 7 is the ability to manage multiple JBoss Application Server 7 instances from a single control point. A collection of such servers is referred to as the members of a "domain" with a single Domain Controller process acting as the central management control point. All of the JBoss Application Server 7 instances in the domain share a common management policy, with the Domain Controller acting to ensure that each server is configured according to that policy. Domains can span multiple physical (or virtual) machines, with all JBoss Application Server 7 instances on a given host under the control of a special Host Controller process. One Host Controller instance is configured to act as the central Domain Controller. The Host Controller on each host interacts with the Domain Controller to control the lifecycle of the application server instances running on its host and to assist the Domain Controller in managing them. When you launch a JBoss Application Server 7 managed domain on a host (via the domain.sh or domain.bat launch scripts) your intent is to launch a Host Controller and usually at least one JBoss Application Server 7 instance. On one of the hosts the Host Controller should be configured to act as the Domain Controller. The following is an example managed domain topology:

I.S.C.DINAMARCA SARABIA ESTEVEZ SECRETARA DE EDUCACIN SOPORTE TCNICO Y AUTOMATIZACIN DE PROCESOS ADMINISTRATIVOS

Das könnte Ihnen auch gefallen