Written by
java-style
on
on
실습 환경 구축
실습 환경 구축
코드 편집기 설치
vscode(Visual Studio Code)
JDK(Java Developer Kit) 설치
17버전은 개발할 때마다 선언해줘야 해서(?)
배울 땐 자바 8.ver이 적당.
(오라클 계정 필요. 개발자라면 있는게 좋음)
jre(java runtime environment)
아파치 톰캣 설치
자바를 위한 다양한 라이브러리 제공.
자바 버전에 따라 아파치 톰캣 버전 선택.
(자바 8 → 아파치 10)
아파치 설치할 때 port 설정_학원 기준
shutdown port 8005
http connector port 80
아파치 설치 완료되면 작업표시줄에 아이콘(로켓?) 뜸
service status : stared(동작 중)
내 컴퓨터에서 웹 서버가 활성화 중인지 확인
(웹 브라우저에서 아래 주소 입력했을때, 톰캣 페이지 뜨는지 확인)
localhost 또는 localhost:80
자신의 컴퓨터 : 127.0.0.1
명령프롬프터 : ipconfig 입력 후 IPv4 주소 확인
from http://exploreryun.tistory.com/6 by ccl(A) rewrite - 2022-01-01 04:02:23