예)아래는 admin이라는 사용자 추가( 디폴트로 admin 사용자가 존재하나 활성화 되어 있지는 않은 상태)
[wildfly@spectrumscale01 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. Using realm 'ManagementRealm' as discovered from the existing property files. Username : admin User 'admin' already exists and is enabled, would you like to... a) Update the existing user password and roles b) Enable the existing user c) Type a new username (a): a 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)[ ]: Updated user 'admin' to file '/home/wildfly/programs/wildfly-16.0.0.Final/standalone/configuration/mgmt-users.properties' Updated user 'admin' to file '/home/wildfly/programs/wildfly-16.0.0.Final/domain/configuration/mgmt-users.properties' Updated user 'admin' with groups to file '/home/wildfly/programs/wildfly-16.0.0.Final/standalone/configuration/mgmt-groups.properties' Updated user 'admin' with groups to file '/home/wildfly/programs/wildfly-16.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?Enter e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls. yes/no? no [wildfly@spectrumscale01 bin]$
4. 기동 및 종료
4.1 기동
shell>WildFly_INSTALL_DIR/bin/standalone.sh &
* 포그라운드로 작동하므로 & 또는 nohup 명령어를 이용해 백그라운드로 작동
* standalone.sh 는 디폴트로 WildFly_INSTALL_DIR/standalone/configuration/statndalone.xml 파일을 읽어서 구동하는데 별도의 구성 파일을 읽어서 구동하고자 한다면 --server-config 옵션을 활용하면 된다.