JBoss Wildfly 20에 Application 배포(GUI)
페이지 정보
작성자 MiddleM 작성일 21-01-28 13:18 조회 11,614 댓글 0본문
이 문서는 linuxdata.org의 Wildfly 20에 GUI를 사용하여 애플리케이션을 배포하는 내용을 다루고 있습니다.
1.1. Wildfly SERVER SPEC
상세 정보 | |
장비명 | KVM - Virtual Machine |
CPU | Core 4 |
Memory | 4096 MB |
HDD | 100 GB |
NIC | NAT (192.168.101.188) |
구분 | 상세 정보 |
OS | CentOS 7.9-2009 |
PACKAGE | #JAVA java-11-openjdk.x86_64
#Wildfly Wildfly 20 |
2.1. Application 다운로드
Tomcat에서 제공하는 테스트 파일을 설치할 것입니다.
[root@wildfly20 ~]# mkdir /etc/wildfly/application/
[root@wildfly20 ~]# cd /etc/wildfly/application/
[root@wildfly20 application]# wget https://tomcat.apache.org/tomcat-7.0-doc/appdev/sample/sample.war
--2021-01-26 13:32:07-- https://tomcat.apache.org/tomcat-7.0-doc/appdev/sample/sample.war Resolving tomcat.apache.org (tomcat.apache.org)... 40.79.78.1, 95.216.26.30, 95.216.24.32, ... Connecting to tomcat.apache.org (tomcat.apache.org)|40.79.78.1|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 4606 (4.5K) Saving to: ‘sample.war’
100%[==============================================================================================>] 4,606 --.-K/s in 0s
2021-01-26 13:32:07 (192 MB/s) - ‘sample.war’ saved [4606/4606] |
2.2. Wildfly 실행
[root@wildfly20 application]# systemctl start wildfly
[root@wildfly20 application]# systemctl status wildfly
● wildfly.service - The WildFly Application Server Loaded: loaded (/etc/systemd/system/wildfly.service; disabled; vendor preset: disabled) Active: active (running) since Tue 2021-01-26 13:29:04 KST; 5min ago Main PID: 26690 (launch.sh) Tasks: 73 CGroup: /system.slice/wildfly.service ├─26690 /bin/bash /opt/wildfly/bin/launch.sh standalone standalone.xml 192.168.101.188 192.168.101.188 ├─26691 /bin/sh /opt/wildfly/bin/standalone.sh -c standalone.xml -b 192.168.101.188 -bmanagement 192.168.101.188 └─26789 java -D[Standalone] -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4...
Jan 26 13:29:04 wildfly20 systemd[1]: Started The WildFly Application Server. |
상단 탭 중 Deployments 클릭 > 탭 밑에 + 버튼 클릭 > Add Unmanaged Deployment 클릭
상세 정보 | |
Name | sample |
Runtime Name | sample.war |
Path | /etc/wildfly/application/sample.war |
application 경로(http://192.168.101.188:8080/sample/) 로 접속
댓글목록 0
등록된 댓글이 없습니다.