๐Ÿ’ป

HTML ์˜ ์ดํ•ด - Tomcat ๋‹ค์šด๋กœ๋“œ ๋ฐ ์„ค์น˜/ ๊ธฐ๋ณธ ์„ธํŒ… ๋ณธ๋ฌธ

KITRI/HTML

HTML ์˜ ์ดํ•ด - Tomcat ๋‹ค์šด๋กœ๋“œ ๋ฐ ์„ค์น˜/ ๊ธฐ๋ณธ ์„ธํŒ…

๋˜ํšจ๋‹ˆ 2020. 5. 27. 10:02

 

1. ์•„๋ž˜ ๋งํฌ๋กœ ๊ฐ€์„œ ๋‹ค์šด๋กœ๋“œ ํ•œ๋‹ค.

 

https://tomcat.apache.org/download-90.cgi

 

Apache Tomcat® - Apache Tomcat 9 Software Downloads

Welcome to the Apache Tomcat® 9.x software download page. This page provides download links for obtaining the latest version of Tomcat 9.0.x software, as well as links to the archives of older releases. Unsure which version you need? Specification version

tomcat.apache.org

 

 

zipํŒŒ์ผ ๋‹ค์šด, ๋งฅ ์œ ์ €๋“ค์€ tar.gz ๋‹ค์šด๋กœ๋“œ

 

 

์••์ถ• ํ’€ ๋•Œ๋Š” ํ•˜์œ„ํด๋” ์ƒ์„ฑ ์—†์ด 

 

 

2. ํฌ๋กฌ ๋ธŒ๋ผ์šฐ์ € ์„ค์น˜ 

 

https://support.google.com/chrome/answer/95346?co=GENIE.Platform%3DDesktop&hl=ko

 

Chrome ๋‹ค์šด๋กœ๋“œ ๋ฐ ์„ค์น˜ - ์ปดํ“จํ„ฐ - Google Chrome ๊ณ ๊ฐ์„ผํ„ฐ

๋„์›€์ด ๋˜์—ˆ๋‚˜์š”? ์–ด๋–ป๊ฒŒ ํ•˜๋ฉด ๊ฐœ์„ ํ•  ์ˆ˜ ์žˆ์„๊นŒ์š”? ์˜ˆ์•„๋‹ˆ์š”

support.google.com

 

 

3. ์ดํด๋ฆฝ์Šค > window > preference

 

enc ์น˜๊ณ  ๊ฒ€์ƒ‰ํ•œ ํ›„ ์›Œํฌ์ŠคํŽ˜์ด์Šค, CSS, HTML, JSP UTF-8๋กœ ์„ธํŒ…

 

 

4. Window > preferences > Server > Runtime Environment 

 

Add ํด๋ฆญํ•ด์„œ ๋‹ค์šด๋กœ๋“œํ•œ ๋ฒ„์ „์˜ Tomcat์„ ํƒํ•˜๊ณ  Browse์—์„œ ๋‹ค์šด๋กœ๋“œ ํ–ˆ๋˜ ํ†ฐ์บฃ ๊ฒฝ๋กœ๋กœ ์„ ํƒํ•ด์ฃผ๊ณ  Finish

 

 

5.  Server ํด๋ฆญํ•ด์„œ ํŒŒ๋ž€์ค„ ํด๋ฆญํ•˜๋ฉด New Server ํ•ด์„œ ๋งž๋Š” ๋ฒ„์ „์˜ ํ†ฐ์บฃ ์„ ํƒํ•˜๊ณ  Finish

 

 

6. ์•„๋ž˜ ์กฐ๊ฑด๋“ค๋กœ ์„ ํƒํ•ด์ฃผ๊ณ  ๊ธฐ๋ณธ ์„ธํŒ… ์„ค์ •ํ•˜๊ณ  ์ €์žฅํ•œ๋‹ค.

 

ํฌํŠธ ๋ฒˆํ˜ธ๋„ ๋ณ€๊ฒฝํ•ด์ค€๋‹ค. 

์˜ค๋ผํด ํฌํŠธ๋ฒˆํ˜ธ์™€ ์ถฉ๋Œ์ด์–ด์„œ 8181๋กœ ๋ฐ”๊ฟ”์ฃผ์—ˆ๋‹ค.

๋ณ€๊ฒฝ ํ›„ ๋ฐ˜๋“œ์‹œ ์ €์žฅ

 

 

 

7. ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•ด ํฌ๋กฌ์œผ๋กœ ์„ค์ •ํ•ด์ค€๋‹ค. 

ํฌ๋กฌ์œผ๋กœ ์„ค์ •๋˜์—ˆ๋Š”์ง€ ์ฒดํฌ

 

8. ํ”„๋กœ์ ํŠธ ์ถ”๊ฐ€ > Dynamic Web Project ์„ ํƒ 

 

webTesting์ด๋ผ๋Š” ์ด๋ฆ„์œผ๋กœ ์ƒˆํ”„๋กœ์ ํŠธ ์ƒ์„ฑํ•ด์ฃผ์—ˆ๋‹ค.

 

 

 

9. WebContent์— HTML ํŒŒ์ผ ์ถ”๊ฐ€ํ•ด์„œ ์ž‘์„ฑ

 

 

 

 

10. Run > Run on Server ํ•ด์„œ ํ…Œ์ŠคํŠธํ•œ๋‹ค.

 

์ˆ˜์ • ํ›„ ์ €์žฅํ•œ ๋‹ค์Œ์— ๋ธŒ๋ผ์šฐ์ €์—์„œ F5ํ‚ค๋ฅผ ๋ˆ„๋ฅด๋ฉด ์ˆ˜์ •๋œ ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค. (์„œ๋ฒ„ ๊ณ„์† ํ‚ค์ง€ ์•Š๊ธฐ!)

 

 

 

 

๋ฐ˜์‘ํ˜•
Comments