Windows10 WildFlyをインストールする方法

環境
Windows 10 Pro
WildFly 17.0.1
java11

操作方法
1.下記サイトから「wildfly-17.0.1.Final.zip」をダウンロードします
https://www.wildfly.org/downloads/

2.ダウンロードしたファイルを解凍します
解凍先例c:\

3.コマンドプロンプトを起動します。
解凍先のフォルダに移動します

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
>cd C:\wildfly-17.0.1.Final\bin
>cd C:\wildfly-17.0.1.Final\bin
>cd C:\wildfly-17.0.1.Final\bin

4.standaloe.batが起動コマンドなので実行します。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
>standalone.bat
>standalone.bat
>standalone.bat

5.下記にアクセスするとトップ画面が表示されます。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
http://localhost:8080/
http://localhost:8080/
http://localhost:8080/

6.管理ユーザーを追加する
>cd C:\wildfly-17.0.1.Final\bin
>add-user.bat

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a):
What type of user do you wish to add? a) Management User (mgmt-users.properties) b) Application User (application-users.properties) (a):
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a):

Management UserかApplication Userのどちらのタイプのユーザを追加するか聞かれますので、a)の Management Userを選択します。
1).ユーザー名を入力する

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Enter the details of the new user to add.
Using realm 'ManagementRealm' as discovered from the existing property files.
Username :
Enter the details of the new user to add. Using realm 'ManagementRealm' as discovered from the existing property files. Username :
Enter the details of the new user to add.
Using realm 'ManagementRealm' as discovered from the existing property files.
Username :

2).パスワードを入力する

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
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 :
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 :
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 :

3).パスワード確認とグループをそのままEnterを押下します。

4).管理画面が表示されます。認証ユーザー名とパスワードを入力し「OK」を押下します。

5).管理画面のトップページが表示されます。

7.Ctrl+CでWildFlyを停止します。

WebScoket

Posted by arkgame