1. start JBoss7 in background and bind ip address: -b 10.1.1.9
standalone.sh -b 10.1.1.9 &
2. stop JBoss7 with the CLI
jboss-cli.sh --connect --command=:shutdown
Note: connect defaults to local. you can define "server:port" for connect: --controller=localhost:9999
thus, the command would be:
jboss-cli.sh --connect --controller=localhost:9999 --command=:shutdown
3. add user for JBoss7 admin console
use tool "add-user.sh". new user would be saved to "mgmt-users.properties", with passwd hashed.
本文将指导您如何在后台启动JBoss7服务器,使用CLI停止服务器,并通过命令行添加管理员用户。包括连接服务器、执行关闭命令及使用特定工具进行用户管理。
366

被折叠的 条评论
为什么被折叠?



