JBossAS7及插件安装配置

下述操作基于Ubuntu10.10.

1.  安装

     解压:tar -zcvf jboss-as-7.1.1.Final.tar.gz当前用户有读写权限的目录,如:

     /usr/customize/jboss-as-7.1.1.Final

2.  启动

     (1) Standalone启动

     cd /usr/customize/jboss-as-7.1.1.Final/bin

     ./standalone.sh

     若看到下述信息代表JBoss启动成功:

     JBoss AS 7.1.1.Final "Brontes" started in 2676ms - Started 133 of 208 services (74 services are passive

      or on-demand)

      查看启动日志:

      /usr/customize/jboss-as-7.1.1.Final/standalone/log

      (2) Cluster启动

      cd  /usr/customize/jboss-as-7.1.1.Final/bin

      ./domain.sh

      若看到下述信息代表JBoss启动成功:

      JBoss AS 7.1.1.Final "Brontes" started in 10769ms - Started 164 of 240 services (75 services are passive

      or on-demand)

3.  停止

      在当前启动终端执行: Crtl-C

4.  管理控制台

      (1) 设置应户名和密码:

      cd /usr/customize/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):

      Enter

      Enter the details of the new user to add.
      Realm (ManagementRealm) :

      Enter

      Username : Admin

      Password :******

      Re-enter Password : ******

      Are you sure you want to add user 'Admin' yes/no? yes

      继续输入yes,完成添加帐号密码。

      (2) 控制台地址

      http://localhost:8080/ 将跳转至:http://localhost:9990/console/

5.  JBoss Eclipse插件

      插件下载地址:https://www.jboss.org/tools/download.html

      安装方法:

      (1) 不要解压下载的jbosstools-3.3.0.CR1.aggregate-Update-2012-06-05_17-30-H176.zip;

      (2) 启动Eclipse,进入Help > Install New Software... > Add...,选择 Archive... 按钮,选中下

      载的zip文件;

      (3) 按照按照插件的方式安装,安装完成后重启Eclipse.

6.  插件启动JBoss

 

你可能感兴趣的:(jboss)