vi /usr/local/wildfly-24.0.0.Final/standalone/configuration/standalone.xml
...
<interface name="public">
<inet-address value="${jboss.bind.address:0.0.0.0}"></inet-address>
</interface>
...
management user 생성
./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.
Using realm 'ManagementRealm' as discovered from the existing property files.
Username : {{ 계정명 }}
Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file.
- The password should be different from the username
- The password should not be one of the following restricted values {root, admin, administrator}
- The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)
Password : {{ 계정 패스워드 }}
Re-enter Password : {{ 계정 패스워드 }}
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[ ]:
About to add user '{{ 계정명 }}' for realm 'ManagementRealm'
Is this correct yes/no? yes
Added user '{{ 계정명 }}' to file '/usr/local/wildfly-24.0.0.Final/standalone/configuration/mgmt-users.properties'
Added user '{{ 계정명 }}' to file '/usr/local/wildfly-24.0.0.Final/domain/configuration/mgmt-users.properties'
Added user '{{ 계정명 }}' with groups to file '/usr/local/wildfly-24.0.0.Final/standalone/configuration/mgmt-groups.properties'
Added user '{{ 계정명 }}' with groups to file '/usr/local/wildfly-24.0.0.Final/domain/configuration/mgmt-groups.properties'
Is this new user going to be used for one AS process to connect to another AS process?
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server Jakarta Enterprise Beans calls.
yes/no? yes
To represent the user add the following to the server-identities definition <secret value="Y3MxMjMhQCM=" ></secret>
실행하기
./bin/standardalone.sh &
접속하기
브라우져 로그인 : http://{{ 서버IP }}:8080/
관리자 콘솔 로그인 : http://{{ 서버IP }}:9990/console/index.html>>http://서버ip:9990/console/index.html]] (로그인 계정은 4. management user 생성 참고)