티스토리 뷰

기록남기기

jetty 설치

양들의침묵1 2020. 11. 26. 17:40

[Java] Jetty 란?

Jetty는 자바 HTTP 웹 서버이자 자바 서블릿 컨테이너다. 웹 서버가 보통 문서를 사람들에게 제공하는 것과 관련된 반면, 제티는 대규모 소프트웨어 프레임워크에서 기계와 기계의 커뮤니테이션에 사용된다.

- 위키백과 (ko.wikipedia.org/wiki/제티_(웹_서버))




OS : Centos 7.8
Jetty 버전 :  v9.2.21
download:

Central Repository: org/eclipse/jetty/jetty-distribution/9.2.21.v20170120 (maven.org)

 

Central Repository: org/eclipse/jetty/jetty-distribution/9.2.21.v20170120

 

repo1.maven.org

 

# cd /opt
# wget https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/9.2.21.v20170120/jetty-distribution-9.2.21.v20170120.tar.gz

# tar xvzf jetty-distribution-9.2.21.v20170120.tar.gz 

# mv jetty-distribution-9.2.21.v20170120 jetty
# chown -R jetty.jetty jetty
# ln -s /opt/jetty/bin/jetty.sh /etc/init.d/jetty
# rm -rf webapps
# vi /etc/default/jetty
JETTY_HOME=/opt/jetty
JETTY_USER=jetty
JETTY_PORT=8080
JETTY_HOST=HOST IP 
JETTY_LOGS=/opt/jetty/logs/

# cp -r demo-base/webapps/ /opt/jetty
# /etc/init.d/jetty start

http://IP:8080




참고)

How to install Jetty on CentOS 7 | LinuxHelp Tutorials

 

How to install Jetty on CentOS 7 | LinuxHelp Tutorials

A step-by-step guide with Video Tutorials, Commands, Screenshots, Questions, Discussion forums on How to install Jetty on CentOS 7 | LinuxHelp | CentOS is a Community Enterprise Operating System is a stable, predictable, reproducible and manageable platfor

www.linuxhelp.com

 

'기록남기기' 카테고리의 다른 글

k8s log monitoring Loki  (0) 2021.08.10
[k8s] helm 설치  (0) 2020.12.11
k8s  (0) 2020.02.18
tomcat session cluster with redis  (2) 2019.09.19
mysql error : 1153 , 2020  (0) 2019.06.03