<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>...</title>
        <link>https://velog.io/</link>
        <description>.....</description>
        <lastBuildDate>Fri, 15 Jul 2022 04:12:33 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <copyright>Copyright (C) 2019. .... All rights reserved.</copyright>
        <atom:link href="https://v2.velog.io/rss/morris_inc" rel="self" type="application/rss+xml"/>
        <item>
            <title><![CDATA[[VSCode] apache-tomcat 사용하기]]></title>
            <link>https://velog.io/@morris_inc/VSCode-Community-Server-Connector</link>
            <guid>https://velog.io/@morris_inc/VSCode-Community-Server-Connector</guid>
            <pubDate>Fri, 15 Jul 2022 04:12:33 GMT</pubDate>
            <description><![CDATA[<h3 id="확장프로그램-설치">확장프로그램 설치</h3>
<p><img src="https://velog.velcdn.com/images/morris_inc/post/20bc0924-04ab-42bd-adec-1b08adc3748f/image.png" alt="">
확장프로그램 : Community Server Connectors
※ Remote Server Protocol UI도 같이 설치하거나 사용할 때 설치하라는 문구가 나오면 그때 설치해도 된다.</p>
<h3 id="apache-tomcat-사용">apache-tomcat 사용</h3>
<p><img src="https://velog.velcdn.com/images/morris_inc/post/72f2b499-ce2d-439d-9a64-320baa7f7c8a/image.png" alt="">
<img src="https://velog.velcdn.com/images/morris_inc/post/6139273e-9e0e-4f28-903a-7748d828998f/image.png" alt=""></p>
<h3 id="serverxml-수정">server.xml 수정</h3>
<pre><code class="language-xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!-- ... --&gt;
  &lt;Service name=&quot;Catalina&quot;&gt;

    &lt;!-- ... --&gt;
    &lt;!-- 기존 --&gt;
    &lt;!-- &lt;Connector port=&quot;8080&quot; protocol=&quot;HTTP/1.1&quot;
               connectionTimeout=&quot;20000&quot;
               redirectPort=&quot;8443&quot; /&gt; --&gt;
    &lt;!-- port를 80으로 변경 --&gt;
    &lt;Connector port=&quot;80&quot; protocol=&quot;HTTP/1.1&quot;
               connectionTimeout=&quot;20000&quot;
               redirectPort=&quot;8443&quot; /&gt;
    &lt;!-- ... --&gt;
    &lt;Engine name=&quot;Catalina&quot; defaultHost=&quot;localhost&quot;&gt;

      &lt;!-- ... --&gt;
      &lt;!-- 기존 --&gt;
      &lt;!-- &lt;Host name=&quot;localhost&quot;  appBase=&quot;webapps&quot;
            unpackWARs=&quot;true&quot; autoDeploy=&quot;true&quot;&gt; --&gt;
      &lt;!-- 변경 --&gt;
      &lt;Host name=&quot;localhost&quot;  appBase=&quot;작업폴더 경로&quot;
            unpackWARs=&quot;true&quot; autoDeploy=&quot;true&quot;&gt;

        &lt;!-- 추가 --&gt;
        &lt;Context docBase=&quot;&quot; path=&quot;WEB폴더&quot; reloadable=&quot;true&quot;&gt;&lt;/Context&gt;
        &lt;!-- ... --&gt;

      &lt;/Host&gt;
    &lt;/Engine&gt;
  &lt;/Service&gt;
&lt;/Server&gt;
</code></pre>
<h3 id="한글-깨짐-발생시">한글 깨짐 발생시</h3>
<p><span style="color:red">한글 깨짐 발생할 경우</span></p>
<pre><code class="language-properties">&lt;!-- logging.properties 파일 --&gt;
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################

1catalina.org.apache.juli.AsyncFileHandler.level = FINE
1catalina.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
1catalina.org.apache.juli.AsyncFileHandler.prefix = catalina.
1catalina.org.apache.juli.AsyncFileHandler.maxDays = 90
1catalina.org.apache.juli.AsyncFileHandler.encoding = UTF-8

2localhost.org.apache.juli.AsyncFileHandler.level = FINE
2localhost.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
2localhost.org.apache.juli.AsyncFileHandler.prefix = localhost.
2localhost.org.apache.juli.AsyncFileHandler.maxDays = 90
2localhost.org.apache.juli.AsyncFileHandler.encoding = UTF-8

3manager.org.apache.juli.AsyncFileHandler.level = FINE
3manager.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
3manager.org.apache.juli.AsyncFileHandler.prefix = manager.
3manager.org.apache.juli.AsyncFileHandler.maxDays = 90
3manager.org.apache.juli.AsyncFileHandler.encoding = UTF-8

4host-manager.org.apache.juli.AsyncFileHandler.level = FINE
4host-manager.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
4host-manager.org.apache.juli.AsyncFileHandler.prefix = host-manager.
4host-manager.org.apache.juli.AsyncFileHandler.maxDays = 90
4host-manager.org.apache.juli.AsyncFileHandler.encoding = UTF-8

java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter
java.util.logging.ConsoleHandler.encoding = UTF-8</code></pre>
<p>tomcat 로그 설정이 기본 UTF-8로 설정되어 있다.
{라이브러리를 통해서 받은 tomcat설치 경로}\conf\logging.properties 파일에서
&quot;UTF-8&quot;을 &quot;EUC-KR&quot;로 변경해준다.</p>
]]></description>
        </item>
        <item>
            <title><![CDATA[[VSCode] 단축키]]></title>
            <link>https://velog.io/@morris_inc/VSCode-%EB%8B%A8%EC%B6%95%ED%82%A4</link>
            <guid>https://velog.io/@morris_inc/VSCode-%EB%8B%A8%EC%B6%95%ED%82%A4</guid>
            <pubDate>Tue, 05 Jul 2022 04:00:49 GMT</pubDate>
            <description><![CDATA[<h2 id="창">창</h2>
<p><code>Ctrl</code>+<code>Shift</code>+<code>N</code> = 새창</p>
<hr>
<h2 id="커서">커서</h2>
<p><code>Alt</code>+<code>Mouse L</code> = 멀티커서
<code>Ctrl</code>+<code>Shift</code>+<code>L</code> = 같은 문자 멀티커서
<code>Ctrl</code>+<code>G</code> = 줄번호 이동</p>
<hr>
<h2 id="주석">주석</h2>
<p><code>Alt</code>+<code>Shift</code>+<code>A</code> = 블럭 주석
<code>Ctrl</code>+<code>/</code> = 한줄 주석</p>
<hr>
<h2 id="찾기">찾기</h2>
<p><code>Ctrl</code>+<code>F</code> = 편집기에서 찾기
<code>Ctrl</code>+<code>Shift</code>+<code>F</code> = 파일에서 찾기
<code>Ctrl</code>+<code>H</code> = 찾아 바꾸기</p>
]]></description>
        </item>
    </channel>
</rss>