JBoss AS 7之简单安装(The Return Of The King)
2014-06-21 17:15
344 查看
1.3 JBoss As 7安装
安装JBoss As 7分为下面几个步骤:1. 下载JBoss
下载地址:<span style="font-size:18px;">http://www.jboss.org/jbossas/downloads</span> 选择JBoss As 7 的7.1.1的社区版。
2. 解压:
<span style="font-size:18px;">#mkdir –p /usr/local/jboss
# unzip jboss-***.zip
# mv jboss-*** /usr/local/jboss
# chmod +x /usr/local/jboss/bin/*.sh</span>
3. 启动与停止
停止的时候可直接在前台按CTRL+C结束当前程序,启动命令:
# sh /usr/local/jboss/bin/standalone.sh
通过命令结束运行:
# sh /usr/local/jboss/bin/jboss-cli.sh --connect command=:shutdown
4. 访问JBoss :
jboss默认Web服务端口为8080,且默认情况下只能通过127.0.0.1 或者localhsot来访问,不能通过本机所配的IP来访问
访问地址为:http://127.0.0.1:8080/
5. 添加JBoss Web管理用户
JBoss支持通过web方式来管理及部署项目,前提需要添加一个管理员用户
# sh /usr/local/jboss/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 the details of the new user to add. Realm (ManagementRealm) : Username : john Password : \\ 密码需要保持一定的复杂性 Re-enter Password : About to add user 'minunix' for realm 'ManagementRealm'
设置完后,可以通过浏览器进行浏览管理页面。
JBoss 默认web管理端口为9990,之后可通过http://127.0.0.1:9990进行访问管理。
登陆界面:
管理页主界面:
相关文章推荐
- JBoss AS 7之简单安装(The Return Of The King)
- JBoss AS 7之基本配置和部署(The Return Of The King)
- JBoss AS 7之初步了解(The Return Of The King)
- JBoss AS 7之基本配置和部署(The Return Of The King)
- JBoss AS 7之文件夹结构(The Return Of The King)
- SQL高级优化之常用的优化策略-1(The Return Of The King)
- JBoss AS 7之目录结构(The Return Of The King)
- SQL高级优化之常用的优化策略-2(The Return Of The King)
- SQL高级优化之经常使用的优化策略-2(The Return Of The King)
- 【pair_简单贪心】#3 A. Shortest path of the king
- JBoss AS 7之域名直接访问配置(The Return Of The King)
- SQL优化策略高级优化经常使用-1(The Return Of The King)
- JBoss AS 7之初步了解(The Return Of The King)
- The return of king
- cf A. Shortest path of the king 简单存路径bfs
- zoj 1631 The King of the Survives
- Michael Jackson, the king of pop!!!
- The return value of "mktime" in different time zone
- 安装VMware 7.0 You have started VMware Workstation with an out-of-date copy of the application.
- Does the parameter type of the setter match the return type of the getter?