IT, 잡동사니 블로그
T관련 내용 및 일상적인 내용들을 포스팅 하는 블로그 입니다.
크롬 확장프로그램 CTRL + C,V 제작
http://www.webprogramer.kr/blog/P000000399/post.do
<blockquote><span style="font-weight: bold;">크롬 확장프로그램 CTRL + C,V 제작</span></blockquote><p>이전 프로젝트에서 <span style="font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000347/post.do" target="_blank" style="text-decoration-line: underline; background-color: rgb(0, 0, 255); color: rgb(247, 247, 247);">Electron</a> </span>프레임워크를 이용하여 데스크탑 앱을 만들어 유용하게 사용하였다.</p><p>프로젝트가 종료되어 새로운 프로젝트에 들어가게 되었고 개발환경도 바뀌었다.</p><p><br></p><p><a href="http://webprogramer.kr/blog/P000000347/post.do" target="_blank" style="background-color: rgb(0, 0, 255); color: rgb(247, 247, 247); text-decoration-line: underline; font-weight: 700;">Electron</a> 으로 제작된 실행파일을 가지고 다니며 사용하기엔 귀찮기도 하고 해서</p><p>짬을 내어 만들어 보았다.</p><p>크롬 브라우저만 되면 크롬 확장프로그램 스토어 에서 받을 수 있어서 언제든 쉽게 설치할 수 있는게 장점이다.</p><p><br></p><p>웹기반으로 만들 수 있어서 손쉽게 만들수 있고 검색을 해보면 <a href="https://www.google.com/search?q=%ED%81%AC%EB%A1%AC+%ED%99%95%EC%9E%A5%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%A8+%EB%A7%8C%EB%93%A4%EA%B8%B0&sxsrf=APwXEdcCGR2Zdh7E4r5UePcILYGOe5Uh6w%3A1684889983812&ei=f2FtZImcMdmQhwP_yaHIAw&ved=0ahUKEwjJ1-Gn4Iz_AhVZyGEKHf9kCDkQ4dUDCA8&uact=5&oq=%ED%81%AC%EB%A1%AC+%ED%99%95%EC%9E%A5%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%A8+%EB%A7%8C%EB%93%A4%EA%B8%B0&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwA0oECEEYAFAAWABg0DRoBXABeACAAQCIAQCSAQCYAQDIAQrAAQE&sclient=gws-wiz-serp" target="_blank" style="background-color: rgb(0, 0, 255); color: rgb(239, 239, 239); font-weight: bold;">참고</a> 크롬 확장 프로그램 만들기 위한 자료들이 많이 나온다.</p><p>스토어에 등록 후 검토를 통해 마켓에 출시되게 된다.</p><p><br></p><p>특별한 기술을 사용하진않고 DB CREATE문을 파싱하여 뿌려주는 형식이다.</p><p>보이는대로 수정하고 있지만 아직 버그가 존재 한다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1684917179550998208.gif" data-filename="1684917179550998208.gif" style="width: 100%;"></p><p><br></p><p>크롬, 엣지, 웨일 브라우저 플러그인 사용가능함.</p><p><br></p><p><a href="https://chrome.google.com/webstore/detail/ctrl-%2B-cv/okjjinmnniagknhkgnnfgfdkiblgeadm?utm_source=app-launcher&authuser=0" target="_blank" style=""><span style="font-size: 18px; font-weight: bold; color: rgb(247, 247, 247); background-color: rgb(0, 0, 255);">플러그인 스토어 링크</span></a></p>
넥사크로 소스 반영 문제.
http://www.webprogramer.kr/blog/P000000398/post.do
<p><br></p><p>넥사크로 소스 반영 문제 메모</p><p><br></p><p><span style="font-family: gulim; font-size: 12px;">안녕하세요. 투비소프트 고객지원팀입니다.</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">로컬의 경우 사이트 사용 모듈js 수정시 정상 반영되는데</span><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">개발서버의 경우 변경 모듈 업로도 후에도 반영 안되는 부문으로 문의 주셨습니다.</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">로컬서버와 개발서버의 environment.xml.js 를 비교하여prifix에 대한 cache 설정값 비교 안내 드렸습니다.</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">또한 WRE(HTML5) 사이트로 확인 주셔서 아래내용도 확인 하시기 바랍니다.</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">브라우저 설정 또는 특정 네트워크 환경 등에 따라 소스 수정 후 캐쉬문제로 인해 갱신이 되지 않을 경우 checkversion이라는 기능을 통해 서비스별로 버전 관리를 하여 서비스 호출 시 파라미터로 버전 정보를 붙여서 보내주게 하여 강제로 캐쉬가 갱신되도록 처리 해보 실 수는 있습니다.</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">적용방법은 아래와 같습니다.</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">1. Environment의 checkversion속성을 true로 지정 합니다.(캡처1 참조)</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">2. Typedefinition의 Service에서 각 서비스들의 Version값을 지정 해줍니다.(캡처2 참조)</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">위와같이 적용을 하시면 해당 화면을 호출하는 서비스 호출 시 마다 url 마지막에 버전 정보가 함께 붙어서 호출 되면서 강제로 캐쉬가 갱신되게 됩니다.</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">관련 레퍼런스 가이드링크는 아래와 같습니다.</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">http://docs.tobesoft.com/reference_guide_nexacro_17_ko#object_property_title_Environment_checkversion</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">Query String 이란 일반적이 웹에서 사용되는 용어와 같이 서비스 url 을 호출 할때 url 뒤에 ?param=aaa 와같이 붙여서 보내는 것이라고 보시면되며 checkversion을 적용하실 경우 아래와 같이 해당 화면호출 시 url 뒤에 기재한 version 정보가 붙어서 호출 되게 됩니다.</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">ex)</span><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">http://127.0.0.1:4099/Base/test.xfdl.js?nexaversion=1</span><br style="font-family: gulim; font-size: 12px;"><br style="font-family: gulim; font-size: 12px;"><span style="font-family: gulim; font-size: 12px;">감사합니다.</span></p><p><span style="font-family: gulim; font-size: 12px;">1</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/164326234179968797.PNG" data-filename="164326234179968797.PNG" style="width: 100%;"><span style="font-family: gulim; font-size: 12px;"><br></span></p><p><span style="font-family: gulim; font-size: 12px;"><br></span></p><p><span style="font-family: gulim; font-size: 12px;">2</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1643262357244749414.PNG" data-filename="1643262357244749414.PNG" style="width: 100%;"><span style="font-family: gulim; font-size: 12px;"><br></span></p><p><span style="font-family: gulim; font-size: 12px;"><br></span><br></p><p><br></p>
[에러] ERROR 1932 (42S02): Table [테이블명] doesn't exist in engine
http://www.webprogramer.kr/blog/P000000397/post.do
<p><span style="font-family: Tahoma; font-weight: bold;">[에러] ERROR 1932 (42S02): Table [테이블명] doesn't exist in engine</span><br></p><p><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><span style="font-weight: 700;">CASE 1</span></p><pre class="brush:sql" style="line-height: 1.42857;">ERROR 1932 (42S02): Table [테이블명] doesn't exist in engine
</pre><div style="color: rgb(51, 51, 51); font-family: "KoPub Dotum";"><span style="font-weight: 700;"><br></span></div><p><span style="font-weight: 700; color: rgb(51, 51, 51); font-family: "KoPub Dotum";">CASE 2</span></p><pre class="brush:sql" style="line-height: 1.42857;">ERROR 1814 (HY000): Tablespace has been discarded for table [테이블명]
</pre><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><br></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><br></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><span style="color: rgb(0, 0, 0);"><span style="font-weight: 700;">2. 해결 방안</span></span><span style="color: rgb(0, 0, 0);"> </span></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><span style="color: rgb(0, 0, 0);">전제: </span></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><span style="color: rgb(0, 0, 0);"> - 해당 테이블의 엔진은 InnoDB 이며 ibd, frm 파일이 존재함.</span></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><span style="color: rgb(0, 0, 0);"> - 테이블의 스키마 구조를 알아야 함.</span></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><br></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><span style="font-weight: 700;">CASE 1</span></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><span style="color: rgb(0, 0, 0);">- 서비스 종료 후 ibd 파일, frm 파일 백업</span></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><span style="color: rgb(0, 0, 0);">- 서비스 시작 후 해당 테이블 drop</span></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><span style="color: rgb(0, 0, 0);">- 테이블 재생성</span></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><span style="color: rgb(0, 0, 0);">- 테이블스페이스 변경</span></p><pre class="brush:sql" style="line-height: 1.42857;">ALTER TABLE [테이블명] DISCARD TABLESPACE ;
system cp /백업경로/[테이블명].ibd [데이터베이스 데이터 디렉토리]
ALTER TABLE [테이블명] IMPORT TABLESPACE ;
</pre><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><br></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);"><span style="font-weight: 700;"><span style="color: rgb(0, 0, 0);">CASE 2</span></span></p><p style="font-family: "KoPub Dotum"; text-align: justify; color: rgb(51, 51, 51);">- IMPORT TABLESPACE </p><pre class="brush:sql" style="line-height: 1.42857;">ALTER TABLE [테이블명] IMPORT TABLESPACE ;</pre><p><br style="color: rgb(51, 51, 51); font-family: "KoPub Dotum";"><br style="color: rgb(51, 51, 51); font-family: "KoPub Dotum";"><span style="color: rgb(51, 51, 51); font-family: "KoPub Dotum";">출처: </span><a href="https://adbancedteam.tistory.com/194" style="background-color: rgb(255, 255, 255); color: rgb(48, 48, 48); transition: color 0.2s ease-in-out 0s; font-family: "KoPub Dotum";">https://adbancedteam.tistory.com/194</a><span style="color: rgb(51, 51, 51); font-family: "KoPub Dotum";"> [aDBanced Team]</span><span style="font-weight: bold; font-family: Tahoma;"><br></span><br></p>
더뉴그랜저 애프터 블로우 설치
http://www.webprogramer.kr/blog/P000000396/post.do
<p>여름철 차량운행 시 에어컨을 사용 하게되는데 차량의 시동을 그냥 끄게 되면 </p><p>온도 차이로 인해 습기가 발생한다. 목적지 도착전 에어컨을 끄고 송풍으로 말리기도 하지만 </p><p>깜빡하고 송풍으로 말리지않을 때도 있다. 그렇게 여러번 반복되게 되면 에어컨을 틀때 냄새가 나게 된다.</p><p><br></p><p>애프터 블로우는 차량 운행 후 자동으로 습기를 말려준다</p><p>송풍으로 말리는 번거로운 일을 하지 않아도 되서 편하다.</p><p><br></p><p>현대모비스 HMED-01 모델 구매</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280166395828341.jpg" data-filename="1618280166395828341.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>구성품</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/161828017827521074.jpg" data-filename="161828017827521074.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>블로우 본체</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280200188180706.jpg" data-filename="1618280200188180706.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>설명서</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280211518604115.jpg" data-filename="1618280211518604115.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>차량 글로브박스 분리 1<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280223633427766.jpg" data-filename="1618280223633427766.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>차량 글로브박스 분리 2<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280232820207327.jpg" data-filename="1618280232820207327.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>밑에 판때기? 분리 1</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280253246175772.jpg" data-filename="1618280253246175772.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>밑에 판때기? 분리 2</p><p>튀어나온 플라스틱을 손으로 앞쪽으로 당기면서 판때기도 앞으로 당겨 분리</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/161828026401349642.jpg" data-filename="161828026401349642.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>판때기에 연결되어 있는 케이블도 분리한다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280303101961124.jpg" data-filename="1618280303101961124.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>블로우 모터에 연결되어 있는 케이블을 분리 한다.</p><p>파란 부분을 누르고 빨간색 방향으로 뺀다.</p><p><span style="font-weight: bold;">(작업중 제일 어려운 작업이다. 케이블을 빼는데 오래 걸렸다.)</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280316060709900.jpg" data-filename="1618280316060709900.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>케이블 분리</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280336608578192.jpg" data-filename="1618280336608578192.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>구성품에 들어 있는 케이블에 연결한다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/161828036180298981.jpg" data-filename="161828036180298981.jpg" class="img-thumbnail" style="width: 100%;"><br></p><p><br></p><p>나머지 케이블은 블로우 모터에 연결하는 부분에 연결<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280395327875874.jpg" data-filename="1618280395327875874.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p></p><p>나머지 부분은 블로우 본체에 연결</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280445165704007.jpg" data-filename="1618280445165704007.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>접지</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280460348124538.jpg" data-filename="1618280460348124538.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>동그라미 친곳이 접지 하는곳</p><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280549973868286.jpg" data-filename="1618280549973868286.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>가지고 있는 도구가 몽키 뿐이라</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280518578982045.jpg" data-filename="1618280518578982045.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>접지에 연결</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280565892369205.jpg" data-filename="1618280565892369205.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>시동 키고 테스트</p><p>ACC, CHARGE 에 불이 들어오면 정상</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280585420187732.jpg" data-filename="1618280585420187732.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>시동을 끄면 </p><p>띠리리 하는 소리와 함께 작동한다.<br></p><p>RUN에 불이 들어오면 정상</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280605044651864.jpg" data-filename="1618280605044651864.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>이제 역순으로 조립한다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280644303470082.jpg" data-filename="1618280644303470082.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>애프터 블로우를 발매트 뒤쪽으로 숨겨놓았다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618280656647254519.jpg" data-filename="1618280656647254519.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>여름이 되봐야 알겠지만 </p><p>아직까진 에어컨 작동 후 신경안쓰고 바로 시동을끈다.<br></p><br>,
LG 직구 TV 로케일 변경
http://www.webprogramer.kr/blog/P000000395/post.do
<p>직구로 tv를 구매 했는데 지역설정이 한국으로 되지 않아 몇몇 기능이 되지 않는다</p><p>리모콘 음성검색 및 인터넷 셋탑박스 설정, 편성표등이 나타나지 않음</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618213023974283115.PNG" data-filename="1618213023974283115.PNG" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>그걸 해결하기 위해선 로케일 설정이라는게 필요하다.</p><p>로케일설정을 하려면 tv를 뜯어야 하는 번거로움도 있지만 롬라이터를 </p><p>이용하여 롬을 읽어들여 수정(로케일 한국) 한 후 롬을 다시 써야 하는 </p><p><span style="font-weight: bold;">무시무시한</span> 작업을 해야 한다. 롬을 쓰다 잘못되면 tv가 고장날수 있다고 한다.</p><p><br></p><p>작업을 하기로 마음먹고 인터넷에서 자료수집을 하였다.</p><p><span style="font-weight: bold;">참고 URL</span></p><p><a href="https://dvdprime.com/g2/bbs/board.php?bo_table=display&wr_id=342865" target="_blank" style="font-weight: bold;">https://dvdprime.com/g2/bbs/board.php?bo_table=display&wr_id=342865</a></p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-style: italic; font-weight: bold;">CH341A 롬라이터 구매</span></p><p><span style="font-style: italic; font-weight: bold;"><a href="http://www.11st.co.kr/products/2040057042?&xfrom=&xzone=" target="_blank">http://www.11st.co.kr/products/2040057042?&xfrom=&xzone=</a></span></p><p><span style="font-style: italic; font-weight: bold;"><br></span></p><p><span style="font-style: italic; font-weight: bold;">CH341A 테스트집게 구매</span></p><p><span style="font-style: italic; font-weight: bold;"><a href="http://www.11st.co.kr/products/2418139147?&xfrom=&xzone=" target="_blank">http://www.11st.co.kr/products/2418139147?&xfrom=&xzone=</a></span></p><div><img src="http://www.webprogramer.kr/upload/blog/editor/1618217805386482734.PNG" data-filename="1618217805386482734.PNG" style="width: 100%;" class="img-thumbnail"><br></div><p><br></p><p>롬라이터와 집게가 준비됬다.(빨간색 동그라미 친 것들만 필요)</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618214309442475790.jpg" data-filename="1618214309442475790.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>아래와 같이 끼운다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618214465944189421.jpg" data-filename="1618214465944189421.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>집게도 같이 연결하는데 빨간색 라인이 들어간 곳이 1번으로 하게 해서 연결</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618214481318548110.jpg" data-filename="1618214481318548110.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>usb를 컴퓨터에 연결한다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/161821449344597013.jpg" data-filename="161821449344597013.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>장치관리자에서 장치가 제대로 인식하는지 확인 한다.</p><p>(CH341A 드라이버는 구글 검색 하면 쉽게 찾을 수 있다.)</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618214505917421295.jpg" data-filename="1618214505917421295.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>우선 tv를 내린다. </p><p>혼자 내리기 힘들어서 와이프가 도와줬다. </p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618217643695853454.jpg" data-filename="1618217643695853454.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>이제 뒷판을 뜯어야 된다</p><p>벽걸이 뒤에 멀티탭에 눌려서 자국이 생겨있었다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618217653194143070.jpg" data-filename="1618217653194143070.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>눈에 보이는 곳 나사를 모두 풀으니 생각보다 쉽게 분리가 됬다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/161821766311945094.jpg" data-filename="161821766311945094.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>보드에 붙어 있는 쇠판을 분리 해야 하므로 연결되어 있는 케이블들을 모두 분리 한다.</p><p>보드는 나사 몇개만 풀으면 분리 된다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618217673953132346.jpg" data-filename="1618217673953132346.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>보드 분리 후 쇠판도 쉽게 분리 할 수 있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618217693739925961.jpg" data-filename="1618217693739925961.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>작업해야되는 칩이다.</p><p>자세히 보면 기판에 번호가 일부 적혀있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618276466926264364.jpg" data-filename="1618276466926264364.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p></p><p><br></p><p>준비해놓은 롬라이터와 집개를 노트북에 연결한 후 칩을 잘 찝어야 된다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/161821771290561451.jpg" data-filename="161821771290561451.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>집게 케이블이 빨간색으로 표시된 부분이 1번이다</p><p>여길 기준으로 찝으면 된다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/161827665258841382.jpg" data-filename="161827665258841382.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p></p><p><br></p><p>이제 CH341A Programmer 라는 프로그램을 이용하여 롬을 읽어 온다. </p><p>Read를 누르면 아래와 같이 읽어온다.</p><p>정상적으로 불러왔다면 Save를 눌러 TV.bin으로 저장한다.</p><p>(CH341A Programmer 은 구글에서 쉽게 찾을수 있다.)</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618276738338393329.jpg" data-filename="1618276738338393329.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p></p><p><br></p><p>참고 URL에서 받은 프로그램을 이용하여 로컬설정 값을 바꾼다.</p><p>hex값을 직접 수정해도 되지만 누군가가 만든 프로그램을 이용하였다.</p><p>(참고 URL -> <a href="https://dvdprime.com/g2/bbs/board.php?bo_table=display&wr_id=342865" target="_blank" style="background-color: rgb(255, 255, 255); font-weight: bold;">https://dvdprime.com/g2/bbs/board.php?bo_table=display&wr_id=342865</a>)</p><p>TV.bin으로 저장한 파일을 선택한 후 로컬설정 한국으로 선택 하면 된다.<br><img src="http://www.webprogramer.kr/upload/blog/editor/1618277122325597920.jpg" data-filename="1618277122325597920.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p></p><p><br></p><p></p><p>CH341A Programmer 이용하여 TV.bin 파일을 열고 </p><p>Write를 하면 롬의내용을 쓰게 된다.<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618276918116124210.jpg" data-filename="1618276918116124210.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>이제 역순으로 조립을 한다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618217767752886714.jpg" data-filename="1618217767752886714.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>뒷판 덮개와 벽걸이도 연결하고</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/161821777683947714.jpg" data-filename="161821777683947714.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>언어설정으로 들어가 한국어가 설정되는지 확인한다.</p><p>리모콘 음성검색 및 셋톱박스, tv편성표등이 정상적으로 작동되는걸 확인 했다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1618217789588673807.jpg" data-filename="1618217789588673807.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>tv를 뜯어야 된다는 생각에 엄두도 못내고 있었는데</p><p>작업해보니 생각보다는 쉬운 작업이다.</p>
[Maven] Received fatal alert: protocol_version
http://www.webprogramer.kr/blog/P000000394/post.do
<h2 data-ke-size="size26" style="font-size: 1.62em; margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: " noto="" sans="" kr",="" sans-serif;"=""><span style="font-family: AppleSDGothicNeo-Regular, " malgun="" gothic",="" "맑은="" 고딕",="" dotum,="" 돋움,="" sans-serif;"=""><b>Received fatal alert: protocol_version</b></span></h2><h2 data-ke-size="size26" style="font-size: 1.62em; margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: " noto="" sans="" kr",="" sans-serif;"=""><span style="font-family: AppleSDGothicNeo-Regular, " malgun="" gothic",="" "맑은="" 고딕",="" dotum,="" 돋움,="" sans-serif;"=""><b><br></b></span></h2><p style="margin-bottom: 0px; padding: 0px; font-family: " noto="" sans="" kr",="" sans-serif;="" font-size:="" 16px;"=""><span style="font-weight: bold; font-size: 18px;">메이븐 빌드오류</span></p><p style="margin-bottom: 0px; padding: 0px; font-family: " noto="" sans="" kr",="" sans-serif;="" font-size:="" 16px;"=""><br></p><blockquote data-ke-style="style3" style="font-size: 16px; line-height: 18pt; color: rgb(102, 102, 102); margin-bottom: 0px; padding: 21px 25px 20px; border-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-color: rgb(221, 221, 221); border-image: initial; background: rgb(252, 252, 252); font-family: " noto="" sans="" kr",="" sans-serif;"="">org.springframework.web.client.ResourceAccessException: I/O error: Received fatal alert: protocol_version; nested exception is javax.net.ssl.SSLException: <b>Received fatal alert: protocol_version</b></blockquote><p><br style="font-family: " noto="" sans="" kr",="" sans-serif;="" font-size:="" 16px;"=""></p><h3 data-ke-size="size23" style="font-size: 1.44em; margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: " noto="" sans="" kr",="" sans-serif;"=""><b>원인</b></h3><p style="margin-bottom: 0px; padding: 0px; font-size: 16px; line-height: 1.2;"><span style="font-size: 14px; font-family: Tahoma;">Maven Repository에는 https가 [TLS v1.2]로 연결이 되어야한다.</span></p><p style="margin-bottom: 0px; padding: 0px; font-size: 16px; line-height: 1.2;"><span style="font-size: 14px; font-family: Tahoma;">빌드를 실행했던 서버는 jdk1.7이라서 프로토콜 버전 [TLS v1.0 ~ v1.1]이 기본값으로 설정되어있다.</span></p><p style="margin-bottom: 0px; padding: 0px; font-size: 16px; line-height: 1.2;"><span style="font-family: Tahoma;"><span style="font-size: 14px;">TLS 버전이 달라</span><span style="font-size: 14px;"> </span><span style="color: rgb(51, 51, 51);"><span style="font-size: 14px;">maven repo에서 다운로드를</span><span style="font-size: 14px;"> </span><span style="font-size: 14px;">받지 못해</span><span style="font-size: 14px;"> </span></span><span style="font-size: 14px;">빌드오류가 발생했던 것이다.</span></span></p><p style="margin-bottom: 0px; padding: 0px; font-family: " noto="" sans="" kr",="" sans-serif;="" font-size:="" 16px;"=""> </p><h3 data-ke-size="size23" style="font-size: 1.44em; margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: " noto="" sans="" kr",="" sans-serif;"=""><b>해결방법</b></h3><p style="margin-bottom: 0px; padding: 0px; font-size: 16px; line-height: 1.2;"><span style="font-family: Tahoma; font-size: 14px;">1. 메이븐 빌드 시 TLS 버전을 지정해준다.</span></p><p style="margin-bottom: 0px; padding: 0px; font-size: 16px; line-height: 1.2;"><span style="font-family: Tahoma;"><span style="font-size: 14px;">2. Java버전을 1.8이상으로 사용한다.(최소 </span><span style="color: rgb(51, 51, 51); font-size: 14px;">java</span><span style="color: rgb(51, 51, 51); font-size: 14px;"> </span><span style="color: rgb(51, 51, 51); font-size: 14px;">1.8)</span></span></p><p style="margin-bottom: 0px; padding: 0px; font-size: 16px; line-height: 1.2;"><span style="font-family: Tahoma;"><span style="font-size: 14px;">3. JVM설정 파일에 "</span><span style="color: rgb(51, 51, 51); font-size: 14px;">-Dhttps.protocols=TLSv1.2" 값을 추가해준다.</span></span></p><p style="margin-bottom: 0px; padding: 0px; font-size: 16px; line-height: 1.2;"><span style="font-family: Tahoma; font-size: 14px;"> </span></p><p style="margin-bottom: 0px; padding: 0px; font-size: 16px; line-height: 1.2;"><span style="font-family: Tahoma; font-size: 14px;">해당 서버에는 빌드에 실패했던 서비스외에도 다른 서비스들도 돌고 있기 때문에 2번과 3번 방법을 사용하기에는 사이드 이펙트가 있을 수 있어 1번의 방법을 사용하기로 했다.</span></p><p style="margin-bottom: 0px; padding: 0px; font-family: " noto="" sans="" kr",="" sans-serif;="" font-size:="" 16px;"=""><br></p><blockquote data-ke-style="style3" style="font-size: 16px; line-height: 18pt; color: rgb(102, 102, 102); margin-bottom: 0px; padding: 21px 25px 20px; border-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-color: rgb(221, 221, 221); border-image: initial; background: rgb(252, 252, 252); font-family: " noto="" sans="" kr",="" sans-serif;"=""><b>mvn -Dhttps.protocols=TLSv1.2 clean install package</b></blockquote><p style="margin-bottom: 0px; padding: 0px; font-family: " noto="" sans="" kr",="" sans-serif;="" font-size:="" 16px;"=""> </p><p><br style="font-family: " noto="" sans="" kr",="" sans-serif;="" font-size:="" 16px;"=""><br></p>
오즈 테크넷 URL
http://www.webprogramer.kr/blog/P000000393/post.do
<p><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p><span style="font-weight: bold; font-family: Tahoma; font-size: 18px;">오즈 테크넷 주소</span></p><p><span style="font-weight: bold; font-family: Tahoma; font-size: 18px;">자꾸 까먹어서 포스팅</span></p><p><span style="font-weight: bold; font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-weight: bold; font-family: Tahoma; font-size: 18px;"><a href="http://www.oztn.net/" target="_blank">http://www.oztn.net/</a></span><br></p>
5. 디지털 액자 만들기
http://www.webprogramer.kr/blog/P000000392/post.do
<blockquote><p><span style="color: rgb(51, 51, 51); font-family: Tahoma; font-size: 24px; font-weight: 700;">5. 디지털 액자 만들기</span></p></blockquote>
<p><a href="http://webprogramer.kr/blog/P000000388/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="font-weight: bold;"><span style="font-size: 18px; color: rgb(255, 0, 255);">1. 디지털 액자 만들기</span></a></p><p><span style="font-weight: bold;"><span style="color: rgb(255, 0, 255); font-size: 18px;">2</span><a href="http://webprogramer.kr/blog/P000000389/post.do?pageIndex=1&codeId=BLG050" target="_blank"><span style="font-size: 18px; color: rgb(255, 0, 255);">. 디지털 액자 만들기</span></a></span></p><p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">3</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">4</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000391/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">5</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p><p><br></p><p><span style="color: rgb(51, 51, 51);">액자무게 때문에 레일방향을 벽쪽으로 하고 토우앙카(TA-50)을 이용하여 레일을 설치 하였다.</span></p><p><span style="color: rgb(51, 51, 51);">토우앙카(TA-50)</span><span style="color: rgb(51, 51, 51);"> 1개당 최대 하중이 20kg 정도라고 한다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586225645117700338.jpg" data-filename="1586225645117700338.jpg" style="width: 50%;" class="img-thumbnail"><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);">액자와 모니터 아답터 사이를 투명전선으로 연결한다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586225658061617930.jpg" data-filename="1586225658061617930.jpg" style="width: 50%;" class="img-thumbnail"><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);">선정리를 위해 아답터와 투명전선을 멀티탭 박스에 집어 넣었다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586225674581115930.jpg" data-filename="1586225674581115930.jpg" style="width: 50%;" class="img-thumbnail"><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);">벽쪽 전선은 전선클립을 이용하여 고정하고</span></p><p><span style="color: rgb(51, 51, 51);">투명전선에 와셔를 묶어서 레일을 통과 시켜 고정하였다.</span></p><p><span style="color: rgb(51, 51, 51);">전선을 넉넉히 여유를 두고 작업하면 편하다.</span></p><p><span style="color: rgb(51, 51, 51);">아답터에서 나오는부분과 액자에 연결되는 부분의 +, - 극성을 확인하여 정확히 연결해야한다.</span></p><p><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);">드디어 작업이 끝났다.</span></p><p><span style="color: rgb(51, 51, 51);">위에 레일이 거슬린다 ㅠㅠ</span></p><p><span style="color: rgb(51, 51, 51);">평소에 핸드폰 사진이나 nas에 오래도록 쌓아두기만 했던 사진을 꺼내어</span></p><p><span style="color: rgb(51, 51, 51);">보니 너무 좋다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586225687740547238.jpg" data-filename="1586225687740547238.jpg" class="img-thumbnail" style="width: 50%;"><br></p><p><span style="color: rgb(51, 51, 51);"><br></span><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="font-weight: bold; font-family: Tahoma;"><span style="color: rgb(51, 51, 51);"><br></span><span style="color: rgb(51, 51, 51); font-size: 18px;">사용 앱 목록</span></span></p><p><span style="font-family: Tahoma;"><span style="color: rgb(51, 51, 51); font-size: 18px;">1. APKPure -다른 앱들을 설치할 수 있게 해준다</span></span></p><p> <span style="font-family: Tahoma; font-size: 18px;">사이트에 접속해 </span><span style="font-family: Tahoma;"><span style="color: rgb(51, 51, 51); font-size: 18px;">APKPure</span></span> <span style="font-family: Tahoma; font-size: 18px;">apk를 다운받아 usb에 넣어서 설치한다.</span></p><p> <span style="font-family: Tahoma;"><span style="font-size: 18px;">-> </span><a href="https://apkpure.com/kr/" target="_blank"><span style="font-size: 18px;">https://apkpure.com/kr/</span></a></span></p><p><span style="font-family: Tahoma;"><a href="https://apkpure.com/kr/" target="_blank"><span style="font-size: 18px;"><br></span></a></span></p><p><span style="font-family: Tahoma;"><span style="color: rgb(51, 51, 51); font-size: 18px;">2. </span></span><span style="color: rgb(51, 51, 51); font-family: Tahoma; font-size: 18px;">Fotoo - 디지털 액자 사진 슬라이드쇼 플레이어</span></p><p> <span style="font-family: Tahoma; font-size: 18px;">디지털액자 어플로는 이만한게 없는거 같다. 거의 이것만 사용</span></p><p> <span style="font-family: Tahoma;"><span style="font-size: 18px;">-> </span></span><span style="font-family: Tahoma; font-size: 18px;"><a href="https://play.google.com/store/apps/details?id=com.bo.fotoo" target="_blank">https://play.google.com/store/apps/details?id=com.bo.fotoo</a></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma;"><span style="color: rgb(51, 51, 51); font-size: 18px;">3. </span></span><span style="color: rgb(51, 51, 51); font-family: Tahoma; font-size: 18px;">Aerial Dream - 세계 각지의 항공뷰를 보여주는 화면보호기</span></p><p> <span style="font-family: Tahoma; font-size: 18px;">특정시간이 지나면 이미가 변경되고 살짝 이미지가 움직이기도함</span></p><p> <span style="font-family: Tahoma;"><span style="font-size: 18px;">-> </span></span><span style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 18px;"><a href="https://play.google.com/store/apps/details?id=com.codingbuffalo.aerialdream" target="_blank">https://play.google.com/store/apps/details?id=com.codingbuffalo.aerialdream</a></span></p><p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p>
<p><a href="http://webprogramer.kr/blog/P000000388/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="font-weight: bold;"><span style="font-size: 18px; color: rgb(255, 0, 255);">1. 디지털 액자 만들기</span></a></p><p><span style="font-weight: bold;"><span style="color: rgb(255, 0, 255); font-size: 18px;">2</span><a href="http://webprogramer.kr/blog/P000000389/post.do?pageIndex=1&codeId=BLG050" target="_blank"><span style="font-size: 18px; color: rgb(255, 0, 255);">. 디지털 액자 만들기</span></a></span></p><p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">3</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">4</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000391/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">5</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
4. 디지털 액자 만들기
http://www.webprogramer.kr/blog/P000000391/post.do
<blockquote><span style="color: rgb(51, 51, 51); font-family: Tahoma; font-size: 24px; font-weight: 700;">4. 디지털 액자 만들기</span></blockquote>
<p><a href="http://webprogramer.kr/blog/P000000388/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="font-weight: bold;"><span style="font-size: 18px; color: rgb(255, 0, 255);">1. 디지털 액자 만들기</span></a></p><p><span style="font-weight: bold;"><span style="color: rgb(255, 0, 255); font-size: 18px;">2</span><a href="http://webprogramer.kr/blog/P000000389/post.do?pageIndex=1&codeId=BLG050" target="_blank"><span style="font-size: 18px; color: rgb(255, 0, 255);">. 디지털 액자 만들기</span></a></span></p><p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">3</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">4</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000391/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">5</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(51, 51, 51);">목재 보호용 바니쉬를 발라주고</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586141212464984586.jpg" data-filename="1586141212464984586.jpg" style="width: 50%;" class="img-thumbnail"><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);">코팅제가 빨리 마르는 편이라 </span></p><p><span style="color: rgb(51, 51, 51);">바르고 30분 말리고를 2번 작업 하였다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586141224228666066.jpg" data-filename="1586141224228666066.jpg" style="width: 50%;" class="img-thumbnail"><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);">꺽쇠를 장착하기위해 미리 표시를 해두어야 한다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586141240700455004.jpg" data-filename="1586141240700455004.jpg" style="width: 50%;" class="img-thumbnail"><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);">나무가 갈라지는걸 방지하기위해 드릴로 나사홈을 내고</span></p><p><span style="color: rgb(51, 51, 51);">나사를 장착하였다.<br></span><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);">모양이 틀어지지 않게 잡은 후 4군데 모두 꺽쇠를 설치했다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586141252305746199.jpg" data-filename="1586141252305746199.jpg" style="width: 50%;" class="img-thumbnail"><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);">지지대 나무 설치</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586141338250582243.jpg" data-filename="1586141338250582243.jpg" style="width: 50%;" class="img-thumbnail"><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);">양면 테이프를 이용하여 미박스를 고정</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586141350853190180.jpg" data-filename="1586141350853190180.jpg" style="width: 50%;" class="img-thumbnail"><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);">전원을 두개로 나눠주는 젠더를 이용해 모니터와 미박스에</span></p><p><span style="color: rgb(51, 51, 51);">전원을 공급 한다.</span></p><p><span style="color: rgb(51, 51, 51);"> 미박스는 스텝다운 컨버터를 거쳐 USB </span><span style="color: rgb(51, 51, 51);">전원을 공급한다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/158614137392424593.jpg" data-filename="158614137392424593.jpg" style="width: 50%;" class="img-thumbnail"><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);"><br></span></p><p><span style="color: rgb(51, 51, 51);">전원을 연결하고 잘 작동되는지 테스트</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586141386350801122.jpg" data-filename="1586141386350801122.jpg" style="width: 50%;" class="img-thumbnail"><span style="color: rgb(51, 51, 51);"><br></span><span style="color: rgb(51, 51, 51);"><br></span><span style="color: rgb(51, 51, 51);"><br></span><span style="color: rgb(51, 51, 51);"><br></span><span style="color: rgb(51, 51, 51);"><br></span><span style="color: rgb(51, 51, 51);">벽걸이에 설치하는 것은 추후에..</span></p><p><span style="color: rgb(51, 51, 51);"><br></span><span style="color: rgb(51, 51, 51);"><br></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p>
<p><a href="http://webprogramer.kr/blog/P000000388/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="font-weight: bold;"><span style="font-size: 18px; color: rgb(255, 0, 255);">1. 디지털 액자 만들기</span></a></p><p><span style="font-weight: bold;"><span style="color: rgb(255, 0, 255); font-size: 18px;">2</span><a href="http://webprogramer.kr/blog/P000000389/post.do?pageIndex=1&codeId=BLG050" target="_blank"><span style="font-size: 18px; color: rgb(255, 0, 255);">. 디지털 액자 만들기</span></a></span></p><p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">3</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">4</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000391/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">5</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
3. 디지털 액자 만들기
http://www.webprogramer.kr/blog/P000000390/post.do
<blockquote><span style="color: rgb(51, 51, 51); font-family: Tahoma; font-size: 24px; font-weight: 700;">3. 디지털 액자 만들기</span></blockquote>
<p><a href="http://webprogramer.kr/blog/P000000388/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="font-weight: bold;"><span style="font-size: 18px; color: rgb(255, 0, 255);">1. 디지털 액자 만들기</span></a></p><p><span style="font-weight: bold;"><span style="color: rgb(255, 0, 255); font-size: 18px;">2</span><a href="http://webprogramer.kr/blog/P000000389/post.do?pageIndex=1&codeId=BLG050" target="_blank"><span style="font-size: 18px; color: rgb(255, 0, 255);">. 디지털 액자 만들기</span></a></span></p><p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">3</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">4</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000391/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">5</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p><p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p>
<p><span style="font-size: 14px;">액자레일에 액자를 걸기위한 부품을 찾기위해 철물점을 들렀지만 문이 닫혀 있어서ㅠㅠ</span></p><p><span style="font-size: 14px;">그냥 집으로 왔다. 어떻게 걸까 고민하고 있었는데.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585708906661476795.jpg" data-filename="1585708906661476795.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-size: 14px;"><br></span></p><p><span style="font-size: 14px;"><br></span></p><p><span style="font-size: 14px;">이미 어떤 선구자분이 와셔를 이용한것을 보고 집에서 와셔를 찾아보았다.</span></p><p><span style="font-size: 14px;">다행히 딱2개가 있었다. 어디서 나온건지 몰르겠지만 ㅋㅋ</span></p><p><span style="font-size: 14px;">근데 레일에 들어가지 않는문제가 발생하였다.</span></p><p><span style="font-size: 14px;">펜치를 가져와서 구부려 보았다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585709021142350389.jpg" data-filename="1585709021142350389.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-size: 14px;"><br></span></p><p><span style="font-size: 14px;"><br></span></p><p><span style="font-size: 14px;">이렇게 끼워서 줄을 걸을 예정 이다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585709119425585039.jpg" data-filename="1585709119425585039.jpg" style="width: 50%;" class="img-thumbnail"></p><p><br></p><p>잘끼워진다. 이렇게 걸면될거 같다.<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585709303022596863.jpg" data-filename="1585709303022596863.jpg" style="width: 50%;" class="img-thumbnail"><br></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;">=====================================</span></span></p><p><br></p><p>퇴근 후 집에 오니 </p><p>나무가 도착해 있었다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585790297746142021.jpg" data-filename="1585790297746142021.jpg" style="width: 50%;" class="img-thumbnail"><br></p><p><br></p><p>뭔가 이상하다 싶더니 나무가 쪼개져서 왔다.</p><p>배송하는 과정에서 충격으로 쪼개진듯하다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585790326445347783.jpg" data-filename="1585790326445347783.jpg" style="width: 50%;" class="img-thumbnail"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585790337856212613.jpg" data-filename="1585790337856212613.jpg" class="img-thumbnail" style="width: 50%;"><br></p><p><br></p><p>아쉽지만 작업은 다음에 하기로 하고 그대로 다시 포장해 놓았다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585790376591310612.jpg" data-filename="1585790376591310612.jpg" style="width: 50%;" class="img-thumbnail"><br></p><p><br></p><p>구매한 쇼핑몰 Q&A에 사진을 첨부 하고 글을 남겼다.</p><p>다음날 아침에 고객센터로 전화를 걸어 설명하고</p><p>부러진 나무에 대해서는 다시 보내주기로 하였다.</p><p><br></p><p>재단된 나무가 얇아서 부러진거 같기도 해서</p><p>작업시 홈파기 깊이 20mm -> 19mm로 변경을 하였다.</p><p><span style="font-size: 18px; font-weight: 700;">=====================================</span></p><p><br></p><p>다음날 바로 나무가 도착했다.</p><p>부러질것에 대비해 지지대 같은것을 끼워서 보냈다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585879085235154998.jpg" data-filename="1585879085235154998.jpg" style="width: 50%;" class="img-thumbnail"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585879096201930064.jpg" data-filename="1585879096201930064.jpg" style="width: 50%;" class="img-thumbnail"><br></p><p><br></p><p>제품이 부러져 왔었지만<br></p><p>아이베란다 고객센터 응대에 대해선 매우 만족스러웠다.</p><p><br></p><p><span style="font-size: 18px; font-weight: 700;">=====================================</span></p><p><br></p><p>모든 부품이 도착하여 작업시작.<span style="font-size: 18px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586139513980369180.jpg" data-filename="1586139513980369180.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p>우선 나무를 꺼내고<span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586139525092372514.jpg" data-filename="1586139525092372514.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p>대략 조립해보았다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586139563043371690.jpg" data-filename="1586139563043371690.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p>모니터 패널을 끼워 넣고<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586139585228975642.jpg" data-filename="1586139585228975642.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p>생각한것보다 재단이 정밀한것 같다.<span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586139605326610898.jpg" data-filename="1586139605326610898.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p>조립 후 전체적인 모습</p><p>모니터 패널도 흔들림 없이 잘 끼워졌다.<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586139615932838328.jpg" data-filename="1586139615932838328.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p>다음은 사포질(가루가 날려서 빨리 작업 하느라 과정은 생략)<span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1586139627255193553.jpg" data-filename="1586139627255193553.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p>나머진 다음회에~</p><p><br></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><span style="font-size: 14px;"></span>
<p><a href="http://webprogramer.kr/blog/P000000388/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="font-weight: bold;"><span style="font-size: 18px; color: rgb(255, 0, 255);">1. 디지털 액자 만들기</span></a></p><p><span style="font-weight: bold;"><span style="color: rgb(255, 0, 255); font-size: 18px;">2</span><a href="http://webprogramer.kr/blog/P000000389/post.do?pageIndex=1&codeId=BLG050" target="_blank"><span style="font-size: 18px; color: rgb(255, 0, 255);">. 디지털 액자 만들기</span></a></span></p><p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">3</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">4</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000391/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">5</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>,
2. 디지털 액자 만들기
http://www.webprogramer.kr/blog/P000000389/post.do
<blockquote style="color: rgb(51, 51, 51);"><span style="font-weight: bold; font-family: Tahoma; font-size: 24px;">2. 디지털 액자 만들기</span></blockquote>
<p><a href="http://webprogramer.kr/blog/P000000388/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="font-weight: bold;"><span style="font-size: 18px; color: rgb(255, 0, 255);">1. 디지털 액자 만들기</span></a></p><p><span style="font-weight: bold;"><span style="color: rgb(255, 0, 255); font-size: 18px;">2</span><a href="http://webprogramer.kr/blog/P000000389/post.do?pageIndex=1&codeId=BLG050" target="_blank"><span style="font-size: 18px; color: rgb(255, 0, 255);">. 디지털 액자 만들기</span></a></span></p><p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">3</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">4</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000391/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">5</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<div><span style="font-weight: bold;"><br></span></div><p><span style="font-weight: bold;"><br></span></p><p style="color: rgb(51, 51, 51);">이제 나무 재단을 맡겨야 하는데 그럴려면 실측한 자료를 토대로 도면을 그려야 한다.<br></p><p>연필로 잠깐 끄적이다가 스케치업 프로그램을 활용하기로 마음먹고</p><p>스케치업 무료 강의를 들었다. 짧게 필요한 부분까지만 듣구 작업하였다.</p><p><br></p><p><span style="font-family: Tahoma; font-weight: bold;">인프런 스케치업 무료 강의 참고1<br></span></p><p><span style="font-family: Tahoma; font-weight: bold;">-> <a href="https://www.inflearn.com/course/sketchup-2019/dashboard" target="_blank" style="">https://www.inflearn.com/course/sketchup-2019/dashboard</a></span><br></p><p><br></p><p>여러번 보완 하니 어느정도 도면이 완성되었다. </p><p>스케치업 프로그램이 꽤 괜찮타고 느껴졌다.</p><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585502740226637313.jpg" data-filename="1585502740226637313.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p>도면작업이 끝나고 도면에 보여지는 물체들을 연결해 보았다.</p><p>그럭저럭 액자 모양이 나와서 다행이였다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585331086385549942.jpg" data-filename="1585331086385549942.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>도면 작업이 끝나고 바로 주문을 하였다.</p><p><span style="font-family: Tahoma; font-weight: bold;">아이베란다 에서 주문</span></p><p><span style="font-family: Tahoma; font-weight: bold;">-> <a href="http://www.iveranda.com/main/index" target="_blank">http://www.iveranda.com/main/index</a></span></p><p><br></p><p>처음엔 어떻게 주문해야되나 막막했지만 차근차근 읽어보고 </p><p>주문을하였다. </p><p>주문 후 에 작업자가 참고할 수 있게 도면올리는 게시판에 주문번호와 도면을 올렸다.</p><p><span style="font-weight: bold; color: rgb(255, 0, 0);">※ 사이트에서 선택할 수 있는 나무 사이즈와 홈파기 사이즈를 미리 확인하면 편하다</span></p><p><span style="font-weight: bold; color: rgb(255, 0, 0);">※ 장바구니에 있을때는 수정이 가능하나 결제하게 되면 수정불가 이니 신중히 주문하고</span></p><p><span style="font-weight: bold; color: rgb(255, 0, 0);"> 주문시 수정이 필요하면 빨리 콜센터에 전화를 해서 정정해야된다.</span></p><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585533638587451663.PNG" data-filename="1585533638587451663.PNG" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>구매내역 정리</p><p>--------------------------------------------------------</p><p>1. 24인치 모니터 중고나라 80,000</p><p>2. 안드로이드 tv box 기존꺼 활용 0</p><p>3. 투명전선 10m 10,180</p><p>4. USB 5V 스텝 다운 DC-DC 컨버터 모듈 5,800</p><p>5. 아답터 및 젠더 10,400</p><p>6. 나무재단 및 가공, 사포, 목공용강력접착제, 꺽쇠, 평철 39,260</p><p>7. 멀티탭 4구, 전선정리함, 전선정리 클립 21,000</p><p>--------------------------------------------------------<br></p><p>합 계 : 166,640</p><p><br></p><p><br></p><p>나머진 다음회에~</p><p><br></p><p><br></p><p><br></p><p><br></p><p><span style="color: rgb(255, 0, 255);"><br></span></p><p style=""><br></p>
<p><a href="http://webprogramer.kr/blog/P000000388/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="font-weight: bold;"><span style="font-size: 18px; color: rgb(255, 0, 255);">1. 디지털 액자 만들기</span></a></p><p><span style="font-weight: bold;"><span style="color: rgb(255, 0, 255); font-size: 18px;">2</span><a href="http://webprogramer.kr/blog/P000000389/post.do?pageIndex=1&codeId=BLG050" target="_blank"><span style="font-size: 18px; color: rgb(255, 0, 255);">. 디지털 액자 만들기</span></a></span></p><p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">3</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">4</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000391/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">5</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
1. 디지털 액자 만들기
http://www.webprogramer.kr/blog/P000000388/post.do
<blockquote><span style="font-weight: bold; font-family: Tahoma; font-size: 24px;">1. 디지털 액자 만들기</span></blockquote><p><br></p>
<p><a href="http://webprogramer.kr/blog/P000000388/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="font-weight: bold;"><span style="font-size: 18px; color: rgb(255, 0, 255);">1. 디지털 액자 만들기</span></a></p><p><span style="font-weight: bold;"><span style="color: rgb(255, 0, 255); font-size: 18px;">2</span><a href="http://webprogramer.kr/blog/P000000389/post.do?pageIndex=1&codeId=BLG050" target="_blank"><span style="font-size: 18px; color: rgb(255, 0, 255);">. 디지털 액자 만들기</span></a></span></p><p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">3</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">4</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000391/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">5</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p><p><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><br></span></p>
<p>전부터 디지털 액자를 만들어 보고 싶었는데 생각만 하고 실행에 옮기질 않고 있었는데</p><p>인터넷상에 선구자 분들의 DIY를 보니 나도 해보자 라는 의욕이 생겨 만들어 보기로 했다.</p><p><br></p><p>기존에 눈독들이고 있던 제품은 엘지, 삼성 제품인데 가격대가 있어서 포기.</p><p>엘지 bluecanvas</p><p><a href="https://www.bluecanvas.com/product/bluecanvas/list?device=CYPC021805&code=03" target="_blank" style="">https://www.bluecanvas.com/product/bluecanvas/list?device=CYPC021805&code=03</a></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585211797831581982.PNG" data-filename="1585211797831581982.PNG" style="width: 50%;" class="img-thumbnail"><br></p><p><br></p><p>삼성 the frame<br></p><p></p><p><a href="https://www.samsung.com/sec/lifestyletv/all-lifestyletv/?the-frame" target="_blank" style="">https://www.samsung.com/sec/lifestyletv/all-lifestyletv/?the-frame</a></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585211807757375853.PNG" data-filename="1585211807757375853.PNG" style="width: 50%;" class="img-thumbnail"></p><p>깔끔하고 좋아 보인다. 여유되면 그냥 구매하는것이 나을수도 있다.</p><p><br></p><p><span style="font-weight: bold;"> </span>- 재료 준비 - </p><p><br></p><p>24인치 모니터</p><p> - 중고나라 알파스캔 모니터 8만원에 구매</p><p>- 모델명 알파스캔 AOC 2477 IPS</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585267932641839408.PNG" data-filename="1585267932641839408.PNG" style="width: 50%;" class="img-thumbnail"><span style="font-weight: 700;"><br></span></p><p><span style="font-weight: bold;"><br></span></p><p>안드로이드 tv box</p><p> - 사용하지 않고 있던 미박스 활용</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585268155684370721.PNG" data-filename="1585268155684370721.PNG" style="width: 50%;" class="img-thumbnail"><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;"><br></span></p><p>투명전선</p><p>- 손잡이 닷컴 투명전선(0.75SQ*2C/30C-석도) 10m 구매 - 10,180원</p><p><a href="http://www.sonjabee.com/goods/content.asp?num=285119&big=&middle=&Orderby=dated&plus_chk=&sale_chk=" target="_blank" style="">http://www.sonjabee.com/goods/content.asp?num=285119&big=&middle=&Orderby=dated&plus_chk=&sale_chk=</a></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585268502599705956.PNG" data-filename="1585268502599705956.PNG" style="width: 50%;" class="img-thumbnail"></p><p><br></p><p>USB 5V 스텝 다운 DC-DC 컨버터 모듈</p><p>- 메카솔루션 USB 5V 스텝 다운 DC-DC 컨버터 모듈 / KIS-3R33S / 5V 3A 구매</p><p><a href="http://mechasolution.com/shop/goods/goods_view.php?goodsno=576972&inflow=naver&NaPm=ct%3Dk88bype0%7Cci%3D1cd7acaf2259deaaa55a592f5b12c1fd592edb97%7Ctr%3Dslsl%7Csn%3D188145%7Chk%3D2a8390035fe08cabe7dd41d373e6db378b265e67" target="_blank" style="">http://mechasolution.com/</a></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/158526843994912306.PNG" data-filename="158526843994912306.PNG" style="width: 50%;" class="img-thumbnail"><span style="font-weight: bold;"><br></span></p><p><br></p><p>아답터 및 젠더</p><p>- coms마트</p><p><a href="http://comsmart.co.kr/cmart/" style="" target="_blank">http://comsmart.co.kr/cmart/</a><span style="font-weight: bold;"><br></span><img src="http://www.webprogramer.kr/upload/blog/editor/1585268657008956655.png" data-filename="1585268657008956655.png" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>액자 테두리 나무</p><p>- 구매예정</p><p><br></p><p><br></p><p>퇴근하고 집에 오니 모니터가 똭!<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585269598096571583.jpg" data-filename="1585269598096571583.jpg" style="width: 50%;" class="img-thumbnail"><br></p><div><span style="font-weight: 700;"><br></span></div><p>모니터 간단 테스트<br></p><div><img src="http://www.webprogramer.kr/upload/blog/editor/1585269623065352337.jpg" data-filename="1585269623065352337.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-weight: 700;"><br></span></div><div><span style="font-weight: 700;"><br></span></div><div>분해 시작<span style="font-weight: 700;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1585269638322708916.jpg" data-filename="1585269638322708916.jpg" style="width: 50%;" class="img-thumbnail"></div><div><br></div><div>분해 완료<br></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1585269650800509738.jpg" data-filename="1585269650800509738.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-weight: 700;"><br></span></div><div><span style="font-weight: 700;"><br></span></div><div>다시 테스트<br></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1585269801146706327.jpg" data-filename="1585269801146706327.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-weight: 700;"><br></span></div><div><span style="font-weight: 700;"><br></span></div><div>모니터 아답터 정보</div><div>12v, 3.75a</div><div>대략적인 측정 외경 x 내경 -> 5.5mm x 2.5mm</div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1585269858501297199.jpg" data-filename="1585269858501297199.jpg" style="width: 50%;" class="img-thumbnail"><span style="font-weight: 700;"><br></span></div><p><br></p><p><br></p><p>모니터 측정 치수 및 대략적인 배선 연결도</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1585269900876113204.jpg" data-filename="1585269900876113204.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>액자 형태로 나무 재단을 맡겨야 되는데..</p><p>그것은 다음회에~</p><p><br></p><p><br></p><p><br></p><p><br></p>
<p><a href="http://webprogramer.kr/blog/P000000388/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="font-weight: bold;"><span style="font-size: 18px; color: rgb(255, 0, 255);">1. 디지털 액자 만들기</span></a></p><p><span style="font-weight: bold;"><span style="color: rgb(255, 0, 255); font-size: 18px;">2</span><a href="http://webprogramer.kr/blog/P000000389/post.do?pageIndex=1&codeId=BLG050" target="_blank"><span style="font-size: 18px; color: rgb(255, 0, 255);">. 디지털 액자 만들기</span></a></span></p><p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">3</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000390/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">4</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000391/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
<p><span style="font-size: 18px; font-weight: bold; color: rgb(255, 0, 255);"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">5</a></span><span style="color: rgb(255, 0, 255); font-size: 18px; font-weight: bold;"><a href="http://webprogramer.kr/blog/P000000392/post.do?pageIndex=1&codeId=BLG050" target="_blank" style="color: rgb(255, 0, 255);">. 디지털 액자 만들기</a> </span></p>
SELinux 설정법
http://www.webprogramer.kr/blog/P000000387/post.do
<p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">CentOS 설치 후에 어플리케이션 설치 및 설정 후 무언가 제대로 되지 않는다면 대부분 SELinux 설정 때문인 경우가 많습니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">SELinux 에 대해서 알아보도록 하겠습니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">SELinux란 Security-Enhanced Linux 의 줄임말로 보안이 향상된 리눅스라고 정의되어 있습니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">보안과 사용자 편의는 양날의 검인지라, 보안이 향상되었다는 것은 무언가 사용하기 불편할 수 있다라는 의미입니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">SELinux 상에서는 각 응용 프로그램에 대해서 접근이 가능한 설정 파일이나 사용할 수 있는 폴더의 위치에 대해서 권한이 명확하게 정의가 되었습니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">예를 들자면 httpd 프로세스가 php 를 통해서 특정 경로에 파일을 write 하는 것도 SELinux context type이 맞아야만 가능합니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">또한 mysql 의 DB 경로를 변경할 때에도 해당 폴더에 맞는 SELinux context type 이어야 가능합니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">1. SELinux 기본</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">SELinux는 enforcing, permissive, disabled 세 가지 정책을 설정할 수 있습니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">enforcing 의 경우 보안 정책을 적용하는 것이고, permissive 의 경우는 경고만 보여주고, disabled 는 아예 로딩하지 않는 것입니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">그리고 targeted, minimum, mls 등의 타입을 지정할 수 있습니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">targeted는 지정된 프로세스들을 보호하는 것이고, minimum 은 targeted 를 변형하여 선택된 프로세스만 보호하는 것이고, mls 는 여러 레벨로 보안을 설정하는 것입니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br class="Apple-interchange-newline"></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">현재 설정을 확인하기 위해서는 getenforce 명령어를 사용합니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><table class="txc-table" width="647" cellspacing="0" cellpadding="0" border="0" style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247); border: none;"><tbody><tr><td style="line-height: 1.5; font-size: 9pt; width: 647px; height: 24px; border: 1px solid rgb(204, 204, 204); background-color: rgb(0, 0, 0);"><p style="list-style: none; margin-bottom: 0px; padding: 0px;"><span style="color: rgb(255, 255, 255); font-weight: bold; font-family: Tahoma;"># getenforce</span></p></td></tr></tbody></table><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">그리고 임시 설정 변경을 위해서는 setenforce 명령어를 이용하면 됩니다. (리부팅시 원래 상태로 돌아옴)</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br class="Apple-interchange-newline"></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">SELinux 설정을 permissive 로 변경</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><table class="txc-table" width="647" cellspacing="0" cellpadding="0" border="0" style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247); border: none;"><tbody><tr><td style="width: 647px; height: 24px; border: 1px solid rgb(204, 204, 204); background-color: rgb(0, 0, 0);"><p style="list-style: none; margin-bottom: 0px; padding: 0px;"><span style="color: rgb(255, 255, 255); font-weight: bold; font-family: Tahoma;"># setenforce 0</span></p></td></tr></tbody></table><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br class="Apple-interchange-newline"></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">SELInux 설정을 enforcing 으로 변경</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><table class="txc-table" width="647" cellspacing="0" cellpadding="0" border="0" style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247); border: none;"><tbody><tr><td style="width: 647px; height: 24px; border: 1px solid rgb(204, 204, 204); background-color: rgb(0, 0, 0);"><p style="list-style: none; margin-bottom: 0px; padding: 0px;"><span style="color: rgb(255, 255, 255); font-weight: bold; font-family: Tahoma;"># setenforce 1</span></p></td></tr></tbody></table><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">영구적인 설정 변경을 위해서는 아래의 설정파일을 열어서 변경하면 됩니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"></p><table class="txc-table" width="647" cellspacing="0" cellpadding="0" border="0" style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247); border: none;"><tbody><tr><td style="width: 647px; height: 24px; border: 1px solid rgb(204, 204, 204); background-color: rgb(0, 0, 0);"><p style="list-style: none; margin-bottom: 0px; padding: 0px;"><span style="font-weight: bold; font-family: Tahoma;"><span style="color: rgb(255, 255, 255);"># vi</span><span style="color: rgb(255, 255, 255);"> /etc/selinux/config</span><span style="color: rgb(255, 255, 255);"> </span></span></p></td></tr></tbody></table><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">2. chcon 을 이용한 context type 변경</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">SELinux 를 사용하지 않으면 설정에 문제는 사라지겠지만 보안이 약해지는 문제가 있습니다. 따라서 SELinux 를 적용한 상태에서 특정 폴더 혹은 파일의 context type 을 상황에 맞게 적용하는 방법에 대해서 설명 드리겠습니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">이전에 mysql 설정 포스팅에서도 잠깐 소개되었었는데, mysql의 DB 경로를 변경하는 경우에 대해서 설명해 보겠습니다. </span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">기본 경로 (/var/lib/mysql)를 /datadir 로 변경한다고 가정하면, 아래와 같이 새 DB 경로의 context 를 변경해 주면 mysql 프로세스가 사용이 가능한 권한을 얻게 됩니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br class="Apple-interchange-newline"></span></p><table class="txc-table" width="647" cellspacing="0" cellpadding="0" border="0" style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247); border: none;"><tbody><tr><td style="width: 647px; height: 24px; border: 1px solid rgb(204, 204, 204); background-color: rgb(0, 0, 0);"><p style="list-style: none; margin-bottom: 0px; padding: 0px;"><span style="color: rgb(255, 255, 255); font-weight: bold; font-family: Tahoma;"># chcon --reference=/var/lib/mysql -R /datadir</span></p></td></tr></tbody></table><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">또한 php 프로세스가 httpd 상에서 파일 쓰기 권한이 필요하다면, 권한이 필요한 경로 (<span style="font-size: 9pt; line-height: 1.5;">/var/www/html/phpfile) </span><span style="font-size: 9pt; line-height: 1.5;">에 다음과 같이 설정해 주면 됩니다. </span><span style="font-size: 9pt; line-height: 1.5;"> </span></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br class="Apple-interchange-newline"></span></p><table class="txc-table" width="647" cellspacing="0" cellpadding="0" border="0" style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247); border: none;"><tbody><tr><td style="width: 647px; height: 24px; border: 1px solid rgb(204, 204, 204); background-color: rgb(0, 0, 0);"><p style="list-style: none; margin-bottom: 0px; padding: 0px;"><span style="color: rgb(255, 255, 255); font-weight: bold; font-family: Tahoma;"># chcon -t httpd_sys_rw_content_t -R /var/www/html/phpfile</span></p></td></tr></tbody></table><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">3. SELinux 설정값 확인 및 변경</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">이번에는 getsebool / setsebool 명령어를 이용해서 SELinux 설정을 확인하고 변경해 보겠습니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">httpd 프로세스에서 네트워크 연결 허용 여부를 결정하는 SELinux 설정은 httpd_can_network_connect 입니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">아래와 같이 입력하여 현재 설정값을 확인해 봅니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><table class="txc-table" width="647" cellspacing="0" cellpadding="0" border="0" style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247); border: none;"><tbody><tr><td style="width: 647px; height: 24px; border: 1px solid rgb(204, 204, 204); background-color: rgb(0, 0, 0);"><p style="list-style: none; margin-bottom: 0px; padding: 0px;"><span style="color: rgb(255, 255, 255); font-weight: bold; font-family: Tahoma;"># getsebool httpd_can_network_connect</span></p></td></tr></tbody></table><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">혹은 getsebool -a 후에 grep 으로도 확인할 수 있습니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">위의 연결을 허용해 주고 싶으면 아래와 같이 입력하면 됩니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br class="Apple-interchange-newline"></span></p><table class="txc-table" width="647" cellspacing="0" cellpadding="0" border="0" style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247); border: none;"><tbody><tr><td style="width: 647px; height: 24px; border: 1px solid rgb(204, 204, 204); background-color: rgb(0, 0, 0);"><p style="list-style: none; margin-bottom: 0px; padding: 0px;"><span style="color: rgb(255, 255, 255); font-weight: bold; font-family: Tahoma;"># setsebool -P httpd_can_network_connect on</span></p></td></tr></tbody></table><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">on 대신 1을 입력해도 됩니다.</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">반대로 연결을 허용하지 않겠다면,</span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br class="Apple-interchange-newline"></span></p><table class="txc-table" width="647" cellspacing="0" cellpadding="0" border="0" style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247); border: none;"><tbody><tr><td style="width: 647px; height: 24px; border: 1px solid rgb(204, 204, 204); background-color: rgb(0, 0, 0);"><p style="list-style: none; margin-bottom: 0px; padding: 0px;"><span style="color: rgb(255, 255, 255); font-weight: bold; font-family: Tahoma;"># setsebool -P httpd_can_network_connect off</span></p></td></tr></tbody></table><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p style="list-style: none; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="font-weight: bold; font-family: Tahoma;">off 대신 0을 입력해도 됩니다.</span></p><p><span style="font-weight: bold; font-family: Tahoma;"><br style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><br style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"><span style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);">출처: </span><a href="https://shineum.tistory.com/99" style="font-size: 12px; background-color: rgb(247, 247, 247);">https://shineum.tistory.com/99</a><span style="color: rgb(51, 51, 51); font-size: 12px; background-color: rgb(247, 247, 247);"> [The Pursuit of Happyness]</span></span><br></p>
POI 샘플
http://www.webprogramer.kr/blog/P000000386/post.do
<p><br></p><pre class="prettyprint linenums"><code class="language-java"> public static void excelDown(List<user> userList) throws IOException {
// 파일 만들기
FileOutputStream out = new FileOutputStream("C:\\workbook.xls");
// 문서만들기
Workbook wb = new HSSFWorkbook();
// 시트 만들기
Sheet s = wb.createSheet();
wb.setSheetName(0, "회원목록");
// 행선언
Row r = null;
// 셀선언
Cell c = null;
// 행 번호
int rownum = 0;
// 행 생성
r = s.createRow(rownum);
// 0번째셀 생성
c = r.createCell(0);
c.setCellValue("아이디");
// 1번째셀 생성
c = r.createCell(1);
c.setCellValue("이름");
// 2번째셀 생성
c = r.createCell(2);
c.setCellValue("비밀번호");
for (int i = 0; i < userList.size(); i++) {
// 행번호 증가
rownum++;
User user = userList.get(i);
// 행 생성
r = s.createRow(rownum);
// 0번째셀 생성
c = r.createCell(0);
c.setCellValue(user.getId());
// 1번째셀 생성
c = r.createCell(1);
c.setCellValue(user.getName());
// 2번째셀 생성
c = r.createCell(2);
c.setCellValue(user.getPassword());
}
// 통합 문서를 출력 스트림에 씁니다.
wb.write(out);
// 스트림 닫음
out.close();
}</user></code></pre><p><br></p><p><br></p><p><br></p>
[펌]알고 보면 재밌는 객체 지향 프로그래밍, OOP 흝어보기
http://www.webprogramer.kr/blog/P000000385/post.do
<p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이번 포스팅에서는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">객체 지향 프로그래밍(Object-Oriented Programming)</code>, 줄여서 흔히들 OOP라고 부르는 설계 방법론에 대해서 이야기해보려고 한다. OOP는 프로그래밍의 설계 패러다임 중 하나로, 현실 세계를 프로그램 설계에 반영한다는 개념을 기반으로 접근하는 방법이다. OOP는 90년대 초반부터 유명해지기 시작했지만 아직까지도 전 세계의 많은 프로그래머들이 사용하고 있는 설계 패턴 중 하나이기 때문에 알아둬서 나쁠 건 없다.<br style="box-sizing: inherit;"><span style="box-sizing: inherit;"><a id="more" style="box-sizing: inherit; color: rgb(50, 115, 220); cursor: pointer;"></a></span></span></p><h2 id="객체-지향-프로그래밍을-왜-알아야-하나요" style="box-sizing: inherit; margin: 1.1428em 0px 0.5714em; padding: 0px; font-size: 1.5em; font-weight: 700; color: rgb(54, 54, 54); line-height: 1.125;"><span style="font-family: Tahoma;"><a href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/#%EA%B0%9D%EC%B2%B4-%EC%A7%80%ED%96%A5-%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D%EC%9D%84-%EC%99%9C-%EC%95%8C%EC%95%84%EC%95%BC-%ED%95%98%EB%82%98%EC%9A%94" class="headerlink" title="객체 지향 프로그래밍을 왜 알아야 하나요?" style="box-sizing: inherit; color: rgb(50, 115, 220);"></a>객체 지향 프로그래밍을 왜 알아야 하나요?</span></h2><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">사실 OOP가 오랜 기간동안 전 세계에서 사랑받고있는 설계 패턴인 것은 맞지만 최근에는 OOP의 단점을 이야기하며 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">함수형 프로그래밍</code>과 같은 새로운 설계 패러다임이 각광받기도 했다.<small style="box-sizing: inherit; font-size: 0.875em;">(함수형 프로그래밍도 사실 꽤 오래된 패러다임이다)</small> 사실 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">OOP</code>니 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">함수형 프로그래밍</code>이니 하는 이런 것들은 결국 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">프로그램을 어떻게 설계할 것인가?</code>에 대한 방법이기 때문에 당연히 장단점 또한 존재하기 마련이고 시대나 용도에 맞게 개선된 패러다임이 제시되는 것은 자연스러운 흐름이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">필자는 개인적으로 아직까지 OOP가 괜찮은 설계 패턴이라고 생각하고 있지만, 여러분은 함수형 프로그래밍이 OOP보다 더 효율적이고 괜찮다고 생각할 수도 있다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">당연히 어떤 패러다임을 선호하는지는 개인의 자유기 때문에 다르게 생각할 수 있지만, 어떤 기술을 선택할 때는 해당 기술의 장단점과 그 기술을 선택했을 때 얻을 수 있는 것과 잃을 수 있는 것을 제대로 파악하고 있어야 올바른 선택을 할 수 있기 때문에 여러분이 함수형 프로그래밍을 선택한다고 하더라도 OOP가 무엇인지 알고 있어야 하는 것은 마찬가지다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">또한 OOP는 1990년대 초반부터 2019년인 현재까지도 모던 프로그래밍 설계에 중요한 역할을 하고 있는 개념이다. 아무리 함수형 프로그래밍과 같은 새로운 패러다임이 주목받기는 했지만 아직까지는 OOP가 대부분의 프로그램 설계에 사용되고 있다는 사실은 부정할 수 없는 현실이며, 이게 바로 우리가 OOP를 좋은 싫든 알고 있어야 하는 현실적인 이유 중의 하나이다.<small style="box-sizing: inherit; font-size: 0.875em;">(참고로 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Java</code>, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Python</code>, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">C++</code> 등 메이저 언어들도 전부 OOP를 지원하는 언어이다.)</small></span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">그래서 이번 포스팅에서는 OOP가 추구하는 것이 무엇인지, 또 OOP를 이루고 있는 개념들은 무엇이 있는지 간략하게 살펴보려고 한다.</span></p><h2 id="객체-지향이라는-것은-무엇을-의미하나요" style="box-sizing: inherit; margin: 1.1428em 0px 0.5714em; padding: 0px; font-size: 1.5em; font-weight: 700; color: rgb(54, 54, 54); line-height: 1.125;"><span style="font-family: Tahoma;"><a href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/#%EA%B0%9D%EC%B2%B4-%EC%A7%80%ED%96%A5%EC%9D%B4%EB%9D%BC%EB%8A%94-%EA%B2%83%EC%9D%80-%EB%AC%B4%EC%97%87%EC%9D%84-%EC%9D%98%EB%AF%B8%ED%95%98%EB%82%98%EC%9A%94" class="headerlink" title="객체 지향이라는 것은 무엇을 의미하나요?" style="box-sizing: inherit; color: rgb(50, 115, 220);"></a>객체 지향이라는 것은 무엇을 의미하나요?</span></h2><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">OOP의 의미인 Object-Oriented Programming의 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Object-Oriented</code>를 한국말로 그대로 직역하면 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">객체 지향</code>이다. 여기서 말하는 객체는 현실 세계에 존재하는 하나 하나의 독립된 무언가를 의미한다. 보통 OOP를 배울 때 가장 처음 접하는 개념이 바로 이 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">객체</code>라는 개념인데, 사실 한번 이해하고나면 꽤 간단한 개념이지만 우리가 평소에 살면서 잘 생각해보지 않는 개념이기 때문에 잘 이해가 되지 않을 수도 있다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">객체</code>를 설명하기 위해서는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">클래스</code>라는 개념을 함께 설명해야하는데, 용어가 직관적이지 않아서 그렇지 조금만 생각해보면 누구나 다 이해할 수 있는 개념이다. 일반적으로 이걸 설명할 때 붕어빵과 붕어빵 틀과 같은 비유를 들며 설명하지만 필자는 일반적인 설명과 다르게 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">클래스는 무엇이고, 객체는 무엇이다</code>라는 방식으로 접근하기보다는 일단 OOP의 포괄적인 설계 개념을 먼저 설명하는 방식으로 접근하도록 하겠다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">재미없고 복잡한 용어는 일단 제쳐두고 일단 예시를 보면서 의식의 흐름대로 따라와보자.</span></p><h3 id="클래스와-객체" style="box-sizing: inherit; margin: 1.3333em 0px 0.6666em; padding: 0px; font-size: 1.25em; font-weight: 700; color: rgb(54, 54, 54); line-height: 1.125;"><span style="font-family: Tahoma;"><a href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/#%ED%81%B4%EB%9E%98%EC%8A%A4%EC%99%80-%EA%B0%9D%EC%B2%B4" class="headerlink" title="클래스와 객체" style="box-sizing: inherit; color: rgb(50, 115, 220);"></a>클래스와 객체</span></h3><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">필자는 이 포스팅의 서두에서 OOP란 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">현실 세계를 프로그램의 설계에 반영하는 것</code>이라고 이야기했다. 이 말이 뜻하는 의미를 먼저 이해하고 나면 클래스나 객체 같은 것은 자연스럽게 이해할 수 있으니 먼저 OOP가 왜 현실 세계를 반영한 설계 방식이라고 하는 지를 먼저 알아보도록 하자.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">뭐 여러가지 예시가 있겠지만 우리가 일상적으로 사용하고 있는 물건을 예로 드는 것이 좀 더 와닿을테니 필자는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">스마트폰</code>을 예로 들어서 설명을 진행하려고 한다. 필자는 애플에서 만든 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰7</code>이라는 기종을 사용하고 있기 때문에 아이폰7을 예시로 설명을 시작하겠다.</span></p><center style="box-sizing: inherit; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><br style="box-sizing: inherit;"><a class="gallery-item" href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/iphone7.jpg" style="box-sizing: inherit; color: rgb(50, 115, 220);"><img src="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/iphone7.jpg" width="350" style="box-sizing: inherit; height: auto; max-width: 100%;"></a><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"></span></center><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">먼저, 우리가 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰7</code>이라는 것을 프로그램으로 구현하고 싶다면 제일 먼저 아이폰7이 무엇인지부터 정의해야한다. 너무 어렵게 생각할 필요없다. 진짜로 프로그램을 짜는 것이 아니기 때문에 대충 정의해도 된다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">필자가 지금 바로 생각해낸 아이폰7은 약간 동글동글한 바디를 가지고 있고 햅틱 엔진이 내장된 홈 버튼을 가지고 있으며, 시리즈 최초로 3.5mm 이어폰 단자가 없어진 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰</code> 시리즈라는 것이다.<small style="box-sizing: inherit; font-size: 0.875em;">(개인적으로 이어폰 단자 좀 다시 넣어줬으면 한다…)</small></span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">우리는 여기서 한발짝 더 나아가서 아이폰7의 상위 개념인 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰</code>에 대해서도 정의해볼 수 있다. 결국 아이폰7은 아이폰이라는 개념을 기반으로 확장된 개념이기 때문이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">그럼 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰</code>은 무엇일까? 아이폰은 애플에서 제조한 스마트폰으로, iOS를 사용하고 있는 스마트폰 시리즈의 명칭이다. 이때 아이폰은 아이폰7 외에도 아이폰X, 아이폰8, 아이폰 SE 등 수많은 아이폰 시리즈의 제품들을 포함하는 좀 더 포괄적인 개념이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">일상 속에서 우리가 친구한테 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">너 핸드폰 뭐 써?</code>라고 물어봤을 때 친구가 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰</code> 또는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">갤럭시</code>라고 대답하는 경우를 생각해보자. 이때 친구는 자신이 사용하는 스마트폰이 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰X</code>든 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">갤럭시 S10</code>이든 간에 무의식적으로 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰</code>이나 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">갤럭시</code>라는 좀 더 포괄적인 개념을 떠올리고 하위 개념들을 그룹핑한 것이다. 그 정도로 이런 접근 방법은 우리에게 이미 일상적이고 익숙한 방법이다. 어렵게 생각하지 말자.</span></p><center style="box-sizing: inherit; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><br style="box-sizing: inherit;"><a class="gallery-item" href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/iphones.jpg" style="box-sizing: inherit; color: rgb(50, 115, 220);"><img src="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/iphones.jpg" width="500" style="box-sizing: inherit; height: auto; max-width: 100%;"></a><br style="box-sizing: inherit;"><small style="box-sizing: inherit; font-size: 0.875em;">아이폰7의 상위 개념인 아이폰은 모든 아이폰을 포괄할 수 있는 개념이 된다.</small><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"></span></center><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">여기서 가장 중요한 점은 하위 개념인 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰7</code>은 상위 개념인 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰</code>의 특징을 모두 가지고 있다는 것이다. 마찬가지로 아이폰의 다른 하위 개념인 아이폰X이나 아이폰 SE와 같은 아이폰 시리즈들도 아이폰의 모든 특징을 가지고 있을 것이다. 여기서 끝내면 아쉬우니 한번만 더 해보도록 하자.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">아이폰의 상위 개념은 무엇일까? 아이폰은 애플에서 제조하고 iOS를 사용하는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">스마트폰</code>의 명칭이다. 즉, 아이폰의 상위 개념은 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">스마트폰</code>이라고 할 수 있다. 이때 스마트폰이라는 개념은 아이폰 뿐만 아니라 갤럭시, 샤오미, 베가와 같은 다른 스마트폰들까지 모두 포괄하는 개념일테고, 마찬가지로 이 스마트폰이라는 개념의 하위 개념들은 모두 스마트폰의 특징을 그대로 가지며 자신들만의 고유한 특징을 추가적으로 가질 수 있을 것이다.</span></p><center style="box-sizing: inherit; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><br style="box-sizing: inherit;"><a class="gallery-item" href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/smartphones.jpg" style="box-sizing: inherit; color: rgb(50, 115, 220);"><img src="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/smartphones.jpg" width="500" style="box-sizing: inherit; height: auto; max-width: 100%;"></a><br style="box-sizing: inherit;"><small style="box-sizing: inherit; font-size: 0.875em;">스마트폰이라는 개념은 아이폰, 갤럭시, 샤오미 등 모든 스마트폰을 포괄할 수 있는 개념이 된다.</small><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"></span></center><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이런 식으로 우리는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰7</code>이라는 개념에서 출발하여 계속해서 상위 개념을 정의해나갈 수 있다.</span></p><blockquote style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 1.25em 1.5em; background-color: whitesmoke; border-left-color: rgb(219, 219, 219); color: rgb(74, 74, 74); font-size: 15.4px;"><p style="box-sizing: inherit; padding: 0px;"><span style="font-family: Tahoma;">아이폰7 -> 아이폰 -> 스마트폰 -> 휴대전화 -> 무선 전화기 -> 전화기 -> 통신 기기 -> 기계…</span></p></blockquote><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">결국 이렇게 상위 개념을 추적해나가면서 설계하는 것이 OOP의 기초이고, 이때 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰7</code>, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">아이폰</code>과 같은 개념들을 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">클래스(Class)</code>라고 부르는 것이다. 그리고 방금 했던 것처럼 상위 개념을 만들어나가는 행위 자체를 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">추상화(Abstraction)</code>라고 한다. 추상화는 밑에서 다시 한번 설명할테니 일단 지금은 클래스라는 개념만 기억하도록 하자.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">그럼 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">객체(Object)</code>는 무엇일까? 필자는 방금 클래스를 설명하면서 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">개념</code>이라는 단어를 굉장히 많이 사용했다. 말 그대로 클래스의 역할은 어떠한 개념을 의미하는 것이다. 하지만 개념이라는 것 그 자체 만으로는 현실의 물건이 될 수는 없는 법이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">잘 생각해보면 아이폰7이라는 것 또한 그냥 어떠한 제품 라인의 이름이다. 어떤 고유한 물건의 이름이 아니라는 것이다. 여기서 필자가 말하는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">고유하다</code>라는 의미는 전 세계에 단 한개만 존재하는 수준의 고유함이다. 당장 내 아이폰7과 친구의 아이폰7만 봐도 실제로는 다른 아이폰7이지 않은가?</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">즉, 아이폰7이라는 클래스는 어떠한 실체가 있는 게 아니라는 것이다. 아이폰7 클래스에는 CPU, 디스플레이 해상도, 메모리와 같은 사양이 정의되어 있을 것이고 이를 기반으로 공장에서 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">실제 아이폰7</code>을 찍어내고 일련번호를 부여한 후 출고하고나면 그제서야 우리 손에 잡을 수 있는 물건인 아이폰7이 되는 것이다. 이때 생산된 아이폰7에는 고유한 ID인 일련번호가 부여되었기 때문에 우리는 전 세계에 일련번호가 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">1234</code>인 아이폰7은 단 하나밖에 없다는 사실을 알 수 있다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이때 이렇게 생산된 아이폰7들을 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">객체</code>라고 할 수 있다.</span></p><blockquote style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 1.25em 1.5em; background-color: whitesmoke; border-left-color: rgb(219, 219, 219); color: rgb(74, 74, 74); font-size: 15.4px;"><p style="box-sizing: inherit; padding: 0px;"><span style="font-family: Tahoma;">즉, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">클래스</code>는 일종의 설계도이고 이것을 사용하여 우리가 사용할 수 있는 실제 물건으로 만들어내는 행위가 반드시 필요하다. 그리고 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">객체</code>는 클래스를 사용하여 생성한 실제 물건이다.</span></p></blockquote><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이러한 OOP의 설계 접근 방식으로 우리의 일상 속에 보이는 대부분의 개념들을 추상화할 수 있는데, 그냥 평소에 보이는 모든 것들을 이렇게 추상화해보는 연습을 하면 나름 재미도 있다. 몇가지 예를 들어보겠다.</span></p><hr style="box-sizing: inherit; margin: 1.5rem 0px; padding: 0px; background-color: whitesmoke; border-width: initial; border-style: none; border-top-color: initial; height: 2px; color: rgb(74, 74, 74); font-size: 15.4px;"><ul style="box-sizing: inherit; margin: 1em 0px 1em 2em; padding: 0px; list-style-position: outside; list-style-image: initial; color: rgb(74, 74, 74); font-size: 15.4px;"><li style="box-sizing: inherit; margin: 0px; padding: 0px;"><span style="font-family: Tahoma;">소나타 -> 중형 세단 -> 세단 -> 자동차 -> 이동수단</span></li><li style="box-sizing: inherit; margin: 0.25em 0px 0px; padding: 0px;"><span style="font-family: Tahoma;">문동욱 -> 남자 -> 인간 -> 영장류 -> 포유류 -> 동물</span></li><li style="box-sizing: inherit; margin: 0.25em 0px 0px; padding: 0px;"><span style="font-family: Tahoma;">오버워치 -> 블리자드가 만든 FPS 게임 -> FPS 게임 -> 게임</span></li></ul><hr style="box-sizing: inherit; margin: 1.5rem 0px; padding: 0px; background-color: whitesmoke; border-width: initial; border-style: none; border-top-color: initial; height: 2px; color: rgb(74, 74, 74); font-size: 15.4px;"><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">실제로 우리 일상 속에 존재하는 거의 대부분의 개념은 이런 추상화 기법으로 어느 정도 정리할 수 있다. 눈에 보이는 생활 속의 물건들을 추상화 해보는 것은 따로 시간을 내지 않아도 일상 속에서 할 수 있는 좋은 연습 방법이니 한번 해보기를 추천한다. 이 방법이 익숙해지면 카페에 가서 커피를 마시면서도 머릿 속에서 작은 카페를 만들어 볼 수도 있다.<small style="box-sizing: inherit; font-size: 0.875em;">(데이트 할때는 하지 맙시다)</small></span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">결국 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">객체 지향</code>이라는 말의 의미는 이렇게 클래스를 사용하여 추상적인 개념들을 정의하고, 그 클래스를 사용하여 실제로 사용할 객체를 만들어냄으로써 현실 세계의 모든 것을 표현할 수 있다는 것에서 출발하는 것이다.</span></p><h3 id="추상화에-대해서-조금-더-깊이-생각해보자" style="box-sizing: inherit; margin: 1.3333em 0px 0.6666em; padding: 0px; font-size: 1.25em; font-weight: 700; color: rgb(54, 54, 54); line-height: 1.125;"><span style="font-family: Tahoma;"><a href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/#%EC%B6%94%EC%83%81%ED%99%94%EC%97%90-%EB%8C%80%ED%95%B4%EC%84%9C-%EC%A1%B0%EA%B8%88-%EB%8D%94-%EA%B9%8A%EC%9D%B4-%EC%83%9D%EA%B0%81%ED%95%B4%EB%B3%B4%EC%9E%90" class="headerlink" title="추상화에 대해서 조금 더 깊이 생각해보자" style="box-sizing: inherit; color: rgb(50, 115, 220);"></a>추상화에 대해서 조금 더 깊이 생각해보자</span></h3><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">방금 우리는 아이폰7부터 시작해서 상위 개념을 이끌어내는 간단한 추상화를 경험해보았다. 하지만 우리가 방금 저 예시를 진행할 때는 그렇게까지 깊은 고민이 없었을 것이다. 왜냐면 아이폰이나 스마트폰 같은 개념은 이미 우리에게 상당히 친숙한 개념이기 때문에 깊이 고민할 필요없이 이미 여러분의 머릿속에 어느 정도 추상화가 되어 정리된 상태였기 때문이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">하지만 실제로 프로그램 설계에 OOP를 사용할 때에는 우리에게 친숙한 아이폰과 같은 개념을 사용하는 것이 아니라 개발자가 이 개념 자체부터 정의해야하는 경우가 많다. 이때 추상화가 어떤 것인지 정확히 이해하고 있지 않다면 자칫 이상한 방향으로 클래스를 설계할 수 있기 때문에 정확히 추상화가 무엇인지 짚고 넘어가도록 하겠다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">추상</code>이라는 단어의 뜻부터 한번 생각해보자. <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">추상</code>은 어떠한 존재가 가지고 있는 여러가지의 속성 중에서 특정한 속성을 가려내어 포착하는 것을 의미한다. 대표적인 추상파 화가 중 한명인 피카소가 소를 점점 추상화하며 그려가는 과정을 한번 살펴보면 추상화가 어떤 것인지 조금 더 이해가 된다.</span></p><center style="box-sizing: inherit; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><br style="box-sizing: inherit;"><a class="gallery-item" href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/picasso_bull.jpg" style="box-sizing: inherit; color: rgb(50, 115, 220);"><img src="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/picasso_bull.jpg" width="500" style="box-sizing: inherit; height: auto; max-width: 100%;"></a><br style="box-sizing: inherit;"><small style="box-sizing: inherit; font-size: 0.875em;">피카소가 소를 추상화하는 과정</small><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"></span></center><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이렇듯, 추상화라는 것은 그 존재가 가지고 있는 가장 특징적인 속성들을 파악해나가는 것을 의미한다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">우리가 방금 전 아이폰7의 상위 개념인 아이폰을 떠올리게 되는 과정은 꽤나 직관적으로 진행되었지만 사실 추상화를 그렇게 직관적으로 접근하려고 하면 더 방향을 잡기가 힘들다. 원래대로라면 아이폰이라는 상위 개념을 만들고자 했을 때 아이폰7 뿐만이 아니라 다른 아이폰 시리즈들까지 모두 포함할 수 있는 아이폰들의 공통된 특성을 먼저 찾는 것이 올바른 순서이다. 이렇게 만들어진 올바른 상위 개념의 속성은 그 개념의 하위 개념들에게 공통적으로 적용할 수 있는 속성이 된다.</span></p><blockquote style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 1.25em 1.5em; background-color: whitesmoke; border-left-color: rgb(219, 219, 219); color: rgb(74, 74, 74); font-size: 15.4px;"><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px;"><span style="font-family: Tahoma;"><span style="box-sizing: inherit; color: rgb(54, 54, 54); font-weight: 700;">상위 개념</span><br style="box-sizing: inherit;">아이폰: 애플에서 만든 iOS 기반의 스마트폰</span></p><p style="box-sizing: inherit; padding: 0px;"><span style="font-family: Tahoma;"><span style="box-sizing: inherit; color: rgb(54, 54, 54); font-weight: 700;">아이폰 클래스 기반의 하위 개념</span><br style="box-sizing: inherit;">아이폰X: 애플에서 만든 iOS 기반의 스마트폰이며, 홈 버튼이 없고 베젤리스 디자인이 적용된 아이폰<br style="box-sizing: inherit;">아이폰7: 애플에서 만든 iOS 기반의 스마트폰이며, 햅틱 엔진이 내장된 홈 버튼을 가지고 있는 아이폰.<br style="box-sizing: inherit;">아이폰 SE: 애플에서 만든 iOS 기반의 스마트폰이며, 사이즈가 작아서 한 손에 잡을 수 있는 아이폰.</span></p></blockquote><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이 예시에서 볼 수 있듯이 하위 개념들은 상위 개념이 가지고 있는 모든 속성을 그대로 물려받는데, 그래서 이 과정을 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">상속(Inheritance)</code>이라고 한다. 이 상속에 관해서는 밑에서 다시 자세하게 살펴보도록 하겠다.</span></p><h2 id="객체-지향-프로그래밍의-3대장" style="box-sizing: inherit; margin: 1.1428em 0px 0.5714em; padding: 0px; font-size: 1.5em; font-weight: 700; color: rgb(54, 54, 54); line-height: 1.125;"><span style="font-family: Tahoma;"><a href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/#%EA%B0%9D%EC%B2%B4-%EC%A7%80%ED%96%A5-%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D%EC%9D%98-3%EB%8C%80%EC%9E%A5" class="headerlink" title="객체 지향 프로그래밍의 3대장" style="box-sizing: inherit; color: rgb(50, 115, 220);"></a>객체 지향 프로그래밍의 3대장</span></h2><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">방금까지 설명한 클래스, 객체, 추상화는 OOP를 이루는 근본적인 개념들이다. 필자는 여기서 좀 더 나아가서 OOP를 지원하는 언어들이 기본적으로 갖추고 있는 몇가지 개념을 더 설명하려고 한다. OOP는 그 특성 상 클래스와 객체를 기반으로 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">조립</code>하는 형태로 프로그램을 설계하게 되는데 이때 이 조립을 더 원활하게 하기 위해서 나온 유용한 몇가지 개념들이 있다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">하지만 이 개념들은 JavaScript에는 구현되지 않은 개념도 있으므로 이번에는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Java</code>를 사용해서 예제를 진행하도록 하겠다. 단편적인 문법만 보면 그렇게 이질감 느껴질 정도로 차이가 크지 않기 때문에 JavaScript만 하셨던 분들도 아마 금방 이해할 수 있을 것이다. 참고로 TypeScript도 OOP를 지원하기는 하지만 이거 세팅하는 것보다 그냥 Java 컴파일하는게 편하기 때문에 Java로 간다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">그럼 이제 객체 지향의 3대장이라고 불리는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">상속</code>과 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">캡슐화</code>, 그리고 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">다형성</code>에 대해서 간단하게 알아보도록 하자.</span></p><h3 id="상속" style="box-sizing: inherit; margin: 1.3333em 0px 0.6666em; padding: 0px; font-size: 1.25em; font-weight: 700; color: rgb(54, 54, 54); line-height: 1.125;"><span style="font-family: Tahoma;"><a href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/#%EC%83%81%EC%86%8D" class="headerlink" title="상속" style="box-sizing: inherit; color: rgb(50, 115, 220);"></a>상속</span></h3><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">상속(Inheritance)</code>은 방금 전 추상화에 대한 설명을 진행하면서 한번 짚고 넘어갔던 개념이다. OOP를 제공하는 많은 프로그래밍 언어에서 상속은 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">extends</code>라는 예약어로 표현되는데, 하위 개념 입장에서 보면 상위 개념의 속성을 물려받는 것이지만 반대로 상위 개념 입장에서 보면 자신의 속성들이 하위 개념으로 넘어가면서 확장되는 것이므로 이 말도 맞다. 그럼 이제 상속이 어떻게 이루어지는지 코드로 살펴보도록 하자.</span></p><figure class="highlight java hljs" id="code-156705476012585" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">9</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">10</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">11</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">12</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">13</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">14</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">15</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">16</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">17</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">18</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">IPhone</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> String manufacturer = <span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"apple"</span>;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> String os = <span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"iOS"</span>;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> </span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">IPhone7</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">IPhone</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> version = <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">7</span>;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> </span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Main</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">static</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">main</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(String[] args)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> IPhone7 myIPhone7 = <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">new</span> IPhone7();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(myIPhone7.manufacturer);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(myIPhone7.os);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(myIPhone7.version);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><figure class="highlight plain hljs" id="code-1567054760126532" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">apple</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">iOS</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">IPhone7</code> 클래스를 생성할 때 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">extends</code> 예약어를 사용하여 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">IPhone</code> 클래스를 상속받았다. <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">IPhone7</code> 클래스에는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">manufacturer</code>와 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">os</code>속성이 명시적으로 선언되지 않았지만 부모 클래스인 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">IPhone</code> 클래스의 속성을 그대로 물려받은 것을 볼 수 있다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">마찬가지로 이 상황에서 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">IPhoneX</code> 클래스를 새로 만들어야 할때도 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">IPhone</code> 클래스를 그대로 다시 사용할 수 있다.</span></p><figure class="highlight java hljs" id="code-1567054760126940" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">IPhoneX</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">IPhone</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> version = <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">10</span>;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">즉, 추상화가 잘된 클래스를 하나만 만들어놓는다면 그와 비슷한 속성이 필요한 다른 클래스를 생성할 때 그대로 재사용할 수 있다는 말이다. 그리고 만약 아이폰 시리즈 전체에 걸친 변경사항이 생겼을 때도 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">IPhone7</code>, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">IPhoneX</code>와 같은 클래스는 건드릴 필요없이 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">IPhone</code> 클래스 하나만 고치면 이 클래스를 상속받은 모든 하위 클래스에도 자동으로 적용되므로 개발 기간도 단축시킬 수 있고 휴먼 에러가 발생할 확률도 줄일 수 있다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">하지만 여기서 만약 요구사항이 변경되어서 갤럭시 시리즈를 만들어야한다면 어떻게 될까? 갤럭시 시리즈는 iOS가 아니라 Android를 사용하고, 제조사도 애플이 아니라 삼성이기 때문에 우리가 방금 만든 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">IPhone</code> 클래스를 사용할 수는 없다. 이때 우리는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">IPhone</code> 클래스를 그대로 냅두고 그냥 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Galaxy</code> 클래스를 새로 만들 수도 있지만 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">SmartPhone</code>이라는 한단계 더 상위 개념을 만드는 방향으로 가닥을 잡을 수도 있다.</span></p><figure class="highlight java hljs" id="code-1567054760126671" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">9</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">10</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">11</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">12</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">13</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">14</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">15</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">16</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">17</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">18</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">19</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">20</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">21</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">22</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">23</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">24</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">SmartPhone</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> SmartPhone (String manufacturer, String os) {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">this</span>.manufacturer = manufacturer;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">this</span>.os = os;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">IPhone</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">SmartPhone</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> IPhone () {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">super</span>(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"apple"</span>, <span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"iOS"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Galaxy</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">SmartPhone</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Galaxy () {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">super</span>(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"samsung"</span>, <span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"android"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> </span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">IPhone7</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">IPhone</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> version = <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">7</span>;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">GalaxyS10</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Galaxy</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> String version = <span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"s10"</span>;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">위의 코드에서 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">super</code> 메소드는 부모 클래스의 생성자를 호출하는 메소드이다. 부모 클래스를 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Super Class</code>, 자식 클래스를 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Sub Class</code>라고 부르기도 하기 때문에 부모와 관련된 키워드 역시 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">super</code>를 사용하는 것이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">그리고 이때 자식 클래스인 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">IPhone7</code>이나 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">GalaxyS10</code> 클래스가 부모 클래스의 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">manufacturer</code>나 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">os</code> 속성을 덮어쓰게 할 수도 있는데, 이러한 작업을 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">오버라이딩(Overriding)</code>이라고 한다. 안드로이드 개발을 하다보면 밥먹듯이 쓰는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">@Override</code> 데코레이터도 부모 클래스의 메소드를 덮어쓰는 방식으로 세부 구현을 진행하는 것이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이러한 OOP의 클래스 의존관계는 클래스의 재사용성을 높혀주는 방법이기도 하지만, 너무 클래스의 상속 관계가 복잡해지게 되면 개발자가 전체 구조를 파악하기가 힘들다는 단점도 가지고 있으므로 개발자가 확실한 의도를 가지고 적당한 선에서 상속 관계를 설계하는 것이 중요하다.<small style="box-sizing: inherit; font-size: 0.875em;">(근데 이 적당한 선의 기준이 개발자마다 다 다르다는 게 함정)</small></span></p><h3 id="캡슐화" style="box-sizing: inherit; margin: 1.3333em 0px 0.6666em; padding: 0px; font-size: 1.25em; font-weight: 700; color: rgb(54, 54, 54); line-height: 1.125;"><span style="font-family: Tahoma;"><a href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/#%EC%BA%A1%EC%8A%90%ED%99%94" class="headerlink" title="캡슐화" style="box-sizing: inherit; color: rgb(50, 115, 220);"></a>캡슐화</span></h3><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">캡슐화(Encapsulation)</code>는 어떠한 클래스를 사용할 때 내부 동작이 어떻게 돌아가는지 모르더라도 사용법만 알면 쓸 수 있도록 클래스 내부를 감추는 기법이다. 클래스를 캡슐화 함으로써 클래스를 사용하는 쪽에서는 머리 아프게 해당 클래스의 내부 로직을 파악할 필요가 없어진다. 또한 클래스 내에서 사용되는 변수나 메소드를 원하는 대로 감출 수 있기 때문에 필요 이상의 변수나 메소드가 클래스 외부로 노출되는 것을 방어햐여 보안도 챙길 수 있다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이렇게 클래스 내부의 데이터를 감추는 것을 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">정보 은닉(Information Hiding)</code>이라고 하며, 보통 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">public</code>, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">private</code>, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">protected</code> 같은 접근제한자를 사용하여 원하는 정보를 감추거나 노출시킬 수 있다.</span></p><figure class="highlight java hljs" id="code-1567054760126961" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><figcaption style="box-sizing: inherit; background: rgba(200, 200, 200, 0.15); padding: 0.3em 0.75em; text-align: left; font-size: 0.8em;"><span style="box-sizing: inherit; font-style: inherit; font-family: Tahoma;">Capsulation.java</span></figcaption><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">9</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">10</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">11</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Person</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> String name;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">private</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> age;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">protected</span> String address;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">Person</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(String name, <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> age, String address)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">this</span>.name = name;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">this</span>.age = age;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">this</span>.address = address;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">자 이렇게 간단한 클래스를 하나 만들어보았다. <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Person</code> 클래스는 생성자의 인자로 들어온 값들을 자신의 멤버 변수에 할당하는데, 이 멤버 변수들은 각각 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">public</code>, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">private</code>, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">protected</code>의 접근제한자를 가지고 있는 친구들이다. 그럼 한번 객체를 생성해보고 이 친구들의 멤버 변수에 접근이 가능한지를 알아보자.</span></p><figure class="highlight java hljs" id="code-156705476012624" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><figcaption style="box-sizing: inherit; background: rgba(200, 200, 200, 0.15); padding: 0.3em 0.75em; text-align: left; font-size: 0.8em;"><span style="box-sizing: inherit; font-style: inherit; font-family: Tahoma;">Capsulation.java</span></figcaption><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">CapsulationTest</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">static</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">main</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(String[] args)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Person evan = <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">new</span> Person(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"Evan"</span>, <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">29</span>, <span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"Seoul"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(evan.name);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(evan.age);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(evan.address);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">자, 여기까지 직접 작성해보면 알겠지만 Java는 컴파일 언어이기 때문에 굳이 실행시켜보지 않더라도 IDE에서 이미 알아서 다 분석을 끝내고 빨간줄을 쫙쫙 그어주었을 것이다.</span></p><center style="box-sizing: inherit; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><br style="box-sizing: inherit;"><a class="gallery-item" href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/private_error.png" style="box-sizing: inherit; color: rgb(50, 115, 220);"><img src="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/private_error.png" width="500" style="box-sizing: inherit; height: auto; max-width: 100%;"></a><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"></span></center><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">에러가 난 부분은 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">private</code> 접근제한자를 사용한 멤버변수인 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">age</code>이다. 이처럼 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">private</code> 접근제한자를 사용하여 선언된 멤버 변수나 메소드는 클래스 내부에서만 사용될 수 있고 외부로는 아예 노출 자체가 되지 않는다. <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">public</code>과 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">protected</code>를 사용하여 선언한 멤버 변수인 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">name</code>과 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">address</code>는 정상적으로 접근이 가능한 상태이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">public</code> 같은 경우는 이름만 봐도 클래스 외부에서 마음대로 접근할 수 있도록 열어주는 접근제한자라는 것을 알 수 있지만, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">protected</code>가 접근이 가능한 것은 조금 이상하다. 이름만 보면 왠지 이 친구도 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">private</code>처럼 접근이 막혀야할 것 같은데 왜 외부에서 접근이 가능한 것일까?</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">protected</code> 접근제한자는 해당 클래스를 상속받은 클래스와 같은 패키지 안에 있는 클래스가 아니면 모두 접근을 막는 접근제한자인데, 위의 예시의 경우 필자는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Person</code> 클래스와 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">CapsulationTest</code> 클래스를 같은 파일에 선언했으므로 같은 패키지로 인식되어 접근이 가능했던 것이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">그럼 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Person</code> 클래스를 다른 패키지로 분리해내면 어떻게 될까? 테스트 해보기 위해 먼저 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">MyPacks</code>라는 디렉토리를 생성하고 그 안에 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Person.java</code> 파일을 따로 분리하여 별도의 패키지로 선언해주겠다.</span></p><figure class="highlight java hljs" id="code-1567054760126263" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><figcaption style="box-sizing: inherit; background: rgba(200, 200, 200, 0.15); padding: 0.3em 0.75em; text-align: left; font-size: 0.8em;"><span style="box-sizing: inherit; font-style: inherit; font-family: Tahoma;">MyPacks/Person.java</span></figcaption><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">9</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">10</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">11</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">12</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">13</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">package</span> MyPacks;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Person</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> String name;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">private</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> age;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">protected</span> String address;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">Person</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(String name, <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> age, String address)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">this</span>.name = name;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">this</span>.age = age;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">this</span>.address = address;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><figure class="highlight java hljs" id="code-1567054760127413" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><figcaption style="box-sizing: inherit; background: rgba(200, 200, 200, 0.15); padding: 0.3em 0.75em; text-align: left; font-size: 0.8em;"><span style="box-sizing: inherit; font-style: inherit; font-family: Tahoma;">Capsulation.java</span></figcaption><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">9</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">import</span> MyPacks.Person;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">CapsulationTest</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">static</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">main</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(String[] args)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Person evan = <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">new</span> Person(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"Evan"</span>, <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">29</span>, <span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"Seoul"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(evan.name);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(evan.address);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이렇게 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Person</code> 클래스를 별도의 패키지로 분리하면 이제 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">evan.address</code>에도 빨간 줄이 쫙 그어진다.</span></p><center style="box-sizing: inherit; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><br style="box-sizing: inherit;"><a class="gallery-item" href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/protected_error.png" style="box-sizing: inherit; color: rgb(50, 115, 220);"><img src="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/protected_error.png" width="500" style="box-sizing: inherit; height: auto; max-width: 100%;"></a><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"></span></center><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이렇게 외부 패키지로 불러온 클래스 내부 내의 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">protected</code> 멤버 변수나 메소드에는 바로 접근할 수 없다. 그러나 Person 클래스를 상속한다면 외부 패키지인지 아닌지 여부와 상관 없이 자식 클래스 내에서는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">protected</code> 멤버에 접근이 가능하다.</span></p><figure class="highlight java hljs" id="code-1567054760127942" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><figcaption style="box-sizing: inherit; background: rgba(200, 200, 200, 0.15); padding: 0.3em 0.75em; text-align: left; font-size: 0.8em;"><span style="box-sizing: inherit; font-style: inherit; font-family: Tahoma;">Capsulation.java</span></figcaption><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">9</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">10</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">11</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">12</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">13</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">14</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">15</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">import</span> MyPacks.Person;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">CapsulationTest</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">static</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">main</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(String[] args)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Evan evan = <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">new</span> Evan();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Evan</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Person</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Evan () {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">super</span>(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"Evan"</span>, <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">29</span>, <span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"Seoul"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(<span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">this</span>.address);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(<span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">super</span>.address);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><figure class="highlight plain hljs" id="code-1567054760127577" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">Seoul</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">Seoul</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">접근제한자는 Java 뿐만 아니라 TypeScript, Ruby, C++ 등과 같이 OOP를 지원하는 많은 프로그래밍 언어들도 가지고 있는 기능이므로 이 개념을 잘 알아두면 클래스를 설계할 때 원하는 정보만 노출시키고 원하지 않는 정보는 감추는 방법을 사용하여 보안도 지킬 수 있고 클래스를 가져다 쓰는 사용자로 하여금 쓸데없는 고민을 안하게 해줄 수도 있다.</span></p><h3 id="다형성" style="box-sizing: inherit; margin: 1.3333em 0px 0.6666em; padding: 0px; font-size: 1.25em; font-weight: 700; color: rgb(54, 54, 54); line-height: 1.125;"><span style="font-family: Tahoma;"><a href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/#%EB%8B%A4%ED%98%95%EC%84%B1" class="headerlink" title="다형성" style="box-sizing: inherit; color: rgb(50, 115, 220);"></a>다형성</span></h3><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">다형성(Polymorphism)</code>은 어떤 하나의 변수명이나 함수명이 상황에 따라서 다르게 해석될 수 있는 것을 의미한다. 다형성은 어떤 한가지 기능을 의미하는 것이 아니라 개념이기 때문에 여러가지 방법으로 표현할 수 있다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">Java에서 다형성을 위한 대표적인 기능은 바로 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">추상 클래스(Abstract Class)</code>와 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">인터페이스(Interface)</code>, 그리고 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Overloading</code>이 있다. 추상 클래스와 인터페이스는 사실 그 용도가 조금 다르지만 필자가 예로 들 간단한 예시에서는 그 차이를 크게 느끼기 힘들기도 하고 무엇보다 이 포스팅은 Java 포스팅이 아니라 단순히 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">다형성</code>을 설명하기 위함이므로 필자는 이 중 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">추상 클래스</code>만을 사용할 것이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">그럼 이 기능들이 어떤 역할을 하는 지 살펴보면서 다형성이 무엇인가를 좀 더 자세히 알아보도록 하자. 먼저, 추상 클래스를 사용하여 다형성을 만족시키는 예시를 먼저 설명할텐데, 사실 다형성이라는 단어를 모르고 있던 분들이라도 자신도 모르게 이런 설계 패턴을 사용하고 있었을 수도 있을 정도로 기본적인 예시이다.</span></p><h4 id="추상-클래스를-사용한-다형성-구현" style="box-sizing: inherit; margin: 0px 0px 0.8em; padding: 0px; font-size: 1.125em; font-weight: 700; color: rgb(54, 54, 54); line-height: 1.125;"><span style="font-family: Tahoma;"><a href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/#%EC%B6%94%EC%83%81-%ED%81%B4%EB%9E%98%EC%8A%A4%EB%A5%BC-%EC%82%AC%EC%9A%A9%ED%95%9C-%EB%8B%A4%ED%98%95%EC%84%B1-%EA%B5%AC%ED%98%84" class="headerlink" title="추상 클래스를 사용한 다형성 구현" style="box-sizing: inherit; color: rgb(50, 115, 220);"></a>추상 클래스를 사용한 다형성 구현</span></h4><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">추상 클래스는 Java에서 다형성을 만족시키기 위해 자주 사용되는 대표적인 기능이다. 말로만 설명하면 재미가 없으니 한번 코드를 직접 눈으로 보는 것이 좋은데, 필자는 오버워치를 좋아하기 때문에 추상 클래스에 대한 예시도 오버워치를 가져와서 설명하겠다.</span></p><center style="box-sizing: inherit; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><br style="box-sizing: inherit;"><a class="gallery-item" href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/overwatch.jpg" style="box-sizing: inherit; color: rgb(50, 115, 220);"><img src="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/overwatch.jpg" width="500" style="box-sizing: inherit; height: auto; max-width: 100%;"></a><br style="box-sizing: inherit;"><small style="box-sizing: inherit; font-size: 0.875em;">갓겜 고오급 시계</small><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"></span></center><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">자, 필자는 이제 오버워치의 여러 영웅들을 클래스로 만드려고 한다. 오버워치의 영웅들은 공통적으로 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">궁극기 게이지가 찼을 때 Q 버튼을 누르면 궁극기가 발동된다</code>라는 기능을 가지고 있다. 하지만 오버워치의 영웅들은 각자 특색에 맞게 다른 궁극기를 가지고 있는데, 라인하르트는 망치를 내리치며 다른 영웅들을 기절시키고 맥크리는 시야에 보이는 여러 영웅에게 동시에 헤드샷을 날릴 수 있으며 메이는 로봇을 던져서 일정 범위 안의 영웅들을 얼린다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이런 경우 다형성을 가지지 않은 오버워치 영웅 클래스는 다음과 같은 모습을 보일 것이다.</span></p><figure class="highlight java hljs" id="code-1567054760127377" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">9</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">10</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">11</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">12</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">13</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">14</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">15</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">16</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">17</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">18</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">19</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">20</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">21</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">22</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">23</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">24</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">25</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">26</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">27</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">28</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">29</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">30</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">31</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">32</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">33</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">34</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Hero</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> String name;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Hero (String name) {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">this</span>.name = name;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Reinhardt</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Hero</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Reinhardt () {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">super</span>(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"reinhardt"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">attackHammer</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">()</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"망치 나가신다!"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">McCree</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Hero</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> McCree () {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">super</span>(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"mccree"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">attackGun</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">()</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"석양이 진다. 빵야빵야"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Mei</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Hero</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Mei () {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">super</span>(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"mei"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">throwRobot</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">()</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"꼼짝 마! 움직이지 마세요!"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이때 만약 우리가 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Hero</code> 클래스를 상속받은 영웅 클래스들의 궁극기를 발동시키고 싶다면 어떻게 해야할까? 안봐도 뻔하겠지만 눈물나는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">if</code>문 또는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">switch</code>문의 향연이 펼쳐질 것이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">모든 영웅들의 궁극기 발동 메소드의 이름이 다르기 때문에 달리 방도가 없다. 그리고 추가적으로 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Hero</code> 클래스에는 궁극기 발동 메소드가 없기 때문에 객체를 해당 영웅의 클래스로 형변환 해줘야하는 불편한 작업도 해야한다.</span></p><figure class="highlight java hljs" id="code-1567054760127747" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">9</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">10</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">11</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">12</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">13</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">14</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">15</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">16</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">17</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">18</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">19</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">20</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">21</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">22</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">23</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">24</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">25</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">26</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Main</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">static</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">main</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(String[] args)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Mei myMei = <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">new</span> Mei();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Reinhardt myReinhardt = <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">new</span> Reinhardt();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> McCree myMcCree = <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">new</span> McCree();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Main.doUltimate(myMei);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Main.doUltimate(myReinhardt);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Main.doUltimate(myMcCree);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">static</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">doUltimate</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(Hero hero)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">if</span> (hero <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">instanceof</span> Reinhardt) {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Reinhardt myHero = (Reinhardt)hero;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> myHero.attackHammer();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">else</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">if</span> (hero <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">instanceof</span> McCree) {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> McCree myHero = (McCree)hero;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> myHero.attackGun();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">else</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">if</span> (hero <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">instanceof</span> Mei) {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Mei myHero = (Mei)hero;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> myHero.throwRobot();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><figure class="highlight plain hljs" id="code-1567054760127904" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">꼼짝 마! 움직이지 마세요!</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">망치 나가신다!</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">석양이 진다. 빵야빵야</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">여기에 영웅이 더 추가된다면 영웅의 종류 만큼 분기의 개수도 늘어날 것이고, 무엇보다 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Mei myHero = (Mei)hero</code>처럼 굳이 새로운 변수를 선언하면서 사용하고 있는 걸 보자니 마음이 한켠이 먹먹해져온다. 다형성은 바로 이럴 때 우리를 행복하게 만들어 줄 수 있는 단비와 같은 개념이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">자, 아까 위에서 필자는 다형성의 개념을 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">어떤 하나의 변수명이나 함수명이 상황에 따라서 다르게 해석될 수 있는 것</code>이라고 했다. 그렇다면 이 경우 우리는 영웅들의 궁극기 호출 메소드명을 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">ultimate</code>로 통일하되, 이 메소드를 호출했을 때 실행되는 코드는 영웅에 따라 달라지도록 만들면 다형성을 만족시킬 수 있는 것이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이런 경우 그냥 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Hero</code> 클래스를 상속받은 영웅 클래스들에게 직접 하나하나 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">ultimate</code>라는 메소드를 선언할 수도 있지만, 그렇게 되면 개발자가 실수할 확률이 존재한다.<small style="box-sizing: inherit; font-size: 0.875em;">(특히 오타로 인한 실수가 가장 많을 것이다)</small> 그래서 Java는 개발자가 특정 메소드를 강제로 구현하도록 만들어주는 기능을 제공한다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">그 기능이 바로 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">추상 클래스(Abstract Class)</code>와 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">인터페이스(Interface)</code>인 것이다. 필자는 위에서 한번 이야기 했듯이 이 중 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">추상 클래스</code>만을 사용하여 예제를 진행할 것이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">그래도 혹시 이 두 기능이 뭐가 다른지 궁금하신 분이 있을 것 같으니 최대한 간단히만 설명하고 넘어가자면, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">추상 클래스</code>는 어떤 클래스의 기능을 그대로 사용하면서 그 기능을 확장하고 싶을 때 사용하는 것이고 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">인터페이스</code>는 아무런 구현체가 없는 그냥 껍데기만 구현하는 것이다. 그렇기 때문에 인터페이스에는 자세한 메소드의 구현체가 들어갈 수 없지만 추상 클래스는 자체적인 메소드의 구현체를 가질 수도 있다.<small style="box-sizing: inherit; font-size: 0.875em;">(Java 8부터는 default 키워드를 사용하여 인터페이스에도 메소드 구현체를 넣을 수 있게 변경되긴했다. 덕분에 구분이 더 애매해짐.)</small></span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이 예제의 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Hero</code> 클래스는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">name</code> 멤버 변수를 생성자로부터 받아서 자신의 멤버 변수로 추가하는 기능을 가지고 있기 때문에 추상 클래스를 사용하는 것이 더 적절하다. 그럼 이제 추상 클래스를 사용하여 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">ultimate</code> 메소드의 구현을 강제해보도록 하자.</span></p><figure class="highlight java hljs" id="code-1567054760127928" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">9</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">10</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">11</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">12</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">13</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">14</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">15</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">16</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">17</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">18</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">19</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">20</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">21</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">22</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">23</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">24</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">25</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">26</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">27</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">28</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">29</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">30</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">31</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">32</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">33</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">34</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">35</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">36</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">37</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">abstract</span> <span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Hero</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> String name;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Hero (String name) {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">this</span>.name = name;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-comment" style="box-sizing: inherit; font-style: italic; font-weight: inherit; color: rgb(92, 99, 112);">// 내부 구현체가 없는 추상 메소드를 선언한다.</span></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">abstract</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">ultimate</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">()</span></span>;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Reinhardt</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Hero</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Reinhardt () {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">super</span>(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"reinhardt"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">ultimate</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">()</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"망치 나가신다!"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">McCree</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Hero</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> McCree () {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">super</span>(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"mccree"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">ultimate</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">()</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"석양이 진다. 빵야빵야"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Mei</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">extends</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Hero</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Mei () {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">super</span>(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"mei"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">ultimate</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">()</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"꼼짝 마! 움직이지 마세요!"</span>);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이렇게 추상 클래스인 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Hero</code>를 상속받은 영웅 클래스들은 무조건 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">ultimate</code> 메소드를 구현해야한다. 이렇게 메소드명이 통일되면 영웅 클래스를 가져다 쓰는 입장에서는 궁극기를 발동시키고 싶을 때 어떤 메소드를 호출해야할지 이제 더 이상 고민할 필요가 없다.</span></p><figure class="highlight java hljs" id="code-1567054760127224" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">9</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">10</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">11</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">12</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">13</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">14</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">15</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">16</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">17</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Main</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">static</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">main</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(String[] args)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Mei myMei = <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">new</span> Mei();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Reinhardt myReinhardt = <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">new</span> Reinhardt();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> McCree myMcCree = <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">new</span> McCree();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Main.doUltimate(myMei);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Main.doUltimate(myReinhardt);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Main.doUltimate(myMcCree);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">static</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">doUltimate</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(Hero hero)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-comment" style="box-sizing: inherit; font-style: italic; font-weight: inherit; color: rgb(92, 99, 112);">// Hero 클래스를 상속받은 클래스는</span></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-comment" style="box-sizing: inherit; font-style: italic; font-weight: inherit; color: rgb(92, 99, 112);">// 무조건 ultimate 메소드를 가지고 있다는 것이 보장된다.</span></span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> hero.ultimate();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">어떤가? 코드가 훨씬 심플해지지 않았는가? 추상 메소드를 사용하여 클래스 내부의 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">ultimate</code>라는 메소드의 구현을 강제했기 때문에 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Hero</code> 클래스를 상속받은 영웅 클래스에 해당 메소드가 없을 확률은 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">0%</code>이다. 그렇기 때문에 사용하는 입장에서는 깊은 고민없이 안심하고 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">ultimate</code> 메소드를 호출할 수 있다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">또한 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">ultimate</code> 메소드는 모든 영웅 클래스들이 가지고 있는 메소드이지만 내부 구현은 전부 다르기 때문에 발동하는 스킬 또한 영웅 별로 다르게 나올 것이다. 이런 것을 바로 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">다형성</code>이라고 하는 것이다.</span></p><h4 id="오버로딩을-사용한-다형성-구현" style="box-sizing: inherit; margin: 0px 0px 0.8em; padding: 0px; font-size: 1.125em; font-weight: 700; color: rgb(54, 54, 54); line-height: 1.125;"><span style="font-family: Tahoma;"><a href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/#%EC%98%A4%EB%B2%84%EB%A1%9C%EB%94%A9%EC%9D%84-%EC%82%AC%EC%9A%A9%ED%95%9C-%EB%8B%A4%ED%98%95%EC%84%B1-%EA%B5%AC%ED%98%84" class="headerlink" title="오버로딩을 사용한 다형성 구현" style="box-sizing: inherit; color: rgb(50, 115, 220);"></a>오버로딩을 사용한 다형성 구현</span></h4><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이번에는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">오버로딩(Overloading)</code>을 사용한 다형성의 예시를 한번 살펴보도록 하자. 위의 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">상속</code> 챕터에서 잠깐 언급하고 넘어간 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">오버라이딩(Overriding)</code>과 헷갈리지 말자.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">오버라이딩은 부모 클래스의 멤버 변수나 메소드를 덮어 씌우는 것이고, 오버로딩은 같은 이름의 메소드를 상황에 따라 다르게 사용할 수 있게 해주는 다형성을 위한 기능이다.<small style="box-sizing: inherit; font-size: 0.875em;">(필자는 학교에서 시험볼 때 자주 헷갈렸다)</small></span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">오버로딩은 생각보다 단순한 개념이지만, 만약 오버로딩을 지원하지 않는 언어인 JavaScipt나 Python을 주로 사용하는 개발자들에게는 나름 충공깽일 수 있다. 그 이유는 바로 오버로딩이 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">메소드의 인자로 어떤 것을 넘기냐에 따라서 이름만 같은 다른 메소드가 호출되는 기능</code>이기 때문이다.</span></p><center style="box-sizing: inherit; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><br style="box-sizing: inherit;"><a class="gallery-item" href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/dog_voice.gif" style="box-sizing: inherit; color: rgb(50, 115, 220);"><img src="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/dog_voice.gif" width="500" style="box-sizing: inherit; height: auto; max-width: 100%;"></a><br style="box-sizing: inherit;"><small style="box-sizing: inherit; font-size: 0.875em;">이게 뭔 개소리야?</small><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"></span></center><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">어떤 클래스가 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">sum</code>이라는 메소드를 가지고 있다고 생각해보자. 이때 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">sum</code>은 두 개의 인자를 받은 후 이 두 값을 합쳐서 리턴하는 내부 구조를 가지고 있다. 근데 만약 3개를 합치고 싶다면 어떻게 해야할까? 이런 경우에 JavaScript와 같이 오버로딩을 지원하지 않는 언어에서는 편법을 사용할 수 밖에 없다.</span></p><figure class="highlight js hljs" id="code-1567054760127512" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Calculator</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> sum (...args) {</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">return</span> args.reduce(<span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(<span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">prev, current</span>) =></span> prev + current);</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">const</span> c = <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">new</span> Calculator();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">c.sum(<span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">1</span>, <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">2</span>, <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">3</span>, <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">4</span>, <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">5</span>);</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><figure class="highlight js hljs" id="code-1567054760128427" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">15</span></span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">뭐 어쨌든 되긴 되니까 상관없다고 생각할 수 있지만, 이건 객체의 다형성이라기보다 그냥 JavaScript의 언어적인 특성을 사용하여 우회한 것에 불과하다. 이렇게 작성하면 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">두 개의 인자를 더해서 반환</code>하는 메소드에서 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">n개의 인자를 더해서 반환</code>하는 메소드로는 만들 수 있지만 객체의 다형성을 만족할 수는 없다. 이 메소드의 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">더한다</code>라는 기능 자체도 변경할 수 있어야 그제서야 다형성을 만족한다고 할 수 있는 것이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">반면, Java나 C++과 같은 언어에서는 제대로 다형성을 만족시킬 수 있는 오버로딩을 지원한다.</span></p><figure class="highlight java hljs" id="code-1567054760128850" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">9</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">10</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">11</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Overloading</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">sum</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(<span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> a, <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> b)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">return</span> a + b;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">sum</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(<span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> a, <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> b, <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">int</span> c)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">return</span> a + b + c;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> String <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">sum</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(String a, String b)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">return</span> a + b + <span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"입니다."</span>;</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">쨘, 간단한 클래스를 하나 선언하고 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">sum</code>이라는 메소드를 여러 개 선언했다. 만약 JavaScript에서 이렇게 선언했다가는 위에 선언된 두개의 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">sum</code>은 무시되고 맨 아래의 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">sum</code> 메소드로 덮어씌워지기 때문에 오버로딩을 할 수가 없다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">그리고 문자열을 인자로 받는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">sum</code> 메소드의 경우에는 문자열 맨 뒤에 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">입니다</code>도 붙히는 센스를 발휘하도록 만들어주었다. JavaScript에서는 이 동작을 구현하려면 반드시 타입을 체크하는 조건 분기문이 필요하지만 Java는 오버로딩을 지원하기 때문에 그럴 필요가 없다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">그럼 이제 한번 이 메소드들이 잘 작동하나 호출해보도록 하자.</span></p><figure class="highlight java hljs" id="code-1567054760128431" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">4</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">5</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">7</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">8</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"><span class="hljs-class" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">class</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(230, 192, 123);">Main</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> <span class="hljs-function" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;"><span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">public</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">static</span> <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">void</span> <span class="hljs-title" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(97, 174, 238);">main</span> <span class="hljs-params" style="box-sizing: inherit; font-style: inherit; font-weight: inherit;">(String[] args)</span> </span>{</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> Overloading o = <span class="hljs-keyword" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(198, 120, 221);">new</span> Overloading();</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(o.sum(<span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">1</span>, <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">2</span>));</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(o.sum(<span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">1</span>, <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">2</span>, <span class="hljs-number" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(209, 154, 102);">3</span>));</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> System.out.println(o.sum(<span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"자"</span>, <span class="hljs-string" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; color: rgb(152, 195, 121);">"바"</span>));</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;"> }</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">}</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><figure class="highlight plain hljs" id="code-1567054760128876" style="box-sizing: inherit; margin-top: 2em; margin-bottom: 1em; line-height:25px; padding: 0px; max-width: 100%; overflow-x: auto; overflow-y: hidden; color: rgb(171, 178, 191); background: rgb(40, 44, 52); text-align: center; width: 914.484px; position: relative; font-size: 15.4px;"><table style="box-sizing: inherit; width: auto;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit;"><td class="gutter" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: right; vertical-align: top; border: 0px solid rgb(219, 219, 219); background: rgba(200, 200, 200, 0.15);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">1</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">2</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"></span></pre></td><td class="code" style="box-sizing: inherit; padding: 0.5em 0.75em; text-align: left; vertical-align: top; border: 0px solid rgb(219, 219, 219);"><pre style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; -webkit-font-smoothing: auto; background: transparent; color: inherit; font-size: 0.85em; overflow: visible; word-wrap: normal; max-width: 100%;"><span style="font-family: Tahoma;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">3</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">6</span><br style="box-sizing: inherit;"><span class="line" style="box-sizing: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5rem;">자바입니다.</span><br style="box-sizing: inherit;"></span></pre></td></tr></tbody></table></figure><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">위의 예시에서 볼 수 있듯이 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Overloading</code> 클래스는 여러 개의 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">sum</code> 메소드를 가지고 있고, 메소드의 인자가 무엇인지에 따라서 이름만 동일한 다른 메소드들을 호출해주고 있다. 이것이 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">오버로딩</code>이며, Java에서 제공해주는 대표적인 다형성 지원 기능 중 하나이다.<small style="box-sizing: inherit; font-size: 0.875em;">(오버라이딩이랑 헷갈리지 말자!)</small></span></p><h2 id="마치며" style="box-sizing: inherit; margin: 1.1428em 0px 0.5714em; padding: 0px; font-size: 1.5em; font-weight: 700; color: rgb(54, 54, 54); line-height: 1.125;"><span style="font-family: Tahoma;"><a href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/#%EB%A7%88%EC%B9%98%EB%A9%B0" class="headerlink" title="마치며" style="box-sizing: inherit; color: rgb(50, 115, 220);"></a>마치며</span></h2><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">사실 이 포스팅을 작성할 때 생각했던 타겟 독자층은 컴퓨터 공학을 전공한 개발자들이 아니였다. 애초에 컴퓨터 공학을 전공하거나, 타 과라도 컴퓨터 공학 전공 수업을 들었던 사람들은 대부분 학교에서 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">객체 지향 프로그래밍</code>이라는 수업을 들어보았을 것이기 때문에 이 개념에 대해서 어느 정도 알고 있을 것이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">필자가 이 포스팅의 타겟으로 한 독자 층은 바로 학원이나 부트캠프에서 코딩을 처음 배우신지 얼마 안된 분들이다. 학원이나 부트캠프에서는 Java를 가르치는 경우가 아니라면 OOP에 대한 내용을 거의 언급하지 않고 넘어가는 경우가 많은 것으로 알고 있다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">사실 학교와 다르게 학원은 짧은 기간 안에 실무를 할 수 있는 인재를 양성하여 취업시키는 것이 목적인 기관이라는 점을 생각해보면 이해가 안가는 것도 아니지만, OOP는 Java에만 국한된 개념이 아니라 어떤 언어를 사용하더라도 적용할 수 있는 범용적인 프로그래밍 패러다임이기 때문에 이에 대한 내용을 가르치지 않는 것이 안타깝긴 하다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">참고로 필자는 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">OOP가 좋은 패러다임이니까 배워야 한다</code>라고 이야기하는 것이 아니다. 이 포스팅의 서두에서 한번 언급했듯이 전 세계에서 상당한 점유율을 차지하고 있는 메이저 언어인 <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Java</code>, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">Python</code>, <code style="box-sizing: inherit; -webkit-font-smoothing: auto; background: rgb(249, 241, 243); color: rgb(255, 56, 96); font-size: 0.85em; padding-top: 1px; padding-bottom: 1px;">C++</code>과 같은 언어들이 대부분 OOP를 기반으로 설계되었거나 OOP를 지원하기 때문에 2019년에 프로그래밍을 하는 개발자라면 좋든 싫든 OOP를 알고는 있어야 한다고 생각하기 때문에 OOP를 추천하는 것이다.</span></p><center style="box-sizing: inherit; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><br style="box-sizing: inherit;"><a class="gallery-item" href="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/language_index.png" style="box-sizing: inherit; color: rgb(50, 115, 220);"><img src="https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/language_index.png" style="box-sizing: inherit; height: auto; max-width: 100%;"></a><br style="box-sizing: inherit;"><small style="box-sizing: inherit; font-size: 0.875em;">TIOBE의 2019년 8월 전 세계 언어 순위</small><br style="box-sizing: inherit;"><small style="box-sizing: inherit; font-size: 0.875em;">C와 JavaScript, SQL을 제외한 모든 언어가 OOP를 사용한다.</small><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"><br style="box-sizing: inherit;"></span></center><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">어차피 프로그래밍 패러다임에는 정답이 없다. 선언적 프로그래밍이 좋은 것이냐, 명령적 프로그래밍이 좋은 것이냐라고 물어보면 쉽사리 대답할 수 없는 것 처럼 말이다. 그냥 우리는 어떤 패러다임이 어떤 방향을 추구하는지, 거기서 파생된 개념은 어떤 것들이 있는 지를 학습하고 각기 상황에 맞는 패러다임을 도입해서 사용하면 되는 것이다.</span></p><p style="box-sizing: inherit; margin-bottom: 1em; line-height:25px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">어쨌든 이 포스팅을 통해 혹시나 OOP를 모르고 있었거나, 아니면 너무 어렵게 느끼고 있던 분들이 좀 더 OOP를 친숙하게 받아들일 수 있기를 바라는 마음이다.</span></p><p style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;">이상으로 알고 보면 재밌는 객체 지향 프로그래밍, OOP 흝어보기 포스팅을 마친다.</span></p><p style="box-sizing: inherit; margin-bottom: 0px; padding: 0px; color: rgb(74, 74, 74); font-size: 15.4px;"><span style="font-family: Tahoma;"><br></span></p><p style="box-sizing: inherit; margin-bottom: 0px; padding: 0px;"><span style="color: rgb(74, 74, 74); font-size: 15.4px; font-family: Tahoma;">출처 : </span><span style="color: rgb(74, 74, 74); font-family: Tahoma; font-size: 15.4px;">https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/</span></p>
시놀로지 DS718+ 개봉 및 설치기
http://www.webprogramer.kr/blog/P000000384/post.do
<blockquote><p><span style="font-size: 24px; font-weight: bold; font-family: Tahoma;">시놀로지 DS718+ 개봉 및 설치기</span><br></p></blockquote><p><span style="font-weight: bold;"><span style="font-size: 18px;">날이 갈수록 쌓이는 데이터들</span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;">개인자료 및 사진 등등 디지털 데이터를 안전하게 보관하고</span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;">필요할때 어디서든 접근 해서 사용 하고싶다.</span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;">특히 저의 경우 가족 사진데이터관리가 안되고 있는 상황이다.</span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;">핸드폰, 데스크탑, 노트북, 외장하드, 기타드라이브 등에 산재되어 있는 자료들</span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;">이것들을 가족과 공유하면서 하나로 모아서 관리 하려다 보니 NAS가 필요했다.</span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;">시놀로지와 큐냅 고민 하다가 시놀로지를 선택했다.</span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;">구매한 모델은 DS718+ 2베이 제품</span></span></p><p><br></p><p><span style="font-size: 18px; font-weight: 700;">생각한것보다 아담한 사이즈</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/155108478029679060.jpg" data-filename="155108478029679060.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;">램업그레이드를 위해 저전력 4G메모리를 추가 구매</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1551084788284481832.jpg" data-filename="1551084788284481832.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-size: 18px; font-weight: 700;">하드는 나스전용 WD RED 초반이니 2Tx2 레이드 구성할예정이다.</span><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1551084793833504572.jpg" data-filename="1551084793833504572.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;">사이즈가 작은편이다.</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1551084798957659434.jpg" data-filename="1551084798957659434.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;">전면 2베이</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1551084805884954007.jpg" data-filename="1551084805884954007.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-size: 18px; font-weight: 700;">설명서를 보고 하드설치</span><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1551084811944360498.jpg" data-filename="1551084811944360498.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-size: 18px; font-weight: 700;">램업그레이드 할수 있는 부분</span><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1551084818785440455.jpg" data-filename="1551084818785440455.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-size: 18px; font-weight: 700;">쉽게 업그레이드가 가능했다.</span><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1551084824900801694.jpg" data-filename="1551084824900801694.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-size: 18px; font-weight: 700;">위치를 잡고 전원 및 랜선을 연결</span></p><p><span style="font-size: 18px; font-weight: 700;">설치를 위해 같은 공유기에 노트북을 연결해놓음.</span><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1551084834068175732.jpg" data-filename="1551084834068175732.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-size: 18px; font-weight: 700;">설치하기위한 접속 URL -> http://find.synology.com</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1551084840063401396.png" data-filename="1551084840063401396.png" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-size: 18px; font-weight: 700;">설치단계</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/155108484777958109.jpg" data-filename="155108484777958109.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;">설치완료</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1551084854998121007.jpg" data-filename="1551084854998121007.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><span style="font-weight: bold;"><span style="font-size: 18px;"><br></span></span></p><p><br></p><p><span style="font-weight: bold;"><br></span></p><p><br></p><p><br></p><p><br></p><p><br></p>
어웨어 민트 공기질 측정기 구매
http://www.webprogramer.kr/blog/P000000383/post.do
<blockquote><p><span style="font-weight: bold; font-family: Tahoma;"><span style="font-size: 24px;">어웨어 민트 공기질 측정기 구매</span><br></span></p></blockquote><p><span style="font-size: 18px;">미세먼지가 심한날이 자주 있다.</span></p><p><span style="font-size: 18px;">집에서 공기청정기를 사용하고 있지만 우리집 공기는 괜찮을까?</span></p><p><span style="font-size: 18px;">어떤 측정기가 좋을까 고민하다 <a href="https://kr.getawair.com/#/mint" target="_blank" style="color: rgb(156, 0, 255); font-weight: bold;">어웨어 민트</a>로 결정하였다.</span></p><p><span style="font-size: 18px;">디자인, 노티 및 IOT 기능이 유용할거 같아서.</span></p><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;">디자인이 깔끔하다.</span></p><p><span style="font-size: 18px;">막대 그래프와 수치로 공기질을 나타 낸다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737366986886102.jpg" data-filename="1550737366986886102.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px;"><br></span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737384275711105.jpg" data-filename="1550737384275711105.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">개봉</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737399466725685.jpg" data-filename="1550737399466725685.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">전원버튼</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737407598632353.jpg" data-filename="1550737407598632353.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">USB-C 타입을 사용한다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737415298490862.jpg" data-filename="1550737415298490862.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">메뉴얼을 참고 하여 설치</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737433330182770.jpg" data-filename="1550737433330182770.jpg" style="width: 100%;" class="img-thumbnail"></p><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;">구성품</span></p><p><span style="font-size: 18px;">받침대가 있다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737442795283913.jpg" data-filename="1550737442795283913.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">딸깍 하고 끼우고 세워둘수 있다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737448072596183.jpg" data-filename="1550737448072596183.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">설치 후 테스트</span></p><p><span style="font-size: 18px;">점으로 보이는것이 그래프 이다.</span></p><p><span style="font-size: 18px;">첫번째 그래프 온도</span></p><p><span style="font-size: 18px;">두번재 습도</span></p><p><span style="font-size: 18px;">세번째 화학물질</span></p><p><span style="font-size: 18px;">네번째 초미세먼지</span></p><p><span style="font-size: 18px;">그리고 토탈 공기질 점수를 숫자로 표시 한다. 100 만점에 90점이다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737454798852860.jpg" data-filename="1550737454798852860.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">핸드폰 앱을 이용하여</span></p><p><span style="font-size: 18px;">가족중 한명이 계정을 만들어서 관리 할 수 있으며</span></p><p><span style="font-size: 18px;">앱을 설치하여 같은 계정으로 사용가능하다.<br></span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/155073746086442749.png" data-filename="155073746086442749.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">공기의 변화를 그래프로 볼수 있어 좋다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737501334587978.png" data-filename="1550737501334587978.png" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p><span style="font-size: 18px;">IOT기능 </span></p><p><span style="font-size: 18px;">뭐 응용하자면</span></p><p><span style="font-size: 18px;">집안에 온도가 특정온도 이면 보일러 키고/끄고.</span></p><p><span style="font-size: 18px;">공기가 습도가 높다거나 미세먼지 수치가 않좋으면 집안에 공기청정기나 환기 시스템을 가동</span></p><p><span style="font-size: 18px;">시키는등을 할 수 있다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737489775654282.png" data-filename="1550737489775654282.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">집안에 있거나 외부에 있어도 노티를 수시로 받을수 있어서 좋다.</span></p><p><span style="font-size: 18px;">외부에서 집이 추울경우 미리 보일러를 키거나</span></p><p><span style="font-size: 18px;">공기가 않좋을경우 환기를 작동시키는데 유용하게 사용하고 있다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737528779432339.png" data-filename="1550737528779432339.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1550737539252408868.jpg" data-filename="1550737539252408868.jpg" class="img-thumbnail" style="width: 100%;"></p><p><br></p><p><span style="font-size: 18px;">현재로썬 매우 만족하며 사용하고 있다.</span></p><p><br></p>
구글홈 미니 매립
http://www.webprogramer.kr/blog/P000000382/post.do
<blockquote><span style="font-size: 24px; font-weight: bold; font-family: Tahoma;">구글홈 미니 매립</span></blockquote><p><span style="font-weight: bold; font-family: Tahoma; font-size: 18px;">구매한 이후 몇일동안 별 불편함 없이 사용하고 있는데 </span></p><p><span style="font-weight: bold; font-family: Tahoma; font-size: 18px;">문득 </span><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;">위치를 한번 옮겨볼까? 하는 생각이 들었다. </span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427654486346400.jpg" data-filename="1547427654486346400.jpg" class="img-thumbnail" style="width: 100%;"><br></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">옮길 위치는 시계 밑 부분.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547428257540859085.jpg" data-filename="1547428257540859085.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span><br></p><p></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">작업을 하기위한 도구들을 준비한다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">제일먼저 전원을 차단하고.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">남은 전선을 찾다가 전선이 없어서</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">오래된 멀티탭을 이용해 보기로 했다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427664937158394.jpg" data-filename="1547427664937158394.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">드라이버로 푸는 곳이 없어서</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">옆면을 일자드라이버를 이용하여 분해를 하였다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427669499439087.jpg" data-filename="1547427669499439087.jpg" style="width: 100%;" class="img-thumbnail"></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">구조는 간단했다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">일자로 된 쇠붙이 2개를 연결했다 뗏다하는 구조이다. </span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427674230682558.jpg" data-filename="1547427674230682558.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">시계를 분리 하고 </span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">기존에 테이핑 해놓은 전선들을 이용할 것이다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427678944182937.jpg" data-filename="1547427678944182937.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">아이가 좋아라 하는 시계는 한쪽에 세워 놓는다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427683904117209.jpg" data-filename="1547427683904117209.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">대략 이렇게 연결할것이다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427689891397935.jpg" data-filename="1547427689891397935.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">전선 피복을 벗긴다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427695507657435.jpg" data-filename="1547427695507657435.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">아답터와 전선의 옆면을 대고 전기테잎으로 </span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">감는다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427701376739268.jpg" data-filename="1547427701376739268.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">남은 한쪽도 작업한다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427706529215117.jpg" data-filename="1547427706529215117.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">잘되는지 일단 전원을 연결해보자</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427713444412764.jpg" data-filename="1547427713444412764.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">전원이 켜지는게 나오면 잘된것이다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427720030393138.jpg" data-filename="1547427720030393138.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">이제 나머지 부분 전선을 자른다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427725900454016.jpg" data-filename="1547427725900454016.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">피복을 벗긴다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427765534799525.jpg" data-filename="1547427765534799525.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">이제 벽에 있는 전선과 연결할 차례다</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427772103648638.jpg" data-filename="1547427772103648638.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">전선끼리 잘 연결해 주었다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427780271440641.jpg" data-filename="1547427780271440641.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">전원을 켜고 테스트 해보니</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">구글홈 전원이 잘 들어왔다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427785329337676.jpg" data-filename="1547427785329337676.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">전선들과 아답터를 안으로 밀어 넣는다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427790262995883.jpg" data-filename="1547427790262995883.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">나머지 전선들을 잘 말아서 밀어넣고</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">구글홈과 연결할 전원선을 투명 테이프로 고정시켰다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427795648161391.jpg" data-filename="1547427795648161391.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">시계를 원래 위치에 걸으니 마무리 되었다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547427800679356108.jpg" data-filename="1547427800679356108.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p><br></p><p><br></p><p><br></p>
3.스마트홈 만들기
http://www.webprogramer.kr/blog/P000000381/post.do
<blockquote><p><span style="font-size: 24px; font-weight: 700; font-family: Tahoma; color: rgb(255, 156, 0);">3.스마트홈 만들기</span></p></blockquote><p><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">스마트홈을 구상한지 2년가까이 시간이 지났음에도. </span></span></p><p><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">이런저런 핑계 거리로 더이상 진행하지 않고 방치해 둔거 같다.</span></span></p><p><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma; font-style: italic; color: rgb(156, 0, 255);">이전 포스팅</span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma; font-style: italic; font-weight: bold; color: rgb(156, 0, 255);"><a href="http://webprogramer.kr/blog/P000000333/post.do" target="_blank" style="">1. 스마트홈 만들기</a></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma; font-style: italic; font-weight: bold; color: rgb(156, 0, 255);"><a href="http://webprogramer.kr/blog/P000000339/post.do" target="_blank" style="">2. 스마트홈 만들기</a></span></span></p><p><br></p><p><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">이전에 하려고 했던 rs485 시리얼 통신은 시간이좀 걸릴듯하여 </span></span></p><p><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">잠시 접어두고 다른방식으로 접근 하기로 하였다.</span></span></p><p><span style="color: rgb(156, 0, 255); font-family: Tahoma; font-weight: bold;">rs485통신 패킷 캡쳐 시 월패드에서 무수히 많은 패킷을 보내는데</span><br></p><p><span style="font-family: Tahoma; font-size: 14px; font-weight: 700; color: rgb(156, 0, 255);">이 패킷들을 명령어 별로 분류하기가 쉽지 않은 문제</span></p><p><span style="font-family: Tahoma; font-size: 14px; font-weight: 700; color: rgb(156, 0, 255);">서버와 월패드와 동시에 연결할경우 월패드가 먹통되는 현상 등</span></p><p><span style="font-family: Tahoma; font-size: 14px; font-weight: 700; color: rgb(156, 0, 255);">아직 해결하지 못한 부분이 있어서.. 아무래도 실력이 부족한 탓이겠지요.</span></p><p><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></p><div><p><span style="font-family: Tahoma; font-weight: bold; color: rgb(156, 156, 148); font-size: 18px;">각설하고</span></p><p><span style="font-family: Tahoma; font-weight: bold; color: rgb(156, 156, 148); font-size: 18px;">다른 방식이기 때문에 구성이 살짝 바뀌었다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547101461903216503.png" data-filename="1547101461903216503.png" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></p><p><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">간략하게 설명하자면</span></span></p><p><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">AI스피커에 명령을 하면 Google Firebase에 명령어를 요청을 하고</span></span></p><p><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">집에 있는 Linux Server에 신호를 보내어 제어 하는 방식이다.</span></span></p><p><span style="font-family: Tahoma; font-weight: bold; color: rgb(156, 156, 148); font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-weight: bold; color: rgb(156, 156, 148); font-size: 18px;">1. 우선 Google Assistant로 원격제어를 하기위해선 아래 페이지를 참고한다.</span><br></p></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">Firebase 설정과 기기를 컨트롤하기위한 소스 수정이 조금 있다.</span></div><div><span style="color: rgb(66, 66, 66); background-color: rgb(206, 198, 206);"><span style="font-size: 18px;"><span style="font-family: Tahoma; font-weight: bold; font-size: 14px;"><a href="https://codelabs.developers.google.com/codelabs/smarthome-washer/index.html#0" target="_blank" style="">-></a></span></span><span style="font-family: Tahoma; font-size: 14px; font-weight: 700;"><a href="https://codelabs.developers.google.com/codelabs/smarthome-washer/index.html#0" target="_blank" style="">https://codelabs.developers.google.com/codelabs/smarthome-washer/index.html#0</a></span></span></div><div><span style="color: rgb(66, 66, 66); background-color: rgb(206, 198, 206);"><span style="font-family: Tahoma; font-size: 14px; font-weight: 700;">(5번정도까지만 하면 사용가능함)</span></span></div><p><br></p><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">2. 위에 5번에서 index.js를 수정해야 한다.</span></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">음성명령어로 거실큰불 켜/꺼 부분에 해당한다.</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><pre class="prettyprint linenums prettyprinted" style=""><ol class="linenums"><li class="L0"><code class="language-javascript"><span class="pln">app</span><span class="pun">.</span><span class="pln">onSync</span><span class="pun">((</span><span class="pln">body</span><span class="pun">)</span><span class="pln"> </span><span class="pun">=></span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L1"><code class="language-javascript"><span class="pln"> </span><span class="com">// TODO: Implement full SYNC response</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> </span><span class="kwd">return</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> requestId</span><span class="pun">:</span><span class="pln"> body</span><span class="pun">.</span><span class="pln">requestId</span><span class="pun">,</span></code></li><li class="L4"><code class="language-javascript"><span class="pln"> payload</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L5"><code class="language-javascript"><span class="pln"> agentUserId</span><span class="pun">:</span><span class="pln"> </span><span class="str">'123'</span><span class="pun">,</span></code></li><li class="L6"><code class="language-javascript"><span class="pln"> devices</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[{</span></code></li><li class="L7"><code class="language-javascript"><span class="pln"> id</span><span class="pun">:</span><span class="pln"> </span><span class="str">'living1'</span><span class="pun">,</span></code></li><li class="L8"><code class="language-javascript"><span class="pln"> type</span><span class="pun">:</span><span class="pln"> </span><span class="str">'action.devices.types.OUTLET'</span><span class="pun">,</span></code></li><li class="L9"><code class="language-javascript"><span class="pln"> traits</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[</span></code></li><li class="L0"><code class="language-javascript"><span class="pln"> </span><span class="str">'action.devices.traits.OnOff'</span><span class="pun">,</span></code></li><li class="L1"><code class="language-javascript"><span class="pln"> </span><span class="pun">],</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> name</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> defaultNames</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[</span><span class="str">'living1'</span><span class="pun">],</span></code></li><li class="L4"><code class="language-javascript"><span class="pln"> name</span><span class="pun">:</span><span class="pln"> </span><span class="str">'거실큰불'</span><span class="pun">,</span></code></li><li class="L5"><code class="language-javascript"><span class="pln"> nicknames</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[</span><span class="str">'거실큰불'</span><span class="pun">],</span></code></li><li class="L6"><code class="language-javascript"><span class="pln"> </span><span class="pun">},</span></code></li><li class="L7"><code class="language-javascript"><span class="pln"> deviceInfo</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L8"><code class="language-javascript"><span class="pln"> manufacturer</span><span class="pun">:</span><span class="pln"> </span><span class="str">'hyunjo'</span><span class="pun">,</span></code></li><li class="L9"><code class="language-javascript"><span class="pln"> model</span><span class="pun">:</span><span class="pln"> </span><span class="str">'hyunjo-living1'</span><span class="pun">,</span></code></li><li class="L0"><code class="language-javascript"><span class="pln"> hwVersion</span><span class="pun">:</span><span class="pln"> </span><span class="str">'1.0'</span><span class="pun">,</span></code></li><li class="L1"><code class="language-javascript"><span class="pln"> swVersion</span><span class="pun">:</span><span class="pln"> </span><span class="str">'1.0.1'</span><span class="pun">,</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> </span><span class="pun">},</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> </span><span class="pun">}],</span></code></li><li class="L4"><code class="language-javascript"><span class="pln"> </span><span class="pun">},</span></code></li><li class="L5"><code class="language-javascript"><span class="pln"> </span><span class="pun">};</span></code></li><li class="L6"><code class="language-javascript"><span class="pun">});</span></code></li></ol></pre><div><br></div><p><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">소스 아래쪽으로 내려오면 on/off시에 취할 액션부분이다.</span></p><pre class="prettyprint linenums prettyprinted" style=""><ol class="linenums"><li class="L0"><code class="language-javascript"><span class="pln">app</span><span class="pun">.</span><span class="pln">onExecute</span><span class="pun">((</span><span class="pln">body</span><span class="pun">)</span><span class="pln"> </span><span class="pun">=></span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L1"><code class="language-javascript"><span class="pln"> </span><span class="com">// TODO: Implement EXECUTE response</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> </span><span class="kwd">const</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> requestId</span></code></li><li class="L4"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> body</span><span class="pun">;</span></code></li><li class="L5"><code class="language-javascript"><span class="pln"> </span><span class="kwd">const</span><span class="pln"> payload </span><span class="pun">=</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L6"><code class="language-javascript"><span class="pln"> commands</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[{</span></code></li><li class="L7"><code class="language-javascript"><span class="pln"> ids</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[],</span></code></li><li class="L8"><code class="language-javascript"><span class="pln"> status</span><span class="pun">:</span><span class="pln"> </span><span class="str">'SUCCESS'</span><span class="pun">,</span></code></li><li class="L9"><code class="language-javascript"><span class="pln"> states</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L0"><code class="language-javascript"><span class="pln"> online</span><span class="pun">:</span><span class="pln"> </span><span class="kwd">true</span><span class="pun">,</span></code></li><li class="L1"><code class="language-javascript"><span class="pln"> </span><span class="pun">},</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> </span><span class="pun">}],</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> </span><span class="pun">};</span></code></li><li class="L4"><code class="language-javascript"><span class="pln"> </span><span class="kwd">for</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">const</span><span class="pln"> input of body</span><span class="pun">.</span><span class="pln">inputs</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L5"><code class="language-javascript"><span class="pln"> </span><span class="kwd">for</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">const</span><span class="pln"> command of input</span><span class="pun">.</span><span class="pln">payload</span><span class="pun">.</span><span class="pln">commands</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L6"><code class="language-javascript"><span class="pln"> </span><span class="kwd">for</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">const</span><span class="pln"> device of command</span><span class="pun">.</span><span class="pln">devices</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L7"><code class="language-javascript"><span class="pln"> </span><span class="kwd">const</span><span class="pln"> deviceId </span><span class="pun">=</span><span class="pln"> device</span><span class="pun">.</span><span class="pln">id</span><span class="pun">;</span></code></li><li class="L8"><code class="language-javascript"><span class="pln"> payload</span><span class="pun">.</span><span class="pln">commands</span><span class="pun">[</span><span class="lit">0</span><span class="pun">].</span><span class="pln">ids</span><span class="pun">.</span><span class="pln">push</span><span class="pun">(</span><span class="pln">deviceId</span><span class="pun">);</span></code></li><li class="L9"><code class="language-javascript"><span class="pln"> </span><span class="kwd">for</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">const</span><span class="pln"> execution of command</span><span class="pun">.</span><span class="pln">execution</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L0"><code class="language-javascript"><span class="pln"> </span><span class="kwd">const</span><span class="pln"> execCommand </span><span class="pun">=</span><span class="pln"> execution</span><span class="pun">.</span><span class="pln">command</span><span class="pun">;</span></code></li><li class="L1"><code class="language-javascript"><span class="pln"> </span><span class="kwd">const</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> params</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> execution</span><span class="pun">;</span></code></li><li class="L4"><code class="language-javascript"></code></li><li class="L5"><code class="language-javascript"><span class="pln"> </span><span class="kwd">switch</span><span class="pln"> </span><span class="pun">(</span><span class="pln">execCommand</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L6"><code class="language-javascript"><span class="pln"> </span><span class="kwd">case</span><span class="pln"> </span><span class="str">'action.devices.commands.OnOff'</span><span class="pun">:</span></code></li><li class="L7"><code class="language-javascript"><span class="pln"> firebaseRef</span><span class="pun">.</span><span class="pln">child</span><span class="pun">(</span><span class="pln">deviceId</span><span class="pun">).</span><span class="pln">child</span><span class="pun">(</span><span class="str">'OnOff'</span><span class="pun">).</span><span class="pln">update</span><span class="pun">({</span></code></li><li class="L8"><code class="language-javascript"><span class="pln"> on</span><span class="pun">:</span><span class="pln"> params</span><span class="pun">.</span><span class="pln">on</span><span class="pun">,</span></code></li><li class="L9"><code class="language-javascript"><span class="pln"> </span><span class="pun">});</span></code></li><li class="L0"><code class="language-javascript"></code></li><li class="L1"><code class="language-javascript"><span class="pln"> payload</span><span class="pun">.</span><span class="pln">commands</span><span class="pun">[</span><span class="lit">0</span><span class="pun">].</span><span class="pln">states</span><span class="pun">.</span><span class="pln">on </span><span class="pun">=</span><span class="pln"> params</span><span class="pun">.</span><span class="pln">on</span><span class="pun">;</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> </span><span class="com">//로그</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> </span><span class="com">//console.log(deviceId + ': ' + params.on);</span></code></li><li class="L4"><code class="language-javascript"></code></li><li class="L5"><code class="language-javascript"><span class="pln"> </span><span class="com">//컨트롤</span></code></li><li class="L6"><code class="language-javascript"><span class="pln"> </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">deviceId </span><span class="pun">==</span><span class="pln"> </span><span class="str">'living1'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L7"><code class="language-javascript"><span class="pln"> </span><span class="com">//거실큰불</span></code></li><li class="L8"><code class="language-javascript"><span class="pln"> </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">params</span><span class="pun">.</span><span class="pln">on </span><span class="pun">==</span><span class="pln"> </span><span class="kwd">true</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L9"><code class="language-javascript"><span class="pln"> http</span><span class="pun">.</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'http://내서버주소.kr/xxx/xxx/xxxOn.do'</span><span class="pun">);</span></code></li><li class="L0"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span><span class="kwd">else</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L1"><code class="language-javascript"><span class="pln"> http</span><span class="pun">.</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'http://내서버주소.kr/xxx/xxx/xxxOff.do'</span><span class="pun">);</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L4"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L5"><code class="language-javascript"></code></li><li class="L6"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L7"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L8"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L9"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L0"><code class="language-javascript"><span class="pln"> </span><span class="kwd">return</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L1"><code class="language-javascript"><span class="pln"> requestId</span><span class="pun">:</span><span class="pln"> requestId</span><span class="pun">,</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> payload</span><span class="pun">:</span><span class="pln"> payload</span><span class="pun">,</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> </span><span class="pun">};</span></code></li><li class="L4"><code class="language-javascript"></code></li><li class="L5"><code class="language-javascript"><span class="pun">});</span></code></li></ol></pre><p><br></p><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">3. </span></span><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">Firebase</span><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"> 에서 위와 같이 외부 서비스를 호출하는 방식을 webhook이라고 한다.</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">webhook을사용하려면 Firebase요금제를 Blaze(종량제)로 바꿔야 한다.</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">1기가사용량당 0.12달러면 현재 달러 시세로 134.33원이다.</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">외부/내부에서 사용한다 해도 몇년이 지나야 1기가를 채울수 있을지??</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1547104669429564302.png" data-filename="1547104669429564302.png" style="width: 100%;" class="img-thumbnail"><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span><br></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">4. 이제 </span></span><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">Firebase</span><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"> deploy 한다.</span></div></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">5. 핸드폰에 구글홈이나 구글 어시스턴트 앱에 보면 </span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><span style="background-color: rgb(247, 247, 247); color: rgb(156, 0, 255);">[test] 테스트 앱</span><span style="color: rgb(156, 156, 148);"> 이라는 기기를 연결한다.</span></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1547105332651149099.png" data-filename="1547105332651149099.png" style="width: 50%;" class="img-thumbnail"><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></div><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></div><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></div><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">6. 자 이제 리모컨 처럼 눌러봐서 컨트롤 해보기도 하고</span></span></div><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></div><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">음성명령어로도 컨트롤 해보자.</span></span></div><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1547105499244650558.png" data-filename="1547105499244650558.png" style="width: 50%;" class="img-thumbnail"><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></div><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1547105512756395496.png" data-filename="1547105512756395496.png" style="width: 50%;" class="img-thumbnail"><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></div><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></div><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">※ </span></span><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">Firebase</span><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"> 에서 webhook으로 </span><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">리눅스 서버를 호출했을때 처리하는 부분을 </span><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">적지 않았다.</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">이전에 </span><span style="font-family: Tahoma; font-size: 18px; font-weight: 700; color: rgb(156, 0, 255);"><a href="http://webprogramer.kr/blog/P000000297/post.do" target="_blank">테스트 자동화 CasperJS</a> </span><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">글을 작성한적 있다.</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">이것을 이용하여 처리가 가능하다.</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">webhook으로 특정 url을 호출 했을경우 casperjs로 특정 페이지의 on/off버튼을 클릭</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">하도록 설정한것이다.</span><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">내가 살고 있는 아파트는 web/app으로 집안을 컨트롤 할 수 있게 되어 있어서</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">web으로 접근하여 개발하였다.</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">on/off 액션 호출시에 매번 로그인 -> 페이지 이동 -> on/off 버튼 클릭 이런 식이면 </span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">한번 불키고 끄는데에 딜레이가 많이 걸릴것이다. 다행히 우리 단지에서 사용하는</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">web페이지에서는 꼼수(?)가 가능하도록 되어 있어서 계속적으로 로그인을 할 필요</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">가 없어 </span><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">on/off시 딜레이를 줄일수 있었다.</span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div><div><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;">※ 거실불 켜기, 끄기 시연 영상(목소리 이해좀.) </span></span></div><div><span style="font-size: 18px; color: rgb(156, 156, 148);"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;">시연은 <a href="http://webprogramer.kr/blog/P000000380/post.do" target="_blank">구글 홈</a>으로 시연하였다.</span></div></div><div><span style="color: rgb(156, 156, 148); font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></div>
<iframe width="400" height="600" src="https://serviceapi.nmv.naver.com/flash/convertIframeTag.nhn?vid=C16073A89EC2DC8358884B6D3D5A8D7DCF98&outKey=V123ad0822db043c3b9d3231e17f531b10e29f4e7effaeb1a7403231e17f531b10e29" frameborder="no" scrolling="no" title="NaverVideo" allow="autoplay; gyroscope; accelerometer; encrypted-media" allowfullscreen=""></iframe>
구글홈 미니 구매
http://www.webprogramer.kr/blog/P000000380/post.do
<blockquote><span style="font-weight: bold; font-family: Tahoma; font-size: 24px;">구글홈 미니 구매</span></blockquote><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;">한국정식발매를 진작에 알고 있었으나</span></p><p><span style="font-size: 18px;">구매를 미루다 이제 구매하게 되었다.</span></p><p><span style="font-size: 18px;">타회사 AI 스피커가 있지만 내가보기에 제일 똑똑한 기기는</span></p><p><span style="font-size: 18px;">구글 홈이기에 선택되었다.</span></p><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;">자 이제 보자.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547087920895267133.jpg" data-filename="1547087920895267133.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">저걸 잡아당기면 개봉이 된다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/154708792721071407.jpg" data-filename="154708792721071407.jpg" class="img-thumbnail" style="width: 100%;"><br></p><p><br></p><p><span style="font-size: 18px;">동그란 회색 본체가 귀여워 보인다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547087932640286878.jpg" data-filename="1547087932640286878.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547087937252902239.jpg" data-filename="1547087937252902239.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">바닥에 미끄럼 방지 처리가 되어 있다.</span></p><p><span style="font-size: 18px;">바닥에 작은 동그라미를 누르면 기기초기화가 된다고 한다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547087942546199552.jpg" data-filename="1547087942546199552.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">구성품은 간단하다.</span></p><p><span style="font-size: 18px;">본체, 설명서, 전원아답터</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547087947854405320.jpg" data-filename="1547087947854405320.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p><span style="font-size: 18px;">본체를 툭툭 건들면 컨트롤을 할 수 있다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1547092782125687557.png" data-filename="1547092782125687557.png" style="width: 100%;" class="img-thumbnail"><br></p><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;">활용편은 다음에..</span><br></p><div><span style="font-size: 18px;"><br></span></div>
convert ibatis to mybatis
http://www.webprogramer.kr/blog/P000000379/post.do
<blockquote><p><span style="font-weight: bold; font-family: Tahoma; font-size: 24px;">convert ibatis to mybatis </span><br></p></blockquote><p><img src="http://www.webprogramer.kr/upload/blog/editor/154596375565939315.png" data-filename="154596375565939315.png" class="img-thumbnail" style="width: 50%;"><br></p><p><span style="font-family: Tahoma; font-size: 18px;">ibatis xml파일을 mybatis xml로 변환 하는 툴(?)을 이용하여 변환을 해보겠다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">우선 소스가있는 사이트를 가보자.</span></p><p><span style="font-family: Tahoma; font-size: 18px;">--> <a href="https://github.com/mybatis/ibatis2mybatis" target="_blank">https://github.com/mybatis/ibatis2mybatis</a></span><br></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">외국인 아재가 만들어놓은 소스가 보일것이다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;">git clone로 받거나 직접 zip파일을 다운로드 할 수 있다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;">소스목록중 어디서 많이본 build.xml을 보니</span></p><p><span style="font-family: Tahoma; font-size: 18px;">바로 ant build인것을 눈치 챘을것이다.</span></p><div><img src="http://www.webprogramer.kr/upload/blog/editor/1545877701175385560.png" data-filename="1545877701175385560.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></div><p><br></p><p><br></p><div><span style="font-family: Tahoma; font-size: 18px;">필자는 git과 개발용에디터 vscode를 사용하기 때문에</span></div><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">바로 git clone으로 소스를 받았다.</span></p><p><span style="font-family: Tahoma; font-size: 14px; color: rgb(99, 99, 99);">(git, vscode설정방법은 생략하겠다.)</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545877877014142954.png" data-filename="1545877877014142954.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"> </span></p><p><span style="font-family: Tahoma; font-size: 18px;">작업폴더 안에 받은 소스가 제대로 받아졌는지 확인하고</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545878069132911928.png" data-filename="1545878069132911928.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">ant 명령어로만 실행해도 되겠지만</span></p><p><span style="font-family: Tahoma; font-size: 18px;">vscode를 사용하고 있으므로 편리한 플러그인이 있으면 사용해보기위해</span></p><p><span style="font-family: Tahoma; font-size: 18px;">플러그인을 검색해보았다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;"><span style="color: rgb(255, 156, 0);">Ant Target Runner</span>가 적당해 보여 설치하였다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545878145302285551.png" data-filename="1545878145302285551.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">설치하고 바로 Run Ant Target을 눌러보았다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;">메세지를 보면 시스템이 ant라는 명령어를 모르는것같다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;">플러그인에 포함되어 있는줄알았는데.</span></p><p><span style="font-family: Tahoma; font-size: 18px;">시스템에 ant명령어를 알려주자.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545878374617830940.png" data-filename="1545878374617830940.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">ant를 받으러 가자 링크는 아래</span></p><p><span style="font-family: Tahoma; font-size: 18px; color: rgb(255, 156, 0);"><a href="http://ant.apache.org/" target="_blank">http://ant.apache.org/</a></span></p><p><span style="font-family: Tahoma; font-size: 18px;">윈도우 시스템이니 zip파일을 받는다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545878527847606993.png" data-filename="1545878527847606993.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">압축을 풀고 프그램파일 및에 이동해놓고</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545878622763455639.png" data-filename="1545878622763455639.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">시스템에게 ant를 알려주기위해 ANT_HOME을 잡았다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545878664039468029.png" data-filename="1545878664039468029.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">path에 명령어를 쓸쑤있는 bin폴더를 잡아주었다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/15458786990022028.png" data-filename="15458786990022028.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">재대로 설정되었는지 ant -version 을 입력하고</span><br></p><p><span style="font-family: Tahoma; font-size: 18px;">버전 정보가 제대로 표시되면 잘된것이다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545878750273979652.png" data-filename="1545878750273979652.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">변환할 ibatis xml을 source폴더 밑에 넣어놓는다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545878822284230419.png" data-filename="1545878822284230419.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span><span style="font-family: Tahoma; font-size: 18px;"><br></span><span style="font-family: Tahoma; font-size: 18px;"><br></span><br></p><p><span style="font-family: Tahoma; font-size: 18px;">이제 실행을 해보자</span></p><p><span style="font-family: Tahoma; font-size: 18px;">시스템이 ant를 알고 있으니 제대로 동작하였다. </span></p><p><span style="font-family: Tahoma; font-size: 18px;">몇몇 경고가 나긴 했지만 신경쓰지 않아도 될거 같다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545878868640295807.png" data-filename="1545878868640295807.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span><span style="font-family: Tahoma; font-size: 18px;"><br></span><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-style: italic; font-weight: bold; color: rgb(255, 0, 0);">※ 변환과정중 dtd관련 에러가 발생했었는데 문제는 dtd경로 잘못으로 변경함.</span></p><p><span style="font-family: Tahoma; font-size: 18px;">dtd url에서 ibatis.com은 이제 사라진거 같다.</span><span style="font-family: Tahoma;"><br></span></p><div style="font-family: Consolas, " courier="" new",="" monospace;="" font-size:="" 16px;="" line-height:="" 22px;="" white-space:="" pre;"=""><div style="line-height: 22px;"><div style="color: rgb(212, 212, 212); line-height: 22px;"><span style="background-color: rgb(0, 0, 0);"><span style="color: rgb(128, 128, 128);"><!--</span--><span style="color: rgb(86, 156, 214);">DOCTYPE</span> <span style="color: rgb(86, 156, 214);">sqlMap</span> PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd"<span style="color: rgb(128, 128, 128);">></span></span></span></div><div style="color: rgb(212, 212, 212); line-height: 22px;"><span style="font-family: Tahoma; font-size: 18px; white-space: normal; color: rgb(0, 0, 0);">아래처럼 url을 ibatis.apache.org로 변경하자</span><br></div><div style="line-height: 22px;"><div style="line-height: 22px;"></div></div><div style="color: rgb(212, 212, 212); line-height: 22px;"><span style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"><!--</span--><span style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">DOCTYPE</span><span style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"> </span><span style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">sqlMap</span><span style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"> PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd" </span><span style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">></span><br></span></div></div></div><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">destination폴더에 가보면 mybatis로 변환된 xml이 생성 되어 있다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545882958655816502.png" data-filename="1545882958655816502.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">대상 10개 변환갯수 10개 제대로 된듯하다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545883013153197367.png" data-filename="1545883013153197367.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">소스가 제대로 변환되었는지 소스비교를 통해 확인해보았다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545883086708716423.png" data-filename="1545883086708716423.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">ibatis에서 mybatis로 일일이 변경해야되는데 </span></p><p><span style="font-family: Tahoma; font-size: 18px;">시스템이 커서 엄청난 노가다를 해야된다면 한번 해볼만 하다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;">이제 xml변환을 하고 프레임워크에 mybatis 환경설정을 하고 사용하면 된다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span><span style="font-family: Tahoma; font-size: 18px;"><br></span><br></p>
git 설치 [메모]
http://www.webprogramer.kr/blog/P000000378/post.do
<blockquote><p><span style="font-weight: bold; font-size: 24px; font-family: Tahoma;">git 설치 메모용</span><br></p></blockquote><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/154587699394049753.png" data-filename="154587699394049753.png" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545877005322630791.png" data-filename="1545877005322630791.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545877010746417650.png" data-filename="1545877010746417650.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545877016845283775.png" data-filename="1545877016845283775.png" style="width: 100%;" class="img-thumbnail"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545877020597184071.png" data-filename="1545877020597184071.png" style="width: 100%;" class="img-thumbnail"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545877024357827324.png" data-filename="1545877024357827324.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545877047871327308.png" data-filename="1545877047871327308.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545877052584995302.png" data-filename="1545877052584995302.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/154587705627325717.png" data-filename="154587705627325717.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545877059518388026.png" data-filename="1545877059518388026.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>Git config 설정 (계정설정)<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545877063945166778.png" data-filename="1545877063945166778.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><br></p>
프리랜서 가이드라인[OKKY 펌]
http://www.webprogramer.kr/blog/P000000377/post.do
<blockquote><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;">프리랜서 가이드라인[OKKY 펌]</span></blockquote><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545613676675500790.png" data-filename="1545613676675500790.png" style="width: 50%;" class="img-thumbnail"><span style="font-weight: 700;"><br></span></p><p><span style="font-weight: 700; font-size: 18px;">프리랜서를 시작하시거나 프리랜서에 대해 알고 싶으신 분은 좋은 참고가 될거 같습니다.</span></p><p><span style="font-weight: 700;"><br></span></p><p><span style="font-weight: 700; font-size: 18px;">무료이며 ebook 형태로 제공 됩니다.</span></p><p><br></p><div><ul style="margin-bottom: 10px; color: rgb(51, 51, 51);"><li style=""><span style="font-weight: bold; font-family: Tahoma;"><a href="http://espressobook.com/books/1449" rel="nofollow" style="color: rgb(42, 100, 150);"><span style="font-size: 18px;">에스프레소북</span></a><span style="font-size: 18px;"> </span><a href="http://espressobook.com/books/1449" target="_blank" title="새창으로 열기" style="color: rgb(42, 100, 150);"><span class="fa fa-external-link" style="transform: translate(0px, 0px);"></span></a></span></li><li style=""><span style="font-weight: bold; font-family: Tahoma;"><a href="http://www.yes24.com/24/goods/67488216" rel="nofollow" style="color: rgb(42, 100, 150);"><span style="font-size: 18px;">YES24</span></a><span style="font-size: 18px;"> </span><a href="http://www.yes24.com/24/goods/67488216" target="_blank" title="새창으로 열기" style="color: rgb(42, 100, 150);"><span class="fa fa-external-link" style="transform: translate(0px, 0px);"></span></a></span></li><li style=""><span style="font-weight: bold; font-family: Tahoma;"><a href="https://ridibooks.com/books/2389000025" rel="nofollow" style="color: rgb(42, 100, 150);"><span style="font-size: 18px;">리디북스</span></a><span style="font-size: 18px;"> </span><a href="https://ridibooks.com/books/2389000025" target="_blank" title="새창으로 열기" style="color: rgb(42, 100, 150);"><span class="fa fa-external-link" style="transform: translate(0px, 0px);"></span></a></span></li><li style=""><span style="font-weight: bold; font-family: Tahoma;"><a href="https://www.aladin.co.kr/shop/wproduct.aspx?ItemId=176445813" rel="nofollow" style="color: rgb(42, 100, 150);"><span style="font-size: 18px;">알라딘</span></a><span style="font-size: 18px;"> </span><a href="https://www.aladin.co.kr/shop/wproduct.aspx?ItemId=176445813" target="_blank" title="새창으로 열기" style="color: rgb(42, 100, 150);"><span class="fa fa-external-link" style="transform: translate(0px, 0px);"></span></a></span></li><li style=""><span style="font-weight: bold; font-family: Tahoma;"><a href="http://digital.kyobobook.co.kr/digital/ebook/ebookDetail.ink?selectedLargeCategory=001&barcode=480D181212200&orderClick=LAN&Kc=" rel="nofollow" style="color: rgb(42, 100, 150);"><span style="font-size: 18px;">교보문고</span></a><span style="font-size: 18px;"> </span><a href="http://digital.kyobobook.co.kr/digital/ebook/ebookDetail.ink?selectedLargeCategory=001&barcode=480D181212200&orderClick=LAN&Kc=" target="_blank" title="새창으로 열기" style="color: rgb(42, 100, 150);"><span class="fa fa-external-link" style="transform: translate(0px, 0px);"></span></a></span></li><li style=""><span style="font-weight: bold; font-family: Tahoma;"><a href="https://nstore.naver.com/ebook/detail.nhn?productNo=3843736" rel="nofollow" style="color: rgb(42, 100, 150);"><span style="font-size: 18px;">네이버e북</span></a><span style="font-size: 18px;"> </span><a href="https://nstore.naver.com/ebook/detail.nhn?productNo=3843736" target="_blank" title="새창으로 열기" style="color: rgb(42, 100, 150);"><span class="fa fa-external-link" style="transform: translate(0px, 0px);"></span></a></span></li></ul><p style="color: rgb(51, 51, 51); font-family: " helvetica="" neue",="" helvetica,="" arial,="" "apple="" sd="" gothic="" neo",="" "malgun="" gothic",="" dotdum;"=""><br></p></div>
PIXOO 디지털 시계 설치
http://www.webprogramer.kr/blog/P000000376/post.do
<blockquote><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;">PIXOO 디지털 시계 설치</span></blockquote><p><span style="font-size: 18px;"><span style="font-weight: bold; font-family: Tahoma;">LED벽걸이 시계와 고민하던중 요게더 재미있는거 같아서 선택하였다.</span></span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545014657550421283.jpg" data-filename="1545014657550421283.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-size: 18px;"><span style="font-weight: bold; font-family: Tahoma;">벽걸이로 매립하기위해 미리 사놓은 3M짜리 충전 케이블과 PIXOO 시계</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012808858331804.jpg" data-filename="1545012808858331804.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-size: 18px;"><span style="font-weight: bold; font-family: Tahoma;">구성품은</span></span></p><p><span style="font-size: 18px;"><span style="font-weight: bold; font-family: Tahoma;">본체, 짧은 충전케이블, 설명서, 스티커 </span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012823814207832.jpg" data-filename="1545012823814207832.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">탁상 위에 세워놓을수 있게 받침대가 있고 벽에걸수 있는 홀이 보인다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012830200559880.jpg" data-filename="1545012830200559880.jpg" class="img-thumbnail" style="width: 100%;"></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">설치할 위치는 저 전등을 빼구 설치할것이다.</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012836371958754.jpg" data-filename="1545012836371958754.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">우선 전등을 분리.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">나중에 다시 연결해야할수도 있으니 표기를 해두었다.</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012848946552138.jpg" data-filename="1545012848946552138.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">쇠로된 판넬과 분리된 전선이 나와있다.</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012857952873749.jpg" data-filename="1545012857952873749.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">감전위험이 있으니 처리를 해야된다.</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012867657209535.jpg" data-filename="1545012867657209535.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">전기테이프를 이용하여 감았다.</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012872617223341.jpg" data-filename="1545012872617223341.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">판넬을 고정하는 나사를 이용하여 걸어보았다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">자제 배터리가 있어서 동작은 하지만 8~10시간 후면 배터리가 </span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">방전되어 꺼진다. 또 다시 충전후 사용해야되서 귀찮다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012878817707612.jpg" data-filename="1545012878817707612.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">케이블을 대리석 사이에 넣어 마감을 깔끔하게 하기위해선</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">케이블의 피복을 분리해야된다.</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012884338279809.jpg" data-filename="1545012884338279809.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">피복 안에보면 4가닥에 선이 또다시 나온다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012889745202188.jpg" data-filename="1545012889745202188.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">전체적으로 피복을 분리한다.</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012895039600519.jpg" data-filename="1545012895039600519.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">얇은 플라스틱 을 이용해 케이블을 밀어넣을것이다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">카드를 이용해도됨.</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012901341676109.jpg" data-filename="1545012901341676109.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">4가닥 모두 밀어넣을라구 하니 들어가질 않는다 ㅠㅠ</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">불필요한 선을 잘라야 겠다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">자세히 보면 굵은선 2개, 얇은선 2개다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">왠지 굵은선은 전원선, 얇은선은 데이터 선일거 같았다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">usb케이블 배선도를 찾아보았다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">굵은선은 전원선, 얇은선은 데이터선 이라고 나온다.</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012906710450000.jpg" data-filename="1545012906710450000.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">얇은선을 자른후 연결해 보았다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">빨간불이 들어오는걸보니 제대로 한것이다.</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012911435527086.jpg" data-filename="1545012911435527086.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">대리석 사이에 선을 밀어넣구 마지막엔 테이프로 고정시켰다.</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012916410915800.jpg" data-filename="1545012916410915800.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">선길이가 너무 딱맞아서 불안했는데.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">집에 usb연장선이 있어서 연장선을 연결하고 usb를 공유기에 연결했다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">집에 셋톱박스, 공유기, tv등에 있는 usb를 연결하면 전원을 공급받을 수 있다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012931837536585.jpg" data-filename="1545012931837536585.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">마지막으로 전원 연결 후 나사에 걸면된다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012937351784081.jpg" data-filename="1545012937351784081.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">시계를 컨트롤하기위해 앱을 설치하였다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">Divoom Smart라는 앱인데 꽤 괜찮은듯하다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">사용자가 만들어놓은것을 올려놓으면 다른 사용자가 사용할 수 있다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012948170526521.png" data-filename="1545012948170526521.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">온도</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/154501295362393983.jpg" data-filename="154501295362393983.jpg" class="img-thumbnail" style="width: 100%;"><br></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">시간</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012959663379157.jpg" data-filename="1545012959663379157.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">날짜</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1545012965050880410.jpg" data-filename="1545012965050880410.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">선정리도 깔끔하게 되고</span><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">나름만족 스럽다.</span></p><p><br></p>
React Native 시작하기
http://www.webprogramer.kr/blog/P000000375/post.do
<blockquote><p><span style="font-size: 24px; font-weight: bold;">React Native 시작하기</span><br></p></blockquote><p><span style="font-size: 18px; font-weight: 700;">React Native 시작하기 링크 <a href="https://facebook.github.io/react-native/docs/getting-started" target="_blank" style="color: rgb(0, 0, 0); background-color: rgb(206, 231, 247);">여기</a></span></p><p><br></p><p><span style="font-size: 18px; font-weight: bold;">자세한 내용은 위에 React Native 사이트를 참고.</span></p><p><span style="font-size: 18px; font-weight: bold;"><br></span></p><p><span style="font-size: 18px; font-weight: bold;">윈도우에 안드로이드 기반으로 셋팅해보았다.</span></p><p><span style="font-size: 18px; font-weight: bold;"><br></span></p><p><span style="font-size: 18px; font-weight: 700;">■ 설치해야될것들</span></p><p><span style="font-size: 18px; font-weight: 700;">React Native command line interface, Python2, a JDK, and Android Studio</span></p><p><span style="font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-size: 18px; font-weight: 700;">■ Node, Python2, JDK 설치</span></p><p><span style="font-size: 18px; font-weight: 700;">Chocolatey를 통해 Node, Python2, JDK를 설치 한다.</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);"><a href="https://chocolatey.org/install" target="_blank" style="">Chocolatey 설치방법링크</a></span><span style="font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-size: 18px; font-weight: 700;">cmd.exe 방법이냐 PowerShell.exe 이냐 명령어가 틀리지만</span></p><p><span style="font-size: 18px; font-weight: 700;">나는 cmd로 하였다.</span></p><p><span style="font-size: 18px; font-weight: 700;">cmd를 관리자권한으로 실행한 후 사이트에서 제공하는 명령어를 복붙한다.</span></p><p><span style="font-size: 18px; font-weight: 700;">@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"</span></p><p><span style="font-size: 18px; font-weight: 700;">정상적으로 설치되면 바로 사용가능하다.</span></p><p><span style="font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-size: 18px; font-weight: 700;">이제 </span><span style="font-size: 18px; font-weight: 700;">Node, Python2, JDK를 설치</span><span style="font-size: 18px; font-weight: 700;"> </span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">choco install -y nodejs.install python2 jdk8</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);"><br></span></p><p><span style="font-size: 18px; font-weight: 700;">■ </span><span style="font-size: 18px; font-weight: 700;">React Native CLI</span><span style="font-size: 18px; font-weight: 700;"> 설치</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">npm install -g react-native-cli</span><br><br></p><p><span style="font-size: 18px; font-weight: 700; color: rgb(255, 0, 0);">log.gauge.isEnabled is not a function 오류 발생시</span></p><p><span style="font-size: 18px; font-weight: 700;">nodejs 설치폴더 강제 삭제 후 node-vxx.x.x.-x64.ms파일을 <a href="https://nodejs.org/ko/" target="_blank" style="background-color: rgb(206, 231, 247);">다운</a></span><span style="font-size: 18px; font-weight: 700;"><a href="https://nodejs.org/ko/" target="_blank" style="color: rgb(0, 0, 0); background-color: rgb(206, 231, 247);">로드</a> 후</span></p><p><span style="font-size: 18px; font-weight: 700;">Repair(복구)를 실행하여 해결한다.</span></p><p><span style="font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-size: 18px; font-weight: 700;">■ Android Studio 설치</span></p><p><span style="font-size: 18px; font-weight: 700;"><span style="background-color: rgb(206, 231, 247);"><a href="https://developer.android.com/studio/" target="_blank">다운로드링크</a></span></span></p><p><span style="font-size: 18px; font-weight: 700;">설치시 Custom 선택</span></p><p><span style="font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-size: 18px; font-weight: 700;">필수선택사항</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">Android SDK</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">Android SDK Platform</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">Performance (Intel ® HAXM)</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">Android Virtual Device</span></p><p><span style="font-size: 18px; font-weight: 700;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/154443202663163559.png" data-filename="154443202663163559.png" class="img-thumbnail" style="width: 100%;"><br></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1544504803934188947.gif" data-filename="1544504803934188947.gif" style="width: 50%;" class="img-thumbnail"><br></p><p><span style="font-size: 18px; font-weight: 700;">Android Studio 실행 시 Configure -> SDK Manager -> Android SDK 선택</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">Android SDK Platform 27 <- 최신 버전 선택</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">Intel x86 Atom_64 System Image 또는 Google APIs Intel x86 Atom System Image</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);"><br></span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">참고이미지1</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1544505201777322371.png" data-filename="1544505201777322371.png" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);"><br></span></p><p><span style="font-size: 18px; font-weight: 700;"></span><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">참고이미지2</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1544505209133833867.png" data-filename="1544505209133833867.png" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);"><br></span><br><br><span style="font-size: 18px; font-weight: 700;">■ ANDROID_HOME 환경 변수 구성</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);"> ANDROID_HOME</span></p><p></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);"> c:\Users\YOUR_USERNAME\AppData\Local\Android\Sdk</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1544432183312296023.png" data-filename="1544432183312296023.png" style="width: 100%;" class="img-thumbnail"><br></p><div><br></div><div><span style="font-size: 18px; font-weight: 700;"><br></span></div><p><br><span style="font-size: 18px; font-weight: 700;">■ </span><span style="font-size: 18px; font-weight: 700;">React Native 프로젝트 생성</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">react-native init AwesomeProject</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);"><br></span></p><p><span style="font-size: 18px; font-weight: 700;">■ </span><span style="font-size: 18px; font-weight: 700;">Android Studio AVD 실행</span></p><p><span style="font-size: 18px; font-weight: 700;">안드로이드 버전에 맞게 AVD 생성 후 실행 해봄</span></p><p><span style="font-size: 18px; font-weight: 700;">에뮬레이터를 종료하지 않고 띄어 놓은 생태로 놔둠</span></p><p><br></p><p><span style="font-size: 18px; font-weight: 700;">■ </span><span style="font-size: 18px; font-weight: 700;">React Native 실행</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">cd AwesomeProject</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">react-native run-android</span></p><p><span style="font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);"><br></span></p><p><span style="font-size: 18px; font-weight: 700;">실행화면</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1544504561756658524.png" data-filename="1544504561756658524.png" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-size: 18px; font-weight: 700;"></span><span style="font-size: 18px; font-weight: 700;"><br></span><br></p><p><span style="font-family: Tahoma;"><span style="font-size: 18px; font-weight: 700;">※ 위에 방법을 이용하여 개발을 한다면 처음에 </span><span style="font-size: 18px; font-weight: 700;">Android Studio</span><span style="font-size: 18px; font-weight: 700;"> 실행 -> AVD실행 순으로</span></span></p><p><span style="font-size: 18px; font-weight: 700; font-family: Tahoma;">시작을 해야 할것이다.</span></p><p><span style="font-size: 18px; font-weight: 700; font-family: Tahoma;">필자는 MS사의 VS CODE를 이용하기 때문에 저 방법대로 라면 </span><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">Android Studio와 AVD를 </span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">매번 실행해야 한다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">VS CODE를 이용하여 쉽게 명령어로만 실행하여 디버깅할 순 없을까?</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">좀더 편해지기위해 찾아보던중 </span><span style="background-color: rgb(206, 231, 247); font-family: Tahoma; font-size: 18px; font-weight: 700;">emulator</span><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">라는 명령어를 찾았다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">emulator라는 명령어를 이용할 것이다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">그러기위해선 Path를 추가한다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">%ANDROID_HOME%\emulator;</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">VS CODE 터미널에서 명령어를 입력한다.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">1.에뮬레이터 목록 조회</span></p><p><span style="background-color: rgb(206, 231, 247);"><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">emulator -list-avds</span><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1544506021698546798.png" data-filename="1544506021698546798.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">2. 에뮬레이터 실행</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">emulator @Nexus_5X_API_27</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">3. React Native 실행</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700; background-color: rgb(206, 231, 247);">react-native run-android</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1544576343189501513.png" data-filename="1544576343189501513.png" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p><span style="font-size: 18px; font-weight: 700; font-family: Tahoma;"><br></span></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p>
아이폰 아이튠즈 백업 파일 경로 변경
http://www.webprogramer.kr/blog/P000000374/post.do
<blockquote><span style="font-family: Verdana; font-size: 24px; font-weight: 700;">아이폰 아이튠즈 백업 파일 경로 변경</span></blockquote><p><span style="font-family: Tahoma;"><br></span></p><p><span style="font-family: Tahoma;"><span style="font-size: 18px;">아이튠즈 동기화 하는데 C드라이브 용량이 모자람</span><span style="font-size: 18px;"></span></span></p><p><span style="font-family: Tahoma;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">방법을 찾아보니 아이튠즈 백업 경로를 바꿀수 있는것을 찾음</span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">1.우선 백업 폴더로 이동</span></p><p><span style="font-family: Tahoma; font-size: 18px;">C:\Users\사용자계정\AppData\Roaming\Apple Computer\MobileSync\Backup</span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">2. 용량 확보를 위해 Backup 폴더 밑에 있는 파일들을 모두 삭제 한다.</span></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">3. 아이튠즈 백업 폴더에 Backup 폴더를 삭제 한다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;">C:\Users\사용자계정\AppData\Roaming\Apple Computer\MobileSync\<span style="color: rgb(255, 0, 0);">Backup <- 삭제</span></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><span style="color: rgb(255, 0, 0);"><br></span></span></p><p><span style="font-family: Tahoma; font-size: 18px;">4. </span><span style="font-family: Tahoma; font-size: 18px;">cmd 명령 프롬프트를 관리자 권한 으로 실행 하고 </span><span style="font-family: Tahoma; font-size: 18px;">심볼링크를 생성</span></p><p><span style="font-family: Tahoma; font-size: 18px;">mklink /d "기존백업경로" "새로운백업경로"</span></p><p><span style="font-family: Tahoma; font-size: 18px;">mklink /d "C:\Users\계정\AppData\Roaming\Apple Computer\MobileSync\Backup" "D:\Apple\Backup"</span></p><p><span style="font-family: Tahoma; font-size: 18px; color: rgb(255, 0, 0);">기존백업경로에서 </span><span style="color: rgb(255, 0, 0); font-family: Tahoma; font-size: 18px;">Backup폴더를 삭제했지만 링크를 생성해야 하므로 명령어를 넣을때는 Backup까지</span></p><p><span style="color: rgb(255, 0, 0); font-family: Tahoma; font-size: 18px;">입력하고 새로운백업경로 폴더는 미리 생성해 놓아야 됨.</span></p><p><span style="color: rgb(255, 0, 0); font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">제대로 생성되었다면 아래와 같이 링크가 생성된다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/154107773224453726.PNG" data-filename="154107773224453726.PNG" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">명령 프롬프트로 기존 백업폴더로 이동해서 확인해보면 심볼링크가 어디로 걸려있는지보인다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1541077816035613867.PNG" data-filename="1541077816035613867.PNG" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">C드라이브 용량을 확보할 수 있어 다행이다^^</span></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span><br></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span><br></p><p><br></p><p><span style="font-family: Tahoma;"><br></span></p><p><br></p>
Maven 배포시 서버에 맞게 환경설정 파일 배포 하기
http://www.webprogramer.kr/blog/P000000373/post.do
<blockquote><p><span style="font-weight: bold; font-family: Tahoma;"><span style="font-size: 24px;">Maven 배포시 서버에 맞게 환경설정 파일 배포 하기</span><br></span></p></blockquote><p><br></p><p><span style="font-size: 18px;">개발된 소스를 서버에 배포 하다 보면 귀찮은 일들이 있다.</span></p><p><span style="font-size: 18px;">그중에 <span style="font-weight: bold;">로컬, 개발, 운영</span> 환경에 맞게 환경설정(DB정보, 첨부파일경로등)파일을 </span></p><p><span style="font-size: 18px;">다르게 배포 해야된다.</span></p><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;">ftp로 서버 환경에 맞게 환경설정 파일을 배포 하거나 war파일생성시 </span><span style="font-size: 18px;">서버에 맞게 환경파일을 </span></p><p><span style="font-size: 18px;">구성후 생성하는 경우가 있다.</span></p><p><span style="font-size: 18px;">이런일을 반복하다보면 참으로 번거롭고 귀찮다.</span></p><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;">이런 일들을 자동화 하기위한 빌드툴(ANT, MAVEN, GRADLE) 등이 있는데,</span></p><p><span style="font-size: 18px;">현재 내가 작업중인 개발환경(<span style="font-weight: bold;"><a href="https://ko.wikipedia.org/wiki/%EC%95%84%ED%8C%8C%EC%B9%98_%EB%A9%94%EC%9D%B4%EB%B8%90" target="_blank">MAVEN</a> + <a href="https://ko.wikipedia.org/wiki/%EC%A0%A0%ED%82%A8%EC%8A%A4" target="_blank">젠킨스</a>)을</span></span><span style="font-size: 18px;"> 이용해 설정해 보기로 하자.</span></p><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;">1. pom.xml 수정 build 부분에 resources경로를 추가 하고 profiles에 배포할 환경</span></p><p><span style="font-size: 18px;"> (로컬 : </span><span style="font-size: 18px;">local, 운영 : live)을 추가 한다. 개발서버 까지 있다면 dev : 개발 을 추가</span></p><p><span style="font-size: 18px;"> 하면 된다.</span></p><p><span style="font-size: 18px;"><br></span></p><pre class="prettyprint linenums"><code class="language-java"><build>
...
...
...
.
<!-- 리소스 경로 설정 -->
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/resources-${env}</directory>
</resource>
</resources>
</build>
<profiles>
<!-- local -->
<profile>
<id>local</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<env>local</env>
</properties>
</profile>
<!-- live -->
<profile>
<id>live</id>
<properties>
<env>live</env>
</properties>
</profile>
</profiles></code></pre><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;">2. 리소스를 분리하기 위한 폴더를 만들고 배포될 환경에 맞는 </span><span style="font-size: 18px; font-weight: bold;">globals.properties</span><span style="font-size: 18px;">를 넣어놓는다.</span><br></p><p><span style="font-size: 18px;">나는 <span style="font-weight: bold;">기본 </span>에 혹시몰라서 백업(읽히지 않게 확장자없이)을 해놓고 <span style="font-weight: bold;">live</span>와 <span style="font-weight: bold;">local</span> 폴더에 각각환경에 </span></p><p><span style="font-size: 18px;">맞게 </span><span style="font-size: 18px; font-weight: 700;">globals.properties </span><span style="font-size: 18px;">파일을 넣어놓았다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1536569281059992670.PNG" data-filename="1536569281059992670.PNG" style="width: 50%;" class="img-thumbnail"><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;">3. 이제 maven 명령어를 이용해 war파일을 만들어보자</span></p><p><span style="font-size: 18px;">Run AS -> Run Configurations..를 선택한다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1536628581367659659.png" data-filename="1536628581367659659.png" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px;"><br></span></p><div><span style="font-size: 18px;"><br></span></div><div><p><span style="font-size: 18px;">4. Goals 부분에 maven 명령어를 입력 후 Run 선택</span></p><p><span style="font-size: 18px;">clean : 이전 내역 삭제</span></p><p><span style="font-size: 18px;">install : 로컬 저장소로 배포</span></p><p><span style="font-size: 18px;">-P live : live 프로필 사용</span></p><p><span style="font-size: 18px;">대략 이렇다.</span></p></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1536628645486847038.png" data-filename="1536628645486847038.png" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px;"><br></span></div><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;">5. war파일이 생성되었다. 압축을 풀고 </span><span style="font-size: 18px; font-weight: bold;">globals.properties</span><span style="font-size: 18px;">를 확인해보면 옵션을 live를 줬냐</span></p><p><span style="font-size: 18px;">local을 줬냐에 따라 다를것이다.</span></p><div><img src="http://www.webprogramer.kr/upload/blog/editor/153662911683879700.PNG" data-filename="153662911683879700.PNG" style="width: 50%;" class="img-thumbnail"><span style="font-size: 18px;"><br></span></div><p><span style="font-size: 18px;"><br></span></p><p><span style="font-size: 18px;">6. maven을 이용한 리소스를 다르게 하는 부분이 끝났다.</span></p><p><span style="font-size: 18px;">젠킨스를 이용하고 있다면 아래와 같이 사용하면 된다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/153662943057773990.PNG" data-filename="153662943057773990.PNG" style="width: 481.618px; height: 113.391px;" class="img-thumbnail"><span style="font-size: 18px;"><br></span></p><p><br></p><p><span style="font-size: 18px;">7. 리소스를 나눠놓은 상태에서 로컬에서 개발하기 위해선 아래와 같이 </span></p><p><span style="font-size: 18px;">로컬 리소스를 선택해야 한다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1536629590778974084.PNG" data-filename="1536629590778974084.PNG" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px;"><br></span></p><div><span style="font-size: 18px;"><br></span></div><div><span style="font-size: 18px;">이만.</span></div><p><br></p><p><br></p>
[메모]svn 백업 및 복구 svn dump
http://www.webprogramer.kr/blog/P000000372/post.do
<blockquote><span style="font-weight: bold; font-family: Tahoma;"><span style="font-size: 24px;">[메모] svn 백업 및 복구 </span><br></span></blockquote><p><br></p><p><span style="font-family: Tahoma; font-weight: bold;">덤프 명령어 </span></p><p><span style="font-family: Tahoma; font-weight: bold;">svnadmin dump ./svn/mat > ./svn_dump/mat.dump</span></p><p><span style="font-family: Tahoma; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-weight: bold;">신규 저장소 만들기</span></p><p><span style="font-family: Tahoma; font-weight: bold;"></span></p><p><span style="font-family: Tahoma; font-weight: bold;">svnadmin create --fs-type fsfs npo</span></p><div><span style="font-family: Tahoma; font-weight: bold;"><br></span></div><p><span style="font-family: Tahoma; font-weight: bold;">덤프 복구 명령어</span></p><p><span style="font-family: Tahoma; font-weight: bold;">svnadmin load ./svn/npo < ./svn_dump/mat.dump</span><br></p><p><br></p>
[실험] 메뉴 조회 속도 비교 -> DB쿼리 VS JSON파싱
http://www.webprogramer.kr/blog/P000000370/post.do
<blockquote><span style="font-weight: bold; font-family: Verdana; font-size: 24px;">[실험] 메뉴 조회 속도 비교 -> DB쿼리 VS JSON파싱</span></blockquote><p><span style="font-size: 18px; font-family: Verdana; font-weight: bold;">홈페이지에서 TOP 메뉴, LEFT메뉴를 출력하려 한다.</span></p><p><span style="font-size: 18px; font-family: Verdana; font-weight: bold;">메뉴는 뎁스별로 관리자에서 DB로 관리할수 있게 되어 있는상황.</span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">여러 사용자들이 지속적으로 사이트에 접속하고 메뉴를 이동할때</span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">효율적으로 메뉴를 표시할수 있는 방법에는 어떤방법이 있고 효율적인</span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">방법은 무엇이 있을까?</span></p><p><span style="font-size: 18px; font-family: Verdana; font-weight: bold;"><br></span></p><p><span style="font-size: 18px; font-family: Verdana; font-weight: bold;">내가아는 방법들</span></p><p><span style="font-size: 18px; font-family: Verdana; font-weight: bold; background-color: yellow;">1. 실시간으로 DB를 조회 하여 TOP, LEFT메뉴를 출력한다.</span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">2. java 메모리상에 TOP, LEFT메뉴 정보를 로드 해놓고 그 정보를 출력한다.</span><span style="font-size: 18px; font-family: Verdana; font-weight: bold;"><br></span></p><p><span style="font-size: 18px; font-family: Verdana; font-weight: bold;">3. xml로 메뉴 구조를 만들어놓고 필요시 파싱해서 출력한다.</span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700; background-color: yellow;">4. json으로 메뉴 구조를 만들어놓고 필요시 파싱해서 출력한다.</span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">등 다른 방법도 있겠지만 오늘은 DB VS JSON 속도를 비교해볼것이다.</span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">실험 스펙</span></p><p><span style="font-family: Verdana; font-size: 14px; font-weight: 700; font-style: italic;">자바 : 1.7</span></p><p><span style="font-family: Verdana; font-size: 14px; font-weight: 700; font-style: italic;">톰켓 : 7.0</span></p><p><span style="font-family: Verdana; font-size: 14px; font-weight: 700; font-style: italic;">DB : 5.5.40-MariaDB</span></p><p><span style="font-family: Verdana; font-size: 14px; font-weight: 700; font-style: italic;">JSON라이브러리 : org.codehaus.jackson 1.9.2</span></p><p><span style="font-family: Verdana; font-style: italic; font-weight: 700;">하드웨어 : 생략</span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">1~4뎁스까지 메뉴가 존재한다. 전체 데이터 수는 58개.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1530604710642712595.PNG" data-filename="1530604710642712595.PNG" style="width: 25%;" class="img-thumbnail"><span style="font-family: Verdana; font-size: 18px; font-weight: 700;"><br></span><span style="font-family: Verdana; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">속도비교 대상</span></p><p><span style="font-family: Verdana; font-weight: 700; font-style: italic;">1. DB로 메뉴정보를 뎁스와 상관없이 58건을 한번에 조회 후 처리 속도 측정</span></p><p><span style="font-family: Verdana; font-style: italic; font-weight: 700;">2. DB로 메뉴정보를 1~4 각각조회 후 처리 속도 측정<span style="color: rgb(255, 0, 0);">(당연 1방법보다 느림)</span></span><span style="font-family: Verdana; font-weight: 700; font-style: italic;"><br></span></p><div><span style="font-family: Verdana; font-style: italic; font-weight: 700;">3. JSON 데이터를 1~4뎁스 각각 파싱 후 처리 속도 측정</span></div><p><br></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">테스트 방법</span></p><p><span style="color: rgb(206, 0, 0); font-style: italic;"><span style="font-family: Verdana; font-size: 14px; font-weight: 700;">long start = System.currentTimeMillis();</span></span></p><p><span style="color: rgb(206, 0, 0); font-family: Verdana; font-style: italic; font-weight: 700;">{테스트 프로그램}</span></p><div><span style="color: rgb(206, 0, 0); font-family: Verdana; font-size: 14px; font-weight: 700; font-style: italic;">long end = System.currentTimeMillis();</span></div><div><span style="color: rgb(206, 0, 0); font-family: Verdana; font-size: 18px; font-weight: 700; font-style: italic;"><br></span></div><div><span style="color: rgb(206, 0, 0); font-family: Verdana; font-size: 14px; font-weight: 700; font-style: italic;">System.out.println("테스트 결과 : " + (end - start)/1000.0);</span><br><span style="font-family: Verdana; font-size: 18px; font-weight: 700;"><br></span></div><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">테스트 페이지</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1530606290568434187.PNG" data-filename="1530606290568434187.PNG" style="width: 50%;" class="img-thumbnail"><br></p><p><span style="color: rgb(206, 0, 0); font-family: Verdana; font-style: italic; font-weight: 700;"><br></span></p><div><br></div><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">테스트 결과</span></p><p><span style="color: rgb(206, 0, 0); font-family: Verdana; font-style: italic; font-weight: 700;">총 5회 테스트 한 결과 이다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1530605888309112669.PNG" data-filename="1530605888309112669.PNG" style="width: 100%;" class="img-thumbnail"><span style="color: rgb(206, 0, 0); font-family: Verdana; font-style: italic; font-weight: 700;"><br></span><span style="font-family: Verdana; font-size: 18px; font-weight: 700;"><br></span><br></p><div><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">개발환경, 스펙, 데이터 건수등에 따라 다르게 나오겠지만</span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">현재 내가 테스트한 환경에서는 이러한 수치가 나왔다.</span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">Json이 빠르다는것이 한눈에 보인다.</span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Verdana; font-size: 18px; font-weight: 700;">이만.</span></p></div><div><span style="font-family: Verdana; font-size: 18px; font-weight: 700;"><br></span></div><p><span style="font-weight: bold; font-family: Verdana;"><span style="font-size: 18px;"><br></span><br></span></p><p><br></p>
mysql 사용자 권한 확인
http://www.webprogramer.kr/blog/P000000369/post.do
<p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;">자주쓰진 않지만 쓸려고만 하면 생각이 나지 않아서.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma;"><b style="color: rgb(102, 102, 102); font-size: 12px;"><span style="font-size: 18px; color: rgb(0, 0, 0);">mysql </span><font color="#000000" style=""><span style="font-size: 18px; line-height: 20px;">사용자 </span></font><span style="color: rgb(0, 0, 0); font-size: 18px; line-height: 1.5;">권한 확인</span></b></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="color: rgb(0, 0, 0); font-size: 13.3333px; line-height: 20px;"><span style="font-size: 14px; font-family: Tahoma; font-weight: bold;">* 계정 기본 권한 확인</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><font color="#2d2c2d"><span style="font-size: 14px; line-height: 22px; color: rgb(0, 0, 0); font-family: Tahoma;">Mysql> mysql -E -u [mysql 디비에 접근할 수 있는 계정] -p</span></font></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px; line-height: 22px;">Mysql></span><span style="color: rgb(0, 0, 0); font-size: 14px; line-height: 22px;"> </span><font color="#2d2c2d"><span style="font-size: 14px; line-height: 22px; color: rgb(0, 0, 0);">use mysql ;</span></font></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px; line-height: 22px;">Mysql></span><span style="color: rgb(0, 0, 0); font-size: 14px; line-height: 22px;"> </span><font color="#2d2c2d"><span style="font-size: 14px; line-height: 22px; color: rgb(0, 0, 0);">select * from user where user = [사용자ID] ; </span></font></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-family: Tahoma;"><br></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="color: rgb(0, 0, 0); font-size: 13.3333px; line-height: 20px;"><b><span style="font-size: 14px; font-family: Tahoma;">* 설정된 권한 확인</span></b></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px; line-height: 22px;">mysql> </span><span style="font-size: 14px; color: rgb(0, 0, 0);">SHOW GRANTS FOR [</span><span style="font-size: 14px; color: rgb(0, 0, 0);">사용자계정</span><span style="font-size: 10pt; color: rgb(0, 0, 0);"><span style="font-size: 14px;">@호스트</span><span style="font-size: 14px;">]</span></span><span style="font-size: 14px; color: rgb(0, 0, 0);">;</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><b style="color: rgb(0, 0, 0); font-size: 13.3333px; line-height: 20px;"><span style="font-size: 14px; font-family: Tahoma;">* 현재 접속된 사용자의 권한 확인</span></b></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="color: rgb(0, 0, 0); font-size: 14px; font-family: Tahoma;">mysql> SHOW GRANTS FOR CURRENT_USER;</span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-family: Tahoma;"><br></span></p><p style="color: rgb(102, 102, 102); font-size: 12px;"><b style="font-family: Tahoma;"><span style="font-size: 18px; color: rgb(0, 0, 0);">mysql </span><font color="#000000"><span style="font-size: 18px; line-height: 20px;">사용자 </span></font><span style="color: rgb(0, 0, 0); font-size: 18px; line-height: 1.5;">권한 추가</span></b></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><b><span style="color: rgb(0, 0, 0); font-size: 12pt; line-height: 1.5; font-family: Tahoma;"><span style="font-size: 14px;">* 사용자 생성과 권한</span><span style="font-size: 14px;">을 같이 설정</span></span></b></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px; line-height: 22px;">Mysql></span><span style="color: rgb(0, 0, 0); font-size: 14px; line-height: 22px;"> </span><span style="color: rgb(0, 0, 0); font-size: 14px;">GRANT all privileges ON test.* to 'test2'@'localhost' identified by '비밀번호' ;</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-family: Tahoma;"><span style="color: rgb(34, 116, 28); font-size: 14px;">> </span><span style="font-size: 14px; line-height: 1.5; color: rgb(34, 116, 28);">local접속만 허용하는 </span><span style="font-size: 14px; line-height: 1.5; color: rgb(34, 116, 28);">test2 사용자를 생성하고 접근시 </span><span style="font-size: 14px; line-height: 1.5; color: rgb(34, 116, 28);">test 데이터베이스에 대한 모든 권한을 추가</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-size: 9pt; line-height: 1.5; font-family: Tahoma;"><br></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><b style="font-family: Tahoma;"><span style="font-size: 9pt; line-height: 1.5;"><span style="font-size: 10pt; color: rgb(0, 0, 0);"><span style="font-size: 14px;">*</span><span style="font-size: 14px;"> </span></span><span style="font-size: 14px; color: rgb(0, 0, 0);">기존 </span></span><span style="font-size: 9pt; line-height: 1.5;"><font color="#000000"><span style="font-size: 14px; line-height: 20px;">사용자 </span></font><span style="color: rgb(0, 0, 0); font-size: 14px; line-height: 1.5;">권한 추가</span></span></b></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px; line-height: 22px;">Mysql></span><span style="color: rgb(0, 0, 0); font-size: 14px; line-height: 22px;"> </span><span style="color: rgb(0, 0, 0); font-size: 14px;">GRANT select,insert,update,delete,create,drop,index,alter ON test.* to </span><span style="font-size: 14px; line-height: 1.5; color: rgb(0, 0, 0);">'test2'@'localhost' ;</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-family: Tahoma;"><span style="font-size: 14px; line-height: 1.5; color: rgb(34, 116, 28);">> </span><span style="font-size: 14px; line-height: 1.5; color: rgb(34, 116, 28);">local접속만 허용하는 </span><span style="font-size: 14px; line-height: 1.5; color: rgb(34, 116, 28);">test2 사용자에게 </span><span style="font-size: 14px; line-height: 1.5; color: rgb(34, 116, 28);">test 데이터베이스에 대한 </span><span style="font-size: 14px; line-height: 1.5; color: rgb(34, 116, 28);">select,insert,update,delete,create,drop,index,alter 권한을 추가</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-size: 9pt; line-height: 1.5; font-family: Tahoma;"><br></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-size: 9pt; line-height: 1.5;"><b><span style="color: rgb(0, 0, 0); font-size: 14px; font-family: Tahoma;">- 권한 리스트 -</span></b></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px;">ALL - </span><span style="font-size: 14px; line-height: 1.5; color: rgb(0, 0, 0);">모든 권한 부여</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px;">ALTER - </span><span style="font-size: 14px; line-height: 1.5; color: rgb(0, 0, 0);">ALTER TABLE 사용 가능</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px;">CREATE - </span><span style="font-size: 14px; line-height: 1.5; color: rgb(0, 0, 0);">CREATE TABLE 사용 가능</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px;">CREATE TEMPORARY TABLES - </span><span style="font-size: 14px; line-height: 1.5; color: rgb(0, 0, 0);">CREATE TEMPORARY TABLES 사용 가능</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px;">SELECT, DELETE, UPDATE, DROP - </span><span style="font-size: 14px; line-height: 1.5; color: rgb(0, 0, 0);">조회,수정,삭제 권한 가능</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="color: rgb(0, 0, 0); font-size: 14px; font-family: Tahoma;">EXCUTE</span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px;">FILE - </span><span style="font-size: 14px; line-height: 1.5; color: rgb(0, 0, 0);">SELECT.. INTO OUTFILE </span><span style="font-size: 14px; line-height: 1.5; color: rgb(0, 0, 0);">LOAD DATA INFILE 사용 가능</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px;">INDEX - </span><span style="font-size: 14px; line-height: 1.5; color: rgb(0, 0, 0);">CREATE INDEX , DROP INDEX 가능</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px;">LOCK TABLES - </span><span style="font-size: 14px; line-height: 1.5; color: rgb(0, 0, 0);">SELECT 권한있을 때 LOCK TABLES 가능</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px;">PROCESS</span><span class="Apple-tab-span" style="white-space: pre; color: rgb(0, 0, 0); font-size: 14px;"> </span><span style="color: rgb(0, 0, 0); font-size: 14px;">- SHOW FULL PROCESSLIST 가능</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="color: rgb(0, 0, 0); font-size: 14px; font-family: Tahoma;">SHUTDOWN - SHUTDOWN 가능</span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="color: rgb(0, 0, 0); font-size: 14px; font-family: Tahoma;">SHOW DATABASES - SHOW DATABASES 가능</span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 4em;"><span style="font-family: Tahoma;"><span style="color: rgb(0, 0, 0); font-size: 14px;">RELOAD - </span><span style="font-size: 14px; line-height: 1.5; color: rgb(0, 0, 0);">FLUSH 가능</span></span></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><br></p><p style="color: rgb(102, 102, 102); font-size: 12px;"><b style="font-family: Tahoma;"><span style="font-size: 18px; color: rgb(0, 0, 0);">mysql </span><font color="#000000"><span style="font-size: 18px; line-height: 20px;">사용자 </span></font><span style="color: rgb(0, 0, 0); font-size: 18px; line-height: 1.5;">권한 취소</span></b></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><font color="#000000"><span style="font-size: 14px; line-height: 22px; font-family: Tahoma;">mysql> REVOKE ALL PRIVILEGES ON test.* FROM test2@localhost;</span></font></p><p style="color: rgb(102, 102, 102); font-size: 12px; margin-left: 2em;"><span style="font-family: Tahoma;"><font color="#2d2c2d"><span style="font-size: 14.6667px; line-height: 22px;"><span style="font-size: 14px; color: rgb(34, 116, 28);">> </span></span></font><span style="font-size: 14px; line-height: 1.5; color: rgb(34, 116, 28);">local접속만 허용하는 </span><span style="font-size: 14px; line-height: 1.5; color: rgb(34, 116, 28);">test2 사용자의 </span><span style="font-size: 14px; line-height: 22px; color: rgb(34, 116, 28);">test 데이터베이스에 대한 모든 권한 삭제</span></span></p>
애플워치 3 구매
http://www.webprogramer.kr/blog/P000000368/post.do
<blockquote><span style="font-size: 24px; font-weight: bold;">애플워치3 구매</span></blockquote><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">구매하고 싶었는데 와이프가 사준다고 해서</span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">맘바뀌기 전에 재빨리 구매 하였다. <br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma; font-size: 14px;">쿠팡 로켓배송으로 시켜서 담날 바로 왔다.</span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma; font-size: 14px;">생각보다 케이스가 길다.</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1523593012069210355.jpg" data-filename="1523593012069210355.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">구성품</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1523593182602522966.jpg" data-filename="1523593182602522966.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">비닐커버에 시계줄 차는 방법이 나와 있다.</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/152359324056621458.jpg" data-filename="152359324056621458.jpg" style="width: 843.594px;" class="img-thumbnail"><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">전면</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1523593240569628919.jpg" data-filename="1523593240569628919.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">아이폰 키고 동기화중</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1523593325997572243.jpg" data-filename="1523593325997572243.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">착용샷</span></span></p><p><span style="font-family: Tahoma; font-size: 18px;">터치가 되니 </span><span style="font-size: 18px;"><span style="font-family: Tahoma;">기존에 쓰던 페블타임보단 할 수 있는것이 많다.</span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">화면에 위젯같은 것들을 컴플리케이션 에서 설정 할 수 있다.</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1523593342955154596.jpg" data-filename="1523593342955154596.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><h1 class="product-header__title" style="box-sizing: inherit; margin-top: 0px; margin-bottom: 0px; padding: 0.125em 0px 0px; color: rgb(17, 17, 17); font-size: 24px; font-weight: 700; word-break: keep-all; line-height: 1.25; letter-spacing: 0.018em; font-family: "SF Pro KR", "SF Pro Display", "SF Pro Icons", "Apple WebExp Icons Custom", "Apple Gothic", "HY Gulim", MalgunGothic, "HY Dotum", "Lexi Gulim", "Helvetica Neue", Helvetica, Arial, sans-serif;"><span style="font-size: 18px;">미세먼지 앱 Air Matters</span></h1><h1 class="product-header__title" style="box-sizing: inherit; margin-top: 0px; margin-bottom: 0px; padding: 0.125em 0px 0px; color: rgb(17, 17, 17); font-size: 24px; font-weight: 700; word-break: keep-all; line-height: 1.25; letter-spacing: 0.018em; font-family: "SF Pro KR", "SF Pro Display", "SF Pro Icons", "Apple WebExp Icons Custom", "Apple Gothic", "HY Gulim", MalgunGothic, "HY Dotum", "Lexi Gulim", "Helvetica Neue", Helvetica, Arial, sans-serif;"><img src="http://www.webprogramer.kr/upload/blog/editor/1523594185474999689.png" data-filename="1523594185474999689.png" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px;"><br></span></h1><p><span style="font-weight: bold; color: rgb(156, 0, 255);"><br></span></p><p><span style="font-weight: bold; color: rgb(156, 0, 255);"><a href="https://itunes.apple.com/kr/app/air-matters/id477700080?platform=appleWatch&preserveScrollPosition=true#platform/appleWatch" target="_blank">https://itunes.apple.com/kr/app/air-matters/id477700080?platform=appleWatch&preserveScrollPosition=true#platform/appleWatch</a></span><br></p><p><br></p><p></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">그동안 잘썻던 페블타임은중고 나라로.</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1523594201239350114.jpg" data-filename="1523594201239350114.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p>
이클립스 실행 시 종료되는 문제
http://www.webprogramer.kr/blog/P000000367/post.do
<blockquote><span style="font-size: 24px; font-weight: bold;">이클립스 실행 시 종료되는 문제</span></blockquote><p><span style="font-size: 18px; font-weight: 700;">자꾸까먹어서 경로 메모</span></p><p><span style="font-size: 18px; font-weight: 700; color: inherit;">workspace/.metadata/.plugins/org.eclipse.e4.workbench</span></p><p><span style="color: rgb(0, 0, 255); font-size: 18px; font-weight: 700;">org.eclipse.e4.workbench 폴더안에 workbench.xmi를 삭제</span></p><p><span style="color: rgb(0, 0, 255); font-size: 18px; font-weight: 700;">하고 이클립스를 재 시작한다.</span></p><p><br></p><p><br></p><p><br><br></p><p><br></p><p><br></p><p><br></p><p><br></p>
Spring-MVC-ShowCase 설정 하기
http://www.webprogramer.kr/blog/P000000366/post.do
<blockquote><p><span style="font-weight: bold; font-family: Tahoma;"><span style="font-size: 24px;">Spring-MVC-ShowCase 설정 하기</span></span><span style="font-size: 24px;">
</span><br class="Apple-interchange-newline"></p></blockquote><p><span style="font-family: Tahoma; font-size: 14px;">Java로 web 개발을 하고 있다면 Spring Framework를 접해 봤을것이다.</span></p><p><span style="font-family: Tahoma;">Spring을 </span><span style="font-family: Tahoma; font-size: 14px;">책으로 학습 해도 좋지만, </span></p><p><span style="font-family: Tahoma;">Spring 엑기스?를 모아놓은 Spring-MVC-ShowCase의 </span><span style="font-family: Tahoma;">샘플예제를 눌러보고 코드를 찾아가 </span></p><p><span style="font-family: Tahoma;">배우는것도 좋은 방법이라 생각한다.</span></p><p><span style="font-family: Tahoma;">자료를 찾다보니 Spring-MVC-ShowCase는 2010년7월22일 <a href="http://spring.io/blog/2010/07/22/spring-mvc-3-showcase/" target="_blank" style="font-weight: bold; color: rgb(0, 0, 255);">스프링 블로그에 소개</a>가 되었다.</span></p><p><span style="font-family: Tahoma; font-size: 14px;">좀 창피한 일이지만 나는 몇일전에 지인으로부터 듣고 알게 되었다.</span></p><p><span style="font-family: Tahoma; font-size: 14px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 14px;">자. 이제 설정을 해보자</span></p><p><span style="font-family: Tahoma; font-size: 14px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 14px;">1. 우선 Spring STS를 다운로드 받자</span></p><p><span style="font-weight: bold;"><span style="font-family: Tahoma; color: rgb(0, 0, 255);"><a href="https://spring.io/tools/sts/all" target="_blank">https://spring.io/tools/sts/all</a></span><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1522895196721216773.png" data-filename="1522895196721216773.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 14px;"><br></span></p><p><br></p><p><span style="font-family: Tahoma;">2. GitHub에서 소스를 다운로드 받는다.</span></p><p><span style="font-weight: bold; color: rgb(0, 0, 255);"><span style="font-family: Tahoma;"><a href="https://github.com/spring-projects/spring-mvc-showcase" target="_blank">https://github.com/spring-projects/spring-mvc-showcase</a></span><br></span></p><div><img src="http://www.webprogramer.kr/upload/blog/editor/152289531523116413.png" data-filename="152289531523116413.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;">3. 다운로드 받은 파일의 압축을 해제한다.</span></div><div><span style="font-family: Tahoma;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522895448069819107.png" data-filename="1522895448069819107.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><div><span style="font-family: Tahoma;">4. STS의 workspace 폴더를 편한곳에 만든다.</span></div><div><span style="font-family: Tahoma;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522895494693863710.png" data-filename="1522895494693863710.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;">5. STS의 실행 후 workspace 경로를 지정한다.</span></div><div><span style="font-family: Tahoma;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522895887771693356.png" data-filename="1522895887771693356.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;">6. STS가 잘 실행되었다.</span></div><div><br></div></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522895931018474470.png" data-filename="1522895931018474470.png" style="width: 100%;" class="img-thumbnail"></div><div><br></div><div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;">7</span><span style="font-family: Tahoma;">. 이제 소스를 import 한다.</span></div><div><br></div><div><span style="font-weight: bold; color: rgb(0, 0, 255);">Import -> Maven -> Existing Maven Projects를 선택한다.</span></div><div><span style="font-family: Tahoma;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522895975863177960.png" data-filename="1522895975863177960.png" style="width: 100%;" class="img-thumbnail"><br></div><div><br></div><div><br></div><div><br></div><div><div><span style="font-family: Tahoma;">8. 압축푼 소스의 경로를 지정한 후 Finish를 선택한다.</span></div></div><div><span style="font-family: Tahoma;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522896079213239184.png" data-filename="1522896079213239184.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;">9. Maven 라이브러리 다운로드중.</span></div><div><span style="font-family: Tahoma;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522896125056864961.png" data-filename="1522896125056864961.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><div><span style="font-family: Tahoma;">10. Maven 라이브러리 다운로드 완료 후.</span></div><div><span style="font-family: Tahoma;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522896170411915649.png" data-filename="1522896170411915649.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div></div><div><div><span style="font-family: Tahoma;">11. 서버에 추가한다. - 1</span></div></div><div><span style="font-family: Tahoma;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522896200046920365.png" data-filename="1522896200046920365.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><div><span style="font-family: Tahoma;">12. 서버에 추가한다. - 2 </span></div></div><div><span style="font-family: Tahoma;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522896232215186115.png" data-filename="1522896232215186115.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;">13. 실행완료. </span><br></div></div><div><span style="font-family: Tahoma;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522896277761465194.png" data-filename="1522896277761465194.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><div><span style="font-family: Tahoma;">14. 이제 브라우저에서 실행 해보자.</span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma; font-weight: bold; color: rgb(0, 0, 255);"><a href="http://localhost:8080/spring-mvc-showcase/" target="_blank" style="">http://localhost:8080/spring-mvc-showcase/</a></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><br></div></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522896310992654490.png" data-filename="1522896310992654490.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;">15. 정상실행 되었다.</span><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522896483402402394.png" data-filename="1522896483402402394.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;"><br></span></div><div><span style="font-family: Tahoma;">16. 샘플에 어느 소스코드를 참고 하라고 나온다.</span></div><div><span style="font-family: Tahoma;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1522896500146530403.png" data-filename="1522896500146530403.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma;"><br></span><span style="font-family: Tahoma;"><br></span></div><span style="font-family: Tahoma;"><br></span></div>
괜찮은 자바스크립트 챠트, 에디터, 그리드 등등
http://www.webprogramer.kr/blog/P000000365/post.do
<p><br></p><p><span style="font-weight: bold; font-family: Tahoma; font-size: 24px; color: rgb(156, 0, 255);">무료 자바스크립트 라이브러리 메모</span></p><p><span style="font-weight: bold; font-family: Tahoma; font-size: 24px; color: rgb(156, 0, 255);"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1521698564290585128.png" data-filename="1521698564290585128.png" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold; font-family: Tahoma; font-size: 24px; color: rgb(156, 0, 255);"><br></span></p><p><span style="font-weight: bold; font-family: Tahoma;"><br></span></p><p><span style="font-weight: bold; font-family: Tahoma; font-size: 24px;"><a href="http://ui.toast.com/tui-chart/" target="_blank">http://ui.toast.com/tui-chart/</a></span></p><p><br></p><p><span style="font-weight: bold; font-family: Tahoma; font-size: 24px;">에디터 기능이 대단한듯</span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><a href="http://ui.toast.com/tui-editor" target="_blank">http://ui.toast.com/tui-editor</a></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><a href="https://nhnent.github.io/tui.editor/api/latest/tutorial-example11-chart.html" target="_blank">https://nhnent.github.io/tui.editor/api/latest/tutorial-example11-chart.html</a></span></p><p><span style="font-family: Tahoma; font-size: 24px; font-weight: 700;"><br></span></p><p><span style="font-weight: bold; font-family: Tahoma; font-size: 24px;">NHN에서 만든듯.</span></p><div><span style="font-weight: bold; font-family: Tahoma; font-size: 24px;"><br></span></div><p><br></p>
네이버 스마트 에디터 + 이미지 업로드
http://www.webprogramer.kr/blog/P000000364/post.do
<blockquote><p><span style="font-family: Tahoma;"><span style="font-size: 24px;">네이버 스마트 에디터 + 이미지 업로드<br></span></span></p></blockquote><p><span style="font-family: Tahoma; font-size: 18px;">에디터를 붙여야 되서 다음/네이버 고민하다가 <br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">네이버 에디터로 붙이기로 하였다.<span style="font-family: Tahoma; font-size: 18px;"><br></span></span></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;"><a style="font-weight: bold;" href="https://developers.naver.com/opensource/tools/editor/" target="_blank"><u><font color="#0066cc">네이버 개발자 센터</font></u></a>에 방문해보니 에디터는<br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">Github로 옮겨진것을 확인 하였다.<br></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/15178163632978660.png" data-filename="15178163632978660.png"><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">가장최신 버전도 있지만 이미지 업로드를 <br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">지원하지 않는다 하여 바로 아래버전을 <br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">다운로드 하였다.<br></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1517816367193193604.png" data-filename="1517816367193193604.png"><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><span style="font-family: Tahoma; font-size: 18px;">압축을풀고<br></span></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1517816370718615997.png" data-filename="1517816370718615997.png"><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><span style="font-family: Tahoma; font-size: 18px;">이클립스 프로젝트 안에 적당히 배치 하였다.<br></span></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1517816374393757587.png" data-filename="1517816374393757587.png"><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><span style="font-family: Tahoma; font-size: 18px;">SmartEditor2.html 샘플예제를 보고 에디터를 붙여야 하는 부분에 js를 추가 하였다.</span></span></p><pre class="prettyprint linenums"><code class="language-javascript"><script type="text/javascript" src="<c:url value='/resources/editor/js/HuskyEZCreator.js'/>" charset="utf-8"></script></code></pre><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">textarea에 id를 주고</span></p><pre class="prettyprint linenums"><code class="language-markup"><textarea id="nttCn" name="nttCn" rows="7" class="require name_s01p" style="height:350px;" title="내용"></textarea></code></pre><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><span style="font-family: Tahoma; font-size: 18px;">에디터 불러오는 스크립트를 추가<br></span></span></p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-javascript"><span class="pun"><</span><span class="pln">script type</span><span class="pun">=</span><span class="str">"text/javascript"</span><span class="pun">></span></code></li><li class="L1"><code class="language-javascript"><span class="pln"> </span><span class="com">//전역변수</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> </span><span class="kwd">var</span><span class="pln"> obj </span><span class="pun">=</span><span class="pln"> </span><span class="pun">[];</span></code></li><li class="L3"><code class="language-javascript"></code></li><li class="L4"><code class="language-javascript"><span class="pln"> </span><span class="com">//스마트에디터 프레임생성</span></code></li><li class="L5"><code class="language-javascript"><span class="pln"> nhn</span><span class="pun">.</span><span class="pln">husky</span><span class="pun">.</span><span class="typ">EZCreator</span><span class="pun">.</span><span class="pln">createInIFrame</span><span class="pun">({</span></code></li><li class="L6"><code class="language-javascript"><span class="pln"> oAppRef</span><span class="pun">:</span><span class="pln"> obj</span><span class="pun">,</span></code></li><li class="L7"><code class="language-javascript"><span class="pln"> elPlaceHolder</span><span class="pun">:</span><span class="pln"> </span><span class="str">"nttCn"</span><span class="pun">,</span></code></li><li class="L8"><code class="language-javascript"><span class="pln"> sSkinURI</span><span class="pun">:</span><span class="pln"> </span><span class="str">"<c:url value="/resources/editor/SmartEditor2Skin.html"></c:url>"</span><span class="pun">,</span></code></li><li class="L9"><code class="language-javascript"><span class="pln"> htParams </span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L0"><code class="language-javascript"><span class="pln"> </span><span class="com">// 툴바 사용 여부</span></code></li><li class="L1"><code class="language-javascript"><span class="pln"> bUseToolbar </span><span class="pun">:</span><span class="pln"> </span><span class="kwd">true</span><span class="pun">,</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> </span><span class="com">// 입력창 크기 조절바 사용 여부</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> bUseVerticalResizer </span><span class="pun">:</span><span class="pln"> </span><span class="kwd">true</span><span class="pun">,</span></code></li><li class="L4"><code class="language-javascript"><span class="pln"> </span><span class="com">// 모드 탭(Editor | HTML | TEXT) 사용 여부</span></code></li><li class="L5"><code class="language-javascript"><span class="pln"> bUseModeChanger </span><span class="pun">:</span><span class="pln"> </span><span class="kwd">true</span><span class="pun">,</span></code></li><li class="L6"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L7"><code class="language-javascript"><span class="pln"> </span><span class="pun">});</span></code></li><li class="L8"><code class="language-javascript"><span class="pun"><!--</span--><span class="pln">script</span><span class="pun">></span></span></code></li></ol></pre><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;"><span style="font-family: Tahoma; font-size: 18px;">페이지를 띄어 보니 잘동작한다.<br></span></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/151781639524842589.png" data-filename="151781639524842589.png"><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">이미지 업로드</span></p><p><span style="font-family: Tahoma; font-size: 18px;">hp_SE2M_AttachQuickPhoto.js의 팝업 URL을 수정한다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;">URL을 내 시스템에 맞게 변경하였다.</span></p><pre class="prettyprint linenums prettyprinted" style=""><ol class="linenums"><li class="L0"><code class="language-javascript"><span class="com">/**</span></code></li><li class="L1"><code class="language-javascript"><span class="com">* 서비스별로 팝업에 parameter를 추가하여 URL을 생성하는 함수</span></code></li><li class="L2"><code class="language-javascript"><span class="com">* nhn.husky.SE2M_AttachQuickPhoto.prototype.makePopupURL로 덮어써서 사용하시면 됨.</span></code></li><li class="L3"><code class="language-javascript"><span class="com">*/</span></code></li><li class="L4"><code class="language-javascript"><span class="pln">makePopupURL </span><span class="pun">:</span><span class="pln"> </span><span class="kwd">function</span><span class="pun">(){</span></code></li><li class="L5"><code class="language-javascript"><span class="pln"> </span><span class="com">//var sPopupUrl = "./sample/photo_uploader/photo_uploader.html";</span></code></li><li class="L6"><code class="language-javascript"><span style="font-weight: bold; background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span class="pln" style=""> </span><span class="kwd" style="">var</span><span class="pln" style=""> sPopupUrl </span><span class="pun" style="">=</span><span class="pln" style=""> </span><span class="str" style="">"/common/editor/photoUploadPop.do"</span><span class="pun" style="">;</span></span></code></li><li class="L7"><code class="language-javascript"><span class="pln"> </span><span class="kwd">return</span><span class="pln"> sPopupUrl</span><span class="pun">;</span></code></li><li class="L8"><code class="language-javascript"><span class="pun">},</span></code></li></ol></pre><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">기본적으로 제공해주는 것을 사용해도 되지만</span></p><p><span style="font-family: Tahoma; font-size: 18px;">나는 기존에 파일업로드가 있기때문에 그것을 활용하여</span></p><p><span style="font-family: Tahoma; font-size: 18px;">업로드한 정보를 리턴 받아서 사용하였다.</span></p><div><br></div><div><p><span style="font-family: Tahoma; font-size: 18px;">대략 이런 형태이다. </span></p></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/151781841205668518.png" data-filename="151781841205668518.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span><br></p><div><span style="font-family: Tahoma; font-size: 18px;">업로드된 정보를 이용하여 </span><span style="font-family: Tahoma; font-size: 18px;">img태그를 만들어서 에디터에 넣는 식으로 하였다.</span></div><div><span style="font-family: Tahoma; font-size: 18px;"><br></span></div><pre class="prettyprint linenums prettyprinted" style=""><ol class="linenums"><li class="L0"><code class="language-javascript"><span class="com">//리턴받은 이미지 갯수만큼 루프</span></code></li><li class="L1"><code class="language-javascript"><span class="kwd">for</span><span class="pun">(...)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> </span><span class="com">//이미지 html 태그</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> </span><span class="kwd">var</span><span class="pln"> sHTML </span><span class="pun">=</span><span class="pln"> </span><span class="str">"</span><p style="text-align: center;"><img src="이미지경로" class="txc-image" style="clear: none; float: none;"></p><span class="str">"</span><span class="pun">;</span></code></li><li class="L4"><code class="language-javascript"><span class="pln"> </span><span class="com">//에디터에 붙이기</span></code></li><li class="L5"><code class="language-javascript"><span class="pln"> obj</span><span class="pun">.</span><span class="pln">getById</span><span class="pun">[</span><span class="str">"nttCn"</span><span class="pun">].</span><span class="pln">exec</span><span class="pun">(</span><span class="str">"PASTE_HTML"</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[</span><span class="pln">sHTML</span><span class="pun">]);</span></code></li><li class="L6"><code class="language-javascript"><span class="pun">}</span></code></li></ol></pre><div><span style="font-family: Tahoma; font-size: 18px;"><br></span></div><div><div><span style="font-family: Tahoma; font-size: 18px;">이미지가 정상적으로 표시가 되었다.</span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/151781905160577154.png" data-filename="151781905160577154.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></div><div><span style="font-family: Tahoma; font-size: 18px;"><br></span></div><div><div><span style="font-family: Tahoma; font-size: 18px;"><br></span></div><div><p><span style="font-family: Tahoma; font-size: 18px;">허나 문제가 있었다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;">커서를 2와 3사이에 찍고 이미지를 업로드 하였는데</span></p><p><span style="font-family: Tahoma; font-size: 18px;">계속 밑으로만 떨어진다. ㅠㅠ</span></p><p><span style="font-family: Tahoma; font-size: 18px;">그냥 에디터껄 쓸껄 그랬나..</span></p><p><span style="font-family: Tahoma; font-size: 18px;">구글링 해봐도 명확한 해결책은 보이지 않고</span></p><p><span style="font-family: Tahoma; font-size: 18px;">소스를 까보니 의외로 쉬운 간단한 문제였다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">에디터 소스에 attach_photo.js를 열어보니</span></p><p><span style="font-family: Tahoma; font-size: 18px;">아래와 같은 function을 사용하는걸 발견하고</span></p><p><span style="font-family: Tahoma; font-size: 18px;">기존에 임의로 콜백함수를 만들어 사용했던것을 아래와 같이 바꾸었다.</span></p></div></div></div><pre class="prettyprint linenums prettyprinted" style=""><ol class="linenums"><li class="L0"><code class="language-javascript"></code></li><li class="L1"><code class="language-javascript"><span class="com">/**</span></code></li><li class="L2"><code class="language-javascript"><span class="com"> * 서버로부터 받은 데이타를 에디터에 전달하고 창을 닫음.</span></code></li><li class="L3"><code class="language-javascript"><span class="com"> * @parameter aFileInfo [{},{},...] </span></code></li><li class="L4"><code class="language-javascript"><span class="com"> * @ex aFileInfo = [</span></code></li><li class="L5"><code class="language-javascript"><span class="com"> * {</span></code></li><li class="L6"><code class="language-javascript"><span class="com"> sFileName : "nmms_215646753.gif",</span></code></li><li class="L7"><code class="language-javascript"><span class="com"> sFileURL :"http://static.naver.net/www/u/2010/0611/nmms_215646753.gif",</span></code></li><li class="L8"><code class="language-javascript"><span class="com"> bNewLine : true</span></code></li><li class="L9"><code class="language-javascript"><span class="com"> },</span></code></li><li class="L0"><code class="language-javascript"><span class="com"> {</span></code></li><li class="L1"><code class="language-javascript"><span class="com"> sFileName : "btn_sch_over.gif",</span></code></li><li class="L2"><code class="language-javascript"><span class="com"> sFileURL :"http://static1.naver.net/w9/btn_sch_over.gif",</span></code></li><li class="L3"><code class="language-javascript"><span class="com"> bNewLine : true</span></code></li><li class="L4"><code class="language-javascript"><span class="com"> }</span></code></li><li class="L5"><code class="language-javascript"><span class="com"> * ]</span></code></li><li class="L6"><code class="language-javascript"><span class="com"> */</span></code></li><li class="L7"><code class="language-javascript"><span class="kwd">function</span><span class="pln"> setPhotoToEditor</span><span class="pun">(</span><span class="pln">oFileInfo</span><span class="pun">){</span></code></li><li class="L8"><code class="language-javascript"><span class="pln"> </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(!!</span><span class="pln">opener </span><span class="pun">&&</span><span class="pln"> </span><span class="pun">!!</span><span class="pln">opener</span><span class="pun">.</span><span class="pln">nhn </span><span class="pun">&&</span><span class="pln"> </span><span class="pun">!!</span><span class="pln">opener</span><span class="pun">.</span><span class="pln">nhn</span><span class="pun">.</span><span class="pln">husky </span><span class="pun">&&</span><span class="pln"> </span><span class="pun">!!</span><span class="pln">opener</span><span class="pun">.</span><span class="pln">nhn</span><span class="pun">.</span><span class="pln">husky</span><span class="pun">.</span><span class="typ">PopUpManager</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L9"><code class="language-javascript"><span class="pln"> </span><span class="com">//스마트 에디터 플러그인을 통해서 넣는 방법 (oFileInfo는 Array)</span></code></li><li class="L0"><code class="language-javascript"><span class="pln"> opener</span><span class="pun">.</span><span class="pln">nhn</span><span class="pun">.</span><span class="pln">husky</span><span class="pun">.</span><span class="typ">PopUpManager</span><span class="pun">.</span><span class="pln">setCallback</span><span class="pun">(</span><span class="pln">window</span><span class="pun">,</span><span class="pln"> </span><span class="str">'SET_PHOTO'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[</span><span class="pln">oFileInfo</span><span class="pun">]);</span></code></li><li class="L1"><code class="language-javascript"><span class="pln"> </span><span class="com">//본문에 바로 tag를 넣는 방법 (oFileInfo는 String으로 </span><img src="...."><span class="com"> )</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> </span><span class="com">//opener.nhn.husky.PopUpManager.setCallback(window, 'PASTE_HTML', [oFileInfo]);</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L4"><code class="language-javascript"><span class="pun">}</span></code></li><li class="L5"><code class="language-javascript"><span class="pln"> </span></code></li></ol></pre><div><div><div><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">콜백을 이렇게 바꾸어 사용하니 커서위치가 정확히 찍은 위치에</span></p><p><span style="font-family: Tahoma; font-size: 18px;">이미지가 등록됨.</span></p></div></div></div><pre class="prettyprint linenums prettyprinted" style=""><ol class="linenums"><li class="L0"><code class="language-javascript"><span class="com">// 이미지</span></code></li><li class="L1"><code class="language-javascript"><span class="kwd">function</span><span class="pln"> imgCallback</span><span class="pun">(</span><span class="pln">files</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> </span><span class="kwd">var</span><span class="pln"> aFileInfo </span><span class="pun">=</span><span class="pln"> </span><span class="pun">[];</span><span class="pln"> </span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> </span><span class="kwd">for</span><span class="pun">(</span><span class="kwd">var</span><span class="pln"> f in files</span><span class="pun">.</span><span class="pln">fileList</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L4"><code class="language-javascript"><span class="pln"> </span><span class="kwd">var</span><span class="pln"> sHTML </span><span class="pun">=</span><span class="pln"> </span><span class="str">"이미지</span><span class="pln">URL</span><span class="pun">;</span></code></li><li class="L5"><code class="language-javascript"><span class="pln"> </span><span class="kwd">var</span><span class="pln"> aPhotoInfo </span><span class="pun">=</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L6"><code class="language-javascript"><span class="pln"> sFileName </span><span class="pun">:</span><span class="pln"> </span><span class="pun">파일명,</span></code></li><li class="L7"><code class="language-javascript"><span class="pln"> sFileURL </span><span class="pun">:</span><span class="pln"> sHTML</span><span class="pun">,</span></code></li><li class="L8"><code class="language-javascript"><span class="pln"> bNewLine </span><span class="pun">:</span><span class="pln"> </span><span class="kwd">true</span></code></li><li class="L9"><code class="language-javascript"><span class="pln"> </span><span class="pun">};</span></code></li><li class="L0"><code class="language-javascript"><span class="pln"> aFileInfo</span><span class="pun">.</span><span class="pln">push</span><span class="pun">(</span><span class="pln">aPhotoInfo</span><span class="pun">);</span></code></li><li class="L1"><code class="language-javascript"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L2"><code class="language-javascript"><span class="pln"> </span><span class="com">//스마트 에디터 플러그인 부분 이걸쓰면 커서 따라감</span></code></li><li class="L3"><code class="language-javascript"><span class="pln"> opener</span><span class="pun">.</span><span class="pln">nhn</span><span class="pun">.</span><span class="pln">husky</span><span class="pun">.</span><span class="typ">PopUpManager</span><span class="pun">.</span><span class="pln">setCallback</span><span class="pun">(</span><span class="pln">window</span><span class="pun">,</span><span class="pln"> </span><span class="str">'SET_PHOTO'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[</span><span class="pln">aFileInfo</span><span class="pun">]);</span></code></li><li class="L4"><code class="language-javascript"><span class="pln"> self</span><span class="pun">.</span><span class="pln">close</span><span class="pun">();</span></code></li><li class="L5"><code class="language-javascript"><span class="pun">}</span></code></li></ol></pre><div><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1517820028111502388.png" data-filename="1517820028111502388.png" style="width: 100%;" class="img-thumbnail"><br></p></div><div><span style="font-family: Tahoma; font-size: 18px;"><br></span></div><div><span style="font-family: Tahoma; font-size: 18px;"><br></span></div>
작은방 전등교체
http://www.webprogramer.kr/blog/P000000362/post.do
<p><span style="font-family: Tahoma; font-size: 18px;">집 구조변경을 위해 장농을 작은방으로 옮겼다</span></p><p><br></p><p><span style="font-size: 18px;">농문을 열으면 농문이 전등에 닫는 문제가 발생하였다.</span></p><p><span style="font-size: 18px;">전등 갓을 살짝 구부려 보면 어떨까? 라는 생각에</span></p><p><span style="font-size: 18px;">구부려 보았다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/151763975005086107.jpeg" data-filename="151763975005086107.jpeg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">퍽하는 소리와 함게 전등갓이 부서졌다. ㅠㅠ</span></span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1517639943869228617.jpeg" data-filename="1517639943869228617.jpeg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">이렇게 흉한 모습이 되었다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1517640135787198233.jpeg" data-filename="1517640135787198233.jpeg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">와이프 한테 한 소리 듣고.</span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">쿠팡 로켓 배송으로 30w 짜리 전등을 구매 하였다.</span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">다음날 바로왔다. 로켓배송 너무 좋다.</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1517640135786982129.jpeg" data-filename="1517640135786982129.jpeg" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;"><br></span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">작업시작!</span></span></p><p><span style="font-size: 18px;"><span style="font-family: Tahoma;">우선 전기차단을 위해 두꺼비집에서 전등 전기차단을 하였다.<br></span></span><img src="http://www.webprogramer.kr/upload/blog/editor/151764024582277332.jpeg" data-filename="151764024582277332.jpeg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">코콤 30w led 전등</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1517640410059733048.jpeg" data-filename="1517640410059733048.jpeg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">led부분은 안전하게 스티로폼이 보호 하고 있었다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1517640252637717432.jpeg" data-filename="1517640252637717432.jpeg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">빛을 반사해줄 led등 커버</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1517640257733729311.jpeg" data-filename="1517640257733729311.jpeg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">우선 기존에 연결되어 있는 선 사진을 찍어두었다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;"> N은 흰선, L은 검정선, 나머진 접지</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1517640261844280241.jpeg" data-filename="1517640261844280241.jpeg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">기존에 있던 전등을 떼어 내었다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1517640266081716200.jpeg" data-filename="1517640266081716200.jpeg" class="img-thumbnail" style="width: 100%;"></p><p><br></p><p><span style="font-size: 18px;">선정리를 하고 기존에 있던 걸쇠? 도 떼어 내었다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/15176402700295875.jpeg" data-filename="15176402700295875.jpeg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">사진을 못찍었지만 새로운 걸쇄?를 천정에 고정시키고</span></p><p><span style="font-family: Tahoma; font-size: 18px;"> 전등을 설치 하였다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1517640274400533117.jpeg" data-filename="1517640274400533117.jpeg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">N, L, 접지를 같은곳에 연결하고 두꺼비집을 올리고</span></p><p><span style="font-family: Tahoma; font-size: 18px;">전등 불을 켜보았다. 잘켜지는거 보니 잘 연결되었다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1517640278635175066.jpeg" data-filename="1517640278635175066.jpeg" class="img-thumbnail" style="width: 100%;"></p><p><br></p><p><span style="font-size: 18px;">커버를 씌우니 깔끔하게 마무리가 되었다.</span><br></p><div><span style="font-size: 18px;">전등높이가 낮아서 농문을 열어도 닫지 않았다.</span></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1517640283068635413.jpeg" data-filename="1517640283068635413.jpeg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-size: 18px;">집안에 전등이 고장이 났다면 led전등으로 교체 해볼만 한거 같다.</span></p><p><span style="font-size: 18px;">설치도 그렇게 어렵지 않고 가격도 예전에 비해 저렴한 편이다.</span><br></p><div><span style="font-size: 18px;"><br></span></div><p><br><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"></p>
아이폰x 무선충전기 구매
http://www.webprogramer.kr/blog/P000000361/post.do
<p><span style="font-family: Tahoma; font-size: 24px; font-weight: bold;">슈피겐 무선 충전기 구매</span><br></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">회사에서 사용하려고 무선충전기를 구매 하였다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">슈피겐 무선충전기를 구매하면 기계랑 케이블 이렇게 구성되어 있다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">기계에서 고속 충전을 지원하지만 충전아답터가 고속충전을 지원하지 않으면</span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">고속충전이 되지 않는 문제가 있어서 </span><span style="font-family: Tahoma; font-size: 18px;">4천원짜리 고속충전 아답터까지 구매 하였다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">가격은 슈피겐 무선충전기가 2만원초반대 이고 고속충전 아답터는 4천원 정도 이다.</span></p><p><br></p><p><span style="font-family: Tahoma; font-size: 18px;">비교적 저렴한 편이다.</span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">2개다 해서 3만원 내외</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1516167500104836388.JPG" data-filename="1516167500104836388.JPG" style="width: 100%;" class="img-thumbnail"></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">충전기 본체 생각보다 아담하다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1516167519317495619.JPG" data-filename="1516167519317495619.JPG" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">따로 구매한 고속충전 아답터</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1516167530059511608.JPG" data-filename="1516167530059511608.JPG" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1516167536201728381.JPG" data-filename="1516167536201728381.JPG" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">테스트해봤는데 충전이 잘된다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1516167548808687330.JPG" data-filename="1516167548808687330.JPG" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px;">회사에 놓고 쓰는데 핸드폰만 올려놓으면 충전이 되니</span></p><p><span style="font-family: Tahoma; font-size: 18px;">편하고 좋다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1516167556838943647.JPG" data-filename="1516167556838943647.JPG" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px;"><br></span><br></p><p><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p><br></p><p><br></p>
AngularJS 2.0 :: 처음부터 시작하기 :: 1. 전체적인 구조 및 개념 [펌]
http://www.webprogramer.kr/blog/P000000360/post.do
<blockquote><span style="font-family: Tahoma; font-weight: bold;"><span style="font-size: 24px;">AngularJS 2.0 :: 처음부터 시작하기 :: 1. 전체적인 구조 및 개념 [펌]</span><br></span></blockquote><p><span style="font-weight: bold;">출처: <a href="http://visualize.tistory.com/442?category=703034" target="_blank">http://visualize.tistory.com/442?category=703034</a></span></p><p><span style="font-weight: bold;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="font-size: 14pt;"><b><span style="font-size: 18pt;">▶ AngularJS 2.0 :: 처음부터 시작하기 :: 1. 전체적인 구조 및 개념</span></b></span></p><div style="margin: 0px; padding: 0px; font-family:;" -1px;"="" sans-serif;="" sans",="" noto=""><hr style="border-color: black; height: 7px; border-bottom-width: 3px; border-right-style: none; border-bottom-style: solid; border-left-style: none;"></div><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 11pt;">이 글에서는 AngularJS 2.0에 대한 개념에 대하여, 부족하지만 하나하나 세부적으로 살펴보려고한다. 이 글은 다음과 같이 구성되어 있다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" 2;"=""><span style="font-size: 11pt;"><b><span style="font-size: 12pt;"> </span><span style="font-size: 12pt;">AngularJS 2.0 전체적인 기술 개념</span></b></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 2em;" sans-serif;="" sans",="" noto="" -1px;="" 2;"=""><span style="font-size: 11pt;"><i>1. AngularJS란 무엇인가</i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 2em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 11pt;"><i>2. 왜 AngularJS 인가</i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 2em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 11pt;"><i>3. 왜 AngularJS 2 인가</i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 2em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 11pt;"><i>4. AngularJS 2의 구조</i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 4em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 11pt;"><i>4-2. (1) Component의 사전적 정의</i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 4em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 11pt;"><i>4-2. (2) Angular JS 에서의 Component란?</i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 4em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" center;="" 1.8;=""><span class="imageblock" style="width: 786px; height: auto; display: inline-block; max-width: 100%;"><img width="786" height="324" style="height: auto; max-width: 100%;" src="http://cfile4.uf.tistory.com/image/226DBE47578B1CD72F8FBA" filemime="image/jpeg" filename="angualrjs2_what-angularjs.jpg"></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 11pt;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 12pt;"><b><span style="font-size: 14pt;">1. AngularJS란 무엇인가</span></b></span></p><div style="margin: 0px; padding: 0px; font-family:;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><hr style="border-color: black; height: 1px; border-right-style: none; border-bottom-style: none; border-left-style: none;"></div><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 11pt;">서점에 책도 깔리고, 여기저기서 AngularJS 개발자를 찾는다. 도대체 AngularJS가 뭘까.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" center;="" 1.8;=""></p><p><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 11pt;">- 기본적으로 <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> AngularJS 2 </span>는 자바스크립트 <u><i><span style="font-size: 12pt;">Framework</span></i></u> 다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 11pt;">- <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> Client Side Application </span>을 빌드하는데 사용한다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 11pt;">- <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> HTML </span>, <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);">CSS</span> , 그리고 <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> JavaS</span><span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);">cript </span>를 사용한다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><b>Framework의 개념</b></span></p><blockquote class="tx-quote-tistory" style="padding: 0px; font-family:; margin-bottom: 0px; quotes: none;" -1px;"="" sans-serif;="" sans",="" noto="" 14px;=""><p style="padding: 0px;"><span style="line-height: 26.4px; font-size: 14.66px;"><i>소프트웨어 Application이나 솔루션의 개발을 수월하게 하기 위해 소프트웨어의 구체적 기능들에 해당하는 부분의 설계와 구현을 재사용 가능하도록 협업화 된 형태로 제공하는 소프트웨어 환경을 말한다.</i><sup class="footnote"><a id="footnote_link_442_1" style="color: rgb(249, 101, 13); font-family: Verdana, sans-serif;" href="http://visualize.tistory.com/442?category=703034#footnote_442_1">1</a></sup></span></p></blockquote><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="line-height: 1.8; font-size: 11pt;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" center;="" 1.8;=""><span class="imageblock" style="width: 807px; height: auto; display: inline-block; max-width: 100%;"><img width="807" height="194" style="height: auto; max-width: 100%;" src="http://cfile10.uf.tistory.com/image/27429C38578B18111B59A1" filemime="image/jpeg" filename="angualrjs2_why-angularjs.jpg"></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="line-height: 1.8; font-size: 11pt;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="line-height: 1.8; font-size: 11pt;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="line-height: 1.8; font-size: 11pt;"><br></span></p><h3 style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family:;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="font-size: 12pt;"><b><span style="font-size: 14pt;">2. 왜 AngularJS</span><span style="font-size: 14pt;">인가?</span> - </b></span><span style="font-size: 10pt;">AngularJS를 사용하면 어떤 점이 좋은가?</span></h3><div style="margin: 0px; padding: 0px; font-family:;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><hr style="border-color: black; height: 1px; border-right-style: none; border-bottom-style: none; border-left-style: none;"></div><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><span style="font-size: 11pt;"><b></b></span><span style="line-height: 1.8; font-size: 11pt;">이 부분은 개인적으로도</span><span style="line-height: 1.8; font-size: 11pt;"> 내용을 정리하기 이전부터 궁금했던 부분이다. 굉장히 빠르게 변화하는 기술 트렌드 속에서, "<b><i>어떤 Framework 를 학습해야하는가?"</i></b>라는 질문은, 아마 이 글을 보고 있는 사람이라면 한번 쯤 해봤을 것이라 생각한다. 우선 이 글은 AngularJS 2.0에 대한 내용이지만, 그전에 AngularJS1,2에 공통적으로 해당되는 부분들을 간단히 짚고 넘어갈 필요가있다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><b><span style="font-size: 12pt;">왜 AngularJS인가?</span></b></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><b><span style="font-size: 12pt;"><br></span></b></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;">- Expressive HTML : For eg:- ngIF, ngFor 등</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;">- 강력한 데이터 바인딩(Data Binding)</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;">- Support Modular By Design</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;">- 백엔드(Back-end) 통합 서비스 내장</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" center;=""><span class="imageblock" style="width: 804px; height: auto; display: inline-block; max-width: 100%;"><img width="804" height="255" style="height: auto; max-width: 100%;" src="http://cfile8.uf.tistory.com/image/231E004E578B1D34218392" filemime="image/jpeg" filename="angualrjs2_why-angularjs2.jpg"></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><span style="font-size: 12pt;"><b><span style="font-size: 14pt;">3. 왜 AngularJS 2 인가</span> </b><span style="font-size: 10pt;">- angularJS1도 모르는데(?)</span></span></span></p><div style="margin: 0px; padding: 0px; font-family:;" -1px;"="" sans-serif;="" sans",="" noto=""><hr style="border-color: black; height: 1px; border-right-style: none; border-bottom-style: none; border-left-style: none;"></div><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;">안그래도 복잡해보이는데, 굳이 AngularJS2.0을 "이전과 다른 또다른 것'으로 규정하는데에도 이유가 있다. 우리는 거두절미하고<b><i> "왜 AngularJS 2여야 하는가?" </i></b>에 대한 궁금증에 대한 물음을 다음과 같이 정리 해볼 수 있다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><b style="text-align: center; line-height: 26.4px; font-size: 14.66px;">_____</b></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><b><span style="font-size: 12pt;">왜 AngularJS2 인가?</span></b></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><b><br></b></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;">- 빠른 구축이 가능하다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;">- 새로운 기능들을 사용할 수 있다.(using new features - classes, object)</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;">- 간결해진 API</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;">- 개선된 생산성</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;">새로운 기능이라고 말하는 <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> classed </span>, <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> object </span>에 대해서 궁금하다면, 아래의 사이트에서 살펴볼 수 있다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;">-<i> <a class="tx-link" style="color: rgb(51, 51, 51);" href="https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Classes" target="_blank">[MDN Mozilla Devleoper Network - Classes]</a></i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;"><span style="font-size: 12pt;"><b><span style="font-size: 14pt;">4. AngualrJS 2의 구조</span></b></span></span></p><div style="margin: 0px; padding: 0px; font-family:;" -1px;"="" sans-serif;="" sans",="" noto=""><hr style="border-color: black; height: 1px; border-right-style: none; border-bottom-style: none; border-left-style: none;"></div><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="line-height: 26.4px; font-size: 14.66px;">AngularJS 2가 말하는 Application 은</span><span style="text-align: center; line-height: 26.4px; font-size: 14.66px;">, 쉽게 </span><span style="text-align: center; line-height: 26.4px; font-size: 14.66px;">말해서 컴포넌트(Component)</span><span style="text-align: center; line-height: 26.4px; font-size: 14.66px;">의 결합과 결합과 결합으로 이루어진다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="text-align: center; line-height: 26.4px; font-size: 14.66px;"><b>_____</b><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><span style="text-align: center; line-height: 26.4px; font-size: 14.66px;"><b><span style="font-size: 12pt;">4-1 AngularJS 2 기본 구조 살펴보기</span></b></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" center;=""><br></p><p></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" center;=""><span class="imageblock" style="width: 820px; height: auto; display: inline-block; max-width: 100%;"><span data-lightbox="lightbox" data-url="http://cfile2.uf.tistory.com/attach/264F723A578B09772F0BB6"><img width="820" height="255" style="height: auto; cursor: pointer; max-width: 100%;" src="http://cfile2.uf.tistory.com/image/264F723A578B09772F0BB6" filemime="image/jpeg" filename="angualrjs2_structure_01.png"></span></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" center;=""><span style="color: rgb(140, 140, 140); font-size: 9pt;">[ structure of angularJS 2 image ]</span><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" center;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" center;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="font-size: 11pt;">위 사진과 같이 AngualrJS 2의 Application 을 이루는 것은 각 <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> 컴포넌트(Component) </span>다. 이 컴포넌트들이 기능과 목적에 맞게 하나씩 작성되고, 결합될 수 있으며, <b>컴포넌트</b> 단위로 Customising 을 하거나 별도의 기능을 넣고 빼며 테스트할 수 있다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><b style="text-align: center; line-height: 26.4px; font-size: 14.66px;">_____</b></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><b><span style="font-size: 12pt;">4-2 Component 란?</span></b></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="font-size: 11pt;">앞의 설명에서 확실히 이해하지 못했더라도 아마 '컴포넌트... 컴포넌트'라며 반복해서 이야기하고 있는 것을 보면 '아마 이게 중요한 개념인가보다' 싶을 것이다. AngularJS에서 <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> Component </span> 라는 개념은 1, 2를 가리지않고 등장하는 개념이다. 처음 개념을 접했거나, 확실히 기억나지 않는다면 여기서 이 <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> Component </span> 라는 개념을 확실하게 짚고 넘어갈 필요가 있다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><i><u><br></u></i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><b><span style="font-size: 12pt;"><i>4-2 </i></span><span style="font-size: 12pt;"><i>Component INDEX<br><br></i></span></b></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 2em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><i><b>4-2. (1)</b> <b>Component</b> 사전적 정의</i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 2em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><i><b>4-2. (2) </b>AngularJS 에서의 <b>Component</b> 란?</i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 2em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><i><b>4-2. (3) Component</b>를 직접 만들어보자<br><br></i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 2em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><i><b>4-2. (4) Metadata</b>와 <b>Decorator</b>의 정의</i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 2em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><i><b>4-2. (5) </b>우리가 필요한 것들을 <b>import</b> 하기</i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 2em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><i><b>4-2. (6) </b>우리의<b> App Component</b>를 <b>Bootstrapping</b>하기</i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 2em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><b style="text-align: center; line-height: 26.4px; font-size: 14.66px;">__</b></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><b><span style="font-size: 12pt;">4-2. (1) Component의 사전적 정의</span></b></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><i style="line-height: 26.4px; font-size: 14.66px;"><span style="color: rgb(140, 140, 140);">여러 기술들을 새롭게 배우다보면, '어디서 한번 들어본 것 같은' 느낌의 용어들을 마주칠 때가 있는데, 개인적으로 이 </span><span style="color: rgb(140, 140, 140);">Component 가 그런 경우였다. 처음 들어본 개념이었다면 아마 긴장감을 갖고 깊게 살펴봤을 텐데, 이 Component 는 왠지 </span><span style="color: rgb(140, 140, 140);">그동안 </span><span style="color: rgb(140, 140, 140);">얕은 공부를 하며 몇 번 들어본 것 같기도해서 대충대충 skip하는 그런 느낌의 개념이었다. </span><u><span style="color: rgb(140, 140, 140);">결론적으로, 이렇게 하다간 낭패본다.</span></u></i></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><i style="line-height: 26.4px; font-size: 14.66px;"><u><br></u></i></p><blockquote class="tx-quote-tistory" style="padding: 0px; font-family:; margin-bottom: 0px; quotes: none;" -1px;"="" sans-serif;="" sans",="" noto="" 14px;=""><p style="padding: 0px; text-align: justify; line-height: 1.8; clear: none; float: none;"><b style="line-height: 26.4px; font-size: 14.66px;">Component라는 용어의 사전적 정의를 살펴보면, '구성요소, 부품' 이라는 뜻으로 정의되어있다.</b></p></blockquote><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;">즉, Component 란 뭔가를 구성하는 요소 - 나아가 부품같은 존재라는 것이다. <strike>(억지스럽지만)</strike> 앞에서 살펴본<i><b> "컴포넌트+컴포넌트+컴포넌트+... = 애플리케이션" </b></i>이라는 설명에도 잘 들어 맞는다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><b style="text-align: center; line-height: 26.4px; font-size: 14.66px;">__</b></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><b style="text-align: center; line-height: 26.4px; font-size: 14.66px;"><span style="font-size: 12pt;">4-2. (2) AngularJS 에서 Component </span><span style="font-size: 12pt;">란?</span></b></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" center;=""><span class="imageblock" style="width: 820px; height: auto; display: inline-block; max-width: 100%;"><span data-lightbox="lightbox" data-url="http://cfile3.uf.tistory.com/attach/215CCE44578B0BA8038707"><img width="820" height="173" style="height: auto; cursor: pointer; max-width: 100%;" src="http://cfile3.uf.tistory.com/image/215CCE44578B0BA8038707" filemime="image/jpeg" filename="angualrjs2_component_structure.png"></span></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" center;=""><span style="color: rgb(140, 140, 140); line-height: 1.8; font-size: 9pt;">[ angularJS 2 Component image ] </span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> Component </span>는 <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> Template </span> + <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> Class <span style="font-size: 9pt;">(Properties와 Method를 포함할 수 있음) </span></span> + <span style="color: rgb(255, 255, 255); background-color: rgb(0, 153, 153);"> Metadata </span> 로 이루어 진다. </span><span style="line-height: 1.8; font-size: 11pt;">조금 더 쪼개어 살펴보면 다음과 같다.</span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" justify;=""><span style="line-height: 26.4px; font-size: 14.66px;"><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" justify;=""><i style="line-height: 26.4px; font-size: 14.66px;"><span style="color: rgb(93, 93, 93);">*Component 개념에 대해 쪼개보면서, 별로 친하지않았던 개념들에 대해서도 함께 체크해가며 정리했다. </span></i></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" justify;=""><span style="line-height: 26.4px; font-size: 14.66px;"><i><span style="color: rgb(93, 93, 93);">내용이 조금 길어지고, 추가 설명이 있을 수 있다.</span></i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" center;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" justify;=""><span style="line-height: 26.4px; font-size: 14.66px;"><i><span style="color: rgb(93, 93, 93);"><br></span></i></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" justify;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""></p><ul style="list-style: square; padding: 0px; font-family:; margin-right: 0px; margin-left: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="color: rgb(255, 255, 255); line-height: 26.4px; font-size: 14.66px; background-color: rgb(0, 153, 153);"><span style="font-size: 12pt;"> Template </span><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span style="font-size: 12pt;">*</span><br><span class="imageblock" style="width: 820px; height: auto; text-align: center; line-height: normal; font-size: 13px; display: inline-block; max-width: 100%;"><img width="820" height="173" style="height: auto; max-width: 100%;" src="http://cfile24.uf.tistory.com/image/210B9844578B20B033B0C5" filemime="image/jpeg" filename="angualrjs2_componenet_template.png"></span></span></span></p></li></ul><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""></p><ul style="list-style: square; padding: 0px; font-family:; margin-right: 0px; margin-left: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><ul style="list-style: square; padding: 0px; margin-right: 0px; margin-left: 0px;"><ul style="padding: 0px; margin-right: 0px; margin-left: 0px;"><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 26.4px; font-size: 14.66px;">View layout</span></p></li><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 26.4px; font-size: 14.66px;"><b>HTML</b>의 형태로 작성된다.</span></p></li><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 26.4px; font-size: 14.66px;"><b>바인딩(Binding)</b>과 <span style="color: rgb(255, 255, 255); background-color: rgb(124, 67, 177);"> 지시자(Directive) <span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">* </span></span>를 포함한다. <br><br><br><span style="text-align: left; color: rgb(255, 255, 255); line-height: 26.4px; font-size: 12pt; background-color: rgb(0, 153, 153);"><br></span></span></p></li></ul><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 26.4px; font-size: 14.66px;"><span style="text-align: left; color: rgb(255, 255, 255); line-height: 26.4px; font-size: 12pt; background-color: rgb(0, 153, 153);"> Class </span></span></p></li></ul></ul><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;=""></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;=""><span class="imageblock" style="width: 820px; height: auto; display: inline-block; max-width: 100%;"><img width="820" height="173" style="height: auto; max-width: 100%;" src="http://cfile8.uf.tistory.com/image/23159844578B20A22AA220" filemime="image/jpeg" filename="angualrjs2_componenet_class.png"></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""></p><ul style="list-style: square; padding: 0px; font-family:; margin-right: 0px; margin-left: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><ul style="list-style: square; padding: 0px; margin-right: 0px; margin-left: 0px;"><ul style="padding: 0px; margin-right: 0px; margin-left: 0px;"><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 26.4px; font-size: 14.66px;"><span style="color: rgb(255, 255, 255); background-color: rgb(124, 67, 177);"> Properties </span>와 <span style="color: rgb(255, 255, 255); background-color: rgb(124, 67, 177);"> Method </span>를 포함할 수 있다.</span></p></li><ul style="padding: 0px; margin-right: 0px; margin-left: 0px;"><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 26.4px; font-size: 14.66px;"><span style="color: rgb(255, 255, 255); background-color: rgb(124, 67, 177);"> Properties </span> : data</span></p></li><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 26.4px; font-size: 14.66px;"><span style="color: rgb(255, 255, 255); background-color: rgb(124, 67, 177);"> Method </span> : logic</span></p></li></ul><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 26.4px; font-size: 14.66px;">Code supporting the view</span></p></li><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 26.4px; font-size: 14.66px;"><b>타입스크립트(TypeScript)</b> 형태로 작성된다.<br><span style="color: rgb(255, 255, 255); line-height: 26.4px; font-size: 12pt; background-color: rgb(0, 153, 153);"><br></span></span></p></li></ul><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 26.4px; font-size: 14.66px;"><span style="color: rgb(255, 255, 255); line-height: 26.4px; font-size: 12pt; background-color: rgb(0, 153, 153);"> Metadata </span></span></p></li></ul></ul><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" sans-serif;="" sans",="" noto="" -1px;="" none;"="" none;="" justify;=""><span style="color: rgb(255, 255, 255); line-height: 26.4px; font-size: 14.66px; background-color: rgb(0, 153, 153);"><span class="imageblock" style="width: 820px; height: auto; text-align: center; color: rgb(0, 0, 0); line-height: normal; font-size: 13px; display: inline-block; max-width: 100%; background-color: rgb(255, 255, 255);"><img width="820" height="173" style="height: auto; max-width: 100%;" src="http://cfile29.uf.tistory.com/image/2217793D578B20BD04C602" filemime="image/jpeg" filename="angualrjs2_componenet_metadata.png"></span><br></span></p><p style="padding: 0px; font-family:; margin-bottom: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""></p><ul style="list-style: square; padding: 0px; font-family:; margin-right: 0px; margin-left: 0px;" -1px;"="" sans-serif;="" sans",="" noto=""><ul style="list-style: square; padding: 0px; margin-right: 0px; margin-left: 0px;"><ul style="padding: 0px; margin-right: 0px; margin-left: 0px;"><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 26.4px; font-size: 14.66px;"><b>Angular</b>에 대한 추가 데이터</span></p></li><li style="list-style: none; margin: 0px; padding: 0px;"><p style="padding: 0px; text-align: justify; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 26.4px; font-size: 14.66px;"><span style="color: rgb(255, 255, 255); background-color: rgb(124, 67, 177);"> Decorator </span>로 정의한다.</span></p></li></ul></ul></ul><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 4em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><br></p><p style="padding: 0px; font-family:; margin-bottom: 0px; margin-left: 2em;" sans-serif;="" sans",="" noto="" 1.8;"="" -1px;="" none;="" justify;=""><span style="line-height: 1.8; font-size: 11pt;"><br></span></p><blockquote class="tx-quote-tistory" style="padding: 0px; font-family:; margin-bottom: 0px; quotes: none;" -1px;"="" sans-serif;="" sans",="" noto="" 14px;=""><p style="padding: 0px; text-align: justify; line-height: 2; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 1.8; font-size: 11pt;"><span style="font-size: 9pt;"><i><span style="font-size: 9pt;">* </span><span style="color: rgb(255, 255, 255); font-size: 9pt; background-color: rgb(0, 153, 153);"> </span><span style="color: rgb(255, 255, 255); font-size: 9pt; background-color: rgb(0, 153, 153);">템플릿(Template) </span><span style="font-size: 9pt;">은 앵귤러 프레임워크가 HTML을 템플릿으로 간주하여 1차적으로 앵귤러 구문을 해석하고</span></i></span></span></p><p style="padding: 0px; text-align: justify; line-height: 2; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 1.8; font-size: 11pt;"><span style="font-size: 9pt;"><i><span style="font-size: 9pt;"> 데이터를 바인딩하는 템플릿 해석기 역할을 한다.<br><br></span></i></span></span></p><p style="padding: 0px; text-align: justify; line-height: 2; clear: none; margin-bottom: 0px; float: none;"><span style="line-height: 1.8; font-size: 11pt;"><i><span style="font-size: 9pt;">** </span><span style="color: rgb(255, 255, 255); font-size: 9pt; background-color: rgb(124, 67, 177);"> </span><span style="color: rgb(255, 255, 255); font-size: 9pt; background-color: rgb(124, 67, 177);">지시자(Directive) </span><span style="font-size: 9pt;">는 HTML을 확장하는 앵귤러만의 가장 특별한 기능으로 HTML 태그로서 뷰를 확장할 수 있고,</span></i></span></p><p style="padding: 0px; text-align: justify; line-height: 2; clear: none; float: none;"><span style="line-height: 1.8; font-size: 11pt;"><i><span style="font-size: 9pt;"> 그 안에 상태와 액션을 담아 컴포넌트화 할 수 있으므로 화면 개발의 생산성을 높여준다.<br><br>참고자료 : 윤영식, 『실전 프로젝트로 배우는 AngularJS - SPA 아키텍처 기반 구축하기』,위키북스, 2015, p.45</span></i></span></p></blockquote>
JRebel 설정 하기
http://www.webprogramer.kr/blog/P000000356/post.do
<blockquote><p><span style="font-family: Tahoma; font-size: 36px; font-weight: bold;">JRebel 설정하기</span></p></blockquote><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">전자정부 프레임워크로 개발을 하고있다.</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">무언가를 조금 수정하고 저장을 누르면 Tomcat이 소스가 수정되었음을 </span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">자동으로 감지하여 재시작이 되어 저장결과를 반영한다.</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">재시작 되는 시간이 아깝기도 하고 귀찮기도 하다.</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">예로 이렇게 6개월~1년 동안 작업을 하였다면 </span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">서버 재시작 하는데에만 걸린 시간이 </span><span style="font-family: Tahoma; font-size: 18px;">꽤 될것이다.</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">JRebel에 대해 익히 알고는 있었지만...</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">장기적으로 봤을때 시간 절약을 위해 사용하는것이 이득 이기때문에</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">사용하기로 하였다.</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 24px; font-style: italic; font-weight: bold;">JRebel 설정</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">우선 JRebel 홈페이지를 방문한다.<span style="color: rgb(156, 0, 255);"> -><a href="https://my.jrebel.com/" target="_blank">https://my.jrebel.com/</a></span></span></p><p style="line-height: 1;"><span style="color: inherit; font-family: Tahoma; font-size: 18px;">트위터나 페이스북으로 로그인을 한다.</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044680073979896.png" data-filename="1515044680073979896.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="color: inherit; font-family: Tahoma; font-size: 18px;">로그인 후 첫페이지</span><br></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044683385324806.png" data-filename="1515044683385324806.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">install and Activate 탭을 클릭하면 license code가 나온다</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">복사를 한다.</span><br></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044686213382132.png" data-filename="1515044686213382132.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">이제 이클립스로 돌아와서 마켓플레이스로 이동하여</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">jrebel을 검색한다. 아래와 같이 jrebel플러그인이 검색되면 Install을 클릭한다.</span><br></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044694907845716.png" data-filename="1515044694907845716.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">모두선택 후 Confirm</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/151504469804457850.png" data-filename="151504469804457850.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">I accept 선택</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">설치 완료 후 이클립스가 재시작된다.</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044700930298324.png" data-filename="1515044700930298324.png"><span style="font-family: Tahoma; font-size: 24px; font-style: italic; font-weight: bold;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 24px; font-style: italic; font-weight: bold;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">이클립스 재시작 후 Window -> Preferences</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044719018700625.png" data-filename="1515044719018700625.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">이클립스 재시작 후 Window -> Preferences -> JRebel에 </span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">JRebel Configuration 선택</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044724096836907.png" data-filename="1515044724096836907.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">이클립스 퍼스펙티브가 JRebel </span><span style="font-family: Tahoma; font-size: 18px;">Configuration로 이동된다.</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">아래 순서대로 이동 후 라이센스키를 입력한다음 Activat JRebel 선택</span><br></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044728663663476.png" data-filename="1515044728663663476.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">라이센스가 재대로 입력됬다면 아래와 같이 나올것이다.</span><br></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044733451308277.png" data-filename="1515044733451308277.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">반영시간은 1초로 설정 하였다.</span><br></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044737036886451.png" data-filename="1515044737036886451.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">적용할 서버 선택</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044739863294136.png" data-filename="1515044739863294136.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">적용할 프로젝트 선택</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515046313218902053.png" data-filename="1515046313218902053.png"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">소스상에 rebel.xml 파일이 생성되었다.</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/151504474468571744.png" data-filename="151504474468571744.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">적용이 잘되었는지 테스트 해보았다.</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044747521146281.png" data-filename="1515044747521146281.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">소스 변경 후 저장을 해보았다.</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">서버가 재시작되지 않고 JRebel에서 클래스를 리로딩 했다는 메세지 1줄만 나오고</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">수정 내역이 반영되었다.</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">재대로 설정된듯 하다.</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044750971714741.png" data-filename="1515044750971714741.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">Tomcat 정보를 확인해보니 자동감지 하지 않게 변경되어 있었고</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">Enable JRebel agent 부분에 체크가 되어 있었다.</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044754371426456.png" data-filename="1515044754371426456.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="color: rgb(255, 0, 0); font-weight: bold;"><span style="font-family: NanumGothic; font-size: 24px;">※ JRebel 적용 후 </span></span><span style="color: rgb(255, 0, 0); font-family: NanumGothic; font-size: 24px; font-weight: 700;">java.lang.OutOfMemoryError: PermGen space</span></p><p style="line-height: 1;"><span style="color: rgb(255, 0, 0); font-family: NanumGothic; font-size: 24px; font-weight: 700;">에러가 발생할 경우 아래 처럼 메모리를 늘려주면 해결이 된다.</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">1. </span><span style="font-family: Tahoma; font-size: 18px;">Window -> Preferences -> Java -> Installed JREs에 현재 사용하는 java 선택 후</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">값을 입력한다 : -XX:PermSize=2048M</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044757289173253.png" data-filename="1515044757289173253.png"></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">2. 이클립스 설치 폴더의 eclipse.ini에 아래 항목 추가</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">-vmargs</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">-Xms1024m</span><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">-Xmx2048m</span></p><p style="line-height: 1;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1515044759907895643.png" data-filename="1515044759907895643.png"><br></p><p style="line-height: 1;"><br></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">JRebel 좀더 사용해봐야 겠지만 아직까진 만족스럽다.</span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;"><br></span></p><p style="line-height: 1;"><span style="font-family: Tahoma; font-size: 18px;">특별히 문제되는게 없다면 개발시 사용하면 좋을듯 하다.</span></p><div><span style="font-family: Tahoma; font-size: 18px;"><br></span></div><p><br></p><p><br></p><p><br></p>
아마존 직구 T-Mobile(AC-1900) -> ASUS RT-AC68U 펌웨어 교체
http://www.webprogramer.kr/blog/P000000354/post.do
<blockquote><span style="font-family: Verdana; font-weight: bold; font-size: 18px;">아마존 직구 T-Mobile(AC-1900) -> ASUS RT-AC68U 펌웨어 교체</span><br></blockquote><p><span style="font-family: Tahoma;">전에 공유기를 바꾸고 싶었지만 가격이 너무 비싸서 포기를 했었다.</span></p><p><br></p><p>아마존에서 괜찮은 가격으로 나온 공유기 포착. 공유기에 대해 조금 검색해보니 가성비가 아주 좋다고들 하여</p><p><br></p><p>구매 하게되었다.</p><p><br></p><p><span style="font-style: italic; font-family: Tahoma;">아래제품이 <span style="font-size: 14px; font-weight: bold;"><a href="https://search.shopping.naver.com/detail/detail.nhn?nv_mid=7884953636&cat_id=50003150&frm=NVSCMOD&query=asus+rt-ac68u" target="_blank">ASUS RT-AC68U </a></span>와 실제 같은제품으로 T-Mobile이라는 회사에 ASUS가 납품을 하게되면서 펌웨어를 변경하여</span></p><p><span style="font-style: italic; font-family: Tahoma;">T-Mobile AC-1900 이라는 모델로 나온제품이다. <a href="https://search.shopping.naver.com/detail/detail.nhn?nv_mid=7884953636&cat_id=50003150&frm=NVSCMOD&query=asus+rt-ac68u" target="_blank" style="background-color: rgb(255, 255, 255); font-weight: 700;">ASUS RT-AC68U </a>제품은 현재 가격이 24~25만원정도 하는공유기 이다.<br></span></p><p><span style="font-style: italic; font-family: Tahoma;">하지만 T-Mobile AC-1900 제품은 아마존에서 리퍼(Certified Refurbished)로 59.99달러 + 배송비 10.40달러 = 70.39달러</span></p><p><span style="font-style: italic; font-family: Tahoma;">대략 한국돈으로 7만6천원 정도 이다. 리퍼제품이라 의심스럽기도 했지만 Certified Refurbished 라고 써있길래 찾아보니 </span></p><p><span style="font-style: italic; font-family: Tahoma;">공식인증된 리퍼 제품이라고 한다. 뭐 아마존에서 잘못된 배송이 오면 다시 되돌려 보내고 다시 받을 생각으로 주문을 하였다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1513214013298880542.png" data-filename="1513214013298880542.png" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>주문한지 6일정도 되니까 아마존에서 택배가 왔다. 생각보다. 빨리온거 같다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1513215216598471352.jpg" data-filename="1513215216598471352.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>포장 개봉 메뉴얼이 중고 느낌이 난다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1513215349747739484.jpg" data-filename="1513215349747739484.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>공유기 정식제품에는 없는 로고와 글씨들이 적혀있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1513215357693232456.jpg" data-filename="1513215357693232456.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>포장이나 메뉴얼 상태 보고 기스좀 나있겠지 생각했는데 완전 새제품 인줄알았다.</p><p>기스도 없고 번쩍번쩍했다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1513215361033831685.jpg" data-filename="1513215361033831685.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>역시 뒷면도 마찬가지</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/151321537717484338.jpg" data-filename="151321537717484338.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>바닥부분도 한번도 사용하지 않은듯 사용감이 전혀 없었다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1513215388844623080.jpg" data-filename="1513215388844623080.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>나머지 구성품 케이블, 안테나, 아답터</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1513215391760879345.jpg" data-filename="1513215391760879345.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>아답터 역시 비닐도 벗기지 않은 제품.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/151321539417350762.jpg" data-filename="151321539417350762.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>안테나도 새거 밀봉된 상태로 왔다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1513215397085689355.jpg" data-filename="1513215397085689355.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>안테나를 조립해 봤다.</p><p>기존에 쓰던 iptime보다 무게감이 있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1513215399988627570.jpg" data-filename="1513215399988627570.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>펌웨어 업데이트 준비 </p><p>T-Mobile(AC-1900) -> ASUS RT-AC68U 으로 변신하기 위해선 조금 작업이 필요하다.</p><p><span style="font-weight: bold; color: rgb(156, 0, 255);">펌웨어 업데이트 참고 사이트[펌]</span></p><p><span style="font-weight: bold; color: rgb(156, 0, 255);"><a href="http://fenec.tistory.com/12" target="_blank">http://fenec.tistory.com/12</a></span></p><p><span style="font-weight: bold; color: rgb(156, 0, 255);"><a href="http://jerrysama.tistory.com/49?category=648194" target="_blank">http://jerrysama.tistory.com/49?category=648194</a></span></p><p>작업방법은 검색하면 많으니 생략하겠다.<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1513215402952931526.jpg" data-filename="1513215402952931526.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>WIFI 속도</p><p><span style="font-weight: bold; font-size: 18px; color: rgb(156, 0, 255); background-color: yellow;">기존 iptime</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1513216799312495805.png" data-filename="1513216799312495805.png" style="width: 100%;" class="img-thumbnail"><br></p><div><br></div><p><span style="color: rgb(156, 0, 255); background-color: yellow;"><span style="font-size: 18px; font-weight: bold;">ASUS RT-AC68U</span><span style="font-weight: bold;"><br></span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1513216869726374224.png" data-filename="1513216869726374224.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>집에 100M 광랜을 사용한다. 기가인터넷을 사용했다면 속도가 많이 나왔겠지만 100M가 최대니.</p><p>거의 최대 속도가 나온거 같다.</p><p>PC에서 체크한 속도보다 높게 나왔다. PC는 iptime공유기를 거치기 때문에 손실이 발생한듯하다.</p><p><br></p><p>이번 구매로 Certified Refurbished 제품에 대해 참고가 되었다.<br></p><p><br></p><div><br></div>
JAVA DesignPattern 참고 사이트[펌]
http://www.webprogramer.kr/blog/P000000353/post.do
<p><strong><font face="Tahoma"><span style="font-size: 24px;">JAVA DesignPattern 참고사이트[펌]</span></font></strong></p><p><strong><font face="Tahoma"><span style="font-size: 24px;"><br></span></font></strong></p><p><br></p><p><a href="http://jusungpark.tistory.com/category/DesignPattern" target="_blank"><strong><font color="#9c00ff" style="background-color: yellow;">http://jusungpark.tistory.com/category/DesignPattern</font></strong></a></p><p><br></p><p><a href="http://sdw8001.tistory.com/122" target="_blank"><font style="background-color: yellow;"><strong>http://sdw8001.tistory.com/122</strong></font></a><a href="http://sdw8001.tistory.com/122/"><font color="#9c00ff"></font></a></p><p><br></p><p><br><strong><font face="Tahoma"><span style="font-size: 24px;"><br></span></font></strong></p><p><strong><font face="Tahoma"><span style="font-size: 24px;"><br></span></font></strong><br></p>
xampp php 개발환경 설정
http://www.webprogramer.kr/blog/P000000352/post.do
<blockquote><span style="font-family: Tahoma;"><span style="font-weight: bold; font-size: 24px;">xampp php 개발환경 설정</span><br></span></blockquote><p><span style="font-family: Tahoma; font-weight: 700;">php로 갑자기 뭔가를 해야될지도 모르는 상황이 생겼다.</span></p><p><span style="font-weight: bold; font-family: Tahoma;">예전에 php를 살짝 맛보긴 했지만..</span></p><p><span style="font-family: Tahoma; font-weight: bold;">생각나는건 apm </span><span style="font-family: Tahoma; font-weight: bold;">하지만 xampp라는것을 발견하고 설치해 보았다.</span></p><p><span style="font-family: Tahoma; font-weight: bold;"><br></span></p><p><span style="font-weight: bold; font-size: 18px;"><span style="color: rgb(0, 0, 255); font-weight: bold; font-size: 18px;"><a href="https://www.apachefriends.org/" target="_blank" style="font-weight: bold;">XAMPP</a> </span><span style="font-size: 18px;">(</span></span><span style="font-weight: bold;"><span style="font-family: Consolas, "Courier New", monospace; white-space: pre; font-size: 18px;">Apache + MariaDB + PHP + Perl</span><span style="font-size: 18px;">)</span></span></p><p><br></p><p><span style="font-weight: bold; font-family: Tahoma;">설치시작 -> </span><span style="font-family: Tahoma; font-weight: 700;"><a href="https://www.apachefriends.org" target="_blank">https://www.apachefriends.org</a></span></p><p><span style="font-family: Tahoma; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-weight: 700;">사이트 접속</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1512118160134421079.png" data-filename="1512118160134421079.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: 700;">상단 다운로드 메뉴 선택 하면 OS별로 다운로드 받을수 있게 되어 있다.</span></p><p><span style="font-family: Tahoma; font-weight: 700;">나는 가장 옛날것으로 받았다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/151211816748172858.png" data-filename="151211816748172858.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: 700;">다운로드 받은파일을 실행하여 필요한 것만 선택</span></p><p><span style="font-family: Tahoma; font-weight: 700;">apache, mysql, php만 필요하니 그것만 선택<br></span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1512118174364311738.png" data-filename="1512118174364311738.png" class="img-thumbnail" style="width: 100%;"><br></p><p><br></p><p><span style="font-family: Tahoma; font-weight: 700;">설치위치는 디폴트로 했다</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1512118178225337052.png" data-filename="1512118178225337052.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: 700;">다음</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1512118187183517193.png" data-filename="1512118187183517193.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: 700;">다음</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1512118213620829955.png" data-filename="1512118213620829955.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: 700;">다음</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1512118218267482663.png" data-filename="1512118218267482663.png" class="img-thumbnail" style="width: 100%;"></p><p><span style="font-family: Tahoma; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-weight: 700;">다음</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/151211822209468545.png" data-filename="151211822209468545.png" style="width: 100%;" class="img-thumbnail"></p><p><span style="font-family: Tahoma; font-weight: 700;"><br></span></p><p><span style="font-family: Tahoma; font-weight: 700;">미국어 선택</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1512118226279707943.png" data-filename="1512118226279707943.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: 700;">컨트롤 패널 실행화면 apache와 mysql 실행</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1512118229800677969.png" data-filename="1512118229800677969.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: 700;">브라우저에 http://localhost/ 입력하니 페이지가 뜨더라..</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1512118245947911409.png" data-filename="1512118245947911409.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: 700;">apache에 http.conf를 열어서 보니 경로가 c:\xampp\htdocs길래</span></p><p><span style="font-family: Tahoma; font-weight: 700;">맞는지 확인하기 위해 기존것을 백업하고 index.php를 바꿔보기로함</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1512118252421902914.png" data-filename="1512118252421902914.png" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p><span style="font-family: Tahoma; font-weight: 700;">내가아는건 phpinfo(); 뿐이라.</span></p><p><span style="font-family: Tahoma; font-weight: 700;">변경 후 저장<br></span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1512118259262671989.png" data-filename="1512118259262671989.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: 700;">index.php가 바뀌었다. 경로가 맞는걸 확인하고 php가 제대로 설치된것을 확인하였다.</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1512118269448946083.png" data-filename="1512118269448946083.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: 700;">10분도 채 걸리지 않아 php개발환경을 설정하였다. </span></p><p><span style="font-family: Tahoma; font-weight: 700;"><br></span><br></p><p><span style="font-family: Tahoma; font-weight: 700;">이제 php개발을 시작해볼까??</span><br></p>
Jenkins 메모 commands over SSH
http://www.webprogramer.kr/blog/P000000351/post.do
<p>Jenkins <a href="http://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+SSH+Plugin " target="_blank"><u><font color="#0066cc">Publish Over SSH</font></u></a> 플러그인<br></p><p><br></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1511942873581720203.png" data-filename="1511942873581720203.png"></p><p><br></p><p>**/*.war</p><p>deploy/node11</p><p><br></p><p>PROJECT='node11'<br>WARFILE='bems'<br>VERSION=$(date +"%y%m%d-%H%M")</p><p><br></p><p>echo "PROJECT : $PROJECT"<br>echo "WARFILE : $WARFILE"<br>echo "VERSION : $VERSION"</p><p><br></p><p>mv "/home/app/deploy/$PROJECT/$WARFILE/target/$WARFILE.war" "/home/app/deploy/$PROJECT/$WARFILE/target/$WARFILE.war-$VERSION"<br>cp -r "/home/app/deploy/$PROJECT/$WARFILE/target/$WARFILE.war-$VERSION" "/usr/share/jboss/domains/$PROJECT/deployments/$WARFILE.war"</p><p><br></p><p>cd /usr/share/jboss/domains/${PROJECT}/bin/<br>./kill.sh<br>./start.sh</p><p><br></p><p><br></p><p><br></p><p><br></p>
Node.js
http://www.webprogramer.kr/blog/P000000350/post.do
<p>Node.js</p><p><p><br></p><p><a href="https://nodejs.org" target="_blank">https://nodejs.org</a></p><p><br></p><p><br></p><p></p>
유용한 Apache Common StringUtils [펌]
http://www.webprogramer.kr/blog/P000000348/post.do
<p><span style="font-family: Tahoma; font-weight: bold; font-size: 36px;">Apache Common StringUtils</span></p><p><span style="font-size: 18px; font-weight: bold;"><br></span></p><p><span style="font-size: 18px; font-weight: bold; color: rgb(0, 0, 255);"><a href="https://commons.apache.org/" target="_blank" style="">https://commons.apache.org/</a></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1511508963866913697.png" data-filename="1511508963866913697.png" style="width: 100%;" class="img-thumbnail"><span style="font-size: 18px; font-weight: bold; color: rgb(0, 0, 255);"><br></span><br></p><p><span style="font-family: Tahoma;"><span style="font-size: 18px; font-weight: bold;">문자열관련하여 프로젝트 진행시 StringUtil이나 CommonUtil등을 지정해놓고 </span><span style="font-size: 18px; font-weight: bold;">사용하고 있을것이다.</span></span></p><p><span style="font-family: Tahoma;"><br></span></p><p><span style="font-size: 18px; font-weight: bold; font-family: Tahoma;">아는 사람들은 알겠지만 org.apache.commons.lang.StringUtils에 유용한 기능들이 많이 있다는것을 알것이다.</span></p><p><span style="font-family: Tahoma;"><br></span></p><p><span style="font-weight: bold; font-family: Tahoma; font-size: 18px;">관련내용이 인터넷에 있길래 퍼왔다.</span></p><pre class="prettyprint linenums"><code class="language-java">import org.apache.commons.lang.StringUtils;
public class StringUtilsTest {
public static void main(String[] args) {
String str;
String str1;
Boolean bool;
str = "hello java.";
// str이 java를 포함하고 있으면 true 반환.
bool = StringUtils.contains(str, "java");
System.out.println("contains : " + bool);
// str이 null이면 "", 아니면 str 반환.
str1 = StringUtils.defaultString(str);
System.out.println("defaultString : " + str1);
str = "h e l l o j a v a .";
// 문자열 중 공백 문자가 있으면 모두 제거.
str1 = StringUtils.deleteWhitespace(str);
System.out.println("deleteWhitespace : " + str1);
str = "chocolleto";
str1 = "chocolleto";
// str과 str1이 동일한지 유무 반환.
bool = StringUtils.equals(str, str1);
System.out.println("equals : " + bool);
str = "JAVA";
str1 = "java";
// 대소문자 무시하고 str과 str1 비교.
bool = StringUtils.equalsIgnoreCase(str, str1);
System.out.println("equalsIgnoreCase : " + bool);
str = "chocolleto chocolleto";
// str에서 첫 번째 co의 인덱스를 반환. (인덱스는 0부터 시작)
int i = StringUtils.indexOf(str, "co");
System.out.println("indexOf : " + i);
// str에서 마지막 to의 인덱스 반환.
i = StringUtils.lastIndexOf(str, "to");
System.out.println("lastIndexOf : " + i);
// str이 null이거나 길이가 0이면 true 반환.
bool = StringUtils.isEmpty(str);
System.out.println("isEmpty : " + bool);
// str이 null이 아니거나 길이가 0이 아니면 true 반환.
bool = StringUtils.isNotEmpty(str);
System.out.println("isNotEmpty : " + bool);
String[] str3 = {
"java",
"javascript",
"jQuery",
"json"
};
str = " | ";
// array에서 문자열을 읽어와 ' | '를 구분자로 연결.
str1 = StringUtils.join(str3, str);
System.out.println("join : " + str1);
str = "CHOCOLLETO";
// str을 소문자로 변환.
str1 = StringUtils.lowerCase(str);
System.out.println("lowerCase : " + str1);
str = "chocolleto";
//str을 대문자로 변환.
str1 = StringUtils.upperCase(str);
System.out.println("upperCase : " + str1);
str = "HELLO java";
// 대문자는 소문자로, 소문자는 대문자로 변환.
str1 = StringUtils.swapCase(str);
System.out.println("swapCase : " + str1);
//문자열의 앞뒤 순서를 바꿈.
str1 = StringUtils.reverse(str);
System.out.println("reverse : " + str1);
str = "c++, java, c#, javascript, jQuery";
// ','를 구분자로 사용하여 분리.
String[] str2 = StringUtils.split(str, ',');
for (int j = 0; j < str2.length; j++) {
System.out.println("split str2[" + j + "] : " + str2[j]);
}
str = " java ";
// 문자열 좌우에 있는 공백 문자를 제거.(trim()과 동일.)
str1 = StringUtils.strip(str);
System.out.println("strip : " + str1);
// 문자열 좌우 공백 문자 제거.
str1 = StringUtils.trim(str);
System.out.println("trim : " + str1);
}
}
/* output */
contains: true
defaultString: hello java.
deleteWhitespace: hellojava.
equals: true
equalsIgnoreCase: true
indexOf: 3
lastIndexOf: 19
isEmpty: false
isNotEmpty: true
join: java | javascript | jQuery | json
lowerCase: chocolleto
upperCase: CHOCOLLETO
swapCase: hello JAVA
reverse: avaj OLLEH
split str2[0]: c++
split str2[1]: java
split str2[2]: c#
split str2[3]: javascript
split str2[4]: jQuery
strip: java
trim: java</code></pre><p><span style="font-weight: bold; font-family: Tahoma; font-size: 18px;"><br></span></p><table border="1" cellspacing="0" bordercolorlight="#aaaaaa" bordercolordark="#ffffff" cellpadding="0" width="600" bgcolor="#eeeeee" style="color: rgb(102, 102, 102); font-family: "Spoqa Han Sans", sans-serif;"><tbody><tr height="24" align="center" bgcolor="#003063" style="color: rgb(255, 255, 255);"><td style="margin: 0px; line-height: 1.5; color: rgb(102, 102, 102);">반환값</td><td style="margin: 0px; line-height: 1.5; color: rgb(102, 102, 102);">함수명</td><td style="margin: 0px; line-height: 1.5; color: rgb(102, 102, 102);">파라미터</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>abbreviate</b></td><td style="margin: 0px; line-height: 1.5;">String str, int maxWidth</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">"…"를 포함한 지정한 사이즈로 문자열을 축소한다 maxWidth은 4보다 커야한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>abbreviate</b></td><td style="margin: 0px; line-height: 1.5;">String str, int offset, int maxWidth</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">"…"를 포함한 지정한 사이즈로 문자열을 앞/뒤로 축소한다 offset은 7보다 커야한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>capitalise</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>capitaliseAllWords</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>capitalize</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열중 첫번째 문자를 대문자로 만든다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>center</b></td><td style="margin: 0px; line-height: 1.5;">String str, int size</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 길이가 size가 되도록 문자열 좌우에 공백문자를 하나씩 추가한다 (우측부터 시작한다)</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>center</b></td><td style="margin: 0px; line-height: 1.5;">String str, int size, char padChar</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 길이가 size가 되도록 문자열 좌우에 padChar를 하나씩 추가한다 (우측부터 시작한다)</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>center</b></td><td style="margin: 0px; line-height: 1.5;">String str, int size, String padStr</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 길이가 size가 되도록 문자열 좌우에 padStr을 하나씩 추가한다 (우측부터 시작한다)</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>chomp</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열 맨 끝에있는 '\n' , '\r', '\r\n'을 제거한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>chomp</b></td><td style="margin: 0px; line-height: 1.5;">String str, String separator</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열 맨 끝에 separator가 있으면 이를 제거한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>chompLast</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>chompLast</b></td><td style="margin: 0px; line-height: 1.5;">String str, String sep</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>chop</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열 맨 끝에있는 문자 하나를 제거한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>chopNewline</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>clean</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>concatenate</b></td><td style="margin: 0px; line-height: 1.5;">Object array[]</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>contains</b></td><td style="margin: 0px; line-height: 1.5;">String str, char searchChar</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str이 searchChar를 포함하고 있으면 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>contains</b></td><td style="margin: 0px; line-height: 1.5;">String str, String searchStr</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str이 searchStr을 포함하고 있으면 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>containsNone</b></td><td style="margin: 0px; line-height: 1.5;">String str, char invalidChars[]</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str이 invalidChars의 각 문자를 모두 포함하고 있지 않으면 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>containsNone</b></td><td style="margin: 0px; line-height: 1.5;">String str, String invalidChars</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str이 invalidChars를 모두 포함하고 있지 않으면 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>containsOnly</b></td><td style="margin: 0px; line-height: 1.5;">String str, char valid[]</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str이 valid의 각 문자들만 포함하고 있어야 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>containsOnly</b></td><td style="margin: 0px; line-height: 1.5;">String str, String validChars</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str이 validChars 들만을 포함하고 있어야 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>countMatches</b></td><td style="margin: 0px; line-height: 1.5;">String str, String sub</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str중에 sub가 포함되어있는 갯수를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>defaultString</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str이 null이면 ""를 반환하고 아니면 str을 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>defaultString</b></td><td style="margin: 0px; line-height: 1.5;">String str, String defaultStr</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str이 null이면 defaultStr을 반환하고 아니면 str을 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>deleteSpaces</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>deleteWhitespace</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열중 공백문자가 있으면 모두 제거한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>difference</b></td><td style="margin: 0px; line-height: 1.5;">String str1, String str2</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str1과 str2를 비교하여 다른부분을 반환한다 (str2의 부분을 반환)</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>equals</b></td><td style="margin: 0px; line-height: 1.5;">String str1, String str2</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str1이 null이면 str2가 null인지 유무를 반환하고 str1이 null이 아니면 str1과 str2의 equals를 반환</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>equalsIgnoreCase</b></td><td style="margin: 0px; line-height: 1.5;">String str1, String str2</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">equals와 동일하며 대소문자를 무시하고 비교한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>escape</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>getChomp</b></td><td style="margin: 0px; line-height: 1.5;">String str, String sep</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>getNestedString</b></td><td style="margin: 0px; line-height: 1.5;">String str, String tag</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>getNestedString</b></td><td style="margin: 0px; line-height: 1.5;">String str, String open, String close</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>getPrechomp</b></td><td style="margin: 0px; line-height: 1.5;">String str, String sep</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>indexOf</b></td><td style="margin: 0px; line-height: 1.5;">String str, char searchChar</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 첫번째 searchChar의 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>indexOf</b></td><td style="margin: 0px; line-height: 1.5;">String str, char searchChar, int startPos</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 startPos 인덱스부터 첫번째 searchChar의 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>indexOf</b></td><td style="margin: 0px; line-height: 1.5;">String str, String searchStr</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 첫번째 searchStr의 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>indexOf</b></td><td style="margin: 0px; line-height: 1.5;">String str, String searchStr, int startPos</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 startPos 인덱스로부터 첫번째 searchStr의 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>indexOfAny</b></td><td style="margin: 0px; line-height: 1.5;">String str, char searchChars[]</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 searchChars중 포함하고 있는 문자의 첫번째 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>indexOfAny</b></td><td style="margin: 0px; line-height: 1.5;">String str String searchChars</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 searchChars중 포함하고 있는 문자열의 첫번째 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>indexOfAny</b></td><td style="margin: 0px; line-height: 1.5;">String str, String searchStrs[]</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 searchStr중 포함하고 잇는 문자열의 첫번째 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>indexOfAnyBut</b></td><td style="margin: 0px; line-height: 1.5;">String str char searchChars[]</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 searchChars중 포함되지 않은 문자 첫번째 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>indexOfAnyBut</b></td><td style="margin: 0px; line-height: 1.5;">String str, String searchChars</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 searchChars중 포함되지 않은 문자 첫번째 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>indexOfDifference</b></td><td style="margin: 0px; line-height: 1.5;">String str1, String str2</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str1과 str2를 비교하여 문자열이 틀려지기 시작하는 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>isAlpha</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열이 모두 Character.isLetter 이면 true (모두 문자이면 true)</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>isAlphanumeric</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열이 모두 Character.isLetterOrDigit 이면 true (문자거나 숫자이면 true)</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>isAlphanumericSpace</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열이 모두 Character.isLetterOrDigit 이거나 공백이면 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>isAlphaSpace</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열이 모두 Character.isLetter 이거나 공백문자이면 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>isBlank</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열이 공백문자이거나 길이가 0이거나 null인경우 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>isEmpty</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열이 길이가 0이거나 null인경우 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>isNotBlank</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열이 공백문자도 아니고 길이가 0도 아니고 null도 아니면 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>isNotEmpty</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열이 길이가 0이 아니고 null도 아니면 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>isNumeric</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열이 모두 Character.isDigit 이면 true (모두 숫자이면 true)</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>isNumericSpace</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열이 모두 Character.isDigit 이거나 공백문자이면 true</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">boolean</td><td style="margin: 0px; line-height: 1.5;"><b>isWhitespace</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열이 모두 Character.isWhitespace 이면 true (모두 공백이면 true)</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>join</b></td><td style="margin: 0px; line-height: 1.5;">Object array[]</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">array에서 문자열을 읽어와 모두 연결시킨다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>join</b></td><td style="margin: 0px; line-height: 1.5;">Object array[], char separator</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">array에서 문자열을 읽어와 separator를 구분자로 연결시킨다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>join</b></td><td style="margin: 0px; line-height: 1.5;">Object array[], String separator</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">array에서 문자열을 읽어와 separator를 구분자로 연결시킨다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>join</b></td><td style="margin: 0px; line-height: 1.5;">Iterator iterator, char separator</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">iterator에서 문자열을 읽어와 separator를 구분자로 연결시킨다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>join</b></td><td style="margin: 0px; line-height: 1.5;">Iterator iterator, String separator</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">iterator에서 문자열을 읽어와 separator를 구분자로 연결시킨다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>lastIndexOf</b></td><td style="margin: 0px; line-height: 1.5;">String str, char searchChar</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 마지막 searchChar의 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>lastIndexOf</b></td><td style="margin: 0px; line-height: 1.5;">String str, char searchChar, int startPos</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 startPos 인덱스부터 마지막 searchChar의 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>lastIndexOf</b></td><td style="margin: 0px; line-height: 1.5;">String str, String searchStr</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 마지막 searchStr의 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>lastIndexOf</b></td><td style="margin: 0px; line-height: 1.5;">String str, String searchStr, int startPos</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 startPos 인덱스부터 마지막 searchStr의 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">int</td><td style="margin: 0px; line-height: 1.5;"><b>lastIndexOfAny</b></td><td style="margin: 0px; line-height: 1.5;">String str, String searchStrs[]</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 searchStr의 문자열들중 포함하고 있는 문자열의 마지막 인덱스를 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>left</b></td><td style="margin: 0px; line-height: 1.5;">String str, int len</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 좌측에서 len 길이만큼 문자열을 구한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>leftPad</b></td><td style="margin: 0px; line-height: 1.5;">String str, int size</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 길이가 size가 되도록 문자열 왼쪽에 ' '을 추가한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>leftPad</b></td><td style="margin: 0px; line-height: 1.5;">String str, int size, char padChar</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 길이가 size가 되도록 문자열 왼쪽에 padChar를 추가한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>leftPad</b></td><td style="margin: 0px; line-height: 1.5;">String str, int size, String padStr</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 길이가 size가 되도록 문자열 왼쪽에 padStr을 추가한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>lowerCase</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str을 소문자로 변환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>mid</b></td><td style="margin: 0px; line-height: 1.5;">String str, int pos, int len</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 pos 인덱스부터 len 길이만큼의 문자열을 구한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>overlay</b></td><td style="margin: 0px; line-height: 1.5;">String str, String overlay, int start, int end</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 start부터 end까지overlay로 변환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>overlayString</b></td><td style="margin: 0px; line-height: 1.5;">String text, String overlay, int start, int end</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>prechomp</b></td><td style="margin: 0px; line-height: 1.5;">String str, String sep</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>repeat</b></td><td style="margin: 0px; line-height: 1.5;">String str, int repeat</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str을 repeat만큼 반복하여 반환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>replace</b></td><td style="margin: 0px; line-height: 1.5;">String text, String repl, String width</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">text에서 모든 repl을 width로 변환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>replace</b></td><td style="margin: 0px; line-height: 1.5;">String text, String repl, String width, int max</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">text에서 모든 repl을 width로 변환하는데 최대 max개만큼 변환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>replaceChars</b></td><td style="margin: 0px; line-height: 1.5;">String str, char searchChar, char replaceChar</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 searchChar를 replaceChar로 모두 변환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>replaceChars</b></td><td style="margin: 0px; line-height: 1.5;">String str, String searchChars, String replaceChars</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 searchChars를 replaceChars로 모두 변환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>replaceOne</b></td><td style="margin: 0px; line-height: 1.5;">String text, String repl, String width</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">text에서 repl를 width로 변환하는데 첫번째 하나만 변환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>reverse</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열을 앞뒤 순서를 바꾼다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>reverseDelimited</b></td><td style="margin: 0px; line-height: 1.5;">String str, char separatorChar</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">separatorChar를 구분으로 문자열을 나눈 후 나눠진 단어들을 역순으로 바꾼다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>reverseDelimitedString</b></td><td style="margin: 0px; line-height: 1.5;">String str, String separatorChars</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>right</b></td><td style="margin: 0px; line-height: 1.5;">String str, int len</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 len길이만큼 우측에서 문자열을 구한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>rightPad</b></td><td style="margin: 0px; line-height: 1.5;">String str, int size</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 길이가 size가 되도록 문자열 오른쪽에 ' '을 추가한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>rightPad</b></td><td style="margin: 0px; line-height: 1.5;">String str, int size, char padChar</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 길이가 size가 되도록 문자열 오른쪽에 padChar를 추가한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>rightPad</b></td><td style="margin: 0px; line-height: 1.5;">String str, int size, String padStr</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 길이가 size가 되도록 문자열 오른쪽에 padStr을 추가한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String[]</td><td style="margin: 0px; line-height: 1.5;"><b>split</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">공백문자를 구분자로 사용하여 분리한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String[]</td><td style="margin: 0px; line-height: 1.5;"><b>split</b></td><td style="margin: 0px; line-height: 1.5;">String str, char separatorChar</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">separatorChar를 구분자로 사용하여 분리한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String[]</td><td style="margin: 0px; line-height: 1.5;"><b>split</b></td><td style="margin: 0px; line-height: 1.5;">String str, String separatorChars</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">separatorChars를 구분자로 사용하여 분리한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String[]</td><td style="margin: 0px; line-height: 1.5;"><b>split</b></td><td style="margin: 0px; line-height: 1.5;">String str, String seperatorChars, int max</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">separatorChars를 구분자로 사용하여 분리한며 최대 max개 만큼한다. 배열의 크기는 max가 된다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>strip</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열 좌우에 있는 공백문자를 제거한다 trim과 동일하다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>strip</b></td><td style="margin: 0px; line-height: 1.5;">String str, String stripChars</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열 좌우에 stripChars에 존재하는 문자를 제거한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String[]</td><td style="margin: 0px; line-height: 1.5;"><b>stripAll</b></td><td style="margin: 0px; line-height: 1.5;">String strs[]</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">배열에 있는 모든 문자열 좌우에 있는 공백문자를 제거한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String[]</td><td style="margin: 0px; line-height: 1.5;"><b>stripAll</b></td><td style="margin: 0px; line-height: 1.5;">String strs[], String stripChars</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">배열에 있는 모든 문자열 좌우에 stripChars에 존재하는 문자를 제거한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>stripEnd</b></td><td style="margin: 0px; line-height: 1.5;">String str, String stripChars</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열 우측에만 strip 한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>stripStart</b></td><td style="margin: 0px; line-height: 1.5;">String str, String stripChars</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열 좌측에만 strip 한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>stripToEmpty</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str이 null이면 ""를 반환하고 아니면 strip 한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>stripToNull</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str이 null이면 null을 반환하고 아니면 strip 한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>substring</b></td><td style="margin: 0px; line-height: 1.5;">String str, int start</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 start 인덱스부터 문자열을 구한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>substring</b></td><td style="margin: 0px; line-height: 1.5;">String str, int start, int end</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 start 부터 end 인덱스 까지 문자열을 구한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>substringAfter</b></td><td style="margin: 0px; line-height: 1.5;">String str, String separator</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 처음 separator 부분부터 문자열을 구한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>substringAfterLast</b></td><td style="margin: 0px; line-height: 1.5;">String str, String separator</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 마지막 separator부분부터 문자열을 구한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>substringBefore</b></td><td style="margin: 0px; line-height: 1.5;">String str, String separator</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 처음 separator 부분까지 문자열을 구한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>substringBeforeLast</b></td><td style="margin: 0px; line-height: 1.5;">String str, String separator</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str의 마지막 separator부분까지 문자열을 구한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>substringBetween</b></td><td style="margin: 0px; line-height: 1.5;">String str, String tag</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 tag 사이에 있는 문자열을 구한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>substringBetween</b></td><td style="margin: 0px; line-height: 1.5;">String str, String open, String close</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str에서 open부터 close 까지 사이에 있는 문자열을 구한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>swapCase</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">대문자는 소문자로 변환하고 소문자는 대문자로 변환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>trimToNull</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str이 null이거나 length가 0이면 null을 반환하고 그렇지 않으면 좌우 공백문자를 제거한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>trim</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열 좌우 공백문자를 제거한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>trimToEmpty</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str이 null이면 ""를 반환하고 그렇지 않으면 좌우 공백문자를 제거한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>uncapitalise</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">deprecated</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>uncapitalize</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">문자열의 첫문자를 소문자로 변환한다</td></tr><tr height="20"><td align="center" style="margin: 0px; line-height: 1.5;">String</td><td style="margin: 0px; line-height: 1.5;"><b>upperCase</b></td><td style="margin: 0px; line-height: 1.5;">String str</td></tr><tr height="20" bgcolor="#ffffff"><td height="30" colspan="3" style="margin: 0px; line-height: 1.5;">str을 대문자로 변환한다</td></tr></tbody></table><p><br style="color: rgb(102, 102, 102); font-family: "Spoqa Han Sans", sans-serif;"><br style="color: rgb(102, 102, 102); font-family: "Spoqa Han Sans", sans-serif;"><span style="color: rgb(102, 102, 102); font-family: "Spoqa Han Sans", sans-serif;">출처: </span><a href="http://kmj1107.tistory.com/entry/Java-StringUtils" style="color: rgb(51, 51, 51); font-family: "Spoqa Han Sans", sans-serif; background-color: rgb(255, 255, 255);">http://kmj1107.tistory.com/entry/Java-StringUtils</a><span style="color: rgb(102, 102, 102); font-family: "Spoqa Han Sans", sans-serif;"> [토순이네집]</span><br></p>,
Electron
http://www.webprogramer.kr/blog/P000000347/post.do
<blockquote><span style="color: rgb(0, 255, 255); font-family: Verdana; font-size: 36px; font-weight: bold; background-color: rgb(99, 99, 99);">ELECTRON</span></blockquote><p><br></p><p><span style="font-size: 18px; font-weight: bold;">개발할때 도움이 되는 어플을 만들어보자 라는생각에</span></p><p><span style="font-size: 18px; font-weight: bold;">플랫폼 찾아보던중. <a style="color: rgb(255, 255, 255); font-family: Verdana; background-color: rgb(156, 0, 255);" href="https://electronjs.org" target="_blank">Electron</a>이라는것을 알게되었다.</span></p><p><span style="font-size: 18px; font-weight: bold;"><br></span></p><p><span style="font-size: 14px; font-weight: 700;">Chromium과 Node.js를 이용하여 데스크톱 앱을 HTML, CSS, JavaScript로 쉽게 만들 수 있게 해주는 </span></p><p><span style="font-size: 14px; font-weight: 700;">프레임워크입니다.[펌] </span></p><p><span style="font-size: 14px; font-weight: 700;"><br></span></p><p><span style="font-size: 14px; font-weight: 700;">설치방법이나 프로그램 내용은 생략하고 결과물만..</span></p><p><span style="font-size: 14px; font-weight: 700;"><br></span></p><p><span style="font-size: 14px; font-weight: 700;">기능</span></p><p><span style="font-size: 14px; font-weight: 700;">1. 일감 알림 기능</span></p><p> - 일감이 들어왔을경우 알림이 울리는 기능<span style="font-size: 14px; font-weight: 700;"> </span></p><p><span style="font-size: 14px; font-weight: 700;">2. 변수명 짓기</span></p><p> - 한글로 검색하면 영문으로 번역하여 제공(카멜표기법, 대문자, 원어)<br></p><p><span style="font-size: 14px; font-weight: 700;">3. SQL 생성</span></p><p> - DB 접속정보 관리기능(등록,수정,삭제)</p><p> - 조회테이블 vo, select, insert, update 쿼리 제공<span style="font-size: 14px; font-weight: 700;"><br></span></p><p><span style="font-size: 14px; font-weight: 700;">4. 데이터 포맷</span></p><p> - sql, json, xml, css 정렬기능</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1684915453174342367.PNG" data-filename="1684915453174342367.PNG" style="width: 100%;"><br></p>
java.net.UnknownHostException: openapi.naver.com 발생
http://www.webprogramer.kr/blog/P000000346/post.do
<p><br></p><p><strong><span style="font-size: 24px;"><font color="#ffffff" face="Verdana" style="background-color: rgb(8, 82, 148);">java.net.UnknownHostException: openapi.naver.com</font></span></strong></p><p><strong><span style="font-size: 24px;"><br><strong><span style="font-size: 24px;">네이버 오픈 API 사용도중 간헐적으로 위와 같은 에러메세지가 <strong><span style="font-size: 24px;"><strong><span style="font-size: 24px;"><br></span></strong></span></strong></span></strong></span></strong></p><p><strong><span style="font-size: 24px;"><strong><span style="font-size: 24px;">발생하면서 서비스가 되지 않음.</span></strong></span></strong></p><p><strong><span style="font-size: 24px;"><strong><span style="font-size: 24px;"><br><strong><span style="font-size: 24px;"><strong><span style="font-size: 24px;"><font color="#ffffff" style="background-color: rgb(255, 0, 0);">오류내용</font> : 알수없는 호스트<br><strong><span style="font-size: 24px;"><br></span><font color="#ffffff" style="background-color: rgb(255, 156, 0);">해결</font></strong></span></strong></span></strong></span></strong></span></strong></p><p><strong><span style="font-size: 24px;"><strong><span style="font-size: 24px;"><strong>/etc/hosts 파일에 아이피 및 도메인 추가</strong></span></strong></span></strong></p><p><strong><span style="font-size: 24px;"><strong><span style="font-size: 24px;"><strong><font color="#ffffff" style="background-color: rgb(0, 255, 0);">적용 명령어 <br></font></strong></span></strong></span></strong></p><p><span><strong><span style="font-size: 24px;">/etc/init.d/network restart</span></strong><span style="font-size: 24px;"><br></span></span></p><p><strong><span style="font-size: 24px;"><strong><span style="font-size: 24px;"><strong><br></strong></span></strong></span></strong></p><p><br></p><p><br></p><p><br></p><p><br>
</p>
벽걸이 레일설치
http://www.webprogramer.kr/blog/P000000345/post.do
<blockquote><p><span style="font-family: Verdana; font-weight: bold;"><span style="font-size: 24px;">벽걸이 레일설치</span><br></span></p></blockquote><p><span style="font-family: Tahoma; font-weight: bold;">집에 못박는게 싫어서 벽걸이용 레일을 구매 했다.</span></p><p><span style="font-family: Tahoma; font-weight: bold;">허전한 벽면에 작은 식물을 걸어서 키워볼 예정이다.</span></p><p><span style="font-family: Tahoma; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-weight: bold;">하루만에 택배가 도착</span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1508316588966604021.jpg" data-filename="1508316588966604021.jpg"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: bold;">구성품은 레일, 와이어랑 걸이, 피스, 레일 양쪽 마개</span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1508316603365856862.jpg" data-filename="1508316603365856862.jpg"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: bold;">좌측, 우측에 마개를 장착한다.<br></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1508317058181679883.jpg" data-filename="1508317058181679883.jpg"><br></p><p><br></p><p><span style="font-family: Tahoma; font-weight: bold;">설치장소는 현관 입구 바로옆<br></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1508317072320812509.jpg" data-filename="1508317072320812509.jpg"></p><p><br></p><p><br></p><p><span style="font-family: Tahoma; font-weight: bold;">천정에 고정시켜 편하게 작업하기위해 테이프를 미리 떼어놓았다.<br></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1508317088445337838.jpg" data-filename="1508317088445337838.jpg"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: bold;">첫번째 피스를 다쪼였다.<br></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1508317100374507990.jpg" data-filename="1508317100374507990.jpg"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: bold;">두번째 피스 장착중<br></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1508317109990506245.jpg" data-filename="1508317109990506245.jpg"></p><p><br></p><p><br></p><p><span style="font-family: Tahoma; font-weight: bold;">설치완료 후 와이어 설치<span style="font-family: Tahoma; font-weight: bold;"><br></span></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1508317126400969137.jpg" data-filename="1508317126400969137.jpg"></p><p><br></p><p><span style="font-family: Tahoma; font-weight: bold;">설치가 아주 쉽다.<br></span></p><p><span style="font-family: Tahoma; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-weight: bold;">식물이 도착해서 걸어봤다.<br></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/15088195814884600.jpg" data-filename="15088195814884600.jpg"><span style="font-family: Tahoma; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-weight: bold;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/150881961988760920.jpg" data-filename="150881961988760920.jpg"><span style="font-family: Tahoma; font-weight: bold;"><br></span></span></p><p><br></p><link href="/resources/theme/tipa/css/layout.css" rel="stylesheet" type="text/css"><link href="/resources/theme/tipa/css/contents.css" rel="stylesheet" type="text/css"><link href="/resources/theme/tipa/css/patch.css" rel="stylesheet" type="text/css"><link href="/resources/theme/tipa/css/default.css" rel="stylesheet" type="text/css"><link href="/resources/css/biz/ss/ssContent.css" rel="stylesheet" type="text/css">
Spring 비동기 처리 @Async
http://www.webprogramer.kr/blog/P000000344/post.do
<blockquote><span style="font-family: Tahoma; font-size: 36px; font-weight: bold;">Spring 비동기 처리 @Async</span></blockquote><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">SpringFramework에서 비동기로 처리해야 하는 상황이 생겨서 샘플 작성하는김에</span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">블로그에 올리게되었음.</span></p><p><br></p><p style="line-height: 1.4;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">예를 들어 서비스하고 있는 사이트가 로그인을 하면 메인페이지로 이동된다. 메인페이지엔 이런저런 많은 정보들을 가져오는 상황 그런데 그곳에 시간이 좀 걸리는 작업을 추가하게 되어 메인페이지 로딩시간이 길어지게 되었다. 그래서 오래걸리는 작업은 비동기로 처리하여 해결.</span></p><p style="line-height: 1.4;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">시작에 앞서 동기/비동기 개념을 알아보도록 하겠다.</span></p><p style="line-height: 1.4;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px;"><strong><span style="font-size: 12px;">[이미지펌]</span><br></strong></span></p><p style="line-height: 1.4;"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1507794155221858491.png" data-filename="1507794155221858491.png"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-weight: bold;"><br></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><font color="#000000" style="background-color: inherit;">동기방식 : 그림에서 보이는 바와 같이 요청처리1이 처리가 완료된 후 요청처리2가 요청을 받아 처리 할 수 있다.</font></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><font color="#000000" style="background-color: inherit;">비동기방식 : 요청처리1이 처리완료 되지않아도 요청처리2가 요청을받아 처리한다.</font></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></span></span></span></span></span></span></span></span></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">1. 우선 Maven dependency를 추가한다.<span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></span></p><pre class="prettyprint linenums"><code class="language-java"><dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>4.1.1.RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency> </code></pre><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">2. 프레임워크 환경파일에 설정 추가<span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></span></p><pre class="prettyprint linenums"><code class="language-java"><beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:task="http://www.springframework.org/schema/task"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.0.xsd">
<font color="#000000"><task:annotation-driven /></font>
</beans></code></pre><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">3. AsyncTest 파일작성<span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></span></span></p><pre class="prettyprint linenums"><code class="language-java">package egovframework.test;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
/**
* xxxxxx 관한 controller 클래스를 정의한다.
* @author 개발팀 hyunjo
* @since 2017. 9. 29.
* @version 1.0
* @see
*
* <pre>
* << 개정이력(Modification Information) >>
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
* 2017. 9. 29. hyunjo 최초 생성
*
* </pre>
*/
@RunWith(SpringJUnit4ClassRunner.class)
@WebAppConfiguration
@ContextConfiguration(
locations = {"file:src/main/resources/egovframework/spring/com/**/*.xml",
"file:src/main/webapp/WEB-INF/config/egovframework/**/*.xml"
}
)
public class AsyncTest {
@Autowired
AsyncService asyncService;
@Test
public void asyncTest() throws InterruptedException {
//비동기 호출
asyncService.async();
//동기 호출
asyncService.normal();
}
}
</code></pre><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">4. AsyncService 파일작성<span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></span></p><pre class="prettyprint linenums"><code class="language-java">package egovframework.test;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
/**
* xxxxxx 관한 controller 클래스를 정의한다.
* @author 개발팀 hyunjo
* @since 2017. 9. 29.
* @version 1.0
* @see
*
* <pre>
* << 개정이력(Modification Information) >>
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
* 2017. 9. 29. hyunjo 최초 생성
*
* </pre>
*/
@Service
public class AsyncService {
/**
* @throws InterruptedException
* @desc : 동기
*/
public void normal() throws InterruptedException {
System.out.println("2번 ============= 동기 시작 ===========");
Thread.sleep(4000);
System.out.println("2번 ============= 동기 종료 ===========");
}
/**
* @throws InterruptedException
* @desc : 비동기
*/
@Async
public void async() throws InterruptedException {
System.out.println("1번 ============= 비동기 시작 ===========");
Thread.sleep(2000);
System.out.println("1번 ============= 비동기 종료 ===========");
}
}
</code></pre><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">5. 테스트</span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">테스트를 위해 JUnit Test를 선택합니다.<br></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1507796808028263173.png" data-filename="1507796808028263173.png"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></p><p><br></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">JUnit 테스트가 정상적으로 되었습니다.<br></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1507796947080537558.png" data-filename="1507796947080537558.png"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">로그확인<span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1507797008507347854.png" data-filename="1507797008507347854.png"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">6. 설명</span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">비동기 호출을 시작하고 바로 동기 호출을 합니다.</span></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">비동기가 종료되고 동기가 종료 됩니다.</span></span></p><p><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;">동기방식이였다면 비동기가 종료될때까지 기다렸다가 동기가 호출되었을것입니다.<span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span></span><span style="color: rgb(66, 66, 66); font-family: Verdana; font-size: 18px; font-weight: bold;"><br></span><br></span></span></p><p><br></p>
Mybatis 다중 Datasource 설정
http://www.webprogramer.kr/blog/P000000343/post.do
<blockquote style="color: rgb(51, 51, 51);"><span style="font-family: Tahoma; font-size: 24px; font-weight: bold;">Mybatis 다중 Datasource 설정</span></blockquote><p style="color: rgb(51, 51, 51);"><span style="font-weight: bold;">통계치를 다른 서버 DB에 적재 할 일이 생겨 추가적으로 작업.</span></p><p style="color: rgb(51, 51, 51);"><span style="color: rgb(255, 0, 0); font-weight: bold;">(소스상에 나와있는 수치는 예제이므로 절대치는 아닙니다.)<br></span></p><p style="color: rgb(51, 51, 51);"><span style="font-family: Verdana; font-weight: bold;"><br></span></p><p style="color: rgb(51, 51, 51);"><span style="font-family: Verdana; font-weight: bold;">database.properties<br></span></p><pre class="prettyprint linenums prettyprinted" style="line-height: 1.42857;"><ol class="linenums"><li class="L0"><code class="language-markup"><span class="com">## 이전접속 DB</span></code></li><li class="L1" style="background-image: none;"><code class="language-markup"><span class="pln">jdbc</span><span class="pun">.</span><span class="pln">main</span><span class="pun">.</span><span class="pln">driver</span><span class="pun">=</span><span class="pln">xxxx</span></code></li><li class="L2"><code class="language-markup"><span class="pln">jdbc</span><span class="pun">.</span><span class="pln">main</span><span class="pun">.</span><span class="pln">url</span><span class="pun">=</span><span class="pln">xxxx</span></code></li><li class="L3" style="background-image: none;"><code class="language-markup"><span class="pln">jdbc</span><span class="pun">.</span><span class="pln">main</span><span class="pun">.</span><span class="pln">user</span><span class="pun">=</span><span class="pln">xxx</span></code></li><li class="L4"><code class="language-markup"><span class="pln">jdbc</span><span class="pun">.</span><span class="pln">main</span><span class="pun">.</span><span class="pln">password</span><span class="pun">=</span><span class="pln">xxxx</span></code></li><li class="L5" style="background-image: none;"><code class="language-markup"></code></li><li class="L6"><code class="language-markup"><span class="com">## 신규접속 DB</span></code></li><li class="L7" style="background-image: none;"><code class="language-markup"><span class="pln">jdbc</span><span class="pun">.</span><span class="pln">main</span><span class="pun">.</span><span class="pln">driver</span><span class="pun">.</span><span class="pln">sts</span><span class="pun">=</span><span class="pln">yyyyy</span></code></li><li class="L8"><code class="language-markup"><span class="pln">jdbc</span><span class="pun">.</span><span class="pln">main</span><span class="pun">.</span><span class="pln">url</span><span class="pun">.</span><span class="pln">sts</span><span class="pun">=</span><span class="pln">yyyyyyy</span></code></li><li class="L9" style="background-image: none;"><code class="language-markup"><span class="pln">jdbc</span><span class="pun">.</span><span class="pln">main</span><span class="pun">.</span><span class="pln">user</span><span class="pun">.</span><span class="pln">sts</span><span class="pun">=</span><span class="pln">yyyyy</span></code></li><li class="L0"><code class="language-markup"><span class="pln">jdbc</span><span class="pun">.</span><span class="pln">main</span><span class="pun">.</span><span class="pln">password</span><span class="pun">.</span><span class="pln">sts</span><span class="pun">=</span><span class="pln">yyyyyy</span></code></li></ol></pre><p style="color: rgb(51, 51, 51);"><br></p><p style="color: rgb(51, 51, 51);"><span style="font-family: Verdana; font-weight: bold;">context-datasource.xml<br></span></p><pre class="prettyprint linenums prettyprinted" style="line-height: 1.42857;"><ol class="linenums"><li class="L0"><code class="language-java"><span class="pun"><span class="pln"><?xml version</span><span class="pun">=</span><span class="str">"1.0"</span><span class="pln"> encoding</span><span class="pun">=</span><span class="str">"UTF-8"</span><span class="pun">?></span></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pun"><</span><span class="pln">beans xmlns</span><span class="pun">=</span><span class="str">"http://www.springframework.org/schema/beans"</span><span class="pln"> xmlns</span><span class="pun">:</span><span class="pln">xsi</span><span class="pun">=</span><span class="str">"http://www.w3.org/2001/XMLSchema-instance"</span></code></li><li class="L2"><code class="language-java"><span class="pln"> xmlns</span><span class="pun">:</span><span class="pln">context</span><span class="pun">=</span><span class="str">"http://www.springframework.org/schema/context"</span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> xsi</span><span class="pun">:</span><span class="pln">schemaLocation</span><span class="pun">=</span><span class="str">"</span><span class="pln">http</span><span class="pun">:</span><span class="com">//www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd</span></code></li><li class="L4"><code class="language-java"><span class="pln"> http</span><span class="pun">:</span><span class="com">//www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd"></span></code></li><li class="L5" style="background-image: none;"><code class="language-java"></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">context</span><span class="pun">:</span><span class="pln">property</span><span class="pun">-</span><span class="pln">placeholder location</span><span class="pun">=</span><span class="str">"classpath:config/properties/database.properties"</span><span class="pun">/></span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"></span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">bean id</span><span class="pun">=</span><span class="str">"dataSource"</span><span class="pln"> </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"org.apache.commons.dbcp.BasicDataSource"</span><span class="pln"> destroy</span><span class="pun">-</span><span class="pln">method</span><span class="pun">=</span><span class="str">"close"</span><span class="pun">></span></code></li><li class="L9" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"driverClassName"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"${jdbc.main.driver}"</span><span class="pun">/></span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"url"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"${jdbc.main.url}"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"username"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"${jdbc.main.user}"</span><span class="pun">/></span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"password"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"${jdbc.main.password}"</span><span class="pun">/></span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"validationQuery"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"select 1"</span><span class="pun">/></span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"timeBetweenEvictionRunsMillis"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"60000"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"testWhileIdle"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"true"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"maxWait"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"1000"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"maxActive"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"200"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"maxIdle"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"10"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L9" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"minIdle"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"1"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span></<span class="pun"><span class="pln">bean</span><span class="pun">></span></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="pun"></span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">bean id</span><span class="pun">=</span><span class="str">"dataSourceSts"</span><span class="pln"> </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"org.apache.commons.dbcp.BasicDataSource"</span><span class="pln"> destroy</span><span class="pun">-</span><span class="pln">method</span><span class="pun">=</span><span class="str">"close"</span><span class="pun">></span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"driverClassName"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"${jdbc.main.driver.sts}"</span><span class="pun">/></span></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"url"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"${jdbc.main.url.sts}"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"username"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"${jdbc.main.user.sts}"</span><span class="pun">/></span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"password"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"${jdbc.main.password.sts}"</span><span class="pun">/></span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"validationQuery"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"select 1"</span><span class="pun">/></span></code></li><li class="L9" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"timeBetweenEvictionRunsMillis"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"60000"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"testWhileIdle"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"true"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"maxWait"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"1000"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"maxActive"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"200"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"maxIdle"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"10"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"minIdle"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"1"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pln"> </span></<span class="pun"><span class="pln">bean</span><span class="pun">></span></span></code></li><li class="L6"><code class="language-java"></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pun"><span class="pln"></beans</span><span class="pun">></span></span></code></li></ol></pre><p style="color: rgb(51, 51, 51);"><br></p><p style="color: rgb(51, 51, 51);"><span style="font-family: Verdana; font-weight: bold;">context-mybatis.xml</span></p><pre class="prettyprint linenums prettyprinted" style="line-height: 1.42857;"><ol class="linenums"><li class="L0"><code class="language-java"><span class="pun"><?</span><span class="pln">xml version</span><span class="pun">=</span><span class="str">"1.0"</span><span class="pln"> encoding</span><span class="pun">=</span><span class="str">"UTF-8"</span><span class="pun">?></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pun"><</span><span class="pln">beans xmlns</span><span class="pun">=</span><span class="str">"http://www.springframework.org/schema/beans"</span></code></li><li class="L2"><code class="language-java"><span class="pln"> xmlns</span><span class="pun">:</span><span class="pln">xsi</span><span class="pun">=</span><span class="str">"http://www.w3.org/2001/XMLSchema-instance"</span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> xsi</span><span class="pun">:</span><span class="pln">schemaLocation</span><span class="pun">=</span><span class="str">"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"</span><span class="pun">></span></code></li><li class="L4"><code class="language-java"></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><!--</span><span class="pln"> </span><span class="pun">이전</span><span class="pln">DB </span><span class="pun">--></span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">bean id</span><span class="pun">=</span><span class="str">"sqlSessionFactory"</span><span class="pln"> </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"org.mybatis.spring.SqlSessionFactoryBean"</span><span class="pun">></span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"dataSource"</span><span class="pln"> ref</span><span class="pun">=</span><span class="str">"dataSource"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"configLocation"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"classpath:config/mybatis/mybatis-config.xml"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L9" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"mapperLocations"</span><span class="pun">></span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">list</span><span class="pun">></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">value</span><span class="pun">></span><span class="pln">classpath</span><span class="pun">:</span><span class="pln">sqlmap</span><span class="com">/**/</span><span class="pun">*.</span><span class="pln">xml</span><span class="pun"></</span><span class="pln">value</span><span class="pun">></span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="pun"></</span><span class="pln">list</span><span class="pun">></span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"></</span><span class="pln">property</span><span class="pun">></span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="pun"></</span><span class="pln">bean</span><span class="pun">></span></code></li><li class="L5" style="background-image: none;"><code class="language-java"></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">bean id</span><span class="pun">=</span><span class="str">"sqlSessionTemplate"</span><span class="pln"> </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"org.mybatis.spring.SqlSessionTemplate"</span><span class="pun">></span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">constructor</span><span class="pun">-</span><span class="pln">arg ref</span><span class="pun">=</span><span class="str">"sqlSessionFactory"</span><span class="pun">/></span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="pun"></</span><span class="pln">bean</span><span class="pun">></span></code></li><li class="L9" style="background-image: none;"><code class="language-java"></code></li><li class="L0"><code class="language-java"></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><!--</span><span class="pln"> </span><span class="pun">신규</span><span class="pln">DB </span><span class="pun">--></span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">bean id</span><span class="pun">=</span><span class="str">"sqlSessionFactorySts"</span><span class="pln"> </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"org.mybatis.spring.SqlSessionFactoryBean"</span><span class="pun">></span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"dataSource"</span><span class="pln"> ref</span><span class="pun">=</span><span class="str">"dataSourceSts"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"configLocation"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"classpath:config/mybatis/mybatis-config.xml"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"mapperLocations"</span><span class="pun">></span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">list</span><span class="pun">></span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">value</span><span class="pun">></span><span class="pln">classpath</span><span class="pun">:</span><span class="pln">sqlmap</span><span class="pun">/</span><span class="pln">sts</span><span class="com">/*.xml</value></span></code></li><li class="L8"><code class="language-java"><span class="com"> </list></span></code></li><li class="L9" style="background-image: none;"><code class="language-java"><span class="com"> </property></span></code></li><li class="L0"><code class="language-java"><span class="com"> </bean></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="com"> <bean id="sqlSessionTemplateSts" class="org.mybatis.spring.SqlSessionTemplate"></span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="com"> <constructor-arg ref="sqlSessionFactorySts"/></span></code></li><li class="L4"><code class="language-java"><span class="com"> </bean></span></code></li><li class="L5" style="background-image: none;"><code class="language-java"></code></li><li class="L6"><code class="language-java"><span class="com"></beans></span></code></li></ol></pre><p style="color: rgb(51, 51, 51);"><br></p><p style="color: rgb(51, 51, 51);"><span style="font-family: Verdana; font-weight: bold;">mybatis-config.xml<br></span></p><pre class="prettyprint linenums prettyprinted" style="line-height: 1.42857;"><ol class="linenums"><li class="L0"><code class="language-java"><span class="pun"><span class="pln"><?xml version</span><span class="pun">=</span><span class="str">"1.0"</span><span class="pln"> encoding</span><span class="pun">=</span><span class="str">"UTF-8"</span><span class="pln"> </span><span class="pun">?></span></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pun"><span class="pln">DOCTYPE configuration PUBLIC </span><span class="str">"-//mybatis.org//DTD Config 3.0//EN"</span><span class="pln"> </span><span class="str">"http://mybatis.org/dtd/mybatis-3-config.dtd"</span><span class="pun">></span></span></code></li><li class="L2"><code class="language-java"></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pun"><</span><span class="pln">configuration</span><span class="pun">></span></code></li><li class="L4"><code class="language-java"></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">settings</span><span class="pun">></span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">setting name</span><span class="pun">=</span><span class="str">"cacheEnabled"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"false"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">setting name</span><span class="pun">=</span><span class="str">"useGeneratedKeys"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"true"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">setting name</span><span class="pun">=</span><span class="str">"callSettersOnNulls"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"true"</span><span class="pun">/></span></code></li><li class="L9" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">setting name</span><span class="pun">=</span><span class="str">"mapUnderscoreToCamelCase"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"true"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">setting name</span><span class="pun">=</span><span class="str">"defaultExecutorType"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"REUSE"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">setting name</span><span class="pun">=</span><span class="str">"localCacheScope"</span><span class="pln"> value</span><span class="pun">=</span><span class="str">"STATEMENT"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span></<span class="pun"><span class="pln">settings</span><span class="pun">></span></span></code></li><li class="L3" style="background-image: none;"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="pun"><span class="pln"></configuration</span><span class="pun">></span></span></code></li></ol></pre><p style="color: rgb(51, 51, 51);"><br></p><p style="color: rgb(51, 51, 51);"><span style="font-weight: bold; font-family: Verdana;">context-transaction.xml<br></span></p><pre class="prettyprint linenums prettyprinted" style="line-height: 1.42857;"><ol class="linenums"><li class="L0"><code class="language-java"><span class="pun"><span class="pln"><?xml version</span><span class="pun">=</span><span class="str">"1.0"</span><span class="pln"> encoding</span><span class="pun">=</span><span class="str">"UTF-8"</span><span class="pun">?></span></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pun"><</span><span class="pln">beans xmlns</span><span class="pun">=</span><span class="str">"http://www.springframework.org/schema/beans"</span><span class="pln"> xmlns</span><span class="pun">:</span><span class="pln">xsi</span><span class="pun">=</span><span class="str">"http://www.w3.org/2001/XMLSchema-instance"</span></code></li><li class="L2"><code class="language-java"><span class="pln"> xmlns</span><span class="pun">:</span><span class="pln">tx</span><span class="pun">=</span><span class="str">"http://www.springframework.org/schema/tx"</span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> xmlns</span><span class="pun">:</span><span class="pln">aop</span><span class="pun">=</span><span class="str">"http://www.springframework.org/schema/aop"</span></code></li><li class="L4"><code class="language-java"><span class="pln"> xsi</span><span class="pun">:</span><span class="pln">schemaLocation</span><span class="pun">=</span><span class="str">"</span><span class="pln">http</span><span class="pun">:</span><span class="com">//www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd</span></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pln"> http</span><span class="pun">:</span><span class="com">//www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd</span></code></li><li class="L6"><code class="language-java"><span class="pln"> http</span><span class="pun">:</span><span class="com">//www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd"></span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"></span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">bean id</span><span class="pun">=</span><span class="str">"txManager"</span><span class="pln"> </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"org.springframework.jdbc.datasource.DataSourceTransactionManager"</span><span class="pun">></span></code></li><li class="L9" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"dataSource"</span><span class="pln"> ref</span><span class="pun">=</span><span class="str">"dataSource"</span><span class="pun">/></span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span></<span class="pun"><span class="pln">bean</span><span class="pun">></span></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">advice id</span><span class="pun">=</span><span class="str">"txAdvice"</span><span class="pln"> transaction</span><span class="pun">-</span><span class="pln">manager</span><span class="pun">=</span><span class="str">"txManager"</span><span class="pun">></span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">attributes</span><span class="pun">></span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">method name</span><span class="pun">=</span><span class="str">"select*"</span><span class="pln"> propagation</span><span class="pun">=</span><span class="str">"REQUIRED"</span><span class="pln"> isolation</span><span class="pun">=</span><span class="str">"DEFAULT"</span><span class="pln"> rollback</span><span class="pun">-</span><span class="kwd">for</span><span class="pun">=</span><span class="str">"Exception"</span><span class="pln"> read</span><span class="pun">-</span><span class="pln">only</span><span class="pun">=</span><span class="str">"true"</span><span class="pun">/></span></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">method name</span><span class="pun">=</span><span class="str">"insert*"</span><span class="pln"> propagation</span><span class="pun">=</span><span class="str">"REQUIRED"</span><span class="pln"> isolation</span><span class="pun">=</span><span class="str">"DEFAULT"</span><span class="pln"> rollback</span><span class="pun">-</span><span class="kwd">for</span><span class="pun">=</span><span class="str">"Exception"</span><span class="pln"> read</span><span class="pun">-</span><span class="pln">only</span><span class="pun">=</span><span class="str">"false"</span><span class="pun">/></span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">method name</span><span class="pun">=</span><span class="str">"update*"</span><span class="pln"> propagation</span><span class="pun">=</span><span class="str">"REQUIRED"</span><span class="pln"> isolation</span><span class="pun">=</span><span class="str">"DEFAULT"</span><span class="pln"> rollback</span><span class="pun">-</span><span class="kwd">for</span><span class="pun">=</span><span class="str">"Exception"</span><span class="pln"> read</span><span class="pun">-</span><span class="pln">only</span><span class="pun">=</span><span class="str">"false"</span><span class="pun">/></span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">method name</span><span class="pun">=</span><span class="str">"delete*"</span><span class="pln"> propagation</span><span class="pun">=</span><span class="str">"REQUIRED"</span><span class="pln"> isolation</span><span class="pun">=</span><span class="str">"DEFAULT"</span><span class="pln"> rollback</span><span class="pun">-</span><span class="kwd">for</span><span class="pun">=</span><span class="str">"Exception"</span><span class="pln"> read</span><span class="pun">-</span><span class="pln">only</span><span class="pun">=</span><span class="str">"false"</span><span class="pun">/></span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">method name</span><span class="pun">=</span><span class="str">"save*"</span><span class="pln"> propagation</span><span class="pun">=</span><span class="str">"REQUIRED"</span><span class="pln"> isolation</span><span class="pun">=</span><span class="str">"DEFAULT"</span><span class="pln"> rollback</span><span class="pun">-</span><span class="kwd">for</span><span class="pun">=</span><span class="str">"Exception"</span><span class="pln"> read</span><span class="pun">-</span><span class="pln">only</span><span class="pun">=</span><span class="str">"false"</span><span class="pun">/></span></code></li><li class="L9" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">method name</span><span class="pun">=</span><span class="str">"*"</span><span class="pln"> rollback</span><span class="pun">-</span><span class="kwd">for</span><span class="pun">=</span><span class="str">"Exception"</span><span class="pun">/></span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span></<span class="pun"><span class="pln">tx</span><span class="pun">:</span><span class="pln">attributes</span><span class="pun">></span></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pln"> </span></<span class="pun"><span class="pln">tx</span><span class="pun">:</span><span class="pln">advice</span><span class="pun">></span></span></code></li><li class="L2"><code class="language-java"></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">aop</span><span class="pun">:</span><span class="pln">config</span><span class="pun">></span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">aop</span><span class="pun">:</span><span class="pln">pointcut id</span><span class="pun">=</span><span class="str">"requiredTx"</span><span class="pln"> expression</span><span class="pun">=</span><span class="str">"execution(* platform.stownbus.business..impl.*Impl.*(..))"</span><span class="pun">/></span></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">aop</span><span class="pun">:</span><span class="pln">advisor advice</span><span class="pun">-</span><span class="pln">ref</span><span class="pun">=</span><span class="str">"txAdvice"</span><span class="pln"> pointcut</span><span class="pun">-</span><span class="pln">ref</span><span class="pun">=</span><span class="str">"requiredTx"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span></<span class="pun"><span class="pln">aop</span><span class="pun">:</span><span class="pln">config</span><span class="pun">></span></span></code></li><li class="L7" style="background-image: none;"><code class="language-java"></code></li><li class="L8"><code class="language-java"></code></li><li class="L9" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"></span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">bean id</span><span class="pun">=</span><span class="str">"txManagerSts"</span><span class="pln"> </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"org.springframework.jdbc.datasource.DataSourceTransactionManager"</span><span class="pun">></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">property name</span><span class="pun">=</span><span class="str">"dataSource"</span><span class="pln"> ref</span><span class="pun">=</span><span class="str">"dataSourceSts"</span><span class="pun">/></span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span></<span class="pun"><span class="pln">bean</span><span class="pun">></span></span></code></li><li class="L3" style="background-image: none;"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">advice id</span><span class="pun">=</span><span class="str">"txAdviceSts"</span><span class="pln"> transaction</span><span class="pun">-</span><span class="pln">manager</span><span class="pun">=</span><span class="str">"txManagerSts"</span><span class="pun">></span></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">attributes</span><span class="pun">></span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">method name</span><span class="pun">=</span><span class="str">"select*"</span><span class="pln"> propagation</span><span class="pun">=</span><span class="str">"REQUIRED"</span><span class="pln"> isolation</span><span class="pun">=</span><span class="str">"DEFAULT"</span><span class="pln"> rollback</span><span class="pun">-</span><span class="kwd">for</span><span class="pun">=</span><span class="str">"Exception"</span><span class="pln"> read</span><span class="pun">-</span><span class="pln">only</span><span class="pun">=</span><span class="str">"true"</span><span class="pun">/></span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">method name</span><span class="pun">=</span><span class="str">"insert*"</span><span class="pln"> propagation</span><span class="pun">=</span><span class="str">"REQUIRED"</span><span class="pln"> isolation</span><span class="pun">=</span><span class="str">"DEFAULT"</span><span class="pln"> rollback</span><span class="pun">-</span><span class="kwd">for</span><span class="pun">=</span><span class="str">"Exception"</span><span class="pln"> read</span><span class="pun">-</span><span class="pln">only</span><span class="pun">=</span><span class="str">"false"</span><span class="pun">/></span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">method name</span><span class="pun">=</span><span class="str">"update*"</span><span class="pln"> propagation</span><span class="pun">=</span><span class="str">"REQUIRED"</span><span class="pln"> isolation</span><span class="pun">=</span><span class="str">"DEFAULT"</span><span class="pln"> rollback</span><span class="pun">-</span><span class="kwd">for</span><span class="pun">=</span><span class="str">"Exception"</span><span class="pln"> read</span><span class="pun">-</span><span class="pln">only</span><span class="pun">=</span><span class="str">"false"</span><span class="pun">/></span></code></li><li class="L9" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">method name</span><span class="pun">=</span><span class="str">"delete*"</span><span class="pln"> propagation</span><span class="pun">=</span><span class="str">"REQUIRED"</span><span class="pln"> isolation</span><span class="pun">=</span><span class="str">"DEFAULT"</span><span class="pln"> rollback</span><span class="pun">-</span><span class="kwd">for</span><span class="pun">=</span><span class="str">"Exception"</span><span class="pln"> read</span><span class="pun">-</span><span class="pln">only</span><span class="pun">=</span><span class="str">"false"</span><span class="pun">/></span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">method name</span><span class="pun">=</span><span class="str">"save*"</span><span class="pln"> propagation</span><span class="pun">=</span><span class="str">"REQUIRED"</span><span class="pln"> isolation</span><span class="pun">=</span><span class="str">"DEFAULT"</span><span class="pln"> rollback</span><span class="pun">-</span><span class="kwd">for</span><span class="pun">=</span><span class="str">"Exception"</span><span class="pln"> read</span><span class="pun">-</span><span class="pln">only</span><span class="pun">=</span><span class="str">"false"</span><span class="pun">/></span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">tx</span><span class="pun">:</span><span class="pln">method name</span><span class="pun">=</span><span class="str">"*"</span><span class="pln"> rollback</span><span class="pun">-</span><span class="kwd">for</span><span class="pun">=</span><span class="str">"Exception"</span><span class="pun">/></span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span></<span class="pun"><span class="pln">tx</span><span class="pun">:</span><span class="pln">attributes</span><span class="pun">></span></span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> </span></<span class="pun"><span class="pln">tx</span><span class="pun">:</span><span class="pln">advice</span><span class="pun">></span></span></code></li><li class="L4"><code class="language-java"></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">aop</span><span class="pun">:</span><span class="pln">config</span><span class="pun">></span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">aop</span><span class="pun">:</span><span class="pln">pointcut id</span><span class="pun">=</span><span class="str">"requiredTxSts"</span><span class="pln"> expression</span><span class="pun">=</span><span class="str">"execution(* platform.stownbus.api..impl.*Impl.*(..))"</span><span class="pun">/></span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="pun"><</span><span class="pln">aop</span><span class="pun">:</span><span class="pln">advisor advice</span><span class="pun">-</span><span class="pln">ref</span><span class="pun">=</span><span class="str">"txAdviceSts"</span><span class="pln"> pointcut</span><span class="pun">-</span><span class="pln">ref</span><span class="pun">=</span><span class="str">"requiredTxSts"</span><span class="pln"> </span><span class="pun">/></span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span></<span class="pun"><span class="pln">aop</span><span class="pun">:</span><span class="pln">config</span><span class="pun">></span></span></code></li><li class="L9" style="background-image: none;"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="pun"><span class="pln"></beans</span><span class="pun">></span></span></code></li></ol></pre><p style="color: rgb(51, 51, 51);"><br></p><div style="color: rgb(51, 51, 51);"><span style="font-family: Verdana; font-weight: bold;">Dao</span></div><div style="color: rgb(51, 51, 51);"><span style="font-family: Verdana; font-weight: bold;"><br></span></div><pre class="prettyprint linenums prettyprinted" style="line-height: 1.42857;"><ol class="linenums"><li class="L0"><code class="language-java"><span class="com">// 기존 Dao</span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="lit">@Repository</span><span class="pun">(</span><span class="str">"oldDao"</span><span class="pun">)</span></code></li><li class="L2"><code class="language-java"><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">OldDao</span><span class="pln"> </span><span class="kwd">extends</span><span class="pln"> </span><span class="typ">AbstractDao</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pun">..</span></code></li><li class="L4"><code class="language-java"><span class="pun">..</span></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pun">}</span></code></li><li class="L6"><code class="language-java"><span class="com">// 신규Dao</span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="lit">@Repository</span><span class="pun">(</span><span class="str">"newDao"</span><span class="pun">)</span></code></li><li class="L8"><code class="language-java"><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">NewDao</span><span class="pln"> </span><span class="kwd">extends</span><span class="pln"> </span><span class="typ">AbstractStsDao</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L9" style="background-image: none;"><code class="language-java"><span class="pun">..</span></code></li><li class="L0"><code class="language-java"><span class="pun">..</span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pun">}</span></code></li></ol></pre><div style="color: rgb(51, 51, 51);"><span style="font-family: Verdana; font-weight: bold;"><br></span></div><pre class="prettyprint linenums prettyprinted" style="line-height: 1.42857;"><ol class="linenums"><li class="L0"><code class="language-java"><span class="com">// 이전 AbstractDao</span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">AbstractDao</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="lit">@Autowired</span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="lit">@Resource</span><span class="pun">(</span><span class="pln">name</span><span class="pun">=</span><span class="str">"sqlSessionTemplate"</span><span class="pun">)</span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="typ">SqlSessionTemplate</span><span class="pln"> sqlSessionTemplate</span><span class="pun">;</span></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pun">..</span></code></li><li class="L6"><code class="language-java"><span class="pun">..</span></code></li><li class="L7" style="background-image: none;"><code class="language-java"><span class="pun">}</span></code></li><li class="L8"><code class="language-java"></code></li><li class="L9" style="background-image: none;"><code class="language-java"><span class="com">// 신규 AbstractStsDao</span></code></li><li class="L0"><code class="language-java"><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">AbstractStsDao</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L1" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="lit">@Autowired</span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="lit">@Resource</span><span class="pun">(</span><span class="pln">name</span><span class="pun">=</span><span class="str">"sqlSessionTemplateSts"</span><span class="pun">)</span></code></li><li class="L3" style="background-image: none;"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="typ">SqlSessionTemplate</span><span class="pln"> sqlSessionTemplate</span><span class="pun">;</span></code></li><li class="L4"><code class="language-java"><span class="pun">..</span></code></li><li class="L5" style="background-image: none;"><code class="language-java"><span class="pun">..</span></code></li><li class="L6"><code class="language-java"><span class="pun">}</span></code></li></ol></pre><p style="color: rgb(51, 51, 51);"><br></p><p style="color: rgb(51, 51, 51);"><span style="font-weight: bold;">## 적용방법은 다양하나 현 시스템 기준으로 작성 하였습니다.</span></p>
의자구매 파트라 라온 CORM11PABS-LG
http://www.webprogramer.kr/blog/P000000342/post.do
<p><br></p><blockquote><span style="font-weight: bold; font-size: 24px; font-family: Impact;"><span style="font-size: 36px;">의자구매</span></span></blockquote><p><br></p><p><span style="font-weight: bold;">제품 홈페이지 파트라 -> </span><a href="http://www.patrakorea.com/" target="_blank" style="font-weight: bold; background-color: rgb(255, 255, 255);">http://www.patrakorea.com/</a></p><p><br></p><p><span style="font-family: Tahoma; font-weight: bold; font-size: 18px;">듀오백, 퍼시스, 시디즈중에서 구매 하려 했으나</span></p><p><span style="font-family: Tahoma; font-weight: bold; font-size: 18px;">찾아보던중 좀 생소 하지만 파트라 라는 의자도 있다는것을 알게 되었다.</span></p><p><span style="font-family: Tahoma; font-weight: bold; font-size: 18px;">의자에 여러 기능이 있지만 내가 원하는 기능이 다 들어가고 타 메이커에 </span></p><p><span style="font-family: Tahoma; font-weight: bold; font-size: 18px;">비해 제일 저렴하다.</span></p><p><span style="font-family: Tahoma; font-weight: bold; font-size: 18px;"><br></span></p><p><span style="font-family: Tahoma; font-weight: bold; font-size: 18px;">구매한 모델은 </span><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;">라온(RAON) CORM11PABS-LG</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1503989265155572279.jpg" data-filename="1503989265155572279.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1503989285223389988.jpg" data-filename="1503989285223389988.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1503989303704400061.jpg" data-filename="1503989303704400061.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1503989315137405931.jpg" data-filename="1503989315137405931.jpg" style="width: 100%;" class="img-thumbnail"><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;">디자인도 이만하면 괜찮고.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;">과연 앉았을대 편할지.</span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-size: 18px; font-weight: bold;">사용기는 추후에..</span></p>
TTY Permission denied.
http://www.webprogramer.kr/blog/P000000340/post.do
<p><br></p><p>시리얼 통신을 위해 java에서 serial 포트를 개방 하려고 하니 </p><p><br></p><p>Permission denied !! 오류를 내뱉었다.</p><p><br></p><p>권한이 없구나. 라는 생각에 왜 그런지 구글링을 해보았다.<br></p><p>아래와 같이 명령어를 입력해보니.</p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-markup"><span class="pln">ls </span><span class="pun">-</span><span class="pln">al </span><span class="pun">/</span><span class="pln">dev</span><span class="pun">/</span><span class="pln">ttyUSB</span></code></li></ol></pre><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1501573392098106622.png" data-filename="1501573392098106622.png"><br></p><p>root 사용자에 그룹은 dialout 로 되어 있다.<br></p><p><br></p><p>현재 java를 실행하고 있는 계정이 dialout그룹에 속해 있지 않다.</p><p><strong>(id 명령어로 확인 가능)</strong><br></p><p><br></p><p>그럼 dialout 그룹에 추가를 해주자 <br></p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-markup"><span class="pln">usermod </span><span class="pun">-</span><span class="pln">a </span><span class="pun">-</span><span class="pln">G dialout </span><span class="pun">유저계정</span></code></li></ol></pre><p><br></p><p>재부팅 한후 id명령어로 그룹잘 포함 되어 있는지 확인해보자.</p><p><br></p><p>이후 java에서 serial 포트 접근이 가능해졋다.</p><p><br></p><p><br></p><p><br></p>
2.스마트홈 만들기
http://www.webprogramer.kr/blog/P000000339/post.do
<blockquote><span style="color: rgb(156, 0, 255); font-size: 24px; font-weight: bold;">2.스마트홈 만들기</span></blockquote><p>이전에 스마트홈 만들기 포스팅을 작성했는데 </p><p>이제야 이어 포스팅을 하게되었다.</p><p>이전 포스팅 -> <a href="http://webprogramer.kr/blog/P000000333/post.do?pageIndex=1&codeId=BLG100_030" target="_blank" style="font-weight: bold;">이전포스팅 바로가기</a></p><p><br></p><p>주문한 재료가 왔다.</p><p>RS485 컨버터와 랜공유 케플러</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1500627078818540224.JPG" data-filename="1500627078818540224.JPG" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>RS485 컨버터 구성<img src="http://www.webprogramer.kr/upload/blog/editor/1500627078808209655.JPG" data-filename="1500627078808209655.JPG" class="img-thumbnail" style="width: 681px;"></p><p><br></p><p>대략 이런 구조로 연결 할것이다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1500627241198436751.JPG" data-filename="1500627241198436751.JPG" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>우선랜선 피복을 벗겨낸다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1500627266461255679.JPG" data-filename="1500627266461255679.JPG" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>니퍼를 이용하여 자르고</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1500627266486555886.JPG" data-filename="1500627266486555886.JPG" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>작업한지 좀 많이 지나서 정확히 기억나지 않지만 랜선 두가닥으로 RS485통신을 할수 있다.</p><p>T/R+ 와 T/R- 를 이용하여 패킷을 주고 받을수 있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1500627322983361555.JPG" data-filename="1500627322983361555.JPG" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>배전반 부분에 홈네트워크 허브가 있다.</p><p>여기서 방으로 가는 전화선 라인을 이용하여 RS485 신호가 나오는곳과 연결을 한다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/150062743450017712.JPG" data-filename="150062743450017712.JPG" class="img-thumbnail" style="line-height: 1.42857; width: 681px;"></p><p><br></p><p> RS485 컨버터 작업을 해놓은 랜선을 전화기 포트에</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1500627434349214354.JPG" data-filename="1500627434349214354.JPG" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>그리고 서버에 연결한다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1500627605857194587.JPG" data-filename="1500627605857194587.JPG" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>앞으로 남은작업이 많지만</p><p><br></p><p>추후에..</p>
Centos 7 에서 Tomcat 설치하기
http://www.webprogramer.kr/blog/P000000338/post.do
<blockquote><span style="font-weight: bold;">Centos 7에서 Tomcat 설치하기.</span></blockquote><p><span style="font-size: 14px; font-weight: bold; font-family: Verdana;">그럼 Tomcat 설치를 해보겠습니다. 우선 Tomcat을 받아야 겠죠.</span></p><p><span style="color: rgb(255, 156, 0);"><span style="font-family: Verdana; font-weight: bold;">-> <a href="http://tomcat.apache.org/" target="_blank">http://tomcat.apache.org/</a></span><span style="font-size: 14px; font-weight: bold; font-family: Verdana;"> </span></span></p><p><br></p><p><span style="font-weight: bold; font-family: Verdana;">저같은경우 Tomcat7을 설치 하겠습니다. 자신의 OS에 맞는 파일선택 후 </span></p><p><span style="font-family: Verdana; font-weight: bold;">오른쪽 마우스 누르고 속성에서 URL을 복사 합니다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/149990878194673865.png" data-filename="149990878194673865.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Verdana; font-weight: bold;"><br></span></p><p><span style="font-weight: bold; font-family: Verdana;"><br></span></p><p><span style="font-weight: bold; font-family: Verdana;">커멘드 창에 wget 명령어와 복사한 URL을 이용하여 파일을 다운로드 합니다.</span></p><p><span style="font-family: Verdana; font-weight: bold; color: rgb(255, 156, 0);">wget http://mirror.apache-kr.org/tomcat/tomcat-7/v7.0.79/bin/apache-tomcat-7.0.79.tar.gz</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1499908815466522265.png" data-filename="1499908815466522265.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Verdana; font-weight: bold;"><br></span><br></p><p><span style="font-weight: bold; font-family: Verdana;">다운로드가 완료되면 이제 압축을 풉니다.</span></p><p><span style="color: rgb(255, 156, 0);"><span style="font-family: Verdana; font-weight: bold;">tar -zxf </span><span style="font-family: Verdana; font-weight: bold;">apache-tomcat-7.0.79.tar.gz</span></span></p><p><span style="font-family: Verdana; font-weight: bold;">압축이 풀린 폴더가 보입니다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1499909008315791197.png" data-filename="1499909008315791197.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Verdana; font-weight: bold;"><br></span></p><p><span style="font-family: Verdana; font-weight: bold;"><br></span></p><p><span style="font-family: Verdana; font-weight: bold;">이제 환경변수를 설정하도록 하겠습니다. 저는 openjdk가 깔려있어서 그경로로 잡았습니다.</span></p><p><span style="font-family: Verdana; font-weight: bold;">다른경로 이면 다른경로로 설정하시면 됩니다.</span></p><p><span style="font-family: Verdana; font-weight: bold;">(JAVA_HOME 과 CATALINA_HOME)</span></p><p><span style="font-family: Verdana; font-weight: bold;">vi 에디터를 이용하여 </span><span style="font-family: Verdana; font-weight: bold;"><span style="color: rgb(255, 156, 0);">vi /etc/profile</span> 수정 후 저장 합니다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1499910566968565814.png" data-filename="1499910566968565814.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Verdana; font-weight: bold;"><br></span></p><p><span style="font-family: Verdana; font-weight: bold;"><br></span></p><p><span style="font-family: Verdana; font-weight: bold;">profile 수정내용을 반영하기 위해선 따로 명령어를 입력해주어야 합니다.</span></p><p><span style="font-family: Verdana; font-weight: bold; color: rgb(255, 156, 0);">source /etc/profile</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1499910877857471773.png" data-filename="1499910877857471773.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Verdana; font-weight: bold; color: rgb(255, 156, 0);"><br></span></p><p><span style="font-family: Verdana; font-weight: bold;"><br></span></p><p><span style="font-family: Verdana; font-weight: bold;">tomcat bin폴더 밑에 <span style="color: rgb(255, 156, 0);">startup.sh</span>를 실행하여 시작합니다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1499910979599148059.png" data-filename="1499910979599148059.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Verdana; font-weight: bold;"><br></span></p><div><span style="font-family: Verdana; font-weight: bold;"><br></span></div><div><span style="font-family: Verdana; font-weight: bold;">이제 tomcat이 재대로 동작하는지 확인해 봅시다.</span></div><div><span style="font-family: Verdana; font-weight: bold;">tomcat 프로세스 확인 </span></div><div><span style="font-family: Verdana; font-weight: bold; color: rgb(255, 156, 0);">ps -ef | grep tomcat</span></div><div><span style="font-family: Verdana; font-weight: bold;"><br></span></div><div><span style="font-family: Verdana; font-weight: bold;">tomcat 로그 확인 (tomcat logs 폴더 밑에)</span></div><div><span style="font-family: Verdana; font-weight: bold; color: rgb(255, 156, 0);">tail -f catalina.out</span></div><div><span style="font-family: Verdana; font-weight: bold;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1499911219691365869.png" data-filename="1499911219691365869.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Verdana; font-weight: bold;"><br></span></div><div><span style="font-family: Verdana; font-weight: bold;"><br></span></div><div><span style="font-family: Verdana; font-weight: bold;">tomcat 프로세스와 로그를 보니 정상적으로 설치가 되었습니다.</span></div><div><span style="font-family: Verdana; font-weight: bold;"><br></span></div><div><span style="font-family: Verdana; font-weight: bold;">잘 작동하는지 페이지를 띄어 봅시다.</span></div><div><span style="font-family: Verdana; font-weight: bold;"><br></span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1499911405867812140.png" data-filename="1499911405867812140.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Verdana; font-weight: bold;"><br></span></div><div><span style="font-family: Verdana; font-weight: bold;"><br></span></div><div><br></div><div><div><span style="font-family: Verdana; font-weight: bold;">반가운 고양이(?) 그림이 떳습니다. 정상적으로 잘 설치가 되었네요.</span></div></div><div><span style="font-family: Verdana; font-weight: bold;"><br></span></div><div><span style="font-family: Verdana; font-weight: bold;"><br></span></div>
Mariadb 설치 [펌]
http://www.webprogramer.kr/blog/P000000337/post.do
<p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"><span style="font-family: inherit; font-style: inherit; font-weight: 700;">MariaDB 설치를 위한 사전 작업</span><br></p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">MariaDB를 참조해보면 Stable version 설치 방법이 있습니다.<br>주소 –<a href="https://downloads.mariadb.org/mariadb/repositories/#mirror=kaist&distro=CentOS&distro_release=centos7-amd64--centos7&version=10.1" target="_blank" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(36, 137, 13); text-decoration-line: underline;"> https://downloads.mariadb.org/mariadb/repositories</a></p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">위에 싸이트를 참조해~ 입력 이후 아래 내용을 입력합니다.</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"># <span class="crayon-r" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">vi</span> <span class="crayon-o" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">/</span><span class="crayon-v" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">etc</span><span class="crayon-o" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">/</span><span class="crayon-v" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">yum</span><span class="crayon-e" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">.repos</span><span class="crayon-e" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">.d</span><span class="crayon-o" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">/</span><span class="crayon-v" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">MariaDB</span><span class="crayon-e" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">.repo</span></p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"></p><div id="crayon-59657ed2e72b6418989842" class="crayon-syntax crayon-theme-classic-copy-1 crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" style="border-image: initial; font-family: Monaco, MonacoRegular, "Courier New", monospace; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-size-adjust: none; width: 686px; color: rgb(43, 43, 43); height: auto; border-width: 1px !important; border-style: solid !important; border-color: rgb(153, 153, 153) !important; font-size: 12px !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background: rgb(253, 253, 253) !important; line-height: 15px !important;"><div class="crayon-plain-wrap" style="border: 0px; font-style: inherit; font-weight: inherit; outline: 0px; vertical-align: baseline; background: 0px center; margin: 0px !important; padding: 0px !important; height: auto !important;"></div><div class="crayon-main" style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; width: 684px; overflow: hidden; position: relative; z-index: 1;"><table class="crayon-table" style="font-size: 14px; font-style: inherit; font-weight: inherit; margin-left: 0px; outline: 0px; vertical-align: baseline; line-height: 1.28571; border: none !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; padding: 0px !important; width: auto !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; table-layout: auto !important;"><tbody style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><tr class="crayon-row" style="font-style: inherit; font-weight: inherit; outline: 0px; background: 0px center; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><td class="crayon-nums " data-settings="show" style="border: 0px; font-style: inherit; outline: 0px; margin: 0px !important; vertical-align: top !important; background: rgb(223, 239, 255) !important; color: rgb(84, 153, 222) !important;"><div class="crayon-nums-content" style="border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background: 0px center; white-space: nowrap; font-size: 12px !important; line-height: 15px !important;"><div class="crayon-num" data-line="crayon-59657ed2e72b6418989842-1" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; text-align: center; height: inherit; line-height: inherit !important;">1</div><div class="crayon-num crayon-striped-num" data-line="crayon-59657ed2e72b6418989842-2" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: rgb(200, 225, 250) !important; text-align: center; height: inherit; line-height: inherit !important; color: rgb(49, 124, 197) !important;">2</div><div class="crayon-num" data-line="crayon-59657ed2e72b6418989842-3" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; text-align: center; height: inherit; line-height: inherit !important;">3</div><div class="crayon-num crayon-striped-num" data-line="crayon-59657ed2e72b6418989842-4" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: rgb(200, 225, 250) !important; text-align: center; height: inherit; line-height: inherit !important; color: rgb(49, 124, 197) !important;">4</div><div class="crayon-num" data-line="crayon-59657ed2e72b6418989842-5" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; text-align: center; height: inherit; line-height: inherit !important;">5</div><div class="crayon-num crayon-striped-num" data-line="crayon-59657ed2e72b6418989842-6" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: rgb(200, 225, 250) !important; text-align: center; height: inherit; line-height: inherit !important; color: rgb(49, 124, 197) !important;">6</div><div class="crayon-num" data-line="crayon-59657ed2e72b6418989842-7" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; text-align: center; height: inherit; line-height: inherit !important;">7</div></div></td><td class="crayon-code" style="border: 0px; font-style: inherit; outline: 0px; background: 0px center; width: 666px; margin: 0px !important; vertical-align: top !important;"><div class="crayon-pre" style="font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 0, 0); white-space: pre; overflow: visible; tab-size: 4; border: none !important; font-size: 12px !important; background: none !important; line-height: 15px !important;"><div class="crayon-line" id="crayon-59657ed2e72b6418989842-1" style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: inherit; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;"><span class="crayon-p" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(184, 92, 0) !important;"># MariaDB 10.1 CentOS repository list - created 2016-10-01 19:32 UTC</span></div><div class="crayon-line crayon-striped-line" id="crayon-59657ed2e72b6418989842-2" style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; height: inherit; font-size: inherit !important; font-weight: inherit !important; background: rgb(247, 247, 247) !important; line-height: inherit !important;"><span class="crayon-p" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(184, 92, 0) !important;"># http://downloads.mariadb.org/mariadb/repositories/</span></div><div class="crayon-line" id="crayon-59657ed2e72b6418989842-3" style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: inherit; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;"><span class="crayon-sy" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(51, 51, 51) !important;">[</span><span class="crayon-v" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 45, 122) !important;">mariadb</span><span class="crayon-sy" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(51, 51, 51) !important;">]</span></div><div class="crayon-line crayon-striped-line" id="crayon-59657ed2e72b6418989842-4" style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; height: inherit; font-size: inherit !important; font-weight: inherit !important; background: rgb(247, 247, 247) !important; line-height: inherit !important;"><span class="crayon-v" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 45, 122) !important;">name</span><span class="crayon-h" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="crayon-o" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="crayon-h" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="crayon-e" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 78, 208) !important;">MariaDB</span></div><div class="crayon-line" id="crayon-59657ed2e72b6418989842-5" style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: inherit; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;"><span class="crayon-v" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 45, 122) !important;">baseurl</span><span class="crayon-h" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="crayon-o" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="crayon-h" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 111, 224) !important;"> </span><span class="crayon-v" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 45, 122) !important;">http</span><span class="crayon-o" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 111, 224) !important;">:</span><span class="crayon-c" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(255, 128, 0) !important;">//yum.mariadb.org/10.1/centos7-amd64</span></div><div class="crayon-line crayon-striped-line" id="crayon-59657ed2e72b6418989842-6" style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; height: inherit; font-size: inherit !important; font-weight: inherit !important; background: rgb(247, 247, 247) !important; line-height: inherit !important;"><span class="crayon-v" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 45, 122) !important;">gpgkey</span><span class="crayon-o" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="crayon-v" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 45, 122) !important;">https</span><span class="crayon-o" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 111, 224) !important;">:</span><span class="crayon-c" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(255, 128, 0) !important;">//yum.mariadb.org/RPM-GPG-KEY-MariaDB</span></div><div class="crayon-line" id="crayon-59657ed2e72b6418989842-7" style="border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px 5px; vertical-align: baseline; background: 0px center; height: inherit; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;"><span class="crayon-v" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 45, 122) !important;">gpgcheck</span><span class="crayon-o" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(0, 111, 224) !important;">=</span><span class="crayon-cn" style="border: 0px; font-family: inherit; font-size: inherit !important; font-style: inherit; font-weight: inherit !important; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; height: inherit; line-height: inherit !important; color: rgb(206, 0, 0) !important;">1</span></div></div></td></tr></tbody></table></div></div><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"></p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">그리고 저장! 저장은 ‘esc’ 키 입력 후 ‘:wq’ 혹은 ‘:w’ 이후 ‘:q’!</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">이제 설치 준비는 끝났으니 설치를 시작합시다!</p><hr style="background-color: rgba(0, 0, 0, 0.1); border-top: 0px; height: 1px; margin-bottom: 23px; color: rgb(43, 43, 43); font-family: Lato, sans-serif; font-size: 16px;"><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"><span style="border: 0px; font-family: inherit; font-style: inherit; font-weight: 700; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">MariaDB 설치</span><br># sudo yum install MariaDB-server MariaDB-client</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">여기까지가 mariadb 홈페이지에 나온 설치 매뉴얼 내용!</p><hr style="background-color: rgba(0, 0, 0, 0.1); border-top: 0px; height: 1px; margin-bottom: 23px; color: rgb(43, 43, 43); font-family: Lato, sans-serif; font-size: 16px;"><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"><span style="border: 0px; font-family: inherit; font-style: inherit; font-weight: 700; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">MariaDB 실행 방법</span><br># systemctl start mariadb</p><hr style="background-color: rgba(0, 0, 0, 0.1); border-top: 0px; height: 1px; margin-bottom: 23px; color: rgb(43, 43, 43); font-family: Lato, sans-serif; font-size: 16px;"><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"><span style="border: 0px; font-family: inherit; font-style: inherit; font-weight: 700; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">MariaDB 접속!<br></span>제대로 설치가 되었는지 확인해 봅시다.<br>참고로 mariadb가 mysql에서 파생해서 그런지 접속은 mysql과 동일합니다.</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"># <span class="crayon-v" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">mysql</span> <span class="crayon-o" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">–</span><span class="crayon-i" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">u</span> <span class="crayon-e" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">root </span><span class="crayon-v" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">mysql</span></p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">제대로 접속이 되면 아래와 같이 화면이 바뀜!</p><table style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgba(0, 0, 0, 0.1); border-image: initial; font-family: Lato, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; border-collapse: separate; width: 685px; line-height: 1.28571; color: rgb(43, 43, 43);"><tbody style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><tr style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><td style="border-width: 0px 1px 1px 0px; border-style: solid; border-color: rgba(0, 0, 0, 0.1); border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 8px; vertical-align: baseline;"><p style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline;">Welcome to the MariaDB monitor. Commands end with ; or \g.<br>Your MariaDB connection id is 2<br>Server version: 10.1.18-MariaDB MariaDB Server</p><p style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline;">Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.</p><p style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline;">Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.</p><p style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline;">MariaDB [mysql]></p></td></tr></tbody></table><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">그러면 관리자 패스워드를 변경합시다.</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"><span class="crayon-k" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"># SET</span> PASSWORD <span class="crayon-k" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">FOR</span> root<span class="crayon-sy" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">@</span>localhost<span class="crayon-o" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">=</span>PASSWORD<span class="crayon-sy" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">(</span><span class="crayon-s" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">‘패스워드’</span><span class="crayon-sy" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">)</span><span class="crayon-sy" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">;<br></span><span class="crayon-r " style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"># flush privileges;</span><span class="crayon-sy" style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> ← 내부 캐쉬 메모리 초기화!</span></p><hr style="background-color: rgba(0, 0, 0, 0.1); border-top: 0px; height: 1px; margin-bottom: 23px; color: rgb(43, 43, 43); font-family: Lato, sans-serif; font-size: 16px;"><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"><span style="border: 0px; font-family: inherit; font-style: inherit; font-weight: 700; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">서비스 등록<br></span>제대로 설치가 된것을 확인했으니, 이제 서비스에 등록합시다.</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"># systemctl enable mariadb<br># systemctl start mariadb</p><hr style="background-color: rgba(0, 0, 0, 0.1); border-top: 0px; height: 1px; margin-bottom: 23px; color: rgb(43, 43, 43); font-family: Lato, sans-serif; font-size: 16px;"><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"><span style="border: 0px; font-family: inherit; font-style: inherit; font-weight: 700; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">db 확인<br></span>mysql 접속 이후 ‘show databases;’를 통해 목록을 확인하면</p><table style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgba(0, 0, 0, 0.1); border-image: initial; font-family: Lato, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; border-collapse: separate; width: 685px; line-height: 1.28571; color: rgb(43, 43, 43);"><tbody style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><tr style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><td style="border-width: 0px 1px 1px 0px; border-style: solid; border-color: rgba(0, 0, 0, 0.1); border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 8px; vertical-align: baseline;">MariaDB [mysql]> show databases;<br>+——————–+<br>| Database |<br>+——————–+<br>| information_schema |<br>| mysql |<br>| performance_schema |<br>| test |<br>+——————–+<br>4 rows in set (0.00 sec)</td></tr></tbody></table><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">위와 같이 사용한적이 없는 테이블도 뜹니다.<br>그러니 바로 지웁시다!</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">MariaDB > drop database test;<br>MariaDB > flush privileges;</p><hr style="background-color: rgba(0, 0, 0, 0.1); border-top: 0px; height: 1px; margin-bottom: 23px; color: rgb(43, 43, 43); font-family: Lato, sans-serif; font-size: 16px;"><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"><span style="border: 0px; font-family: inherit; font-style: inherit; font-weight: 700; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">MariaDB (mysql) 접속 방법</span><br># mysql -h 접속 주소 -u 아이디 -p</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">예제 ) mysql -h localhost -u root -p</p><hr style="background-color: rgba(0, 0, 0, 0.1); border-top: 0px; height: 1px; margin-bottom: 23px; color: rgb(43, 43, 43); font-family: Lato, sans-serif; font-size: 16px;"><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"><span style="border: 0px; font-family: inherit; font-style: inherit; font-weight: 700; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">비밀번호 분실 시 비밀번호 초기화 방법</span></p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">서비스를 멈추고 안전모드 실행!<br># systemctl stop mysql<br># /usr/bin/mysqld_safe –skip-grant mysql -u root -p</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">패스워드를 물으면 그냥 엔터를 입력해 mysql 모드 진입!<br>mysql > use mysql <br>mysql > update user set password=password(‘신규 패스워드’) where user=’root’; <br>mysql > flush privileges;<br>mysql > exit;</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">mysql 모드에 나왔으니 서비스 재실행~<br># systemctl reload mysql</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">※ 재실행이 제대로 안되서 reboot가 필요할때도 있음.</p><hr style="background-color: rgba(0, 0, 0, 0.1); border-top: 0px; height: 1px; margin-bottom: 23px; color: rgb(43, 43, 43); font-family: Lato, sans-serif; font-size: 16px;"><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"><span style="border: 0px; font-family: inherit; font-style: inherit; font-weight: 700; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">DB 한글 값이 ???로 출력되는 경우</span><br># mysql -u 계정 -p<br>를 통해 로그인 된 이후</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">MariaDB> show variables like ‘c%’; 를 입력한다.</p><table style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgba(0, 0, 0, 0.1); border-image: initial; font-family: Lato, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; border-collapse: separate; width: 685px; line-height: 1.28571; color: rgb(43, 43, 43);"><tbody style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><tr style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><td style="border-width: 0px 1px 1px 0px; border-style: solid; border-color: rgba(0, 0, 0, 0.1); border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 8px; vertical-align: baseline;">MariaDB [(none)]> show variables like ‘c%’;<br>+————————–+—————————-+<br>| Variable_name | Value |<br>+————————–+—————————-+<br>| character_set_client | utf8 |<br>| character_set_connection | utf8 |<br>| character_set_database | latin1 |<br>| character_set_filesystem | binary |<br>| character_set_results | utf8 |<br>| character_set_server | latin1 |<br>| character_set_system | utf8 |<br>| character_sets_dir | /usr/share/mysql/charsets/ |<br>| collation_connection | utf8_general_ci |<br>| collation_database | latin1_swedish_ci |<br>| collation_server | latin1_swedish_ci |<br>| completion_type | NO_CHAIN |<br>| concurrent_insert | AUTO |<br>| connect_timeout | 10 |<br>+————————–+—————————-+</td></tr></tbody></table><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">‘character_set_database’이 ‘utf8’이 아니라 ‘latin1’이라 그럼…</p><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"># vi /ect/my.cnf 파일을 수정</p><table style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgba(0, 0, 0, 0.1); border-image: initial; font-family: Lato, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; border-collapse: separate; width: 685px; line-height: 1.28571; color: rgb(43, 43, 43);"><tbody style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><tr style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><td style="border-width: 0px 1px 1px 0px; border-style: solid; border-color: rgba(0, 0, 0, 0.1); border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 8px; vertical-align: baseline;"><p style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline;">#<br># This group is read both both by the client and the server<br># use it for options that affect everything<br>#<br>[client-server]</p><p style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline;">#<br># include all files from the config directory<br>#<br>!includedir /etc/my.cnf.d</p><p style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(255, 0, 0);">[mysqld]</span><br><span style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(255, 0, 0);">character-set-server=utf8</span></p></td></tr></tbody></table><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);"># systemctl restart mysql 이후 mysql을 다시 실행 시키고 다시 mysql로 접속 후 MariaDB> show variables like ‘c%’; 를 확인해보면</p><table style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgba(0, 0, 0, 0.1); border-image: initial; font-family: Lato, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; border-collapse: separate; width: 685px; line-height: 1.28571; color: rgb(43, 43, 43);"><tbody style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><tr style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><td style="border-width: 0px 1px 1px 0px; border-style: solid; border-color: rgba(0, 0, 0, 0.1); border-image: initial; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 8px; vertical-align: baseline;">MariaDB [(none)]> show variables like ‘c%’;<br>+————————–+—————————-+<br>| Variable_name | Value |<br>+————————–+—————————-+<br>| character_set_client | utf8 |<br>| character_set_connection | utf8 |<br>| character_set_database | utf8 |<br>| character_set_filesystem | binary |<br>| character_set_results | utf8 |<br>| character_set_server | utf8 |<br>| character_set_system | utf8 |<br>| character_sets_dir | /usr/share/mysql/charsets/ |<br>| collation_connection | utf8_general_ci |<br>| collation_database | utf8_general_ci |<br>| collation_server | utf8_general_ci |<br>| completion_type | NO_CHAIN |<br>| concurrent_insert | AUTO |<br>| connect_timeout | 10 |<br>+————————–+—————————-+</td></tr></tbody></table><p style="border: 0px; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 14px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(43, 43, 43);">전부 utf8로 뜨는걸 볼 수 있습니다</p>
오즈 리포팅 pdf export 후 pdf viewer 에서 출력할때 적용한 폰트가 나오지 않을경우
http://www.webprogramer.kr/blog/P000000336/post.do
<blockquote><span style="color: rgb(99, 99, 99); font-size: 24px; font-weight: bold;">오즈 리포팅 pdf viewer 에서 출력할때 적용한 폰트가 나오지 않을경우</span></blockquote><p><span style="font-weight: bold; font-size: 18px;">오즈 리포팅 헬프데스크에 전화 해서 지원 받음.(1544-0181)</span><br></p><p><br></p><p><span style="font-weight: bold; color: rgb(156, 0, 255); font-size: 18px;">pdf export 옵션에서 아래 내용을 추가하면 끝.</span></p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-javascript"><span class="typ" style="font-size: 18px;">Insert_OZViewer_Param</span><span class="pun" style="font-size: 18px;">(</span><span class="str" style="font-size: 18px;">"pdf.fontembedding"</span><span class="pun" style="font-size: 18px;">,</span><span class="str" style="font-size: 18px;">"true"</span><span class="pun" style="font-size: 18px;">);</span><span style="font-size: 18px;"></span></code></li></ol></pre><p><span style="font-size: 14px; font-weight: bold;"><span style="color: rgb(156, 156, 148);">※</span> </span><span style="font-weight: bold; font-size: 14px; color: rgb(156, 156, 148);">pdf export 시 폰트정보를 포함하게 하는 옵션이다.</span></p><p><span style="font-weight: bold; font-size: 14px; color: rgb(156, 156, 148);">(다양한 폰트 및 여러폰트를 사용할 경우 pdf 용량이 커질수 있다고 한다.)</span></p><div><span style="color: rgb(156, 0, 255); font-weight: bold;"><br></span></div><p><span style="font-weight: bold; font-size: 18px;"><br></span></p><p><br></p><p><br></p>
WebApplicationContext로 Bean 가져오기
http://www.webprogramer.kr/blog/P000000335/post.do
<h2>WebApplicationContext로 Bean 가져오기<br></h2><h2><span style="font-size: 18px;">일하다 보니 옆에 동료가 물어보길래 궁금해서 찾아봄</span><br></h2><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-java"></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="typ">WebApplicationContext</span><span class="pln"> wac </span><span class="pun">=</span><span class="pln"> </span><span class="typ">WebApplicationContextUtils</span><span class="pun">.</span><span class="pln">getRequiredWebApplicationContext</span><span class="pun">(</span><span class="pln">getServletContext</span><span class="pun">());</span></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="typ">EgovIdGnrService</span><span class="pln"> egovService </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="typ">EgovIdGnrService</span><span class="pun">)</span><span class="pln">wac</span><span class="pun">.</span><span class="pln">getBean</span><span class="pun">(</span><span class="str">"egovPrforMncCertGnrService"</span><span class="pun">);</span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="typ">System</span><span class="pun">.</span><span class="pln">out</span><span class="pun">.</span><span class="pln">println</span><span class="pun">(</span><span class="str">"ServletTest : "</span><span class="pln"> </span><span class="pun">+</span><span class="pln"> egovService</span><span class="pun">.</span><span class="pln">getNextStringId</span><span class="pun">());</span></code></li><li class="L5"><code class="language-java"></code></li></ol></pre><h2><span style="font-size: 18px;"><br></span></h2><h2><span style="font-size: 18px;"><br></span></h2><h2><span style="font-size: 18px;"><br></span></h2>
SVN 특정 시점으로 복구
http://www.webprogramer.kr/blog/P000000334/post.do
<blockquote><span style="font-weight: bold; font-size: 24px; color: rgb(156, 0, 255);">SVN 특정 시점으로 복구하기</span></blockquote><p><span style="font-style: italic; font-size: 18px; font-family: Arial;">개발중간에 SVN이 말썽을 이르켰다.</span></p><p><span style="font-style: italic; font-size: 18px; font-family: Arial;">뭘 잘못했는지.. 삭제한 내역이 Commit이 되지 않는다.</span></p><p><span style="font-style: italic; font-size: 18px; font-family: Arial;">그래서 Override and Commit를 눌렀는데 </span></p><p><span style="font-family: Arial; font-size: 18px; font-style: italic;">3개 정도의 파일을 선택하고 눌렀지만 이상하게도 전체파일을 읽는듯</span></p><p><span style="font-family: Arial; font-size: 18px; font-style: italic;">뭔가가 진행되더니 소스 전체가 이상해져 있었다 ㅠㅠ</span></p><p><span style="font-family: Arial; font-size: 18px; font-style: italic;"><br></span></p><p><span style="font-family: Arial; font-size: 18px; font-style: italic;">잠깐동안 망했다 라고 생각이 들었지만.</span></p><p><span style="font-family: Arial; font-size: 18px; font-style: italic;">곧바로 복구 ㄱㄱ</span></p><p><br></p><p><span style="font-family: Arial; font-size: 18px; font-style: italic;">SVN 소스 특정시점으로 소스 돌리기</span></p><p><span style="font-family: Arial; font-size: 18px; font-style: italic; color: rgb(255, 255, 255); background-color: rgb(255, 0, 0);">1. Team -> Update to Revision...을 누르고</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1491891346398380902.png" data-filename="1491891346398380902.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Arial; font-size: 18px; font-style: italic;"><br></span></p><div><span style="font-family: Arial; font-size: 18px; font-style: italic;"><br></span></div><div><span style="font-family: Arial; font-size: 18px; font-style: italic; color: rgb(255, 255, 255); background-color: rgb(255, 0, 0);">2. Date 부분에 날짜와 시간을 정해준후 OK를 누르면 복구가 진행된다.</span></div><div><img src="http://www.webprogramer.kr/upload/blog/editor/1491891359429707854.png" data-filename="1491891359429707854.png" style="width: 100%;" class="img-thumbnail"><span style="font-family: Arial; font-size: 18px; font-style: italic;"><br></span></div><p></p><p><br></p><p><span style="font-family: Arial; font-size: 18px; font-style: italic;">이런 기능이 없었다면 ㄷㄷㄷ</span></p><p><span style="font-family: Arial; font-size: 18px; font-style: italic;">다시금 관리를 잘해야 겠다는 생각이 들었다.</span></p><p><span style="font-family: Arial; font-size: 18px; font-style: italic;"><br></span></p>
1.스마트홈 만들기
http://www.webprogramer.kr/blog/P000000333/post.do
<blockquote><span style="font-weight: bold; color: rgb(156, 0, 255); font-size: 24px;">1.스마트홈 만들기</span></blockquote><p>자기전 업드려서 핸드폰 이나 테블릿을 가지고 놀다가</p><p>그대로 자고 싶을때가 있다. 하지만 불을끄고 자야된다. 귀찮다..</p><p>가끔은 누워서 전등을 제어할 수 있었으면 좋겠다라고 생각이 든다.</p><p><br></p><p>요즘새로 지은 아파트들에는 이미 들어가 있는기능이지만,</p><p> 내가 살고 있는 아파트에는 현재 기능은 있지만 요금문제로 비활성화</p><p>되어 있다. </p><p>월패드에서 기능을 사용할 수 있지만 무선이 되지 않는상황이다.</p><p><br></p><p>그래서..</p><p>인터넷을 뒤져본 결과 </p><p>아파트 배전반에 있는 홈네트웍허브가 있다.</p><p>그걸이용해서 컨트롤이 가능하다는것을 알았다.</p><p><br></p><p>간단히 마인드맵을 그려보았다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1490829306236813173.png" data-filename="1490829306236813173.png" style="width: 100%;" class="img-thumbnail"><br></p><p></p><p><br></p><p>현재 Home Network Hub에 컨트롤할 수 있게 연결되어 있는상태이고</p><p>그 허브에 RS485 시리얼 케이블을 이용하여 통신할 예정이다.</p><p>24시간 돌아가는 리눅스 서버가 이미 구동되고 있기때문에 </p><p>그 서버와 시리얼 케이블을 연결하고 서버에서는 <a href="https://ko.wikipedia.org/wiki/Node.js" target="_blank" style="font-weight: bold; background-color: rgb(255, 255, 255); color: rgb(57, 132, 198);">NodeJs</a>를 </p><p>이용하여 허브와 모바일간에 통신할 예정이다.</p><p>대략 이런식으로.</p><p><span style="color: rgb(255, 255, 255); font-weight: bold;"><span style="background-color: rgb(156, 0, 255);">Home Network Hub</span></span><span style="background-color: rgb(247, 247, 247);"><</span>-유선-><span style="font-weight: bold; background-color: rgb(255, 0, 0); color: rgb(247, 247, 247);">LinuxServer[NodeJs]</span><-유선-><span style="font-weight: bold;"><span style="background-color: rgb(0, 255, 0); color: rgb(255, 255, 255);">공유기</span></span>))무선((<span style="background-color: rgb(255, 156, 0); color: rgb(255, 255, 255); font-weight: bold;">모바일</span></p><p><br></p><p>우선 시리얼 케이블이 필요하니 케이블부터 구매 하였다.</p><p><span style="font-weight: bold;">RS485 케이블</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1490768759458462559.PNG" data-filename="1490768759458462559.PNG" style="width: 100%;" class="img-thumbnail"><br></p><p><span style="font-weight: bold;">랜 공유 케플러</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/149076878162777996.PNG" data-filename="149076878162777996.PNG" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">합계 : 17,700 원</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1490768816444125295.PNG" data-filename="1490768816444125295.PNG" style="width: 100%;" class="img-thumbnail"><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;"><br></span></p><p>나머지는 다음으로..</p>
데스크탑 고장ㅠㅠ
http://www.webprogramer.kr/blog/P000000332/post.do
<p>7년정도 사용한 데스크탑이 갑자기 안켜진다. ㅜㅜ</p><p><br></p><p>전원이 들어가기만하지 아무 반응이 없고, </p><p>그래픽카드, 램, 씨피유를 하나하나 분리해가며 테스트 해보았지만</p><p>증상은 그대로 무반응.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1490746022023102502.jpg" data-filename="1490746022023102502.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>메인보드 아니면 씨피유의 고장으로 의심이 되었지만<br></p><p>씨피유보단 메인보드의 경우가 대부분이고 부품을 하나하나 분리해</p><p>가며 테스트 했을때 오류 비프음이 나지 않는거 보니</p><p>메인보드 고장으로 생각하고 중고 메인보드를 구매했다.</p><p><br></p><p>증상이 같으면 어쩌나 했지만.</p><p>다행히 중고로산 보드가 조립 후 정상적으로 작동했다. </p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1490746193166531982.jpg" data-filename="1490746193166531982.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>고장난 메인보드</p><p>외관상 깨긋한데..</p><p>살릴수 있는 방법을 모르니 ㅠㅠ</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1490746341987168300.jpg" data-filename="1490746341987168300.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><blockquote>PC고장시 메인보드 비프음이 중요하다는걸 새삼 깨달았다.</blockquote>
애플 매직 키보드2 구매
http://www.webprogramer.kr/blog/P000000331/post.do
<blockquote><p><span style="font-weight: bold; font-style: italic; font-size: 24px;">애플 매직키보드2 구매</span></p></blockquote><p>와이프가 애플키보드를 사준다하여 기분좋게 이마트로 향했다.ㅎㅎ<br></p><p>정가가 129,000원 인데 이마트 행사중이라 119,000원에 구매 하였다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1489843573021119920.JPG" data-filename="1489843573021119920.JPG" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>키보드개봉 스르륵 옆으로 빼게 되어 있다.</p><p>숫자키 부분이 커졌다. 방향키도 좌우 사이즈도 커지고 좀더 얇아짐.<img src="http://www.webprogramer.kr/upload/blog/editor/1489843573001323069.JPG" data-filename="1489843573001323069.JPG" class="img-thumbnail" style="width: 100%;"><br></p><p><br></p><p>구성품은 키보드, 라이트닝케이블, 설명서</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1489843572953188218.JPG" data-filename="1489843572953188218.JPG" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>디자인이 깔끔하고 가벼운 편이다.<img src="http://www.webprogramer.kr/upload/blog/editor/1489843573075981839.JPG" data-filename="1489843573075981839.JPG" class="img-thumbnail" style="width: 100%;"></p><p><br></p><p>전원스위치와 케이블 꼽는곳</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1489843574656281416.JPG" data-filename="1489843574656281416.JPG" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>뒷판</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1489843575088158220.JPG" data-filename="1489843575088158220.JPG" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>충전은 이렇게.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1489843575099295375.JPG" data-filename="1489843575099295375.JPG" class="img-thumbnail" style="line-height: 1.42857; width: 100%;"></p><p><br></p><p>키감도 괜찮은편이다.<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1489843575103746448.JPG" data-filename="1489843575103746448.JPG" class="img-thumbnail" style="width: 100%;"><br></p><p><br></p>
mysql 테이블 및 컬럼 스키마 정보 뽑기
http://www.webprogramer.kr/blog/P000000330/post.do
<p><br></p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-sql"><span class="kwd">select</span><span class="pln"> </span></code></li><li class="L1"><code class="language-sql"><span class="pln"> </span><span class="pun">--</span><span class="pln"> A</span><span class="pun">.</span><span class="pln">TABLE_NAME</span><span class="pun">,</span><span class="pln"> </span></code></li><li class="L2"><code class="language-sql"><span class="pln"> B</span><span class="pun">.</span><span class="pln">TABLE_COMMENT</span><span class="pun">,</span><span class="pln"> </span></code></li><li class="L3"><code class="language-sql"><span class="pln"> substring</span><span class="pun">(</span></code></li><li class="L4"><code class="language-sql"><span class="pln"> replace</span><span class="pun">(</span></code></li><li class="L5"><code class="language-sql"><span class="pln"> replace</span><span class="pun">(</span></code></li><li class="L6"><code class="language-sql"><span class="pln"> GROUP_CONCAT</span><span class="pun">(</span><span class="pln">DISTINCT </span></code></li><li class="L7"><code class="language-sql"><span class="pln"> CASE</span></code></li><li class="L8"><code class="language-sql"><span class="pln"> WHEN A</span><span class="pun">.</span><span class="pln">COLUMN_KEY </span><span class="pun">=</span><span class="pln"> </span><span class="str">'PRI'</span><span class="pln"> THEN concat</span><span class="pun">(</span><span class="str">'|'</span><span class="pun">,</span><span class="pln"> A</span><span class="pun">.</span><span class="pln">COLUMN_COMMENT</span><span class="pun">)</span></code></li><li class="L9"><code class="language-sql"><span class="pln"> ELSE </span><span class="str">''</span></code></li><li class="L0"><code class="language-sql"><span class="pln"> </span><span class="kwd">END</span><span class="pln"> </span></code></li><li class="L1"><code class="language-sql"><span class="pln"> SEPARATOR </span><span class="str">','</span><span class="pun">),</span></code></li><li class="L2"><code class="language-sql"><span class="pln"> </span><span class="str">','</span><span class="pun">,</span><span class="pln"> </span><span class="str">''</span><span class="pun">),</span><span class="pln"> </span><span class="str">'|'</span><span class="pun">,</span><span class="pln"> </span><span class="str">','</span><span class="pun">),</span><span class="pln"> </span><span class="lit">2</span><span class="pun">,</span><span class="pln"> </span><span class="lit">9999</span><span class="pun">),</span><span class="pln"> </span></code></li><li class="L3"><code class="language-sql"><span class="pln"> GROUP_CONCAT</span><span class="pun">(</span><span class="pln">DISTINCT A</span><span class="pun">.</span><span class="pln">COLUMN_COMMENT SEPARATOR </span><span class="str">','</span><span class="pun">)</span><span class="pln"> </span></code></li><li class="L4"><code class="language-sql"><span class="kwd">from</span><span class="pln"> INFORMATION_SCHEMA</span><span class="pun">.</span><span class="pln">columns A</span></code></li><li class="L5"><code class="language-sql"><span class="pln">LEFT JOIN INFORMATION_SCHEMA</span><span class="pun">.</span><span class="pln">tables B</span></code></li><li class="L6"><code class="language-sql"><span class="pln">ON A</span><span class="pun">.</span><span class="pln">TABLE_NAME </span><span class="pun">=</span><span class="pln"> B</span><span class="pun">.</span><span class="pln">TABLE_NAME</span></code></li><li class="L7"><code class="language-sql"><span class="kwd">where</span><span class="pln"> A</span><span class="pun">.</span><span class="pln">table_schema </span><span class="pun">=</span><span class="pln"> </span><span class="str">'xxdb'</span></code></li><li class="L8"><code class="language-sql"><span class="kwd">group</span><span class="pln"> </span><span class="kwd">by</span><span class="pln"> A</span><span class="pun">.</span><span class="pln">TABLE_NAME</span></code></li></ol></pre><p><br></p><p>DB 테이블 및 컬럼 정보를 뽑을 일이 있어서 </p><p><br></p>
맥 캘린더에 한국휴일 추가 하기
http://www.webprogramer.kr/blog/P000000329/post.do
<blockquote><span style="font-weight: bold;">맥 기본앱으로 깔려있는 캘린더에 한국 공휴일을 추가하는 방법입니다.</span></blockquote><p>아래는 공휴일 추가 하기전 기본 캘린더 입니다.<img src="http://www.webprogramer.kr/upload/blog/editor/1488812705481901162.png" data-filename="1488812705481901162.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>우선 아래 사이트를 접속 한후 다운로드를 선택합니다.</p><p><a href="http://www.apple.com/downloads/macosx/calendars/southkoreanholidaycalendar.html" target="_blank" style="font-weight: bold; color: rgb(156, 0, 255);">http://www.apple.com/downloads/macosx/calendars/southkoreanholidaycalendar.html</a><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1488812962887406276.png" data-filename="1488812962887406276.png" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>캘린더로 열기 선택 후 구독을 선택하여 줍니다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/148881338223228141.png" data-filename="148881338223228141.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>아래와 같이 승인을 눌러줍니다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1488813544563522404.png" data-filename="1488813544563522404.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>휴일이 추가된 모습입니다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1488813626277137635.png" data-filename="1488813626277137635.png" style="width: 100%;" class="img-thumbnail"><br></p>
MS Download virtual machines
http://www.webprogramer.kr/blog/P000000328/post.do
<p><br></p><blockquote><span style="font-weight: bold; font-size: 24px;">가상머신 이미지 다운로드</span></blockquote><p><span style="font-weight: bold; font-size: 18px;">브라우저 버전별 가상머신 윈도우 이미지</span></p><p><span style="font-weight: bold; font-size: 18px;"><a href="https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/" target="_blank">https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/</a></span></p><p><br></p><p><br></p>
파이썬을 이용한 점검 자동화
http://www.webprogramer.kr/blog/P000000327/post.do
<p></p><blockquote><span style="font-weight: bold; font-size: 24px;">파이썬을 이용한 점검 자동화</span></blockquote><p><span style="font-family: Tahoma;">파이썬을 이용하여</span></p><p><span style="font-family: Tahoma;">회사에서 반복적으로 하는 점검을 한번 자동화 해보았다.</span></p><p><span style="font-family: Tahoma;">자동화한 내용은</span></p><p><span style="font-family: Tahoma; font-style: italic; background-color: rgb(255, 156, 0);">1. ssh로 순차적으로 60대 서버접속</span></p><p><span style="font-family: Tahoma; font-style: italic; background-color: rgb(255, 156, 0);">2. 한서버당 명령어를 3번 입력한다.</span></p><p><span style="font-family: Tahoma; font-style: italic; background-color: rgb(255, 156, 0);">3. 3개의 결과값을 가져온다.</span></p><p><span style="font-family: Tahoma; font-style: italic; background-color: rgb(255, 156, 0);">4. 엑셀로 리포팅을 출력한다.</span></p>
<iframe width="740" height="416" src="http://serviceapi.nmv.naver.com/flash/convertIframeTag.nhn?vid=0043870B1B8AA6AC15FF8532D720DE409AE0&outKey=V1234e0268592395b8b317eac1144c0b2a78560c3fd34743e01a07eac1144c0b2a785" frameborder="no" scrolling="no"></iframe><p></p><p><span style="font-family: Tahoma;">Python장점이 기본문법을 한번 훑어 보고 바로 코딩할 수 있을정도로 쉽게 접근할수 있다.</span><br></p><p><span style="font-family: Tahoma; font-weight: bold; font-style: italic;"><span style="color: rgb(255, 0, 255);">기본문법 참고 --> </span><a href="http://webprogramer.kr/blog/BLG200_120/category.do" target="_blank" style="color: rgb(255, 0, 0);">http://webprogramer.kr/blog/BLG200_120/category.do</a></span></p><p><span style="font-family: Tahoma; font-style: italic; font-weight: bold;"><br></span></p><p><span style="font-family: Tahoma; font-style: italic; font-weight: bold;">Python이 간단한 유틸만들기에는 좋은거 같다.</span><br></p>
[펌]파이썬 강좌 11편. 예외 처리(Exception Handling)
http://www.webprogramer.kr/blog/P000000326/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 11편. 예외 처리(Exception Handling)</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile24.uf.tistory.com/image/21588C3E52BFBD04120538" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p><div class="txc-textbox" style="border: 1px solid rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;"><p><b><span style="font-size: 18pt;">1. 예외 처리(Exception Handling)</span></b></p></div><p><br></p><p>오늘은 예외 처리(Exception Handling)에 대해 알아보려고 합니다. 여기서 '예외(Exception)'란 어떤 것일까요? 우리가 프로그램을 사용하다 보면 예기치 못한 상황으로 에러가 발생하여 비정상 종료되는 경험을 해보신적이 있으신가요? 예를 들어, 프로그램 내에서 존재하지 않는 파일을 열려고 한다던가 피제수를 0으로 나누려고 하는 등 런타임 도중 발생하는 에러를 예외라고 하며, 이는 프로그램의 작업 수행을 막아버리는 존재입니다. 우선 예외가 발생하는 상황을 한번 보도록 하겠습니다.</p>
<div><div id="highlighter_124402" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div><div class="line number16 index15 alt1">16</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python value">2013</code> <code class="python keyword">*</code> <code class="python plain">(</code><code class="python value">1229</code><code class="python keyword">/</code><code class="python value">0</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">Traceback (most recent call last):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python functions">File</code> <code class="python string">"<pyshell#0>"</pyshell#0></code><code class="python plain">, line </code><code class="python value">1</code><code class="python plain">, </code><code class="python keyword">in</code> <code class="python plain"><module></module></code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python value">2013</code> <code class="python keyword">*</code> <code class="python plain">(</code><code class="python value">1229</code><code class="python keyword">/</code><code class="python value">0</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python plain">ZeroDivisionError: division by zero</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> </code><code class="python functions">open</code><code class="python plain">(</code><code class="python string">'notfind.txt'</code><code class="python plain">, </code><code class="python string">'r'</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"><code class="python plain">Traceback (most recent call last):</code></div><div class="line number8 index7 alt1"><code class="python spaces"> </code><code class="python functions">File</code> <code class="python string">"<pyshell#1>"</pyshell#1></code><code class="python plain">, line </code><code class="python value">1</code><code class="python plain">, </code><code class="python keyword">in</code> <code class="python plain"><module></module></code></div><div class="line number9 index8 alt2"><code class="python spaces"> </code><code class="python functions">open</code><code class="python plain">(</code><code class="python string">'notfind.txt'</code><code class="python plain">, </code><code class="python string">'r'</code><code class="python plain">)</code></div><div class="line number10 index9 alt1"><code class="python plain">FileNotFoundError: [Errno </code><code class="python value">2</code><code class="python plain">] No such </code><code class="python functions">file</code> <code class="python keyword">or</code> <code class="python plain">directory: </code><code class="python string">'notfind.txt'</code></div><div class="line number11 index10 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">]</code></div><div class="line number12 index11 alt1"><code class="python plain">>>> lst[</code><code class="python value">5</code><code class="python plain">]</code></div><div class="line number13 index12 alt2"><code class="python plain">Traceback (most recent call last):</code></div><div class="line number14 index13 alt1"><code class="python spaces"> </code><code class="python functions">File</code> <code class="python string">"<pyshell#3>"</pyshell#3></code><code class="python plain">, line </code><code class="python value">1</code><code class="python plain">, </code><code class="python keyword">in</code> <code class="python plain"><module></module></code></div><div class="line number15 index14 alt2"><code class="python spaces"> </code><code class="python plain">lst[</code><code class="python value">5</code><code class="python plain">]</code></div><div class="line number16 index15 alt1"><code class="python plain">IndexError: </code><code class="python functions">list</code> <code class="python plain">index out of </code><code class="python functions">range</code></div></div></td></tr></tbody></table></div></div>
<p>위를 보시면, 피제수를 0으로 나누려고 하니 ZeroDivisionError란 예외가 발생하고, 존재하지 않는 파일을 열려고 하니 FileNotFoundError란 예외가 발생하며, 위치(index)가 범위를 벗어나면 IndexError란 예외가 발생합니다. 이 밖에도 예외는 여러가지가 있으며 파이썬에서는 이런 예외를 처리하여 실행 도중에 에러가 발생해도 예외를 무시하거나 따로 처리할 수 있도록 try와 except란 녀석을 지원합니다. 한번 보도록 할까요?</p><p><br></p><div class="txc-textbox" style="border: 1px solid rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;"><p><span style="font-size: 18pt;"><b>2. try~except</b></span></p></div><p><br></p><p>파이썬에서 예외를 처리하기 위해서는 try~except절을 사용할 수 있는데, 아래는 이 절의 기본적인 형태입니다.</p>
<div><div id="highlighter_398379" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">try</code><code class="python plain">:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">예외를 유발할 수 있는 구문</code></div><div class="line number3 index2 alt2"><code class="python keyword">except</code> <code class="python plain"><예외 종류>:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python plain">예외 처리를 수행하는 구문</code></div></div></td></tr></tbody></table></div></div>
<p>위의 형태를 한번 봐보시면, try절의 영역에는 예외가 발생할 수 있는 구문이 들어가며 except절의 영역에서는 try절에서 예외가 발생하였을때 잡아서 처리를 수행하는 구문이 들어갑니다. 우선은 먼저 try~except절이 사용된 예제를 보고 설명해드리도록 하겠습니다. (예외 구조도를 참고하시려면 <a href="http://docs.python.org/3.2/library/exceptions.html" target="_blank" class="tx-link">여기</a>를 클릭하세요)</p>
<div><div id="highlighter_768878" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">try</code><code class="python plain">:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">a </code><code class="python keyword">=</code> <code class="python value">10</code> <code class="python keyword">/</code> <code class="python value">0</code></div><div class="line number3 index2 alt2"><code class="python keyword">except</code> <code class="python plain">ZeroDivisionError:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">'제수는 0이 될 수 없습니다!'</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"> </div><div class="line number6 index5 alt1"><code class="python plain">제수는 </code><code class="python value">0</code><code class="python plain">이 될 수 없습니다!</code></div></div></td></tr></tbody></table></div></div>
<p>위의 예제를 보시면, try절의 영역 내에서 ZeroDivisionError 예외가 발생할 때 그 예외를 잡아 처리하는 문장입니다. 피제수를 제수로 나눌 때, 제수가 0일 경우 '제수는 0이 될 수 없습니다!'라는 문장을 출력합니다. 이번에는 다른 예제를 보도록 하겠습니다.</p>
<div><div id="highlighter_999037" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">try</code><code class="python plain">:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">a </code><code class="python keyword">=</code> <code class="python functions">int</code><code class="python plain">(</code><code class="python functions">input</code><code class="python plain">(</code><code class="python string">"첫번째 숫자를 입력하세요: "</code><code class="python plain">))</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">b </code><code class="python keyword">=</code> <code class="python functions">int</code><code class="python plain">(</code><code class="python functions">input</code><code class="python plain">(</code><code class="python string">"두번째 숫자를 입력하세요: "</code><code class="python plain">))</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"a + b = "</code><code class="python plain">, a </code><code class="python keyword">+</code> <code class="python plain">b)</code></div><div class="line number5 index4 alt2"><code class="python keyword">except</code> <code class="python plain">ValueError:</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">'값이 적절하지 않습니다.'</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"> </div><div class="line number8 index7 alt1"><code class="python plain">첫번째 숫자를 입력하세요: </code><code class="python value">50</code></div><div class="line number9 index8 alt2"><code class="python plain">두번째 숫자를 입력하세요: 이십</code></div><div class="line number10 index9 alt1"><code class="python plain">값이 적절하지 않습니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는 input 내장 함수로 입력받은 값이 적절하지 않은 값이라면 ValueError 예외가 발생하여 '값이 적절하지 않습니다.'라는 문장을 출력시킵니다. 위에서는 a에 50이란 정상적인 값이 들어갔지만, b에는 '이십'이란 문자열을 입력받아 이를 정수로 변환시키려 하니 에러가 발생한 것입니다. 이제는 위 예제들을 적절히 섞어서 여러 개의 예외를 처리하는 예제를 한번 보도록 하겠습니다.</p>
<div><div id="highlighter_70260" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">try</code><code class="python plain">:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">a </code><code class="python keyword">=</code> <code class="python functions">int</code><code class="python plain">(</code><code class="python functions">input</code><code class="python plain">(</code><code class="python string">"피제수를 입력하세요: "</code><code class="python plain">))</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">b </code><code class="python keyword">=</code> <code class="python functions">int</code><code class="python plain">(</code><code class="python functions">input</code><code class="python plain">(</code><code class="python string">"제수를 입력하세요: "</code><code class="python plain">))</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"a / b = "</code><code class="python plain">, a </code><code class="python keyword">/</code> <code class="python plain">b)</code></div><div class="line number5 index4 alt2"><code class="python keyword">except</code> <code class="python plain">ValueError:</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">'값이 적절하지 않습니다.'</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"><code class="python keyword">except</code> <code class="python plain">ZeroDivisionError:</code></div><div class="line number8 index7 alt1"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">'제수는 0이 될 수 없습니다!'</code><code class="python plain">)</code></div><div class="line number9 index8 alt2"><code class="python spaces"> </code> </div><div class="line number10 index9 alt1"><code class="python plain">피제수를 입력하세요: </code><code class="python value">10</code></div><div class="line number11 index10 alt2"><code class="python plain">제수를 입력하세요: </code><code class="python value">0</code></div><div class="line number12 index11 alt1"><code class="python plain">제수는 </code><code class="python value">0</code><code class="python plain">이 될 수 없습니다!</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면 except절은 한번만 사용될 수 있는게 아니라, 여러번 등장이 가능합니다. 위와 같이 예외 처리 영역을 나눌 수도 있지만, 아래와 같이 예외 처리 영역을 합칠 수도 있습니다.</p>
<div><div id="highlighter_812199" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">try</code><code class="python plain">:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">a </code><code class="python keyword">=</code> <code class="python functions">int</code><code class="python plain">(</code><code class="python functions">input</code><code class="python plain">(</code><code class="python string">"피제수를 입력하세요: "</code><code class="python plain">))</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">b </code><code class="python keyword">=</code> <code class="python functions">int</code><code class="python plain">(</code><code class="python functions">input</code><code class="python plain">(</code><code class="python string">"제수를 입력하세요: "</code><code class="python plain">))</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"a / b = "</code><code class="python plain">, a </code><code class="python keyword">/</code> <code class="python plain">b)</code></div><div class="line number5 index4 alt2"><code class="python keyword">except</code> <code class="python plain">(ValueError, ZeroDivisionError):</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">'제수가 0이거나 값이 적절하지 않습니다.'</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"> </div><div class="line number8 index7 alt1"><code class="python plain">피제수를 입력하세요: </code><code class="python value">10</code></div><div class="line number9 index8 alt2"><code class="python plain">제수를 입력하세요: 영</code></div><div class="line number10 index9 alt1"><code class="python plain">제수가 </code><code class="python value">0</code><code class="python plain">이거나 값이 적절하지 않습니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는 소괄호를 사용하여 튜플을 이용해 예외를 처리합니다. 만약 try절의 영역 내에서 ValueError가 발생해도 예외가 처리되며, ZeroDivisionError가 발생해도 except절의 예외 처리 영역으로 이동합니다. 이 말은 즉슨, 튜플 내에 명시된 에러를 모두 처리하겠다는 말이 됩니다. 한마디로 말하자면 에러를 묶어서 처리하는 방법입니다. 마지막으로, 예외 인스턴스 객체를 통한 예외를 처리하는 방법을 보도록 하겠습니다.</p>
<div><div id="highlighter_903819" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">try</code><code class="python plain">:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">a </code><code class="python keyword">=</code> <code class="python value">50</code> <code class="python keyword">/</code> <code class="python string">"이십"</code></div><div class="line number3 index2 alt2"><code class="python keyword">except</code> <code class="python plain">TypeError as e:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">'예외:'</code><code class="python plain">, e.args[</code><code class="python value">0</code><code class="python plain">])</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code> </div><div class="line number6 index5 alt1"><code class="python plain">예외: unsupported operand </code><code class="python functions">type</code><code class="python plain">(s) </code><code class="python keyword">for</code> <code class="python keyword">/</code><code class="python plain">: </code><code class="python string">'int'</code> <code class="python keyword">and</code> <code class="python string">'str'</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면, 에러 메시지를 담은 예외 인스턴스 객체를 e로 받아서 사용하는데 이 변수를 통해서 추가적인 정보를 출력해낼 수 있습니다. 위에선 정수와 문자열 간의 나눗셈 연산은 지원하지 않는다는 에러 메시지가 출력됩니다. 여기까지 잘 따라오셨나요? 그럼 다음으로 넘어가겠습니다.</p><p><br></p><div class="txc-textbox" style="border: 1px solid rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;"><p><b><span style="font-size: 18pt;">3. else</span></b></p></div><p><br></p><p>except절이 예외가 발생하면 처리하는 영역이라면, else절은 예외가 발생하지 않았을 경우에 작업이 수행되는 영역입니다. 이 else절은 모든 except 절의 가장 마지막에 등장하여야 하며, 필요에 의해 else절을 달 수도 있고 달지 않을 수도 있습니다. 한마디로 선택적으로 사용할 수 있다는 것입니다. 우선은 try~except~else절의 기본적인 형태를 보도록 하겠습니다.</p>
<div><div id="highlighter_338782" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">try</code><code class="python plain">:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">예외를 유발할 수 있는 구문</code></div><div class="line number3 index2 alt2"><code class="python keyword">except</code> <code class="python plain"><예외 종류>:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python plain">예외 처리를 수행하는 구문</code></div><div class="line number5 index4 alt2"><code class="python keyword">else</code><code class="python plain">:</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python plain">예외가 발생하지 않을 경우 수행할 구문</code></div></div></td></tr></tbody></table></div></div>
<p>위 try절의 영역에서 예외가 발생하면, except절의 예외 처리 영역으로 이동하지만 예외가 발생하지 않는다면 else절의 영역으로 이동합니다. 우선은 예제를 먼저 보도록 하겠습니다.</p>
<div><div id="highlighter_433447" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">try</code><code class="python plain">:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">f </code><code class="python keyword">=</code> <code class="python functions">open</code><code class="python plain">(</code><code class="python string">'test.txt'</code><code class="python plain">, </code><code class="python string">'r'</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python keyword">except</code> <code class="python plain">IOError:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">'파일을 열지 못했습니다.'</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python keyword">else</code><code class="python plain">:</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">'test.txt:'</code><code class="python plain">, f.read())</code></div><div class="line number7 index6 alt2"><code class="python spaces"> </code><code class="python plain">f.close()</code></div><div class="line number8 index7 alt1"> </div><div class="line number9 index8 alt2"><code class="python plain">test.txt: 테스트 파일!</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제는 test.txt 파일을 읽기 모드로 여는데 I/O에 관련된 예외가 발생하면 '파일을 열지 못했습니다.'라는 문장이 출력되고, 예외가 발생하지 않았다면 그 파일의 내용을 출력하고 파일을 닫습니다. 간단하죠? </p><p><br></p><div class="txc-textbox" style="border: 1px solid rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;"><p><b><span style="font-size: 18pt;">4. finally</span></b></p></div><p><br></p><p>finally절은 예외가 발생하든 말든 실행되는 영역입니다. try 영역이 실행되고 나서, 예외 발생여부와 상관없이 무조건 수행되는 영역입니다. 이 finally절도 else절과 같이 선택적으로 사용할 수 있는 영역입니다. 우선은 try~except~finally절의 기본적인 형태를 보도록 하겠습니다.</p>
<div><div id="highlighter_216150" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">try</code><code class="python plain">:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">예외를 유발할 수 있는 구문</code></div><div class="line number3 index2 alt2"><code class="python keyword">except</code> <code class="python plain"><예외 종류>:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python plain">예외 처리를 수행하는 구문</code></div><div class="line number5 index4 alt2"><code class="python keyword">finally</code><code class="python plain">:</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python plain">예외 발생 여부과 상관없이 항상 실행되는 구문</code></div></div></td></tr></tbody></table></div></div>
<p>위 try절의 영역에서 예외가 발생하든 발생하지 않든 finally절 영역의 구문이 실행됩니다. 간단하게 한번 예제를 보도록 하겠습니다.</p>
<div><div id="highlighter_819056" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">try</code><code class="python plain">:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">a </code><code class="python keyword">=</code> <code class="python value">10</code> <code class="python keyword">/</code> <code class="python value">0</code></div><div class="line number3 index2 alt2"><code class="python keyword">except</code> <code class="python plain">ZeroDivisionError:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">'제수는 0이 될 수 없습니다!'</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python keyword">finally</code><code class="python plain">:</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">'무조건 실행되는 영역!'</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"> </div><div class="line number8 index7 alt1"><code class="python plain">제수는 </code><code class="python value">0</code><code class="python plain">이 될 수 없습니다!</code></div><div class="line number9 index8 alt2"><code class="python plain">무조건 실행되는 영역!</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는 try절의 영역에서 ZeroDivisionError 예외가 발생하지만, 그것과는 관계없이 finally절의 영역으로 들어가는 것을 보실 수 있습니다. 직접 예제에서 제수가 0이 아닌 다른 수로 바꾸어 예외가 발생하지 않게 되더라도 finally절 영역으로 들어가서 '무조건 실행되는 영역!'이라는 문장을 출력합니다.</p><p><br></p><div class="txc-textbox" style="border: 1px solid rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;"><p><b><span style="font-size: 18pt;">5. raise</span></b></p></div><p><br></p><p>예기치 못한 상황으로 예외가 발생하는 경우도 있지만, 의도적으로 개발자가 예외를 발생시켜야 할 경우도 있습니다. 이럴 경우 raise 구문을 통하여 해당하는 예외를 강제로 발생시킬 수 있습니다. raise 구문을 사용하는 방법은 아래와 같습니다.</p>
<div><div id="highlighter_112918" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">raise</code> <code class="python plain">[예외]</code></div><div class="line number2 index1 alt1"><code class="python keyword">raise</code> <code class="python plain">[예외(데이터)]</code></div></div></td></tr></tbody></table></div></div>
<p>예를 들어서 'raise TypeError'는 TypeError 예외를 강제적으로 발생시키게 하는 것이고, 'raise NameError("데이터!")'는 TypeError 예외를 강제로 발생시키면서 '데이터!'를 예외의 인자로 지정하는 것입니다. 우선은 먼저 예제를 보고 raise문이 어떤 역할을 하는지 보도록 하겠습니다.</p>
<div><div id="highlighter_81778" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">raise</code> <code class="python plain">NameError</code></div><div class="line number2 index1 alt1"><code class="python plain">Traceback (most recent call last):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python functions">File</code> <code class="python string">"<pyshell#116>"</pyshell#116></code><code class="python plain">, line </code><code class="python value">1</code><code class="python plain">, </code><code class="python keyword">in</code> <code class="python plain"><module></module></code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">raise</code> <code class="python plain">NameError</code></div><div class="line number5 index4 alt2"><code class="python plain">NameError</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> </code><code class="python keyword">raise</code> <code class="python plain">NameError(</code><code class="python string">'예외 발생!'</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"><code class="python plain">Traceback (most recent call last):</code></div><div class="line number8 index7 alt1"><code class="python spaces"> </code><code class="python functions">File</code> <code class="python string">"<pyshell#117>"</pyshell#117></code><code class="python plain">, line </code><code class="python value">1</code><code class="python plain">, </code><code class="python keyword">in</code> <code class="python plain"><module></module></code></div><div class="line number9 index8 alt2"><code class="python spaces"> </code><code class="python keyword">raise</code> <code class="python plain">NameError(</code><code class="python string">'예외 발생!'</code><code class="python plain">)</code></div><div class="line number10 index9 alt1"><code class="python plain">NameError: 예외 발생!</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면, raise 구문을 통해 NameError 예외를 강제로 발생시키고 있습니다. 두번째 raise 구문은 예외의 인자를 지정해 준 것으로써, 지정한 인자와 함께 같이 출력이 되는 것을 확인하실 수 있습니다. 다른 예제를 한번 보시죠.</p>
<div><div id="highlighter_106240" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">try</code><code class="python plain">:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">a </code><code class="python keyword">=</code> <code class="python functions">int</code><code class="python plain">(</code><code class="python functions">input</code><code class="python plain">(</code><code class="python string">'피제수를 입력하세요: '</code><code class="python plain">))</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">b </code><code class="python keyword">=</code> <code class="python functions">int</code><code class="python plain">(</code><code class="python functions">input</code><code class="python plain">(</code><code class="python string">'제수를 입력하세요: '</code><code class="python plain">))</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">if</code> <code class="python plain">a <</code><code class="python keyword">=</code> <code class="python value">0</code> <code class="python keyword">or</code> <code class="python plain">b <</code><code class="python keyword">=</code> <code class="python value">0</code><code class="python plain">:</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python keyword">raise</code> <code class="python plain">ArithmeticError(</code><code class="python string">'피제수 혹은 제수가 0 이하일 수 없습니다.'</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python keyword">except</code> <code class="python plain">ArithmeticError as e:</code></div><div class="line number7 index6 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">'예외 발생:'</code><code class="python plain">, e.args[</code><code class="python value">0</code><code class="python plain">])</code></div><div class="line number8 index7 alt1"> </div><div class="line number9 index8 alt2"><code class="python plain">피제수를 입력하세요: </code><code class="python value">2030</code></div><div class="line number10 index9 alt1"><code class="python plain">제수를 입력하세요: </code><code class="python keyword">-</code><code class="python value">10</code></div><div class="line number11 index10 alt2"><code class="python plain">예외 발생: 피제수 혹은 제수가 </code><code class="python value">0</code> <code class="python plain">이하일 수 없습니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는 피제수 혹은 제수가 0 이하일 경우 ArithmeticError 예외를 발생시키도록 하였습니다. 피제수는 0 초과니 조건 성립이 되지 않았지만, 제수가 -10로 0 이하의 수니 조건문이 실행되어 예외를 발생시킨 것입니다. 이해가 되시나요? 아직 이해가 되지 않으신것 같다면 위에 있는 예제들을 응용하여 코드를 여러번 작성하여 보도록 해보세요. 계속 경험과 노력이 쌓이다 보면 그에 따른 좋은 결과가 있으리라 믿습니다.</p><p><span style="font-weight: bold;">출처 : </span><a href="http://blog.eairship.kr/" target="_blank" style="background-color: rgb(255, 255, 255); font-weight: bold;">http://blog.eairship.kr</a><br></p></div></div><div id="entry294Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/294" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
[펌]파이썬 강좌 10-2편. 파일 입출력(File I/O)
http://www.webprogramer.kr/blog/P000000325/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 10-2편. 파일 입출력(File I/O)</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="FLOAT: none; TEXT-ALIGN: center; CLEAR: none"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile6.uf.tistory.com/image/2516003D52AD26C81F50E1" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">1. 파일 입출력(File Input/Output)</span></strong></p></div>
<p> </p>
<p>오늘은 파일 입출력에 대해서 알아보도록 하겠습니다. 전 강좌에서는 화면에서 출력하고 입력하는 방법을 알아봤다면, 이번에는 파일에 출력하고 입력하는 것을 알아보도록 하겠습니다. 파일을 읽고, 쓰고, 덧붙이는 등 세밀하게 작업을 위해 파이썬에서는 open이란 함수를 지원하는데 이 함수의 기본형은 아래와 같습니다.</p><div><div id="highlighter_185936" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">파일객체 </code><code class="python keyword">=</code> <code class="python functions">open</code><code class="python plain">(</code><code class="python functions">file</code><code class="python plain">, mode)</code></div></div></td></tr></tbody></table></div></div>
<p>기본적으로 들어가는 두 인자 중 file이란 인자에는 파일 이름이 이곳에 들어가고, mode에는 파일을 열 때 사용하는 모드를 말합니다. 여기서 파일을 열 때 사용하는 모드란 쓰기 모드, 읽기 모드 등과 같이 파일에 무언가를 쓸때는 쓰기 모드, 무언가를 읽어들일 때는 읽기 모드를 사용합니다. 아래에 mode에 들어갈 수 있는 것을 표로 정리해 두었습니다.</p>
<p> </p>
<p>
</p><table class="txc-table" style="FONT-SIZE: 9pt; BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-COLLAPSE: collapse; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none" cellspacing="0" cellpadding="0" width="584" align="center" border="0">
<tbody>
<tr>
<td style="BORDER-TOP: #ccc 1px solid; HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; WIDTH: 292px; BACKGROUND-COLOR: #eaeaea">
<p style="TEXT-ALIGN: center"><strong>모드</strong></p></td>
<td style="BORDER-TOP: #ccc 1px solid; HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; WIDTH: 292px; BACKGROUND-COLOR: #eaeaea">
<p style="TEXT-ALIGN: center"><strong>설명</strong></p></td></tr>
<tr>
<td style="HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; WIDTH: 292px">
<p style="TEXT-ALIGN: center">r</p></td>
<td style="HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; WIDTH: 292px">
<p style="TEXT-ALIGN: center">읽기 모드 (디폴트)</p></td></tr>
<tr>
<td style="HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; WIDTH: 292px">
<p style="TEXT-ALIGN: center">r+</p></td>
<td style="HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; WIDTH: 292px">
<p style="TEXT-ALIGN: center">읽기 + 쓰기 모드</p></td></tr>
<tr>
<td style="HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; WIDTH: 292px">
<p style="TEXT-ALIGN: center">w</p></td>
<td style="HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; WIDTH: 292px">
<p style="TEXT-ALIGN: center">쓰기 모드</p></td></tr>
<tr>
<td style="HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; WIDTH: 292px">
<p style="TEXT-ALIGN: center">a</p></td>
<td style="HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; WIDTH: 292px">
<p style="TEXT-ALIGN: center">쓰기 + 이어쓰기 모드</p></td></tr>
<tr>
<td style="HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; WIDTH: 292px">
<p style="TEXT-ALIGN: center">t</p></td>
<td style="HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; WIDTH: 292px">
<p style="TEXT-ALIGN: center">텍스트 모드 (디폴트)</p></td></tr>
<tr>
<td style="HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; WIDTH: 292px">
<p style="TEXT-ALIGN: center">b</p></td>
<td style="HEIGHT: 24px; BORDER-RIGHT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid; WIDTH: 292px">
<p style="TEXT-ALIGN: center">바이너리 모드</p></td></tr></tbody></table><p></p>
<p> </p>
<p>위에 있는 모드들은 독립적으로 사용되는게 아니라, 서로 모드를 조합해서 사용이 가능합니다. 예를 들면, 'wb'는 바이너리 쓰기 모드가 되며 'rb'는 바이너리 쓰기 모드가 되는 것입니다. 파일을 쓰기 모드로 개방하여 임의의 문자열을 작성해보도록 할까요? 아래 예제를 보면서 open 함수를 통해 파일을 어떻게 만들고 쓰는지 알아보도록 합시다.</p><div><div id="highlighter_968312" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> f </code><code class="python keyword">=</code> <code class="python functions">open</code><code class="python plain">(</code><code class="python string">'t.txt'</code><code class="python plain">, </code><code class="python string">'w'</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> f.write(</code><code class="python string">'abcdefghijk'</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python value">11</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> f.close()</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제의 1행을 보시면 't.txt란 파일을 쓰겠다'라는 의미가 됩니다. 이렇게 파일을 쓰기 모드로 열게 되면, 현재 디렉토리에 t.txt란 파일이 없다면 t.txt 파일을 새로 만들게 됩니다. 만약 이미 존재한다면 내용을 모두 지우고 새로 쓰게 되는 것입니다. 이어서 2행에서는 write란 함수를 통해서 파일에 임의의 문자열을 쓸 수 있는데, 이 write 함수는 말 그대로 파일에 문자열을 쓰고 싶을때 이용하는 함수입니다. 3행에서는 write 함수를 호출하여 몇 바이트나 썼는지 정수로 반환해준 값이 나온 것입니다. 마지막으로 4행에서는 파일의 사용이 모두 끝났으므로 파일 객체를 닫는 close 함수를 호출함으로써 마무리를 하게 됩니다. 이번에는 방금 쓴 파일을 읽어보도록 하겠습니다.</p><div><div id="highlighter_670663" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> f </code><code class="python keyword">=</code> <code class="python functions">open</code><code class="python plain">(</code><code class="python string">'t.txt'</code><code class="python plain">, </code><code class="python string">'r'</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> f.read()</code></div><div class="line number3 index2 alt2"><code class="python string">'abcdefghijk'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> f.close()</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제의 1행에서는 't.txt란 파일을 읽겠다'라는 의미가 되며, 2행에서는 read란 함수로 파일을 모두 읽어들인 후, 읽은 데이터를 반환합니다. 3행에서는 close 함수로 파일을 닫습니다. 간단하죠? 이번에는 여러 줄을 파일에 써보도록 하겠습니다. 구구단 중 2단만 간단히 텍스트 파일에 작성해보도록 합시다.</p><div><div id="highlighter_995965" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">for</code> <code class="python plain">i </code><code class="python keyword">in</code> <code class="python functions">range</code><code class="python plain">(</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">10</code><code class="python plain">):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">data </code><code class="python keyword">=</code> <code class="python string">"2 * %d = %d\n"</code> <code class="python keyword">%</code> <code class="python plain">(i, </code><code class="python value">2</code> <code class="python keyword">*</code> <code class="python plain">i)</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">f.write(data) </code></div><div class="line number4 index3 alt1"><code class="python value">10</code></div><div class="line number5 index4 alt2"><code class="python plain">..</code></div><div class="line number6 index5 alt1"><code class="python value">11</code></div><div class="line number7 index6 alt2"><code class="python plain">>>> f.close()</code></div></div></td></tr></tbody></table></div></div>
<p>그리고 파일에 우리가 예상한 값이 쓰였는지 확인을 해보도록 합시다. 이번에는 read 함수가 아니라 readline이란 함수를 사용하여 파일을 읽어들여 보도록 하겠습니다. 아래를 한번 봅시다.</p><div><div id="highlighter_763413" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div><div class="line number16 index15 alt1">16</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> f </code><code class="python keyword">=</code> <code class="python functions">open</code><code class="python plain">(</code><code class="python string">'gugudan.txt'</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> line </code><code class="python keyword">=</code> <code class="python plain">f.readline()</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python keyword">while</code> <code class="python plain">line:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(line, end</code><code class="python keyword">=</code><code class="python plain">'')</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python plain">line </code><code class="python keyword">=</code> <code class="python plain">f.readline()</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code> </div><div class="line number7 index6 alt2"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">1</code> <code class="python keyword">=</code> <code class="python value">2</code></div><div class="line number8 index7 alt1"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">2</code> <code class="python keyword">=</code> <code class="python value">4</code></div><div class="line number9 index8 alt2"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">3</code> <code class="python keyword">=</code> <code class="python value">6</code></div><div class="line number10 index9 alt1"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">4</code> <code class="python keyword">=</code> <code class="python value">8</code></div><div class="line number11 index10 alt2"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">5</code> <code class="python keyword">=</code> <code class="python value">10</code></div><div class="line number12 index11 alt1"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">6</code> <code class="python keyword">=</code> <code class="python value">12</code></div><div class="line number13 index12 alt2"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">7</code> <code class="python keyword">=</code> <code class="python value">14</code></div><div class="line number14 index13 alt1"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">8</code> <code class="python keyword">=</code> <code class="python value">16</code></div><div class="line number15 index14 alt2"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">9</code> <code class="python keyword">=</code> <code class="python value">18</code></div><div class="line number16 index15 alt1"><code class="python plain">>>> f.close()</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서의 1행에서 mode가 비었는데, 읽기 모드가 기본값이므로 파일 이름만 명시해준 것입니다. 2행에서는 readline 함수를 사용하여 한번에 한줄씩 읽어들일 수 있습니다. 3행에서는 while문으로 반복을 하게 되는데, 이 때 line이 빈 문자열일 경우 즉, 더이상 읽어들인 문자열이 없을 경우에 반복문을 벗어나게 됩니다. 4행에서는 읽어들인 문자열에 이미 \n가 있기 때문에 끝문자(end)를 비워주는 것입니다. 5행에서는 현재 위치에서 다음 줄을 읽어들이기 위함이구요. 정상적으로 결과물이 출력됨을 확인한 후에, 파일 객체인 f를 닫습니다. 이 방법 말고도 또 파일을 읽어들이는 방법이 있는데, readline이 아니라 이번에는 readlines이란 함수를 이용하는 방법입니다. 한번 보시죠.</p><div><div id="highlighter_149620" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> f </code><code class="python keyword">=</code> <code class="python functions">open</code><code class="python plain">(</code><code class="python string">'gugudan.txt'</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> lines </code><code class="python keyword">=</code> <code class="python plain">f.readlines()</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python keyword">for</code> <code class="python plain">line </code><code class="python keyword">in</code> <code class="python plain">lines:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(line, end</code><code class="python keyword">=</code><code class="python plain">'')</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code> </div><div class="line number6 index5 alt1"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">1</code> <code class="python keyword">=</code> <code class="python value">2</code></div><div class="line number7 index6 alt2"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">2</code> <code class="python keyword">=</code> <code class="python value">4</code></div><div class="line number8 index7 alt1"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">3</code> <code class="python keyword">=</code> <code class="python value">6</code></div><div class="line number9 index8 alt2"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">4</code> <code class="python keyword">=</code> <code class="python value">8</code></div><div class="line number10 index9 alt1"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">5</code> <code class="python keyword">=</code> <code class="python value">10</code></div><div class="line number11 index10 alt2"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">6</code> <code class="python keyword">=</code> <code class="python value">12</code></div><div class="line number12 index11 alt1"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">7</code> <code class="python keyword">=</code> <code class="python value">14</code></div><div class="line number13 index12 alt2"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">8</code> <code class="python keyword">=</code> <code class="python value">16</code></div><div class="line number14 index13 alt1"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">9</code> <code class="python keyword">=</code> <code class="python value">18</code></div><div class="line number15 index14 alt2"><code class="python plain">>>> f.close()</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제의 2행에서는 readlines 함수를 사용하여 파일의 내용 전체를 줄 단위로 잘라서 리스트에 저장하여, 저장한 리스트를 반환시켜서 lines에 넣습니다. 3~4행에서는 for문을 이용하여 리스트를 순차적으로 읽고 출력하는 것을 보실 수 있습니다. 역시 마지막은 close 함수를 통해 마무리를 짓습니다. 이번에는 파일 입출력에서 빠질 수 없는 tell과 seek 함수에 대해서 보도록 하겠습니다. tell 함수는 현재 파일의 위치를 반환하고, seek 함수는 현재 파일의 위치를 지정한 곳으로 이동시킵니다. </p><div><div id="highlighter_770770" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> f </code><code class="python keyword">=</code> <code class="python functions">open</code><code class="python plain">(</code><code class="python string">'hangul.txt'</code><code class="python plain">, </code><code class="python string">'w'</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> f.write(</code><code class="python string">'가나다\n라마바\n사아자\n차카타\n파하'</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python value">18</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> f.close()</code></div></div></td></tr></tbody></table></div></div>
<p>위의 파이썬 코드로 쓰여진 텍스트 파일을 한번 읽어보면서 seek와 tell 함수를 사용하여 보도록 하겠습니다.</p><div><div id="highlighter_436014" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div><div class="line number16 index15 alt1">16</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> f </code><code class="python keyword">=</code> <code class="python functions">open</code><code class="python plain">(</code><code class="python string">'hangul.txt'</code><code class="python plain">, </code><code class="python string">'r'</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> f.tell()</code></div><div class="line number3 index2 alt2"><code class="python value">0</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> f.read()</code></div><div class="line number5 index4 alt2"><code class="python string">'가나다\n라마바\n사아자\n차카타\n파하'</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> f.tell()</code></div><div class="line number7 index6 alt2"><code class="python value">36</code></div><div class="line number8 index7 alt1"><code class="python plain">>>> f.seek(</code><code class="python value">0</code><code class="python plain">)</code></div><div class="line number9 index8 alt2"><code class="python value">0</code></div><div class="line number10 index9 alt1"><code class="python plain">>>> f.tell()</code></div><div class="line number11 index10 alt2"><code class="python value">0</code></div><div class="line number12 index11 alt1"><code class="python plain">>>> f.readline()</code></div><div class="line number13 index12 alt2"><code class="python string">'가나다\n'</code></div><div class="line number14 index13 alt1"><code class="python plain">>>> f.tell()</code></div><div class="line number15 index14 alt2"><code class="python value">8</code></div><div class="line number16 index15 alt1"><code class="python plain">>>> f.close()</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제의 2행에서는 tell 함수가 사용되었는데, tell 함수의 반환값이 0입니다. 이는 현재 파일의 위치가 0에 있음을 나타내며, 파일 위치는 현재 파일에서 어디까지 읽거나 썼는지를 나타내는 위치입니다. 4행에서 파일에 있는 내용을 모두 읽어들이고, 6행에서 tell 함수를 사용하여 위치를 확인해 보았더니 36이란 값이 나왔습니다. 그 후에 8행에서 seek 함수를 통해 파일 위치를 0으로 지정하고, 다시 tell 함수를 사용해 위치를 확인해 보았더니 0이란 값이 나왔습니다. 이어서 12행의 readline 함수를 사용한 뒤에, 14행에서 tell 함수를 사용해 보았더니 파일의 위치가 8임을 알 수 있었습니다. 이해 되시죠? 이쯤이면 파일을 읽거나 쓰는법, 그리고 파일 위치(파일 포인터)를 어느정도 응용하여 사용할 수도 있을 것입니다.</p><p><br></p><p><div class="article" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="tt_article_useless_p_margin" style="box-sizing: border-box;"></div></div></p><div class="titleWrap" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="underTitle" style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: bold;">출처 : <a href="http://blog.eairship.kr/" target="_blank" style="box-sizing: border-box; background-color: transparent; color: rgb(102, 102, 102); text-decoration: none;">http://blog.eairship.kr</a></span></div></div></div></div><div id="entry293Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/293" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
[펌]파이썬 강좌 10-1편. 입출력(I/O)
http://www.webprogramer.kr/blog/P000000324/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 10-1편. 입출력(I/O)</span></blockquote>
</div>
<div class="article">
<div class="tt_article_useless_p_margin"><p style="FLOAT: none; TEXT-ALIGN: center; CLEAR: none"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile3.uf.tistory.com/image/2204A03852AAE3112EBBF5" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p>
<div class="txc-textbox" style="BORDER-TOP: rgb(193,193,193) 1px solid; BORDER-RIGHT: rgb(193,193,193) 1px solid; BORDER-BOTTOM: rgb(193,193,193) 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: rgb(193,193,193) 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: rgb(238,238,238)">
<p><b><span style="FONT-SIZE: 18pt">1. 출력(Output)</span></b></p></div>
<p><br></p>
<p>오늘은 입력과 출력에 대해서 간단히 알아보도록 하겠습니다. 먼저 출력에 대해서 알아보도록 하겠는데요, 우리는 이미 화면에 무언가를 출력할 때 사용하는 함수는 'print' 함수 라는 것을 알고 있습니다. 이전 강좌에서는 간단히 화면을 출력하는 기능을 담당하는 함수라고 알고 있었지만, 이번에는 더 자세히 파고들어 보도록 하겠습니다.</p><div><div id="highlighter_563083" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python value">3.14</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python value">3.14</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">'Hello, World!'</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python plain">Hello, World!</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> t </code><code class="python keyword">=</code> <code class="python string">'variable'</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(t)</code></div><div class="line number7 index6 alt2"><code class="python plain">variable</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제 그대로 print 함수에 넘겨주는 인자를 출력하고 있음을 확인하실 수 있습니다. 우리는 문자열과 문자열을 서로 연결하고 싶을때는 공백을 사용해서 연결할 수 있었는데, '+' 연산자를 사용해서도 문자열을 서로 연결할 수 있습니다. 아래의 두 방식은 완전히 동일한 결과값을 보여줍니다.</p><div><div id="highlighter_992049" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">'Hello,'</code> <code class="python string">' World!'</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">Hello, World!</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">'Hello,'</code> <code class="python keyword">+</code> <code class="python string">' World!'</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python plain">Hello, World!</code></div></div></td></tr></tbody></table></div></div>
<p>만약에, 두 문자열 사이에 띄어쓰기를 넣고 싶다면 콤마(,)를 이용하셔도 동일한 결과값을 보여줍니다. 이 경우는 구분자(sep)의 기본값이 공백이라 따로 sep를 지정하지 않는 이상 콤마를 사용한 곳에 공백이 들어가는 것입니다.</p><div><div id="highlighter_917210" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">'Hello,'</code><code class="python plain">, </code><code class="python string">'World!'</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">Hello, World!</code></div></div></td></tr></tbody></table></div></div>
<p>우리가 직접 구분자를 바꿀수도 있으며, 아래와 같이 구분자 말고도 끝에 들어가는 문자를 변경할 수 있습니다. 기본적으로 구분자는 위에서 말했듯이 공백이 기본으로 들어가며, 끝문자는 기본적으로 줄바꿈(\n)이 들어갑니다.</p><div><div id="highlighter_368457" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">'안녕하세요'</code><code class="python plain">, </code><code class="python string">'반갑습니다'</code><code class="python plain">, sep</code><code class="python keyword">=</code><code class="python string">'~'</code><code class="python plain">, end</code><code class="python keyword">=</code><code class="python string">'!'</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">안녕하세요~반갑습니다!</code></div></div></td></tr></tbody></table></div></div>
<p>이 강좌글을 읽고 계시는 독자분들 사이에서, C언어를 이미 공부하신 분들도 있으실텐데 C언어의 형식으로 출력하고 싶으시다면 아래와 같이 '%'를 사용해주시면 됩니다.</p><div><div id="highlighter_231768" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">'%d*%d=%d'</code> <code class="python keyword">%</code> <code class="python plain">(</code><code class="python value">10</code><code class="python plain">, </code><code class="python value">20</code><code class="python plain">, </code><code class="python value">10</code><code class="python keyword">*</code><code class="python value">20</code><code class="python plain">))</code></div><div class="line number2 index1 alt1"><code class="python value">10</code><code class="python keyword">*</code><code class="python value">20</code><code class="python keyword">=</code><code class="python value">200</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">'%d/%d=%d'</code> <code class="python keyword">%</code> <code class="python plain">(</code><code class="python value">100</code><code class="python plain">, </code><code class="python value">30</code><code class="python plain">, </code><code class="python value">100</code><code class="python keyword">/</code><code class="python value">30</code><code class="python plain">))</code></div><div class="line number4 index3 alt1"><code class="python value">100</code><code class="python keyword">/</code><code class="python value">30</code><code class="python keyword">=</code><code class="python value">3</code></div></div></td></tr></tbody></table></div></div>
<p> </p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">2. 입력(Input)</span></strong></p></div>
<p> </p>
<p>이어서 입력(Input)에 대해서 알아보도록 하겠습니다. 위에선 화면에 출력하는 방법을 알아보았다면, 이번에는 입력하는 방법을 알아보도록 할텐데 파이썬에서는 'input'이란 함수를 사용하여 입력을 받을 수 있습니다. 이 함수의 반환값은 사용자가 입력한 문자열 객체가 반환되며, 인자로는 프롬프트(prompt)라고 해서 화면에 출력될 문장을 지정할 수 있는데 이것은 생략 가능한 인자로써 생략해도 상관이 없습니다.</p><div><div id="highlighter_999550" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> inp </code><code class="python keyword">=</code> <code class="python functions">input</code><code class="python plain">(</code><code class="python string">'input: '</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python functions">input</code><code class="python plain">: exynoa</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(inp)</code></div><div class="line number4 index3 alt1"><code class="python plain">exynoa</code></div></div></td></tr></tbody></table></div></div>
<p>위에서 말했듯이, 인자를 생략해도 결과에는 변함이 없습니다.</p><div><div id="highlighter_755018" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> inp </code><code class="python keyword">=</code> <code class="python functions">input</code><code class="python plain">()</code></div><div class="line number2 index1 alt1"><code class="python plain">exynoa</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(inp)</code></div><div class="line number4 index3 alt1"><code class="python plain">exynoa</code></div></div></td></tr></tbody></table></div></div><p><br></p><p><span style="font-weight: bold;">출처 : </span><a href="http://blog.eairship.kr/" target="_blank" style="background-color: rgb(255, 255, 255); font-weight: bold;">http://blog.eairship.kr</a><br></p></div></div><div id="entry290Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/290" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
[펌]파이썬 강좌 9편. 모듈(Module)
http://www.webprogramer.kr/blog/P000000323/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 9편. 모듈(Module)</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: start; float: none; clear: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile26.uf.tistory.com/image/213B5437527F8C6311FAD1" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">1. 모듈(Module)</span></strong></p></div>
<p> </p>
<p>이번에는 모듈(Module)에 대해서 알아보도록 하겠습니다. 파이썬에서의 모듈이란 변수, 클래스, 함수 등과 같은 여러 코드를 한곳에 모아놓은 코드의 모음이라고 할 수 있습니다. 이런 모듈이라는 것을 만들어 놓으면 계속 사용할 수 있으므로 코드의 재사용성을 극대화 시킬 수 있으며, 연관성이 있는 것들을 모듈 단위로 분리하여 효율성을 높일 수 있습니다. 모듈의 장점에 대해서는 차차 알아가보도록 하고, 먼저 모듈을 불러오는 방법부터 알아보도록 하겠습니다. 이 모듈이라는 것을 가져오려면 'import'라는 키워드를 통해 모듈을 불러올 수 있습니다. 아래와 같이 말입니다.</p><div><div id="highlighter_837903" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">import</code> <code class="python plain">모듈명</code></div></div></td></tr></tbody></table></div></div>
<p>우리가 직접 모듈을 만들어 보기 전에, 파이썬에 기본으로 내장된 모듈을 불러와, 그 모듈의 기능을 한번 이용해보도록 합시다. 한번, math라는 내장 모듈을 불러와서 dir 함수를 아래와 같이 사용해보세요.</p><div><div id="highlighter_731906" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">import</code> <code class="python plain">math</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python functions">dir</code><code class="python plain">(math)</code></div><div class="line number3 index2 alt2"><code class="python plain">[</code><code class="python string">'__doc__'</code><code class="python plain">, </code><code class="python string">'__loader__'</code><code class="python plain">, </code><code class="python string">'__name__'</code><code class="python plain">, </code><code class="python string">'__package__'</code><code class="python plain">, </code><code class="python string">'acos'</code><code class="python plain">, </code><code class="python string">'acosh'</code><code class="python plain">, </code><code class="python string">'asin'</code><code class="python plain">, </code><code class="python string">'asinh'</code><code class="python plain">, </code><code class="python string">'atan'</code><code class="python plain">, </code><code class="python string">'atan2'</code><code class="python plain">, </code><code class="python string">'atanh'</code><code class="python plain">, </code><code class="python string">'ceil'</code><code class="python plain">, </code><code class="python string">'copysign'</code><code class="python plain">, </code><code class="python string">'cos'</code><code class="python plain">, </code><code class="python string">'cosh'</code><code class="python plain">, </code><code class="python string">'degrees'</code><code class="python plain">, </code><code class="python string">'e'</code><code class="python plain">, </code><code class="python string">'erf'</code><code class="python plain">, </code><code class="python string">'erfc'</code><code class="python plain">, </code><code class="python string">'exp'</code><code class="python plain">, </code><code class="python string">'expm1'</code><code class="python plain">, </code><code class="python string">'fabs'</code><code class="python plain">, </code><code class="python string">'factorial'</code><code class="python plain">, </code><code class="python string">'floor'</code><code class="python plain">, </code><code class="python string">'fmod'</code><code class="python plain">, </code><code class="python string">'frexp'</code><code class="python plain">, </code><code class="python string">'fsum'</code><code class="python plain">, </code><code class="python string">'gamma'</code><code class="python plain">, </code><code class="python string">'hypot'</code><code class="python plain">, </code><code class="python string">'isfinite'</code><code class="python plain">, </code><code class="python string">'isinf'</code><code class="python plain">, </code><code class="python string">'isnan'</code><code class="python plain">, </code><code class="python string">'ldexp'</code><code class="python plain">, </code><code class="python string">'lgamma'</code><code class="python plain">, </code><code class="python string">'log'</code><code class="python plain">, </code><code class="python string">'log10'</code><code class="python plain">, </code><code class="python string">'log1p'</code><code class="python plain">, </code><code class="python string">'log2'</code><code class="python plain">, </code><code class="python string">'modf'</code><code class="python plain">, </code><code class="python string">'pi'</code><code class="python plain">, </code><code class="python string">'pow'</code><code class="python plain">, </code><code class="python string">'radians'</code><code class="python plain">, </code><code class="python string">'sin'</code><code class="python plain">, </code><code class="python string">'sinh'</code><code class="python plain">, </code><code class="python string">'sqrt'</code><code class="python plain">, </code><code class="python string">'tan'</code><code class="python plain">, </code><code class="python string">'tanh'</code><code class="python plain">, </code><code class="python string">'trunc'</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>위와 같이 math라는 내장 모듈을 불러오고 나서, dir 함수를 사용하면 그 모듈 내에있는 여러가지 데이터라던지 함수를 알아낼 수 있습니다. 우선은 눈에 보이는 함수 이름들 중 몇가지만 한번 사용해보도록 합시다. 모듈 내에 있는 함수를 사용하려면 '모듈명.함수명'과 같이 사용합니다. 아래를 한번 보시죠.</p><div><div id="highlighter_53367" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> math.sin(</code><code class="python value">90</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python value">0.8939966636005579</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> math.</code><code class="python functions">pow</code><code class="python plain">(</code><code class="python value">2</code><code class="python plain">, </code><code class="python value">10</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python value">1024.0</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> math.pi</code></div><div class="line number6 index5 alt1"><code class="python value">3.141592653589793</code></div><div class="line number7 index6 alt2"><code class="python plain">>>> </code></div></div></td></tr></tbody></table></div></div>
<p>위를 보시면 알겠지만, 우리가 함수를 직접 정의하지 않아도 math라는 모듈을 불러와 그 모듈에 있는 함수들을 그대로 사용할 수 있다는 사실을 알 수 있습니다. 모듈이란 녀석이 상당히 편리하지 않습니까? 파이썬에서는 이런 수학과 관련된 모듈만이 존재하는게 아니라, 시간, 파일 등과 관련된 다양한 모듈이 존재합니다. 위와 같이 내장되어 있는 모듈도 있지만, 당연하게도 우리가 직접 모듈을 만들어서 불러와 사용할 수 있습니다. 이제는 직접 여러 개의 모듈을 만들어 보도록 하는 경험을 가져보도록 할 것 입니다.</p>
<p> </p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">2. 모듈의 정의</span></strong></p></div>
<p> </p>
<p>우리가 직접 모듈을 정의하여 불러내어 봅시다. 파이썬의 모듈은 사실 파일(.py)로 저장되어 있으며 우리가 위에서 사용한 내장 모듈도 파이썬이 설치되어 있는 디렉터리 내의 lib이라는 디렉터리에서 찾으실 수 있습니다. 간단하게 말하면, 파이썬에서 모듈을 정의한다는 것은 파일을 만든다는 의미입니다. 우선은 간단하게 사칙연산을 지원하는 모듈을 만들어 보도록 합시다. 이 모듈의 이름은 arithmetic로 하도록 합시다. 우선은 윈도우에 기본으로 내장되어 있는 메모장이나 워드패드 등과 같은 텍스트 편집기를 이용해서 모듈을 만들어 보도록 합시다. 모듈의 확장자는 아까 방금 말했듯이 .py니 전체적인 파일의 이름은 arithmetic.py가 됩니다.</p><div><div id="highlighter_672178" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">def</code> <code class="python plain">plus(a, b):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">return</code> <code class="python plain">a </code><code class="python keyword">+</code> <code class="python plain">b</code></div><div class="line number3 index2 alt2"><code class="python keyword">def</code> <code class="python plain">minus(a, b):</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">return</code> <code class="python plain">a </code><code class="python keyword">-</code> <code class="python plain">b</code></div><div class="line number5 index4 alt2"><code class="python keyword">def</code> <code class="python plain">div(a, b):</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python keyword">return</code> <code class="python plain">a </code><code class="python keyword">/</code> <code class="python plain">b</code></div><div class="line number7 index6 alt2"><code class="python keyword">def</code> <code class="python plain">mul(a, b):</code></div><div class="line number8 index7 alt1"><code class="python spaces"> </code><code class="python keyword">return</code> <code class="python plain">a </code><code class="python keyword">*</code> <code class="python plain">b</code></div></div></td></tr></tbody></table></div></div>
<p>이렇게 만드셨으면, 이 파일을 파이썬이 설치된 디렉터리 내에 있는 라이브러리 디렉터리에 옮겨보도록 합시다. 저 같은 경우는 C:\Python33\Lib가 파이썬 라이브러리 디렉터리 경로입니다. 이제 IDLE를 실행시켜서 만든 모듈을 불러와 보도록 합시다. </p><div><div id="highlighter_477545" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">import</code> <code class="python plain">arithmetic</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python functions">dir</code><code class="python plain">(arithmetic)</code></div><div class="line number3 index2 alt2"><code class="python plain">[</code><code class="python string">'__builtins__'</code><code class="python plain">, </code><code class="python string">'__cached__'</code><code class="python plain">, </code><code class="python string">'__doc__'</code><code class="python plain">, </code><code class="python string">'__file__'</code><code class="python plain">, </code><code class="python string">'__initializing__'</code><code class="python plain">, </code><code class="python string">'__loader__'</code><code class="python plain">, </code><code class="python string">'__name__'</code><code class="python plain">, </code><code class="python string">'__package__'</code><code class="python plain">, </code><code class="python string">'div'</code><code class="python plain">, </code><code class="python string">'minus'</code><code class="python plain">, </code><code class="python string">'mul'</code><code class="python plain">, </code><code class="python string">'plus'</code><code class="python plain">]</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> arithmetic.plus(</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python value">3</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> arithmetic.mul(</code><code class="python value">300</code><code class="python plain">, </code><code class="python value">400</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"><code class="python value">120000</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제처럼 import라는 키워드를 이용하여 우리가 만든 arithmetic이란 모듈을 불러올 수 있습니다. 기능이 모두 정상적으로 동작하고 있음을 확인하실 수 있습니다. 파이썬에서 모듈을 찾는 순서는 모듈이 이미 로딩되었는지 확인한 뒤에, 로딩되어 있지 않다면 파이썬 경로를 탐색하며 여기에도 존재하지 않으면 PYTHONPATH 환경변수에 등록된 경로에 들어가 탐색을 시작합니다. 만약 위처럼 모듈명을 같이 적지 않고도 바로 참조를 하려면 아래와 같이 import 구문을 사용하시면 됩니다.</p><div><div id="highlighter_655139" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">from</code> <code class="python plain">arithmetic </code><code class="python keyword">import</code> <code class="python plain">plus</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> plus(</code><code class="python value">100</code><code class="python plain">, </code><code class="python value">200</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python value">300</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> plus(</code><code class="python value">30</code><code class="python plain">, </code><code class="python value">400000</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python value">400030</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는 'from 모듈명 import 어트리뷰트'와 같은 형식으로 불러오면 해당 어트리뷰트는 모듈명을 적지 않고도 직접 함수를 참조할 수 있습니다. 여기서 어트리뷰트란 함수나 간단히 변수 등의 이름이라고 생각하시면 됩니다. 만약 모듈에 있는 모든 어트리뷰트를 불러오려면 아래와 같은 방식으로 사용하시면 됩니다.</p><div><div id="highlighter_536192" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">from</code> <code class="python plain">arithmetic </code><code class="python keyword">import</code> <code class="python keyword">*</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> plus(</code><code class="python value">100</code><code class="python plain">, </code><code class="python value">200</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python value">300</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> minus(</code><code class="python value">40</code><code class="python plain">, </code><code class="python value">20</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python value">20</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> mul(</code><code class="python value">40</code><code class="python plain">, </code><code class="python value">10002</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"><code class="python value">400080</code></div><div class="line number8 index7 alt1"><code class="python plain">>>> div(</code><code class="python value">500</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">)</code></div><div class="line number9 index8 alt2"><code class="python value">250.0</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서 'from 모듈명 import *'와 같은 식으로 쓰이면 arithmetic 모듈에 있는 모든 어트리뷰트를 불러옵니다. 이 경우에도 따로 모듈명을 적지 않고도 직접 참조가 가능하다는 사실을 알 수 있습니다. 유용하죠? 모듈에 대해 대충 알겠다시는 분들은 한번 이 외에도 직접 여러가지 모듈을 만들어서 불러와 모듈을 이용해보세요. 모두 수고하셨습니다.</p><p><br></p><p><span style="font-weight: bold;">출처 : </span><a href="http://blog.eairship.kr/" target="_blank" style="background-color: rgb(255, 255, 255); font-weight: bold;">http://blog.eairship.kr</a><br></p><p><br></p></div></div><div id="entry288Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/288" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
윈도우7 비밀번호 분실 초기화 방법
http://www.webprogramer.kr/blog/P000000305/post.do
<em><span style="font-size: 14px;"><strong>pc 지킴이로 비밀번호 변경을 하였는데</strong></span></em><p></p><p><em><span style="font-size: 14px;"><strong>변경된 비밀번호가 맞지 않다고 나와서</strong></span></em></p><p><em><span style="font-size: 14px;"><strong>아침부터 초기화 ㅠㅠ</strong></span></em><br></p><p><em><span style="font-size: 14px;"><strong><br></strong></span></em><strong><font color="#9c00ff"><span style="font-size: 18px;">그럼 간략하게 초기화 방법에 대해 알아보겠습니다.</span></font></strong><br></p><p><strong><span style="font-size: 14px;">준비물 : </span></strong><br></p><p><strong><span style="font-size: 14px;">1. USB 메모리 카드</span></strong><br></p><p><strong><span style="font-size: 14px;">2. Rufus 라는 프로그램 다운로드 설치</span></strong><br></p><p> <a href="http://www.techspot.com/downloads/6062-rufus.html" target="_blank"><strong><font color="#085294"><u>다운로드 경로 --> http://www.techspot.com/downloads/6062-rufus.html</u></font></strong></a><br></p><p><strong>3. 윈도우7 ISO 이미지 파일</strong><br></p><hr><p><strong><span style="font-size: 14px;">초기화</span></strong><br></p><p><strong><span style="font-size: 14px;">1. USB 메모리 카드를 해당 PC에 연결</span></strong><br></p><p><strong><span style="font-size: 14px;">2. 설치한 </span></strong><strong>Rufus 프로그램을 실행하고 윈도우7 이미지 지정 하고 시작 클릭해서</strong><br></p><p><strong> 윈도우7 부팅 USB를 만든다</strong><br></p><p><span style="font-size: 14px;"><strong>3. USB 메모리 카드를 해당 PC에 연결</strong></span><br></p><p><strong><span style="font-size: 14px;">4. 윈도우 CMOS 부팅 순서를 USB가 제일먼저 오도록 변경</span></strong><br></p><p><strong><span style="font-size: 14px;"><font color="#000000">5. 윈도우 설치 화면이 나오면 <font color="#ff0000">Shift + F10</font> 을 눌러준다.</font></span></strong><br></p><p><img class="img-thumbnail" style="width: 555.46px; height: 364.6px;" src="http://www.webprogramer.kr/upload/blog/editor/1484700435283473448.png" data-filename="1484700435283473448.png"></p><p><strong><span style="font-size: 14px;">cmd 창이 나타 나면 </span></strong><span style="font-size: 14px;"><strong>명령어창에 아래 실행</strong></span><br></p><p><strong><span style="font-size: 14px;"><font color="#ff0000">copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe</font></span></strong><br></p><p><strong><span style="font-size: 14px;"><font color="#ff0000"><font color="#ff00ff">(윈도우 드라이브가 c 드라이브가 아닐수도 있습니다.)</font></font></span></strong><br></p><p><strong><span style="font-size: 14px;"><font color="#ff0000"><font color="#ff0000">덮어쓰시겠습니까? yes</font></font></span></strong></p>
<p><img style="width: 556.24px; height: 374.1px;" src="http://www.webprogramer.kr/upload/blog/editor/1484701891720721418.PNG" data-filename="1484701891720721418.PNG">
<p><strong>6. cmd창 종료 하고 윈도우를 재부팅 한다.</strong><br></p><p><strong>7. 윈도우 로그인 화면에서 <font color="#ff0000">Shift <font color="#000000">키를 여러번 누르면 cmd 창이 나타난다.</font></font></strong><br></p><p><strong><font color="#ff0000"><font color="#000000">8. <font color="#ff0000">net user admin 1234</font></font></font></strong><br></p><p><strong><font color="#ff0000"><font color="#000000"><font color="#ff0000"> ( admin은 해당 유저ID 이고 비밀번호는 1234 이다.)</font></font></font></strong><br></p><p><img style="width: 555.5px; height: 380.12px;" src="http://www.webprogramer.kr/upload/blog/editor/1484701652484173253.PNG" data-filename="1484701652484173253.PNG"></p><p><strong>9. cmd창 종료후 윈도우 로그인 성공</strong><br></p><p><br></p>
[펌]파이썬 강좌 8-4편. 연산자 오버로딩(Operator Overloading)
http://www.webprogramer.kr/blog/P000000322/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><a href="/287"><span style="font-size: 24px;">파이썬 강좌 8-4편. 연산자 오버로딩(Operator Overloading)</span></a></blockquote>
<div class="underTitle"><img src="http://cfile10.uf.tistory.com/image/253A764B5274DB7824300F" width="601" height="203" filename="python_logo.png" filemime="image/jpeg" style="max-width: 100%; height: auto;"><br></div></div><div class="article"><div class="tt_article_useless_p_margin">
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">1. 연산자 오버로딩(Operator Overloading)</span></strong></p></div>
<p> </p><p>이번에는 연산자 오버로딩(Operator Overloading)에 대해서 알아보려고 합니다. 이 연산자 오버로딩이란, 인스턴스 객체끼리 서로 연산을 할 수 있게끔 기존에 있는 연산자의 기능을 바꾸어 중복으로 정의하는 것을 말합니다. 예를 들어보자면, 아래와 같은 경우를 생각해 볼 수 있겠죠?</p>
<div><div id="highlighter_567633" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">NumBox:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">, num):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Num </code><code class="python keyword">=</code> <code class="python plain">num</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code> </div><div class="line number5 index4 alt2"><code class="python plain">>>> n </code><code class="python keyword">=</code> <code class="python plain">NumBox(</code><code class="python value">40</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> n </code><code class="python keyword">+</code> <code class="python value">100</code></div><div class="line number7 index6 alt2"><code class="python plain">Traceback (most recent call last):</code></div><div class="line number8 index7 alt1"><code class="python spaces"> </code><code class="python functions">File</code> <code class="python string">"<pyshell#5>"</pyshell#5></code><code class="python plain">, line </code><code class="python value">1</code><code class="python plain">, </code><code class="python keyword">in</code> <code class="python plain"><module></module></code></div><div class="line number9 index8 alt2"><code class="python spaces"> </code><code class="python plain">n </code><code class="python keyword">+</code> <code class="python value">100</code></div><div class="line number10 index9 alt1"><code class="python plain">TypeError: unsupported operand </code><code class="python functions">type</code><code class="python plain">(s) </code><code class="python keyword">for</code> <code class="python keyword">+</code><code class="python plain">: </code><code class="python string">'NumBox'</code> <code class="python keyword">and</code> <code class="python string">'int'</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면, 인스턴스 객체 n에 '+' 연산자를 사용하여 100을 더하려는 코드가 보이는데 이는 지원되지 않는 연산 타입이므로 NumBox와 int간의 연산을 수행하기 힘들다는 것입니다. 그렇다면 + 연산자를 사용하여 성공적으로 클래스 NumBox 내에 있는 변수 Num의 값을 증가시키려면 어떻게 해야 할까요? 바로 우리가 배우게 될 연산자 오버로딩이란 기법을 이용하면 됩니다. 파이썬에서는 인스턴스 객체의 연산을 위해 여러가지 연산자를 미리 정의해두었는데, 이를 표로 정리하여 아래에 작성해두었습니다.</p><p style="text-align: center;"><br></p><p style="text-align: center;"></p><table class="txc-table" width="584" cellspacing="0" cellpadding="0" border="0" style="border:none;border-collapse:collapse;font-size:12px" align="center"><tbody><tr><td style="width: 194px; height: 24px; border: 1px solid rgb(204, 204, 204); background-color: rgb(234, 234, 234);"><p style="text-align: center;"><b>메서드(Method)</b></p></td>
<td style="width: 194px; height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(234, 234, 234);"><p style="text-align: center;"><b>연산자(Operator)</b></p></td>
<td style="width: 194px; height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(234, 234, 234);"><p style="text-align: center;"><b>사용 예</b></p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__add__(self, other)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">+ (이항)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">A + B, A += B</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__pos__(self)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">+ (단항)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">+A</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__sub__(self, other)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">- (이항)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">A - B, A -= B</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__neg__(self)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">- (단항)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">-A</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__mul__(self, other)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">*</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">A * B, A *= B</p></td>
</tr>
<tr><td style="width: 194px; height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204);"><p style="text-align: center;">__truediv__(self, other)</p></td>
<td style="width: 194px; height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204);"><p style="text-align: center;">/</p></td>
<td style="width: 194px; height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204);"><p style="text-align: center;">A / B, A /= B</p></td>
</tr>
<tr><td style="width: 194px; height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204);"><p style="text-align: center;">__floordiv__(self, other)</p></td>
<td style="width: 194px; height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204);"><p style="text-align: center;">//</p></td>
<td style="width: 194px; height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204);"><p style="text-align: center;">A // B, A //= B</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__mod__(self, other)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">%</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">A % B, A %= B</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__pow__(self, other)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">pow(), **</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">pow(A, B), A ** B</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__lshift__(self, other)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;"><<</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">A << B, A <<= B</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__rshift__(self, other)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">>></p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">A >> B, A >>= B</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__and__(self, other)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">&</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">A & B, A &= B</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__xor__(self, other)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">^</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">A ^ B, A ^= B</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__or__(self, other) </p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">|</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">A | B, A |= B</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__invert__(self)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">~</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">~A</p></td>
</tr>
<tr><td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">__abs__(self)</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">abs()</p></td>
<td style="width:194;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">abs(A)</p></td>
</tr>
</tbody></table><p></p><p style="text-align: center;"><b><span style="color: rgb(255, 0, 127);"><미리 정의된 </span><span style="color: rgb(255, 0, 127);">수치 연산자></span></b></p><p><br></p><p>파이썬에서 미리 정의된 함수를 중복 정의하여 우리가 정의한 동작을 수행하게 하도록 합시다. 아래 예제에서는 +와 - 연산자를 오버로딩하여 인스턴스 객체에 연산자를 사용합니다. 천천히 살펴봅시다.</p>
<div><div id="highlighter_662436" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">NumBox:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">, num):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Num </code><code class="python keyword">=</code> <code class="python plain">num</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__add__(</code><code class="python color1">self</code><code class="python plain">, num):</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Num </code><code class="python keyword">+</code><code class="python keyword">=</code> <code class="python plain">num</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__sub__(</code><code class="python color1">self</code><code class="python plain">, num):</code></div><div class="line number7 index6 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Num </code><code class="python keyword">-</code><code class="python keyword">=</code> <code class="python plain">num</code></div><div class="line number8 index7 alt1"> </div><div class="line number9 index8 alt2"><code class="python plain">>>> n </code><code class="python keyword">=</code> <code class="python plain">NumBox(</code><code class="python value">40</code><code class="python plain">)</code></div><div class="line number10 index9 alt1"><code class="python plain">>>> n </code><code class="python keyword">+</code> <code class="python value">100</code></div><div class="line number11 index10 alt2"><code class="python plain">>>> n.Num</code></div><div class="line number12 index11 alt1"><code class="python value">140</code></div><div class="line number13 index12 alt2"><code class="python plain">>>> n </code><code class="python keyword">-</code> <code class="python value">110</code></div><div class="line number14 index13 alt1"><code class="python plain">>>> n.Num</code></div><div class="line number15 index14 alt2"><code class="python value">30</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면 클래스 NumBox 내에 미리 정의된 함수인 __add__, __sub__를 중복 정의하였습니다. 만약, 우리의 예상대로라면 NumBox의 인스턴스 객체에 + 연산자가 쓰였을때는 클래스 내에 있는 Num의 값이 지정한 수만큼 증가하여야 하며, - 연산자가 쓰였을때는 Num의 값이 지정된 수만큼 감소하여야 합니다. 10행을 보시면 인스턴스 객체 n에 100을 더하는 연산을 하고 있으며, 그 후 n.Num의 값을 보자 40에서 100이 증가된 140이란 결과값을 확인하실 수 있습니다. 마찬가지로 13행에서도, 인스턴스 객체 n에 110을 빼는 연산을 하고 있으며 그 후 n.Num의 값이 140에서 110이 감소되어 30이란 값을 확인하실 수 있습니다.</p><p><br></p><p>한가지 더 알아보자면, 위 예제에서 'n + 100'과 같은 연산은 사실상 우리가 중복 정의한 함수가 호출되는 것입니다. 이런 연산은 아래와 같이 호출된다고 생각하시면 됩니다.</p>
<div><div id="highlighter_940242" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">n.__add__(</code><code class="python value">100</code><code class="python plain">)</code></div></div></td></tr></tbody></table></div></div>
<p>만약에, 피연산자의 순서를 앞뒤로 바꾸어도 우리가 원하는 결과값을 얻어낼 수 있을까요? 한번 아래의 예제를 통해 알아보도록 하겠습니다.</p>
<div><div id="highlighter_46651" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python value">110</code> <code class="python keyword">+</code> <code class="python plain">n</code></div><div class="line number2 index1 alt1"><code class="python plain">Traceback (most recent call last):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python functions">File</code> <code class="python string">"<pyshell#20>"</pyshell#20></code><code class="python plain">, line </code><code class="python value">1</code><code class="python plain">, </code><code class="python keyword">in</code> <code class="python plain"><module></module></code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python value">110</code> <code class="python keyword">+</code> <code class="python plain">n</code></div><div class="line number5 index4 alt2"><code class="python plain">TypeError: unsupported operand </code><code class="python functions">type</code><code class="python plain">(s) </code><code class="python keyword">for</code> <code class="python keyword">+</code><code class="python plain">: </code><code class="python string">'int'</code> <code class="python keyword">and</code> <code class="python string">'NumBox'</code></div></div></td></tr></tbody></table></div></div>
<p>이게 왠일입니까? 피연산자의 순서를 바꾸었더니 우리가 원하는 결과값은 온데간데 없고, 지원되지 않는 연산 타입이란 타입 에러만 떡하니 자리를 차지하고 있습니다. 왜 이런가하니, 위와 같이 인스턴스 객체가 오른쪽으로 이동하면 __add__ 함수가 호출되는게 아니라 __radd__ 함수가 호출되기 때문입니다. 그렇기 때문에, __radd__도 역시 정의해 주어야 위와 같은 연산에서 에러가 발생하지 않습니다.</p><p><br></p><p>이렇게 피연산자의 순서가 뒤바뀐 경우에는 아래와 같이 연산자 이름앞에 'r'을 붙여주면 됩니다. 예를들면, 아래와 같이 말이죠.</p>
<div><div id="highlighter_807511" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">__add__ </code><code class="python keyword">=</code> <code class="python plain">__radd__</code></div><div class="line number2 index1 alt1"><code class="python plain">__sub__ </code><code class="python keyword">=</code> <code class="python plain">__rsub__</code></div><div class="line number3 index2 alt2"><code class="python plain">__mul__ </code><code class="python keyword">=</code> <code class="python plain">__rmul__</code></div></div></td></tr></tbody></table></div></div>
<p>이제 왜 에러가 발생하는지 알았으니, 위와 같이 앞에 'r'이 붙은 연산자를 정의하여 예제를 한번 고쳐보도록 하겠습니다. </p>
<div><div id="highlighter_369582" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">NumBox:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">, num):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Num </code><code class="python keyword">=</code> <code class="python plain">num</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__add__(</code><code class="python color1">self</code><code class="python plain">, num):</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Num </code><code class="python keyword">+</code><code class="python keyword">=</code> <code class="python plain">num</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__radd__(</code><code class="python color1">self</code><code class="python plain">, num):</code></div><div class="line number7 index6 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Num </code><code class="python keyword">+</code><code class="python keyword">=</code> <code class="python plain">num</code></div><div class="line number8 index7 alt1"> </div><div class="line number9 index8 alt2"><code class="python plain">>>> n </code><code class="python keyword">=</code> <code class="python plain">NumBox(</code><code class="python value">100</code><code class="python plain">)</code></div><div class="line number10 index9 alt1"><code class="python plain">>>> </code><code class="python value">120</code> <code class="python keyword">+</code> <code class="python plain">n</code></div><div class="line number11 index10 alt2"><code class="python plain">>>> n.Num</code></div><div class="line number12 index11 alt1"><code class="python value">220</code></div><div class="line number13 index12 alt2"><code class="python plain">>>> </code><code class="python value">300</code> <code class="python keyword">+</code> <code class="python plain">n</code></div><div class="line number14 index13 alt1"><code class="python plain">>>> n.Num</code></div><div class="line number15 index14 alt2"><code class="python value">520</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면 클래스 NumBox 내에 __radd__가 중복 정의된 것을 보실 수 있습니다. 10행에서 피연산자의 순서를 바꾸어 + 연산을 진행하고 있는데, 아무런 에러 없이 우리가 생각하던 결과를 표시하고 있습니다. 독자분들도 위의 표에 있는 함수를 중복 정의하여 여러가지 예제를 만들어가면서 연산자 오버로딩에 대한 경험을 쌓고 이해를 해보시는걸 권장합니다.</p><p><br></p><p></p><div class="article" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="tt_article_useless_p_margin" style="box-sizing: border-box;"></div></div><p></p><div class="titleWrap" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="underTitle" style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: bold;">출처 : <a href="http://blog.eairship.kr/" target="_blank" style="box-sizing: border-box; background-color: transparent; color: rgb(102, 102, 102); text-decoration: none;">http://blog.eairship.kr</a></span></div></div></div></div><div id="entry287Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/287" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
[펌]파이썬 강좌 8-3편. 상속(Inheritance)
http://www.webprogramer.kr/blog/P000000321/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><a href="/286"><span style="font-size: 24px;">파이썬 강좌 8-3편. 상속(Inheritance)</span></a></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="FLOAT: none; TEXT-ALIGN: center; CLEAR: none"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile6.uf.tistory.com/image/225BBF38526CD4FB2D5E16" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">1. 상속(Inheritance)</span></strong></p></div>
<p> </p>
<p>오늘은 클래스의 상속(Inheritance)에 대해 알아보려고 합니다. 상속이란 무엇일까요? 우리가 알고 있는 상속은 사전적 정의에 따르면 "일정한 친족적 관계가 있는 사람 사이에 한 쪽이 사망하거나 법률상의 원인이 발생하였을 때 재산적 또는 친족적 권리와 의무를 계승하는 제도"와 같습니다. 그런데 이 상속이란 개념이 파이썬의 클래스에도 존재합니다. 쉽게 말해서, 부모의 유산을 자식이 물려 받듯이 부모 클래스와 자식 클래스라는 것이 존재하여 부모 클래스의 멤버를 자식 클래스가 물려받을 수 있습니다.</p>
<p style="FLOAT: none; TEXT-ALIGN: center; CLEAR: none"><span class="imageblock" style="display:inline-block;width:320px;HEIGHT: 246px; WIDTH: 320px;height:auto;max-width:100%"><span data-url="http://cfile23.uf.tistory.com/attach/270A9233526E3D7116114D" data-lightbox="lightbox"><img src="http://cfile23.uf.tistory.com/image/270A9233526E3D7116114D" style="cursor: pointer;max-width:100%;height:auto" width="320" height="246" filename="employee.png" filemime="image/jpeg"></span></span></p>
<p>위 그림처럼 상속 관계에 있다고 가정해봅시다. 먼저 사람(Person) 클래스는 부모가 되는 클래스이니 부모 클래스라고 말하고, 근로자(Employee) 클래스는 자식이 되는 클래스이니 자식 클래스라 말합니다. Employee 클래스는 어찌보면 Person의 영역 안에 속하는 것이므로 상속을 통해 Person 클래스의 멤버(함수, 데이터)를 물려받아 Employee 클래스에서 그대로 사용할 수 있습니다. 아직까지 상속이란 녀석이 어떤 녀석인지 모르시겠다면 아래의 예제를 우선 보도록 합시다.</p><div><div id="highlighter_456819" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div><div class="line number16 index15 alt1">16</div><div class="line number17 index16 alt2">17</div><div class="line number18 index17 alt1">18</div><div class="line number19 index18 alt2">19</div><div class="line number20 index19 alt1">20</div><div class="line number21 index20 alt2">21</div><div class="line number22 index21 alt1">22</div><div class="line number23 index22 alt2">23</div><div class="line number24 index23 alt1">24</div><div class="line number25 index24 alt2">25</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">Person:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">, name, age, gender):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Name </code><code class="python keyword">=</code> <code class="python plain">name</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Age </code><code class="python keyword">=</code> <code class="python plain">age</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Gender </code><code class="python keyword">=</code> <code class="python plain">gender</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">aboutMe(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number7 index6 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"저의 이름은 "</code> <code class="python keyword">+</code> <code class="python color1">self</code><code class="python plain">.Name </code><code class="python keyword">+</code> <code class="python string">"이구요, 제 나이는 "</code> <code class="python keyword">+</code> <code class="python color1">self</code><code class="python plain">.Age </code><code class="python keyword">+</code> <code class="python string">"살 입니다."</code><code class="python plain">)</code></div><div class="line number8 index7 alt1"><code class="python spaces"> </code> </div><div class="line number9 index8 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">Employee(Person):</code></div><div class="line number10 index9 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">, name, age, gender, salary, hiredate):</code></div><div class="line number11 index10 alt2"><code class="python spaces"> </code><code class="python plain">Person.__init__(</code><code class="python color1">self</code><code class="python plain">, name, age, gender)</code></div><div class="line number12 index11 alt1"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Salary </code><code class="python keyword">=</code> <code class="python plain">salary</code></div><div class="line number13 index12 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Hiredate </code><code class="python keyword">=</code> <code class="python plain">hiredate</code></div><div class="line number14 index13 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">doWork(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number15 index14 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"열심히 일을 합니다."</code><code class="python plain">)</code></div><div class="line number16 index15 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">aboutMe(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number17 index16 alt2"><code class="python spaces"> </code><code class="python plain">Person.aboutMe(</code><code class="python color1">self</code><code class="python plain">)</code></div><div class="line number18 index17 alt1"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"제 급여는 "</code> <code class="python keyword">+</code> <code class="python color1">self</code><code class="python plain">.Salary </code><code class="python keyword">+</code> <code class="python string">"원 이구요, 제 입사일은 "</code> <code class="python keyword">+</code> <code class="python color1">self</code><code class="python plain">.Hiredate </code><code class="python keyword">+</code> <code class="python string">" 입니다."</code><code class="python plain">)</code></div><div class="line number19 index18 alt2"> </div><div class="line number20 index19 alt1"><code class="python plain">>>> objectEmployee </code><code class="python keyword">=</code> <code class="python plain">Employee(</code><code class="python string">"김철수"</code><code class="python plain">, </code><code class="python string">"18"</code><code class="python plain">, </code><code class="python string">"남"</code><code class="python plain">, </code><code class="python string">"5000000"</code><code class="python plain">, </code><code class="python string">"2013년 10월 28일"</code><code class="python plain">)</code></div><div class="line number21 index20 alt2"><code class="python plain">>>> objectEmployee.doWork()</code></div><div class="line number22 index21 alt1"><code class="python plain">열심히 일을 합니다.</code></div><div class="line number23 index22 alt2"><code class="python plain">>>> objectEmployee.aboutMe()</code></div><div class="line number24 index23 alt1"><code class="python plain">저의 이름은 김철수이구요, 제 나이는 </code><code class="python value">18</code><code class="python plain">살 입니다.</code></div><div class="line number25 index24 alt2"><code class="python plain">제 급여는 </code><code class="python value">5000000</code><code class="python plain">원 이구요, 제 입사일은 </code><code class="python value">2013</code><code class="python plain">년 </code><code class="python value">10</code><code class="python plain">월 </code><code class="python value">28</code><code class="python plain">일 입니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면, Person이란 클래스와 Person 클래스를 상속받는 Employee 클래스가 정의되어 있습니다. 아직은 모르는 것 투성이지만, 차근차근 예제의 코드를 살펴보도록 합시다. 우선은 Person 클래스의 내부부터 보도록 합시다. Person 클래스의 생성자에서는 이름, 나이, 성별을 인자로 넘겨받고 self.Name, self.Age, self.Gender의 값을 초기화 시키는 것을 보실 수 있습니다. 또한 aboutMe라는 함수는 이름과 나이를 출력하는 함수입니다. 그 다음으로 Employee 클래스를 보도록 합시다.</p><div><div id="highlighter_33322" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">Employee(Person):</code></div></div></td></tr></tbody></table></div></div>
<p>이 부분을 자세히 보시면, 클래스 이름 뒤에 괄호가 등장하여 괄호 안에 클래스 이름이 또다시 등장하는 것을 보실 수 있습니다. 이것은 Employee 클래스가 Person 클래스를 상속받는다는 의미이며, 이는 아래와 같이 표현이 된다는 것을 알 수 있습니다.</p><div><div id="highlighter_791117" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">class</code> <code class="python plain">클래스명(상속받을 클래스명):</code></div></div></td></tr></tbody></table></div></div>
<p>그리고 Employee 클래스가 Person 클래스를 상속받으니, Employee 클래스는 멤버를 물려받는 자식 클래스라 말할 수 있으며 Person 클래스는 멤버를 물려주는 부모 클래스라고 말할 수 있습니다. 이어서 Employee 클래스의 생성자 부분을 보도록 합시다. 생성자 부분을 보시면 특이한 부분을 보실 수 있는데, 한번 같이 보도록 합시다.</p><div><div id="highlighter_416971" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">...</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">, name, age, gender, salary, hiredate):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">Person.__init__(</code><code class="python color1">self</code><code class="python plain">, name, age, gender)</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Salary </code><code class="python keyword">=</code> <code class="python plain">salary</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.Hiredate </code><code class="python keyword">=</code> <code class="python plain">hiredate</code></div><div class="line number6 index5 alt1"><code class="python plain">...</code></div></div></td></tr></tbody></table></div></div>
<p>위의 생성자에선 이름, 나이, 성별, 급여, 입사일을 인자로 넘겨받는다는 것을 보실 수 있습니다. 그런데 특이한건, 위 코드의 3행을 보시면 부모 클래스의 생성자를 호출하면서 넘겨받은 인자를 부모 클래스의 생성자로 넘겨주는데, 이는 명시적으로 Person 클래스의 생성자를 호출하는 방법입니다. (여기서는 'self'를 함께 전달해야 합니다) 이어서, Employee 클래스의 aboutMe 함수를 보도록 하겠습니다.</p><div><div id="highlighter_651501" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">...</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">aboutMe(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">Person.aboutMe(</code><code class="python color1">self</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"제 급여는 "</code> <code class="python keyword">+</code> <code class="python color1">self</code><code class="python plain">.Salary </code><code class="python keyword">+</code> <code class="python string">"원 이구요, 제 입사일은 "</code> <code class="python keyword">+</code> <code class="python color1">self</code><code class="python plain">.Hiredate </code><code class="python keyword">+</code> <code class="python string">" 입니다."</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python plain">...</code></div></div></td></tr></tbody></table></div></div>
<p>위의 aboutMe 함수를 살펴보시면 이 함수에서도 명시적으로 Person 클래스의 aboutMe 함수를 호출하는 것을 보실 수 있습니다. 부모 클래스의 aboutMe 함수가 호출되고 나서는 급여와 입사일을 출력합니다. 이렇게 보니, 참으로 상속이란 특징이 쓸모있다고 여겨지지 않나요? 이 상속이란 특징을 이용하면, 유지 보수가 쉬워지거나 중복되는 코드가 적어지는 등의 장점이 존재합니다. 위의 예제처럼 한개의 클래스를 상속받는 경우도 있지만, 두개 이상의 클래스를 상속 받는 경우도 있을 수 있습니다. 한번 보실까요?</p>
<p> </p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">2. 다중 상속(M</span><span style="FONT-SIZE: 18pt">ultiple I</span><span style="FONT-SIZE: 18pt">nheritance)</span></strong></p></div>
<p> </p>
<p>다중 상속이란 두개 이상의 클래스를 상속받는 것을 말하는데, 이 경우에는 두 클래스의 모든 속성을 물려받게 됩니다. 이는 하나의 자식 클래스가 두개 이상의 부모 클래스를 가지는 것이라고 할 수 있습니다. 아래 그림처럼 말입니다.</p>
<p style="FLOAT: none; TEXT-ALIGN: center; CLEAR: none"><span class="imageblock" style="display:inline-block;width:364px;;height:auto;max-width:100%"><img src="http://cfile3.uf.tistory.com/image/2112E34B526E56C70192D4" style="max-width:100%;height:auto" width="364" height="148" filename="K-10.png" filemime="image/jpeg"></span></p>
<p>다중 상속의 예제를 한번 보도록 합시다. 그리고 차근차근 예제의 코드를 살펴보도록 합시다.</p><div><div id="highlighter_571676" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div><div class="line number16 index15 alt1">16</div><div class="line number17 index16 alt2">17</div><div class="line number18 index17 alt1">18</div><div class="line number19 index18 alt2">19</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">ParentOne:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">func(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"ParentOne의 함수 호출!"</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code> </div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">ParentTwo:</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">func(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number7 index6 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"ParentTwo의 함수 호출!"</code><code class="python plain">)</code></div><div class="line number8 index7 alt1"><code class="python spaces"> </code> </div><div class="line number9 index8 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">Child(ParentOne, ParentTwo):</code></div><div class="line number10 index9 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">childFunc(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number11 index10 alt2"><code class="python spaces"> </code><code class="python plain">ParentOne.func(</code><code class="python color1">self</code><code class="python plain">)</code></div><div class="line number12 index11 alt1"><code class="python spaces"> </code><code class="python plain">ParentTwo.func(</code><code class="python color1">self</code><code class="python plain">)</code></div><div class="line number13 index12 alt2"><code class="python spaces"> </code> </div><div class="line number14 index13 alt1"><code class="python plain">>>> objectChild </code><code class="python keyword">=</code> <code class="python plain">Child()</code></div><div class="line number15 index14 alt2"><code class="python plain">>>> objectChild.childFunc()</code></div><div class="line number16 index15 alt1"><code class="python plain">ParentOne의 함수 호출!</code></div><div class="line number17 index16 alt2"><code class="python plain">ParentTwo의 함수 호출!</code></div><div class="line number18 index17 alt1"><code class="python plain">>>> objectChild.func()</code></div><div class="line number19 index18 alt2"><code class="python plain">ParentOne의 함수 호출!</code></div></div></td></tr></tbody></table></div></div>
<p>위의 예제 코드에서는 부모 클래스인 ParentOne, ParentTwo라는 클래스가 정의되어 있으며, 자식 클래스인 Child라는 클래스도 정의되어 있습니다. 위의 코드에서 9행을 한번 보실까요?</p><div><div id="highlighter_499837" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">Child(ParentOne, ParentTwo):</code></div></div></td></tr></tbody></table></div></div>
<p>위 코드에서는 2개 이상의 클래스를 상속 받을때 콤마를 기준으로 상속받을 클래스의 이름을 나열하고 있는 것을 보실 수 있습니다. (여기서 상속받을 클래스의 나열 순서가 검색 결과에 영향을 끼칩니다) 그리고 주의깊게 보셔야 할 부분은, 18~19행의 부분인데 한번 보도록 합시다. </p><div><div id="highlighter_406460" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> objectChild.func()</code></div><div class="line number2 index1 alt1"><code class="python plain">ParentOne의 함수 호출!</code></div></div></td></tr></tbody></table></div></div>
<p>위 부분을 보시면 objectChild의 func 함수를 호출하는데, 여기서 ParentOne과 ParentTwo 중 어떤 클래스의 func 함수가 호출되는지 보았더니 ParentOne 클래스의 func 함수가 호출된 모습을 보실 수 있습니다. 이는, 우리가 상속받을 클래스의 이름을 나열할때 순서에 따라 이름을 찾기 때문입니다. 즉, ParentOne 클래스의 이름공간에서 func를 찾는다는 것입니다. 다중 상속에 대해 이해가 가시나요? 그런데 다중 상속을 이용할때도 주의하셔야 할 점이 있는데, 아래와 같은 다이아몬드 상속을 하는 경우 문제가 발생합니다.</p>
<p style="FLOAT: none; TEXT-ALIGN: center; CLEAR: none"><span class="imageblock" style="display:inline-block;width:152px;HEIGHT: 228px; WIDTH: 152px;height:auto;max-width:100%"><span data-url="http://cfile1.uf.tistory.com/attach/2767D03F526E5B45214263" data-lightbox="lightbox"><img src="http://cfile1.uf.tistory.com/image/2767D03F526E5B45214263" style="cursor: pointer;max-width:100%;height:auto" width="152" height="228" filename="Diamond_inheritance.png" filemime="image/jpeg"></span></span></p>
<p>위 그림을 보시면 B와 C 클래스가 A 클래스를 상속받고 있으며, 다시 D 클래스가 B와 C 클래스를 상속받고 있습니다. 위 처럼 다이아몬드 모양의 상속 구조에서는 아래와 같은 문제가 발생할 수 있습니다.</p><div><div id="highlighter_222507" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div><div class="line number16 index15 alt1">16</div><div class="line number17 index16 alt2">17</div><div class="line number18 index17 alt1">18</div><div class="line number19 index18 alt2">19</div><div class="line number20 index19 alt1">20</div><div class="line number21 index20 alt2">21</div><div class="line number22 index21 alt1">22</div><div class="line number23 index22 alt2">23</div><div class="line number24 index23 alt1">24</div><div class="line number25 index24 alt2">25</div><div class="line number26 index25 alt1">26</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">A:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"A 클래스의 생성자 호출!"</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code> </div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">B(A):</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number7 index6 alt2"><code class="python spaces"> </code><code class="python plain">A.__init__(</code><code class="python color1">self</code><code class="python plain">)</code></div><div class="line number8 index7 alt1"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"B 클래스의 생성자 호출!"</code><code class="python plain">)</code></div><div class="line number9 index8 alt2"><code class="python spaces"> </code> </div><div class="line number10 index9 alt1"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">C(A):</code></div><div class="line number11 index10 alt2"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number12 index11 alt1"><code class="python spaces"> </code><code class="python plain">A.__init__(</code><code class="python color1">self</code><code class="python plain">)</code></div><div class="line number13 index12 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"C 클래스의 생성자 호출!"</code><code class="python plain">)</code></div><div class="line number14 index13 alt1"><code class="python spaces"> </code> </div><div class="line number15 index14 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">D(B, C):</code></div><div class="line number16 index15 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number17 index16 alt2"><code class="python spaces"> </code><code class="python plain">B.__init__(</code><code class="python color1">self</code><code class="python plain">)</code></div><div class="line number18 index17 alt1"><code class="python spaces"> </code><code class="python plain">C.__init__(</code><code class="python color1">self</code><code class="python plain">)</code></div><div class="line number19 index18 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"D 클래스의 생성자 호출!"</code><code class="python plain">)</code></div><div class="line number20 index19 alt1"><code class="python spaces"> </code> </div><div class="line number21 index20 alt2"><code class="python plain">>>> objectD </code><code class="python keyword">=</code> <code class="python plain">D()</code></div><div class="line number22 index21 alt1"><code class="python plain">A 클래스의 생성자 호출!</code></div><div class="line number23 index22 alt2"><code class="python plain">B 클래스의 생성자 호출!</code></div><div class="line number24 index23 alt1"><code class="python plain">A 클래스의 생성자 호출!</code></div><div class="line number25 index24 alt2"><code class="python plain">C 클래스의 생성자 호출!</code></div><div class="line number26 index25 alt1"><code class="python plain">D 클래스의 생성자 호출!</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면, B와 C에선 부모 클래스인 A의 생성자를 호출하고 있으며 D에서는 부모 클래스인 B와 C 클래스의 생성자를 호출하고 있는 모습을 보실 수 있습니다. 이 상태에서 D의 인스턴스 객체를 생성하게 되면, A 클래스의 생성자가 두번이나 호출되고 있는 모습을 보실 수 있습니다. 이 상황을 피하기 위해서 super라는 내장 함수를 사용할 수 있으며, 이 함수는 부모 클래스의 객체를 반환하게끔 되어 있습니다. 한번 내장 함수인 super 함수를 이용하여 위의 예제를 고쳐보도록 하겠습니다.</p><div><div id="highlighter_246304" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div><div class="line number16 index15 alt1">16</div><div class="line number17 index16 alt2">17</div><div class="line number18 index17 alt1">18</div><div class="line number19 index18 alt2">19</div><div class="line number20 index19 alt1">20</div><div class="line number21 index20 alt2">21</div><div class="line number22 index21 alt1">22</div><div class="line number23 index22 alt2">23</div><div class="line number24 index23 alt1">24</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">A:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"A 클래스의 생성자 호출!"</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"> </div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">B(A):</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number7 index6 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"B 클래스의 생성자 호출!"</code><code class="python plain">)</code></div><div class="line number8 index7 alt1"><code class="python spaces"> </code><code class="python functions">super</code><code class="python plain">().__init__()</code></div><div class="line number9 index8 alt2"> </div><div class="line number10 index9 alt1"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">C(A):</code></div><div class="line number11 index10 alt2"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number12 index11 alt1"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"C 클래스의 생성자 호출!"</code><code class="python plain">)</code></div><div class="line number13 index12 alt2"><code class="python spaces"> </code><code class="python functions">super</code><code class="python plain">().__init__()</code></div><div class="line number14 index13 alt1"> </div><div class="line number15 index14 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">D(B, C):</code></div><div class="line number16 index15 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number17 index16 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"D 클래스의 생성자 호출!"</code><code class="python plain">)</code></div><div class="line number18 index17 alt1"><code class="python spaces"> </code><code class="python functions">super</code><code class="python plain">().__init__()</code></div><div class="line number19 index18 alt2"><code class="python spaces"> </code> </div><div class="line number20 index19 alt1"><code class="python plain">>>> objectD </code><code class="python keyword">=</code> <code class="python plain">D()</code></div><div class="line number21 index20 alt2"><code class="python plain">D 클래스의 생성자 호출!</code></div><div class="line number22 index21 alt1"><code class="python plain">B 클래스의 생성자 호출!</code></div><div class="line number23 index22 alt2"><code class="python plain">C 클래스의 생성자 호출!</code></div><div class="line number24 index23 alt1"><code class="python plain">A 클래스의 생성자 호출!</code></div></div></td></tr></tbody></table></div></div>
<p>위에서 super 함수를 통하여 생성자를 호출하도록 하니, 정상적으로 모든 클래스의 생성자가 한번씩 호출되는 결과를 얻을 수 있습니다. 여기서 B와 C 클래스가 A 클래스의 자식인 것을 생각하여 인터프리터가 A 클래스의 생성자가 두번이나 호출되는 것을 피하는 방법입니다. 괜찮죠? 다중 상속이 필요하여 사용할 경우에는 다중 상속에 대해 충분한 이해를 하신 뒤에 다중 상속을 사용하시는 것을 권해드립니다.</p><p><br></p><p></p><div class="article" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="tt_article_useless_p_margin" style="box-sizing: border-box;"></div></div><p></p><div class="titleWrap" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="underTitle" style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: bold;">출처 : </span><a href="http://blog.eairship.kr/" target="_blank" style="box-sizing: border-box; background-color: transparent; color: rgb(102, 102, 102); text-decoration: none; font-weight: bold;">http://blog.eairship.kr</a></div></div></div></div><div id="entry286Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/286" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
[펌]파이썬 강좌 8-2편. 생성자와 소멸자(Constructor and Destructor)
http://www.webprogramer.kr/blog/P000000320/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 8-2편. 생성자와 소멸자(Constructor and Destructor)</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: start; float: none; clear: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile8.uf.tistory.com/image/24739233526C9FEB098DFF" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">1. 생성자(Constructor)</span></strong></p></div>
<p> </p>
<p>이번에는 생성자와 소멸자에 대해서 알아보도록 하겠습니다. 우선은 생성자부터 알아보고, 그 다음 소멸자에 대해 알아보는 순서로 공부를 할 생각입니다. </p>
<p> </p>
<p>클래스라는 개념을 처음 접해보신 분들은 생성자라는 이름이 생소하시겠지만, 이름과 연관지어 생각을 해봅시다. 생성자라고 하면 '무언가 생성할 때 호출되는 녀석', '무언가 생성하기 위해 호출되는 녀석' 등 여러가지 추측을 해볼 수 있습니다. 파이썬의 생성자는 객체를 생성할 때 호출되는 함수로써, 객체 생성 시 초기화 작업을 위해 존재하는 녀석입니다. 생성자라는 녀석이 파이썬에서는 어떻게 표현이 되는지 확인해보도록 합시다.</p><div><div id="highlighter_532172" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">class</code> <code class="python plain">클래스명:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">...</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python plain">...</code></div></div></td></tr></tbody></table></div></div>
<p>위를 보시면 파이썬에는 생성자가 __init__라는 이름으로 미리 정의되어 있습니다. 이 생성자를 통해서 객체가 생성될 때 어떤 변수의 값을 세팅하는 등 여러가지 작업을 할 수 있습니다. 우선은 생성자를 통해 값을 초기화하는 예제를 보면서 이해를 해보도록 합시다.</p><div><div id="highlighter_210641" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">Book:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">, bookName):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.name </code><code class="python keyword">=</code> <code class="python plain">bookName</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"객체가 생성되었습니다. 책의 이름은 "</code> <code class="python keyword">+</code> <code class="python plain">bookName </code><code class="python keyword">+</code> <code class="python string">"입니다."</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"> </div><div class="line number6 index5 alt1"><code class="python plain">>>> objectBook </code><code class="python keyword">=</code> <code class="python plain">Book(</code><code class="python string">"열혈 C++ 프로그래밍"</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"><code class="python plain">객체가 생성되었습니다. 책의 이름은 열혈 C</code><code class="python keyword">+</code><code class="python keyword">+</code> <code class="python plain">프로그래밍입니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는 Book이란 이름을 가진 클래스가 정의되어 있습니다. 이 Book 클래스의 안을 보시면 생성자가 정의되어 있으며, bookName이란 인자를 받습니다. 넘겨준 bookName을 가지고 클래스 내부의 name이란 변수의 값을 초기화 시키며, 객체가 생성되었음을 알리고 넘겨준 책의 이름을 출력합니다. 한가지 예를 더 보도록 할까요?</p><div><div id="highlighter_846939" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">Student:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">, name, age):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.name </code><code class="python keyword">=</code> <code class="python plain">name</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.age </code><code class="python keyword">=</code> <code class="python plain">age</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">aboutMe(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"제 이름은 "</code> <code class="python keyword">+</code> <code class="python color1">self</code><code class="python plain">.name </code><code class="python keyword">+</code> <code class="python string">"이며, 제 나이는 "</code> <code class="python keyword">+</code> <code class="python functions">str</code><code class="python plain">(</code><code class="python color1">self</code><code class="python plain">.age) </code><code class="python keyword">+</code> <code class="python string">"살입니다."</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"><code class="python spaces"> </code> </div><div class="line number8 index7 alt1"><code class="python plain">>>> objectStudent </code><code class="python keyword">=</code> <code class="python plain">Student(</code><code class="python string">"김철수"</code><code class="python plain">, </code><code class="python value">18</code><code class="python plain">)</code></div><div class="line number9 index8 alt2"><code class="python plain">>>> objectStudent.aboutMe()</code></div><div class="line number10 index9 alt1"><code class="python plain">제 이름은 김철수이며, 제 나이는 </code><code class="python value">18</code><code class="python plain">살입니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는 Student이란 이름을 가진 클래스가 정의되어 있으며, 이 클래스 안에는 생성자와 자기를 소개하는 aboutMe이라는 함수가 정의되어 있습니다. 생성자에서는 name과 age를 인자로 받으며, 넘겨받은 인자를 가지고 self.name과 self.age의 값을 초기화 시킵니다. aboutMe 함수에서는 self.name와 self.age의 값을 가지고 이름과 나이를 출력하고 있습니다. 간단하죠? 반면에 이렇게 객체가 생성될 때 호출되는 함수랑은 반대로 객체가 소멸할때 호출되는 함수도 존재합니다. 한번 소멸자에 대해서 알아보도록 할까요?</p>
<p> </p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">2. 소멸자(Destructor)</span></strong></p></div>
<p> </p>
<p>객체가 생성될 때 호출되는 생성자가 있다면, 반대로 객체가 소멸할 때 호출되는 소멸자라는 녀석이 존재합니다. 생성자와 마찬가지로 파이썬에서는 소멸자라는 녀석이 __del__라는 이름으로 미리 정의가 되어 있습니다. 이 소멸자는 리소스 해제 등의 종료 작업을 하기 위해 사용됩니다. 우선은 소멸자가 파이썬에서 어떻게 표현이 되는지 한번 보도록 합시다.</p><div><div id="highlighter_466090" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">class</code> <code class="python plain">클래스명:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">...</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__del__(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python plain">...</code></div></div></td></tr></tbody></table></div></div>
<p>이번에는 바로 생성자와 소멸자를 함께 사용해 보도록 합시다. 생성자를 통해 값을 초기화하고 객체가 생성되었음을 알리며, 소멸자를 통해 객체가 소멸되었음을 알리는 문구를 출력해보도록 합시다.</p><div><div id="highlighter_372213" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">IceCream:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__init__(</code><code class="python color1">self</code><code class="python plain">, name, price):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.name </code><code class="python keyword">=</code> <code class="python plain">name</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python color1">self</code><code class="python plain">.price </code><code class="python keyword">=</code> <code class="python plain">price</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(name </code><code class="python keyword">+</code> <code class="python string">"의 가격은 "</code> <code class="python keyword">+</code> <code class="python functions">str</code><code class="python plain">(price) </code><code class="python keyword">+</code> <code class="python string">"원 입니다."</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">__del__(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number7 index6 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python color1">self</code><code class="python plain">.name </code><code class="python keyword">+</code> <code class="python string">" 객체가 소멸합니다."</code><code class="python plain">)</code></div><div class="line number8 index7 alt1"><code class="python spaces"> </code> </div><div class="line number9 index8 alt2"><code class="python plain">>>> objectIc </code><code class="python keyword">=</code> <code class="python plain">IceCream(</code><code class="python string">"월드콘"</code><code class="python plain">, </code><code class="python value">1000</code><code class="python plain">)</code></div><div class="line number10 index9 alt1"><code class="python plain">월드콘의 가격은 </code><code class="python value">1000</code><code class="python plain">원 입니다.</code></div><div class="line number11 index10 alt2"><code class="python plain">>>> </code><code class="python keyword">del</code> <code class="python plain">objectIc</code></div><div class="line number12 index11 alt1"><code class="python plain">월드콘 객체가 소멸합니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면 IceCream이라는 클래스가 정의되어 있으며, 이 안에는 생성자와 소멸자가 존재합니다. 먼저 생성자는 이름을 의미하는 name과, 값을 의미하는 price라는 인자 두개를 받습니다. 넘겨받은 두 인자를 가지고 self.name과 self.price의 값을 초기화 시킵니다. 그리고 소멸자에서는 객체가 소멸되었다는 문구를 출력합니다. 실제로, 객체가 소멸되면 'xxx 객체가 소멸합니다'라는 문구가 출력됨을 확인하실 수 있습니다. 참고로, 생성자나 소멸자와 같이 앞뒤에 '__'가 붙은 경우에는 특별한 용도로 사용하기 위해 미리 정의하여 둔 것이라고 생각하시면 됩니다.</p><p><br></p><p><span style="font-weight: bold;">출처 : </span><a href="http://blog.eairship.kr/" target="_blank" style="background-color: rgb(255, 255, 255); font-weight: bold;">http://blog.eairship.kr</a><br></p></div></div><div id="entry285Comment" style="display:block"><div class="comment"><div class="commentWrite">
</div><!-- //commentWrite -->
</div><!-- //comment -->
</div></div>
[펌]파이썬 강좌 8-1편. 클래스(Class)
http://www.webprogramer.kr/blog/P000000319/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 8-1편. 클래스(Class)</span></blockquote>
<div class="underTitle"><img src="http://cfile28.uf.tistory.com/image/265F484A52637054156331" width="601" height="203" filename="python_logo.png" filemime="image/jpeg" style="max-width: 100%; height: auto;"><br></div></div><div class="article"><div class="tt_article_useless_p_margin">
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">1. 인스턴스(Instance)</span></strong></p></div>
<p> </p>
<p>이번에는 객체지향 프로그래밍에서 핵심이 되는 요소 중 하나인 클래스(Class)에 대해서 알아보도록 하겠는데, 그 전에 인스턴스(Instance)란 개념에 대해 먼저 알아보도록 하겠습니다. 여기서 인스턴스와 객체(Object)는 같은 의미인데, 인스턴스는 클래스에 의해 만들어진 객체를 인스턴스라고 합니다. 이 설명에서 한가지 유추해보자면, 클래스는 인스턴스를 만드는 하나의 틀이라고 볼 수 있습니다. 우리가 앞으로 배울 클래스란 녀석을 통해서 인스턴스를 계속 만들어 낼 수 있습니다. 이제는 한번 클래스가 무엇인지 살펴보도록 합시다.</p>
<p> </p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">2. 클래스(Class)</span></strong></p></div>
<p> </p>
<p>앞에서 인스턴스에 대해서 간단히 알아보았는데, 파이썬에서의 클래스를 간단하게 설명하자면 변수와 함수를 모아넣은 것이라고 할 수 있습니다. 클래스가 어떠한 역할을 하는지 한가지 예를 들어볼까요? 우리가 쿠키를 만들때, 쿠키의 모양을 내기 위하여 모양틀을 이용하는 경우가 대부분입니다. 여기서 모양틀에 찍혀져서 만들어지는 어떤 모양의 쿠키를 인스턴스라 할 수 있으며, 모양틀을 클래스라 할 수 있습니다.</p>
<p style="FLOAT: none; TEXT-ALIGN: center; CLEAR: none"><span class="imageblock" style="display:inline-block;width:333px;HEIGHT: 92px; WIDTH: 333px;height:auto;max-width:100%"><span data-url="http://cfile30.uf.tistory.com/attach/2255573F5267AB2E13A38D" data-lightbox="lightbox"><img src="http://cfile30.uf.tistory.com/image/2255573F5267AB2E13A38D" style="cursor: pointer;max-width:100%;height:auto" width="333" height="92" filename="K-4.png" filemime="image/jpeg"></span></span></p>
<p style="TEXT-ALIGN: center"><strong><span style="COLOR: #4174d9"><그림 1-1. 다양한 모양의 틀></span></strong></p>
<p>정리하자면, 모양을 찍어낼 수 있는 틀을 가지고 서로 각각의 모양을 지닌 내용물을 만들어 낼 수 있는데 여기서 클래스는 그저 틀일 뿐이고, 인스턴스는 틀을 가지고 만들어진 내용물과 같은 것입니다. 우선은, 클래스의 이해를 돕기 위해 간단한 예제를 먼저 살펴보면서 클래스를 어떻게 선언하는지, 클래스란 어떤 것인지 알아보도록 하겠습니다.</p><div><div id="highlighter_116669" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">Student:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">name </code><code class="python keyword">=</code> <code class="python string">"김철수"</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">info(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"제 이름은 "</code> <code class="python keyword">+</code> <code class="python color1">self</code><code class="python plain">.name </code><code class="python keyword">+</code> <code class="python string">"입니다."</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"> </div><div class="line number6 index5 alt1"><code class="python plain">>>> inst </code><code class="python keyword">=</code> <code class="python plain">Student()</code></div><div class="line number7 index6 alt2"><code class="python plain">>>> </code><code class="python functions">type</code><code class="python plain">(inst)</code></div><div class="line number8 index7 alt1"><code class="python plain"><</code><code class="python keyword">class</code> <code class="python string">'__main__.Student'</code><code class="python plain">></code></div><div class="line number9 index8 alt2"><code class="python plain">>>> inst.name</code></div><div class="line number10 index9 alt1"><code class="python string">'김철수'</code></div><div class="line number11 index10 alt2"><code class="python plain">>>> inst.info()</code></div><div class="line number12 index11 alt1"><code class="python plain">제 이름은 김철수입니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면 1행~4행 까지는 Student라는 이름의 클래스를 선언하는것 이라고 보시면 됩니다. 클래스를 선언하는 방법은 위 예제를 통해 아래와 같은 형식을 따른다는 것을 알 수 있습니다.</p><div><div id="highlighter_15332" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">class</code> <code class="python plain">클래스명:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">...</code></div></div></td></tr></tbody></table></div></div>
<p>이어서 2행을 보시면 변수가 Student 클래스 내에 위치해있다는 것을 알 수 있습니다. 그리고 3~4행에서는 info라는 함수도 Student 클래스 안에 있다는 것 역시 보실 수 있습니다. 위에서 말했던대로, 클래스는 변수와 함수를 모아넣은 집합체라고 말할 수 있습니다. 6행에서는 인스턴스 객체를 만드는데 여기서 클래스의 이름을 호출하고 이를 변수에 집어넣음으로써 간단하게 인스턴스 객체를 만들 수 있습니다. 7행에서 type라는 내장 함수를 사용하여 변수 inst의 형식을 알아보는데, 8행의 결과를 통해 Student라는 클래스를 통해 생성된 인스턴스 객체임을 알 수 있습니다.</p><div><div id="highlighter_253311" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> inst.name</code></div><div class="line number2 index1 alt1"><code class="python string">'김철수'</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> inst.info()</code></div><div class="line number4 index3 alt1"><code class="python plain">제 이름은 김철수입니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 코드에서의 1행은 인스턴스 객체인 inst의 name 변수를 가져오는 것이며, 3행은 info 함수를 호출하는 것이라고 볼 수 있습니다. 그런데, 코드를 자세히 훑어보니 이상한 점이 하나 보이지 않나요? Student 클래스 내의 info 함수의 인자를 보시면 첫번째로 self라는 녀석이 와있는 것을 확인하실 수 있습니다. 이 self라는 녀석이 어떤 기능을 하는 녀석인지 한번 보도록 할까요?</p>
<p> </p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">3. self</span></strong></p></div>
<p> </p>
<p>이 self는 현재의 인스턴스 객체를 가리키는 기능을 하는 녀석으로써, 쉽게 말하자면 self의 사전적 의미 그대로 자기 자신을 의미합니다. 이 self라는 지시어는 이름공간(namespace)와 물론 관련이 있지만, 우선은 간단하게만 알아두고 이름공간에 대해서는 나중에 자세히 다루도록 하겠습니다. 주의하실 점이 있다면, 클래스 내에서 함수가 정의될 경우에는 첫번째 매개변수로 self가 와야 합니다. 아래와 같이 말입니다.</p><div><div id="highlighter_101366" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">Dog:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">cry(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"왈왈!"</code><code class="python plain">)</code></div></div></td></tr></tbody></table></div></div>
<p>위와 같이 첫번째 매개변수에 self를 넣어주고, 여기서 class.method(instance)와 instance.method()이 같은데 이는 위의 예제에서 Dog.cry(instance)와 instance.cry()가 같다는 말입니다. 만약 self를 없애버린다면, 인스턴스 객체를 통해 cry 함수를 호출할 수 없을 것입니다. 또한 클래스 내부의 변수에 접근할때도 앞에 self.를 붙여주어야 합니다.</p><div><div id="highlighter_840935" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">class</code> <code class="python plain">Dog:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">name </code><code class="python keyword">=</code> <code class="python string">"멍멍이"</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">def</code> <code class="python plain">cry(</code><code class="python color1">self</code><code class="python plain">):</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python color1">self</code><code class="python plain">.name </code><code class="python keyword">+</code> <code class="python string">": 왈왈!"</code><code class="python plain">)</code></div></div></td></tr></tbody></table></div></div>
<p>만약 위 예제에서 self.를 제외한다면, "global name 'name' is not defined"와 같은 에러의 내용 그대로 전역 영역에서 name이란 변수를 찾게 됩니다. 즉, 전역 영역에 name이 정의되지 않았다는 겁니다. 왜 self를 붙여야 하는지에 대해서는 잠시 생각을 접어두고, 자신 내에 있는 변수나 함수의 첫번째 매개변수에 self가 들어가야 한다는 것을 꼭 기억해두도록 합시다.</p><p><br></p><p><span style="font-weight: bold;">출처 : </span><a href="http://blog.eairship.kr/" target="_blank" style="background-color: rgb(255, 255, 255); font-weight: bold;">http://blog.eairship.kr</a><span style="font-weight: bold; text-align: center;"> </span><br></p></div></div><div id="entry284Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/284" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
개발도구 구매
http://www.webprogramer.kr/blog/P000000304/post.do
<p><br></p><p>it종사자들의 로망(?) 맥북을 구매 했네요<br></p><p>우선 사진만<br></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/148453987296775481.JPG" data-filename="148453987296775481.JPG"><br></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484377687827475064.JPG" data-filename="1484377687827475064.JPG"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484377687864139469.JPG" data-filename="1484377687864139469.JPG"></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484377726842869872.JPG" data-filename="1484377726842869872.JPG"></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484377726788647104.JPG" data-filename="1484377726788647104.JPG"></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484377746263564001.JPG" data-filename="1484377746263564001.JPG"></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484377772903380707.JPG" data-filename="1484377772903380707.JPG"><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484377773038533041.JPG" data-filename="1484377773038533041.JPG"></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484377797524979583.JPG" data-filename="1484377797524979583.JPG"></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484377797637421671.JPG" data-filename="1484377797637421671.JPG"></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484377817592606752.JPG" data-filename="1484377817592606752.JPG"></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/148437781768237012.JPG" data-filename="148437781768237012.JPG"><br></p>
키보드 윤활2
http://www.webprogramer.kr/blog/P000000303/post.do
<p>오늘은불금<br></p><p>회사에서 나오면서 키보드를 챙겨 나왔지요<br></p><p>청소 및 윤활을 하기위해 ㅎ<br></p><p>리얼포스 106 <br></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484540121501857285.JPG" data-filename="1484540121501857285.JPG"></p><p><br></p><p></p><p>키캡은 <span style="-webkit-text-size-adjust: 100%;">요놈을 이용해서 분리</span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484376160169624666.JPG" data-filename="1484376160169624666.JPG"></p><p><br></p><p>첫 타자는 esc키</p><p>분리가 잘된다</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484376160205313915.JPG" data-filename="1484376160205313915.JPG"></p><p><br></p><p>모두 분리 했다.</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484376294748916194.JPG" data-filename="1484376294748916194.JPG"></p><p><br></p><p>슈퍼루브</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484376375683179795.JPG" data-filename="1484376375683179795.JPG"></p><p><br></p><p>키보드를 받쳐주는 부분에 바름</p><p>스페이스바 소리가 나서 듬뿍 발라줌</p><p>슈퍼루브는 더이상 바를 곳이 없다</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484376375782817593.JPG" data-filename="1484376375782817593.JPG"></p><p><br></p><p>나머진 크라이톡스로 윤활하구</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484376530690968561.JPG" data-filename="1484376530690968561.JPG"></p><p><br></p><p>윤활하고 세척하고</p><p>끼우는중</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1484376530690896936.JPG" data-filename="1484376530690896936.JPG"></p><p><br></p><p>끝.</p><p>두번째 윤활이긴한데</p><p>역시나 시간이 꽤 걸렸다</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/148437664617792868.JPG" data-filename="148437664617792868.JPG"><br></p>
[펌]파이썬 강좌 7편. 함수(Function)
http://www.webprogramer.kr/blog/P000000318/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 7편. 함수(Function)</span></blockquote>
<div class="underTitle"><img src="http://cfile10.uf.tistory.com/image/2525D04A525D377E1D6F88" width="601" height="203" filename="python_logo.png" filemime="image/jpeg" style="max-width: 100%; height: auto;"><br></div></div><div class="article"><div class="tt_article_useless_p_margin">
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">1. 함수(Function)</span></strong></p></div>
<p> </p>
<p>오늘은 함수(Function)에 대해 알아보도록 하겠습니다. 파이썬의 함수에 대해 알아보기 전에, 이미 어디선가 함수란 말을 들은 기억이 있지 않나요? 중학교 수학시간에 나온 '함수'는, 우리가 배울 파이썬의 '함수'와 비슷합니다. x의 값을 넣으면, y의 값이 정해지듯이 파이썬의 함수 역시도 값을 함수에 집어넣으면, 함수는 결과값을 되돌려줍니다. 예를 들어서, 어느 특정한 수를 넣으면 그 수의 절댓값을 돌려주는 신비의 상자가 있다고 합시다. 우리가 만약 -2라는 값을 이 상자에 넣으면, 꺼낼때는 2가 되어 나오는 것입니다. 그리고 4라는 값은 역시, 4 그대로 꺼내집니다. 이를 그림으로 나타내보도록 하겠습니다.</p>
<p style="FLOAT: none; TEXT-ALIGN: center; CLEAR: none"><span class="imageblock" style="display:inline-block;width:357px;HEIGHT: 237px; WIDTH: 357px;height:auto;max-width:100%"><span data-url="http://cfile23.uf.tistory.com/attach/274EB033526104FE123F56" data-lightbox="lightbox"><img src="http://cfile23.uf.tistory.com/image/274EB033526104FE123F56" style="cursor: pointer;max-width:100%;height:auto" width="357" height="237" filename="K-1.png" filemime="image/jpeg"></span></span></p>
<p>위의 박스는 어느 수를 넣으면 그 수의 절댓값을 돌려주는 기능을 합니다. 파이썬의 함수도 위에 나와있는 박스와 비슷합니다. 말하자면 특정한 기능을 수행하는 코드의 집합이며, 쉽게 말하면 여러 문장을 하나로 묶는 기능을 하는 녀석입니다. 우리는 이미, 7편을 읽기 전에 수많은 함수를 보아왔으며 간단하게나마 파이썬의 내장 함수를 사용하면서 함수가 어떤 녀석인지 알고 계시는 분들도 있으실 겁니다. 우선은 파이썬 내에서 함수를 정의하는 방법을 알려드리도록 하겠습니다.</p><div><div id="highlighter_576052" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">def</code> <code class="python plain">함수명(인자</code><code class="python value">1</code><code class="python plain">, 인자</code><code class="python value">2</code><code class="python plain">, ...):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">...</code></div></div></td></tr></tbody></table></div></div>
<p>위에서는 인자가 보조변수 같은 개념이며, 우선은 함수에 필요한 값을 저장해두는 임시 변수라고 기억하시면 되겠습니다. 이 말이 이해가 되지 않아도, 계속 함수를 정의하다보면 인자가 어떠한 역할을 하는지 감이 오실겁니다. (인자가 아에 존재하지 않을 수도 있고, 여러개가 존재할 수도 있습니다) 우선은 절댓값을 되돌려 주는 상자의 기능을 파이썬의 함수로 정의해보도록 하겠습니다.</p><div><div id="highlighter_86131" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">def</code> <code class="python plain">absolute(n):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">if</code> <code class="python plain">n < </code><code class="python value">0</code><code class="python plain">:</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">n </code><code class="python keyword">=</code> <code class="python keyword">-</code><code class="python plain">n</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">return</code> <code class="python plain">n</code></div></div></td></tr></tbody></table></div></div>
<p>위의 코드를 잠시 살펴보면, 1행에서 함수명은 absolute이며 인자는 인자 n으로 1개를 가진다는 것을 알 수 있습니다. 2~3행에서는 n이 음수일 경우 양수로 만들어버리고 n을 반환합니다. 여기서 return문은 반환 즉, 돌려준다는 의미를 지니고 있습니다. return문을 만나면 함수가 끝나고, 함수를 호출한 곳으로 전달합니다. 이제 함수를 정의해봤으니, 정상 동작을 하는지 테스트를 한번 해봐야겠죠?</p><div><div id="highlighter_632253" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> absolute(</code><code class="python value">3</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python value">3</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> absolute(</code><code class="python value">0</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python value">0</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> absolute(</code><code class="python keyword">-</code><code class="python value">1</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python value">1</code></div></div></td></tr></tbody></table></div></div>
<p>정상적으로 값을 넘겨주면 절댓값이 돌아온다는 사실을 알 수 있습니다. 갑자기 문득 궁금해진건데, 만약에 값을 돌려주는 return문이 존재하지 않는다면 어떻게 될까요? absolute 함수에서 return문이 들어간 행만 지우고 다시 함수를 불러보세요. 그렇게 한다면, 아래와 같은 결과를 보실 수 있을겁니다.</p><div><div id="highlighter_371669" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> absolute(</code><code class="python value">3</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> absolute(</code><code class="python keyword">-</code><code class="python value">1</code><code class="python plain">)</code></div></div></td></tr></tbody></table></div></div>
<p>위 결과를 보시면, 아무런 값이 돌아오지 않는 것을 보실 수 있습니다. 함수 내에서 반드시 return문을 사용하지 않아도 되며, return문이 없을 경우에는 함수 내의 마지막 문장을 실행하고 함수를 호출한 곳으로 되돌아갑니다. 이 때, 함수는 None을 반환합니다. 한가지 예제만 더 보고, return문을 다시 보도록 합시다. 아래에 보여지는 예제에서는, 정의한 함수를 통해 두 수를 더한 결과를 돌려줍니다.</p><div><div id="highlighter_70474" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">def</code> <code class="python plain">total(a, b):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">return</code> <code class="python plain">a </code><code class="python keyword">+</code> <code class="python plain">b</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> total(</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python value">6</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> total(</code><code class="python value">100</code><code class="python plain">, </code><code class="python value">20000</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python value">20100</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는 total이란 이름을 지니고 인자 2개를 가지는 함수를 정의하고, 이 함수는 넘겨받은 두 인자의 값을 서로 더해 돌려주는 기능을 합니다. 3~6행을 보시면 정상적으로 두 값이 서로 더해져서 돌아온다는 것을 보실 수 있습니다. 함수에 대해 약간이라도 이해가 가셨나요? 한번 자기가 생각하는 간단한 기능의 함수를 직접 정의해보세요. 앞서 말한대로, 이어서 return문에 대해 추가적인 설명을 하도록 하겠습니다.</p>
<p> </p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">2. 2개 이상의 값 반환</span></strong></p></div>
<p> </p>
<p>return문은 위에서 이미 말했듯이, 값을 반환하며 함수를 종료하는 기능을 합니다. 우리는 함수를 통해 한개의 값을 반환해왔지만, 두 개 이상의 값을 반환할 수 있습니다. 사실을 말하자면, 반환값은 하나지만 튜플 형식으로 값을 돌려주는 것입니다. 한번 아래의 예제를 보도록 합시다. </p><div><div id="highlighter_394834" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">def</code> <code class="python plain">mul_div(a, b):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">return</code> <code class="python plain">a </code><code class="python keyword">*</code> <code class="python plain">b, a </code><code class="python keyword">/</code> <code class="python plain">b</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> mul_div(</code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python plain">(</code><code class="python value">20</code><code class="python plain">, </code><code class="python value">0.8</code><code class="python plain">)</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는, a와 b를 곱한 값과 나눈 값을 튜플 형태의 값으로 반환하는 것을 보실 수 있습니다. 반환되는 튜플 값을 따로따로 저장하려면 아래와 같이 호출하시면 됩니다.</p><div><div id="highlighter_829522" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">def</code> <code class="python plain">mul_div(a, b):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">return</code> <code class="python plain">a </code><code class="python keyword">*</code> <code class="python plain">b, a </code><code class="python keyword">/</code> <code class="python plain">b</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> mul, div </code><code class="python keyword">=</code> <code class="python plain">mul_div(</code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(mul, div)</code></div><div class="line number5 index4 alt2"><code class="python value">20</code> <code class="python value">0.8</code></div></div></td></tr></tbody></table></div></div>
<p> </p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">3. 스코핑 룰(Scoping rule)</span></strong></p></div>
<p><br>여기서 스코핑 룰(Scoping rule)을 잠깐 설명을 드릴까 합니다. 이 스코핑 룰이 뭐냐면, 변수의 생존 범위에 관련된 규칙이라고 말할 수 있습니다. 말이 조금 이상하죠? 갑자기 스코핑 룰을 설명드리는 이유는 혹여나 나중에 변수를 사용하실 때 혼동을 겪으실 수 있기 때문입니다. 변수를 사용하기 위해서는 반드시 알아야 하는 규칙이라고도 할 수 있습니다. </p>
<p> </p>
<p>파이썬에서의 함수는 별도의 이름공간(namespace)을 가지며, 이 이름공간이라는 것은 말 그대로 이름이 모여있는 공간을 말하는 것입니다. 예를 들어서, 변수를 선언하면 그 변수의 이름이 이름공간에 생성됩니다. 파이썬에서 변수명을 가지고 값을 얻어낼수 있던 것이, 이름공간에 있는 이름을 가지고 특정 객체에 접근하여 얻어오는 것이였습니다. 이름 공간은 총 3가지의 공간으로 나뉩니다. 함수 내부의 공간은 지역(Local) 영역이라 하고, 함수 외부의 공간은 전역(Global) 영역이라고 하고, 파이썬 자체에서 정의된 공간은 내장(Built-in) 영역이라고 할 수 있습니다. 여기서 이름을 검색하는 규칙은 지역, 전역, 내장 순서로 검색한다고 합니다. 이것을 첫 글자를 하나씩 따서 LGB 규칙이라고도 한답니다. 우선은 아래 예제를 하나 보도록 합시다. </p><div><div id="highlighter_592645" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> n </code><code class="python keyword">=</code> <code class="python value">10</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">def</code> <code class="python plain">func(n):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">n </code><code class="python keyword">=</code> <code class="python plain">n </code><code class="python keyword">*</code> <code class="python value">10</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> func(n)</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(n)</code></div><div class="line number6 index5 alt1"><code class="python value">10</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서 n을 10으로 초기화하고, 그 후에 func라는 함수를 정의하였는데 인자 목록에도 n이란 이름을 지닌 인자가 존재함을 알 수 있습니다. 4행에서 함수 func에 n의 값을 넘겨주고, 함수 print로 n의 값을 확인하였더니 여전히 10인걸 보실 수 있습니다. 이는 함수 내부에서 n이란 변수와 함수 외부에 있는 변수 n은 서로 다르기 때문입니다. 함수 내부의 인자 n의 값을 아무리 수정해도 외부에 있는 변수 n의 값은 변하지 않는거죠. 어찌보면, 당연한 상황일지도 모릅니다. 파이썬에서는 global이라는 키워드를 통해서 전역 영역에 있는 변수의 값을 수정할 수 있는데, 아래의 예제를 하나 더 보도록 합시다.</p><div><div id="highlighter_779251" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> n </code><code class="python keyword">=</code> <code class="python value">10</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">def</code> <code class="python plain">func():</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">global</code> <code class="python plain">n</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python plain">n </code><code class="python keyword">=</code> <code class="python plain">n </code><code class="python keyword">*</code> <code class="python value">10</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> func()</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(n)</code></div><div class="line number7 index6 alt2"><code class="python value">100</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서 global로 변수 n을 선언하여, 전역 영역에 있는 변수 n의 값에다 10을 곱해버리는 함수 func를 정의한 것을 보실 수 있습니다. 함수 func를 호출하고 나서 내장 함수인 print로 n의 값을 출력하여 보았더니 10이 곱해진 결과를 얻어낼 수 있었습니다. 말씀드리는데, 스코핑 룰에 대한 부분은 반드시 이해를 하시고 넘어가시길 바랍니다.</p>
<p> </p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">4. 가변 인자 목록</span></strong></p></div>
<p> </p>
<p>우리는 지금까지 고정되어 있는 갯수의 인자만 받아올 수 있었습니다. 하지만, 인자의 갯수가 정해지지 않은 가변 인자를 전달하는 방법이 존재합니다. 그것은 바로 함수 인자 앞에다가 *를 붙이면 된다는 것입니다. 우선 형식을 보도록 합시다.</p><div><div id="highlighter_237936" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">def</code> <code class="python plain">함수명(</code><code class="python keyword">*</code><code class="python plain">인자):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">...</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서의 가변 인자 목록은 튜플의 형태로 저장이 됩니다. 우선 예제를 보도록 합시다.</p><div><div id="highlighter_681531" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">def</code> <code class="python plain">func(</code><code class="python keyword">*</code><code class="python plain">varl):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">for</code> <code class="python plain">i </code><code class="python keyword">in</code> <code class="python plain">varl:</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(i, end</code><code class="python keyword">=</code><code class="python string">' '</code><code class="python plain">) </code></div><div class="line number4 index3 alt1"><code class="python plain">>>> func(</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python value">1</code> <code class="python value">2</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> func(</code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">6</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"><code class="python value">4</code> <code class="python value">5</code> <code class="python value">6</code></div><div class="line number8 index7 alt1"><code class="python plain">>>> func(</code><code class="python value">4</code><code class="python plain">)</code></div><div class="line number9 index8 alt2"><code class="python value">4</code></div></div></td></tr></tbody></table></div></div>
<p>위에서 varl가 튜플 형태로 처리되는 가변 인자 목록이며, 이를 for문으로 순회하여 요소에 접근하여 출력하도록 하는 함수 func를 정의했습니다. 주목하셔야 할 부분은 4행부터인데, 함수 func에 전달되는 인자의 수가 고정되어 있는게 아니라 유동적이라는 것을 보실 수 있습니다. 상당히 유용하죠?</p>
<p> </p>
<div class="txc-textbox" style="BORDER-TOP: #c1c1c1 1px solid; BORDER-RIGHT: #c1c1c1 1px solid; BORDER-BOTTOM: #c1c1c1 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: #c1c1c1 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: #eeeeee">
<p><strong><span style="FONT-SIZE: 18pt">5. 기본 인자값</span></strong></p></div>
<p> </p>
<p>함수의 인자에 기본 값을 지정해 줄 수 있습니다. 이는 우리가 직접 인자를 넘겨주지 않으면, 기본으로 설정된 값을 사용하는 것입니다. 아래의 예제를 우선 보도록 합시다.</p><div><div id="highlighter_657099" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">def</code> <code class="python plain">mul(a, b </code><code class="python keyword">=</code> <code class="python value">10</code><code class="python plain">):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">return</code> <code class="python plain">a </code><code class="python keyword">*</code> <code class="python plain">b</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> mul(</code><code class="python value">3</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python value">30</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> mul(</code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python value">20</code></div></div></td></tr></tbody></table></div></div>
<p>위에서 보시면 함수 mul에서 인자 b의 기본값이 10으로 지정되어 있습니다. 만약 인자 b를 넘겨주지 않으면, 이 인자 b의 값은 기본값을 따른다는 것입니다. 3행처럼 3만 넘겨주면, a에 3이 들어가고 b는 기본값인 10이 들어가서 30이란 값이 돌아오는 것입니다. 5~6행은 두 인자 모두 넘겨주었기 때문에 기본값을 따를 필요 없이 두 인자의 값이 곱해져서 20이란 결과가 나온 것입니다. 간단하죠? 한가지 주의하실 점이 있다면, 기본값을 사용하려는 인자 뒤에 기본값을 사용하지 않는 인자가 올 수 없다는 것입니다. 이게 어떤 경우인지 예제를 통해 알아보도록 합시다.</p><div><div id="highlighter_710874" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">def</code> <code class="python plain">mul(a </code><code class="python keyword">=</code> <code class="python value">10</code><code class="python plain">, b):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">return</code> <code class="python plain">a </code><code class="python keyword">*</code> <code class="python plain">b</code></div><div class="line number3 index2 alt2"><code class="python plain">SyntaxError: non</code><code class="python keyword">-</code><code class="python plain">default argument follows default argument</code></div></div></td></tr></tbody></table></div></div>
<p>위의 예제에서 에러가 발생한 이유는, 기본값을 지정한 인자 a 뒤에 기본값을 지정하지 않은 인자 b가 존재하기 때문입니다. 이는 인자 a에 기본값을 지정하려면, 인자 b에도 기본값을 지정하여야 한다는 것입니다. 이점만 잘 알아두시면 될 것 같습니다.</p><p><br></p><p><div class="article" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="tt_article_useless_p_margin" style="box-sizing: border-box;"></div></div></p><div class="titleWrap" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="underTitle" style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: bold;">출처 : <a href="http://blog.eairship.kr/" target="_blank" style="box-sizing: border-box; background-color: transparent; color: rgb(102, 102, 102); text-decoration: underline; outline: 0px;">http://blog.eairship.kr</a></span></div></div></div></div><div id="entry283Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/283" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
[펌]파이썬 강좌 6편. 반복문(Loop)
http://www.webprogramer.kr/blog/P000000317/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 6편. 반복문(Loop)</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: start; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile5.uf.tistory.com/image/23283B49525698B4350D31" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">1. 반복문(Loop)</span></b></p></div><p><br></p>
<p>오늘은 반복문(Loop)이라는 것에 대해 알아보도록 하겠습니다. 반복문, 쉽게 생각하면 이름 그대로 반복에 사용되는 녀석입니다. 파이썬에서 지원하는 반복문에는 조건문이 참인가 거짓인가에 따라 반복을 진행하는 while문이라는 것이 존재하고, 리스트나 튜플같은 순서형 자료의 아이템을 하나씩 가져오면서 반복을 수행하는 for문이 존재합니다. 이 두가지에 대해서 간단히 알아볼 계획인데, 이런 반복문을 통해서 비슷한 작업을 수없이도 반복하는걸 이 반복문을 통해서 간단히 해결할 수 있습니다. 먼저 while문에 대해서 먼저 알아보도록 하겠습니다.<br></p>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">2. while문</span></b><br></p></div><p><br></p>
<p>앞에서 소개한대로 while문은 조건식을 가지는 녀석입니다. 조건식이 참이라면 while문 내부에 있는 블록의 문장을 실행하고, 거짓이면 반복을 멈추고 빠져나옵니다. 우선은 while문의 형태를 먼저 보도록 합시다.</p>
<div><div id="highlighter_916392" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">while</code> <code class="python plain">조건식:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div></div></td></tr></tbody></table></div></div>
<p>위를 보시면 while 다음에 조건식이 오며, 조건식 뒤에는 콜론(:)이 따라붙는다는 것을 알 수 있습니다. 우선은 while문의 간단한 예제를 보도록 합시다.</p>
<div><div id="highlighter_112104" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> i </code><code class="python keyword">=</code> <code class="python value">1</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">while</code> <code class="python plain">i <</code><code class="python keyword">=</code> <code class="python value">10</code><code class="python plain">:</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(i, </code><code class="python string">"번 출력되었습니다."</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python plain">i </code><code class="python keyword">+</code><code class="python keyword">=</code> <code class="python value">1</code></div><div class="line number5 index4 alt2"> </div><div class="line number6 index5 alt1"><code class="python value">1</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number7 index6 alt2"><code class="python value">2</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number8 index7 alt1"><code class="python value">3</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number9 index8 alt2"><code class="python value">4</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number10 index9 alt1"><code class="python value">5</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number11 index10 alt2"><code class="python value">6</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number12 index11 alt1"><code class="python value">7</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number13 index12 alt2"><code class="python value">8</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number14 index13 alt1"><code class="python value">9</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number15 index14 alt2"><code class="python value">10</code> <code class="python plain">번 출력되었습니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위의 예제를 보시면 조건식에 'i <= 10'이 왔음을 보실 수가 있습니다. 이는 변수 i의 값이 10보다 작거나 같은 경우에 참이 성립되며, 10보다 큰 경우는 거짓에 해당합니다. 그리고 'i += 1'과 같은 코드는 i의 값을 1만큼 증가시키는 'i = i + 1'를 축약한 코드로, 반복문을 빠져나오도록 하기 위해 작성된 코드입니다. 만약에 while문의 조건식이 처음부터 거짓이면 내부 블록에 있는 문장이 단 한번이라도 실행되지 않습니다. 왜냐하면, while문의 실행 순서는 '조건식을 검사 -> 내부 블록에 있는 문장을 실행 -> 조건식을 검사 -> ...'이러한 순서를 따르기 때문입니다.</p>
<p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:289px;width: 289px; height: 236px;;height:auto;max-width:100%"><span data-url="http://cfile25.uf.tistory.com/attach/2313DC375256A1473692BA" data-lightbox="lightbox"><img src="http://cfile25.uf.tistory.com/image/2313DC375256A1473692BA" style="cursor: pointer;max-width:100%;height:auto" width="289" height="236" filename="K-1.png" filemime="image/jpeg"></span></span></p>
<p>위의 while문을 순서도로 나타내면 위와 같을 것입니다. i가 10보다 커지는 순간 거짓으로 넘어가서 반복문을 빠져나와 버립니다. 이해가 되셨나요? 만약에 'i = i + 1'과 같은 구문이 없다면, 조건식은 항상 참으로 성립하게 되어 반복문을 빠져나올수 없을 것입니다. 이렇게 되면 무한 루프에 빠지게 되는데, 무한 루프란 말 그대로 무한히 반복한다는 것입니다. 이런 상황을 피하기 위해서 i의 값을 증가시켜 주는 것입니다. <br></p>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">2-1. break문</span></b></p></div><p><br></p>
<p>이번에는 break문의 설명을 위해 위의 예제를 약간 수정해보도록 하겠습니다.</p>
<div><div id="highlighter_418122" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> i </code><code class="python keyword">=</code> <code class="python value">1</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">while</code> <code class="python plain">i <</code><code class="python keyword">=</code> <code class="python value">10</code><code class="python plain">:</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">if</code> <code class="python plain">i </code><code class="python keyword">=</code><code class="python keyword">=</code> <code class="python value">7</code><code class="python plain">:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">break</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(i, </code><code class="python string">"번 출력되었습니다."</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python plain">i </code><code class="python keyword">+</code><code class="python keyword">=</code> <code class="python value">1</code></div><div class="line number7 index6 alt2"> </div><div class="line number8 index7 alt1"><code class="python value">1</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number9 index8 alt2"><code class="python value">2</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number10 index9 alt1"><code class="python value">3</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number11 index10 alt2"><code class="python value">4</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number12 index11 alt1"><code class="python value">5</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number13 index12 alt2"><code class="python value">6</code> <code class="python plain">번 출력되었습니다.</code></div></div></td></tr></tbody></table></div></div>
<p>저기 사용된 break문이 어떤 녀석이냐면, 이 문법을 통해 반복문은 조건식이 거짓이여야 반복을 멈추고 빠져나오는데 우리가 직접 반복문을 강제로 탈출하게 할 수 있습니다. 위 예제의 경우는 i가 10보다 커져야 반복을 빠져나오지만, 저기서는 i가 7일 경우에 break문을 만나 바로 반복문을 빠져나오게 됩니다. 간단하죠?</p>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">2-2. continue문</span></b></p></div><p><br></p>
<p>이번에는 continue문의 설명을 위해 위의 예제를 다시 한번 수정해보도록 하겠습니다.</p>
<div><div id="highlighter_648441" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> i </code><code class="python keyword">=</code> <code class="python value">0</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">while</code> <code class="python plain">i <</code><code class="python keyword">=</code> <code class="python value">10</code><code class="python plain">:</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python plain">i </code><code class="python keyword">+</code><code class="python keyword">=</code> <code class="python value">1</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">if</code> <code class="python plain">i </code><code class="python keyword">%</code> <code class="python value">2</code> <code class="python keyword">=</code><code class="python keyword">=</code> <code class="python value">1</code><code class="python plain">: </code><code class="python keyword">continue</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(i, </code><code class="python string">"번 출력되었습니다."</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"> </div><div class="line number7 index6 alt2"><code class="python value">2</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number8 index7 alt1"><code class="python value">4</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number9 index8 alt2"><code class="python value">6</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number10 index9 alt1"><code class="python value">8</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number11 index10 alt2"><code class="python value">10</code> <code class="python plain">번 출력되었습니다.</code></div></div></td></tr></tbody></table></div></div>
<p>예제에 사용된 continue문을 만나면, continue문 아래의 문장은 실행하지 않고 반복문의 시작 지점으로 되돌아갑니다. 즉, 반복문의 조건을 검사하는 부분으로 다시 되돌아간다는 말입니다. 직접 코드를 따라가보면, i의 값이 처음에 0이고 반복문 내에서 i가 1이 증가하고 i를 2로 나누어 나머지가 1인지 검사를 하는 코드가 존재합니다. 만약 i를 2로 나눈 뒤의 나머지가 1이면 이것은 홀수라는 의미가 되며, 홀수는 continue문을 만나게 됩니다.</p>
<p><br></p>
<p>출력된 결과를 보시면 알겠지만, 홀수가 제외되어서 출력되었음을 확인하실 수 있습니다. 홀수는 continue문을 만나 시작 지점으로 되돌아가고 i의 값이 증가하기 때문에 그렇습니다. 반대로 짝수라면 continue문을 만나지 않고, 그 아래의 문장을 계속 수행해나가는 모습을 보실 수 있습니다.<br></p>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">3. for문</span></b><br></p></div><p><br></p>
<p>마지막으로 for문에 대해서 알아보도록 하겠습니다. 이 for문은 처음에 소개했던대로 튜플, 리스트, 사전, 문자열 등과 같은 순서형 자료가 올 수 있습니다. 우선은 for문의 형태를 보고나서 다시 for문에 대해 알아보도록 하겠습니다.</p>
<div><div id="highlighter_41560" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">for</code> <code class="python plain">변수 </code><code class="python keyword">in</code> <code class="python plain">순서형 자료:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div></div></td></tr></tbody></table></div></div>
<p>이 for문은 순서형 자료(리스트, 튜플 등)의 요소를 하나하나씩 가져와서 변수에 넣습니다. 우선 리스트를 가지고 for문을 이용한 예제를 보도록 하겠습니다.</p>
<div><div id="highlighter_976895" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">7</code><code class="python plain">, </code><code class="python value">9</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">for</code> <code class="python plain">i </code><code class="python keyword">in</code> <code class="python plain">lst:</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(i)</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code> </div><div class="line number5 index4 alt2"><code class="python value">1</code></div><div class="line number6 index5 alt1"><code class="python value">3</code></div><div class="line number7 index6 alt2"><code class="python value">5</code></div><div class="line number8 index7 alt1"><code class="python value">7</code></div><div class="line number9 index8 alt2"><code class="python value">9</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면, 리스트 lst의 요소를 하나하나씩 가져와 변수 i에 넣어서 i의 값을 출력하고 있음을 보실 수 있습니다. 그리고 또한 for문에도 역시 break문과 continue문을 사용하실 수 있습니다.</p>
<div><div id="highlighter_88401" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">6</code><code class="python plain">, </code><code class="python value">7</code><code class="python plain">, </code><code class="python value">8</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">for</code> <code class="python plain">i </code><code class="python keyword">in</code> <code class="python plain">lst:</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">if</code> <code class="python plain">i </code><code class="python keyword">%</code> <code class="python value">2</code> <code class="python keyword">=</code><code class="python keyword">=</code> <code class="python value">1</code><code class="python plain">: </code><code class="python keyword">continue</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">if</code> <code class="python plain">i </code><code class="python keyword">=</code><code class="python keyword">=</code> <code class="python value">6</code><code class="python plain">: </code><code class="python keyword">break</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(i, </code><code class="python string">"번 출력되었습니다."</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"> </div><div class="line number7 index6 alt2"><code class="python value">2</code> <code class="python plain">번 출력되었습니다.</code></div><div class="line number8 index7 alt1"><code class="python value">4</code> <code class="python plain">번 출력되었습니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제의 for문 내부 블록을 보시면, i를 2로 나눈 뒤의 나머지가 1인 경우에 시작 지점으로 돌아가고 i가 6과 같으면 반복문을 탈출하게끔 작성해 두었습니다. 1, 3, 5는 첫번째 조건문에 의해 시작 지점으로 돌아가 출력이 되지 않은것이며, 6부터는 두번째 조건문을 만나 반복문을 탈출하여 이후의 문장이 수행되지 않는 것입니다.</p>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">3-1. range 함수</span></b></p></div><p><br></p>
<p>여기서 range 함수를 for문에 이용할 수 있는데, range 함수는 숫자의 범위를 가지는 range 객체를 돌려보내며 이를 통하여 for문 내에서 위치를 가지고 요소를 가져오거나 변경할 수 있습니다. 한번 보도록 합시다.</p>
<div><div id="highlighter_785602" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">for</code> <code class="python plain">i </code><code class="python keyword">in</code> <code class="python functions">range</code><code class="python plain">(</code><code class="python value">10</code><code class="python plain">):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(i, end</code><code class="python keyword">=</code><code class="python string">" "</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"> </div><div class="line number4 index3 alt1"><code class="python value">0</code> <code class="python value">1</code> <code class="python value">2</code> <code class="python value">3</code> <code class="python value">4</code> <code class="python value">5</code> <code class="python value">6</code> <code class="python value">7</code> <code class="python value">8</code> <code class="python value">9</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는 range(10)이 0에서부터 9까지의 범위를 지니는 range 객체를 만들어내며, 이 객체를 가지고 순차적으로 접근하여 값이 i에 담긴 뒤, 저장된 i의 값을 print문으로 출력하는 것입니다. 이를 리스트에서 응용하게 되면 아래의 예제와 같이 사용할 수 있을 것입니다.</p>
<div><div id="highlighter_195524" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">for</code> <code class="python plain">i </code><code class="python keyword">in</code> <code class="python functions">range</code><code class="python plain">(</code><code class="python functions">len</code><code class="python plain">(lst)):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">if</code> <code class="python plain">i </code><code class="python keyword">%</code> <code class="python value">2</code> <code class="python keyword">=</code><code class="python keyword">=</code> <code class="python value">0</code><code class="python plain">:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python plain">lst[i] </code><code class="python keyword">*</code><code class="python keyword">=</code> <code class="python value">2</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python keyword">else</code><code class="python plain">:</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python plain">lst[i] </code><code class="python keyword">*</code><code class="python keyword">=</code> <code class="python keyword">-</code><code class="python value">2</code></div><div class="line number7 index6 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(lst[i], end</code><code class="python keyword">=</code><code class="python string">" "</code><code class="python plain">)</code></div><div class="line number8 index7 alt1"> </div><div class="line number9 index8 alt2"><code class="python value">2</code> <code class="python keyword">-</code><code class="python value">4</code> <code class="python value">6</code> <code class="python keyword">-</code><code class="python value">8</code> <code class="python value">10</code></div></div></td></tr></tbody></table></div></div>
<p>위의 예제를 보시면, len 함수를 통해 리스트 lst의 요소 수를 구하고 이 요소 수를 통해 range 함수를 호출하여 요소 수 만큼 반복하게 됩니다. for문의 내부 블록을 보시면 i를 2로 나눈 나머지가 0인 경우, 즉 짝수인 경우에는 i번째 요소의 값에 2를 곱한 값을 저장하고, 홀수인 경우에는 i번째 요소의 값에 -2를 곱한 값을 저장합니다. 결과를 보시면 "2 -4 6 -8 10"과 같은 결과를 보실 수 있습니다. 위의 예제에서는 0~4의 범위를 지닌 range 객체를 만들어 낸것이라고 보면 됩니다. 이해가 잘 되지 않는다면 위 예제를 응용하여 한가지 예를 더 만들어보시면 range 함수가 어떤 녀석인지 이해를 하실 수 있을것 같습니다.<br></p>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">3-2. 반복문의 중첩</span></b></p></div><p><br></p>
<p>반복문의 중첩이란, 반복문 내에 반복문이 들어가는 것으로써 for문 내에 while문이 들어갈수도 있으며, while문 내에 while문이 들어갈 수 있는 등 여러 개의 반복문이 중첩되어 사용될 수 있습니다. 예를 들면, 반복문 중첩을 통해 구구단을 모두 출력할 수 있습니다.</p>
<div><div id="highlighter_128977" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">while</code> <code class="python plain">i <</code><code class="python keyword">=</code> <code class="python value">9</code><code class="python plain">:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">j </code><code class="python keyword">=</code> <code class="python value">1</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">while</code> <code class="python plain">j <</code><code class="python keyword">=</code> <code class="python value">9</code><code class="python plain">:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(i, </code><code class="python string">" * "</code><code class="python plain">, j, </code><code class="python string">" = "</code><code class="python plain">, i </code><code class="python keyword">*</code> <code class="python plain">j)</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python plain">j </code><code class="python keyword">+</code><code class="python keyword">=</code> <code class="python value">1</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python plain">i </code><code class="python keyword">+</code><code class="python keyword">=</code> <code class="python value">1</code></div><div class="line number7 index6 alt2"> </div><div class="line number8 index7 alt1"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">1</code> <code class="python keyword">=</code> <code class="python value">2</code></div><div class="line number9 index8 alt2"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">2</code> <code class="python keyword">=</code> <code class="python value">4</code></div><div class="line number10 index9 alt1"><code class="python plain">...</code></div><div class="line number11 index10 alt2"><code class="python value">9</code> <code class="python keyword">*</code> <code class="python value">8</code> <code class="python keyword">=</code> <code class="python value">72</code></div><div class="line number12 index11 alt1"><code class="python value">9</code> <code class="python keyword">*</code> <code class="python value">9</code> <code class="python keyword">=</code> <code class="python value">81</code></div></div></td></tr></tbody></table></div></div>
<p>위처럼 while문을 사용할 수 있으나, 아래처럼 for문을 사용할 수도 있습니다.</p>
<div><div id="highlighter_44477" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">for</code> <code class="python plain">i </code><code class="python keyword">in</code> <code class="python functions">range</code><code class="python plain">(</code><code class="python value">2</code><code class="python plain">, </code><code class="python value">10</code><code class="python plain">):</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python keyword">for</code> <code class="python plain">j </code><code class="python keyword">in</code> <code class="python functions">range</code><code class="python plain">(</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">10</code><code class="python plain">):</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(i, </code><code class="python string">" * "</code><code class="python plain">, j, </code><code class="python string">" = "</code><code class="python plain">, i </code><code class="python keyword">*</code> <code class="python plain">j)</code></div><div class="line number4 index3 alt1"> </div><div class="line number5 index4 alt2"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">1</code> <code class="python keyword">=</code> <code class="python value">2</code></div><div class="line number6 index5 alt1"><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">2</code> <code class="python keyword">=</code> <code class="python value">4</code></div><div class="line number7 index6 alt2"><code class="python plain">...</code></div><div class="line number8 index7 alt1"><code class="python value">9</code> <code class="python keyword">*</code> <code class="python value">8</code> <code class="python keyword">=</code> <code class="python value">72</code></div><div class="line number9 index8 alt2"><code class="python value">9</code> <code class="python keyword">*</code> <code class="python value">9</code> <code class="python keyword">=</code> <code class="python value">81</code></div></div></td></tr></tbody></table></div></div>
<p>참고로 이렇게 두번만 중첩되는게 아니라 여러번 중첩될 수 있다는 사실을 기억해두시기 바랍니다</p><p><br></p><p><span style="font-weight: bold;">출처 : </span><a href="http://blog.eairship.kr/" target="_blank" style="background-color: rgb(255, 255, 255); font-weight: bold;">http://blog.eairship.kr</a><br></p></div></div><div id="entry282Comment" style="display:block"><div class="comment"><div class="commentWrite">
</div><!-- //commentWrite -->
</div><!-- //comment -->
</div></div>
[펌]파이썬 강좌 5편. 조건문(Condition Statements)
http://www.webprogramer.kr/blog/P000000316/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><a href="/280"><span style="font-size: 24px;">파이썬 강좌 5편. 조건문(Condition Statements)</span></a></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: start; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><span style="font-weight: bold;">출처 : <a href="http://blog.eairship.kr" target="_blank">http://blog.eairship.kr</a></span><img src="http://cfile4.uf.tistory.com/image/233B984C5241893C22EE26" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">1. 조건문(Condition Statements)</span></b></p></div><p><br></p><p>이번에는 조건문(Condition Statements)에 대해서 알아보도록 하겠습니다. 조건문이란 말 그대로 조건의 결과에 따라서 실행되는 문장이 결정됩니다. 파이썬에서의 조건문은 바로 if문으로, 이 if문을 사용하면 조건식이 참(True)이냐 거짓(False)이냐에 따라 실행되는 문장을 다르게 만들 수 있습니다. 우선은 if문의 구조부터 보도록 하겠습니다.</p>
<div><div id="highlighter_975164" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">if</code> <code class="python plain">조건식:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div></div></td></tr></tbody></table></div></div>
<p>위의 구조를 보시면, 조건식이 참(True)과 거짓(False)으로 나뉘는데 주로 논리 연산자나 산술 연산자 등이 많이 쓰입니다. 예를 들어서, '만약에 변수 a의 값이 5보다 클 경우~'라는 조건을 만들어주고 싶으시면 'if a > 5:'라고 써주시면 됩니다. 주의하실 점은, 조건식 뒤에 반드시 콜론(:)을 빼먹지 않고 적어주어야만 합니다. 파이썬은 괄호로 묶는 다른 언어와는 다르게, 들여쓰기로 영역을 구분합니다.<br></p><p><br></p><p>이 if문을 더 간단하게 설명하자면, 실생활에서 내일 친구의 집에 놀러가려고 하는데 만약 비가 온다면 놀러가지 못하는 것을 예로 들어보겠습니다. 이를 if문으로 표현하면 아래와 같을 것입니다.</p>
<div><div id="highlighter_903347" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">if</code> <code class="python plain">내일 비가 온다:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">집에서 잠이나 잔다</code></div></div></td></tr></tbody></table></div></div>
<p>더 쉽게 그림으로 이를 표현한다면 아래와 같을 것입니다.</p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:303px;;height:auto;max-width:100%"><img src="http://cfile1.uf.tistory.com/image/2653E34952419838244245" style="max-width:100%;height:auto" width="303" height="245" filename="K-2.png" filemime="image/jpeg"></span></p><p style="text-align: center;"><b><span style="color: rgb(61, 183, 204);"><순서도(Flow Chart)를 통한 예></span></b></p><p><br></p><p>위 순서도를 보았을 때, 내일 비가 온다는게 조건으로 주어지면 비가 왔을때 집에서 잠을 자고, 비가 오지 않았을때는 조건에 해당하는 문장이 실행되지 않기 때문에 집에서 잠을 자지 않습니다. 이번에는 조건문에 대한 이해를 위하여, 직접 if문 이용하여 코드를 작성해보도록 하겠습니다.</p>
<div><div id="highlighter_345429" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> money </code><code class="python keyword">=</code> <code class="python value">1000</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">if</code> <code class="python plain">money ></code><code class="python keyword">=</code> <code class="python value">500</code><code class="python plain">:</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"돈이 500원 이상 있습니다."</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python plain">돈이 </code><code class="python value">500</code><code class="python plain">원 이상 있습니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 코드를 보시면 변수 money가 1000이란 값을 지니며, 아래에 조건문으로 '만약에 변수 money의 값이 500 이상일 경우'에 '돈이 500원 이상 있습니다.'라는 문장을 출력하도록 했습니다. 만약, money의 값이 500 미만이였다면 조건식이 거짓이 되어 돈이 500원 이상 있다는 문장은 출력되지 않습니다. 이번에는, 조건에 해당하지 않을 경우에도 문장을 출력해보도록 해볼까요?</p><p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">2. else문</span></b></p></div><p><br></p><p>방금 예제에서 if문만으로 무언가 부족하다는 느낌이 들죠? 파이썬에서는 어떠한 조건에 해당하지 않는 경우에 대해서 처리를 할 수 있도록 'else'문이라는 것이 존재합니다. 우선은 if~else문의 구조를 보도록 합시다.</p>
<div><div id="highlighter_50884" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">if</code> <code class="python plain">조건식:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div><div class="line number3 index2 alt2"><code class="python keyword">else</code><code class="python plain">:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div></div></td></tr></tbody></table></div></div>
<p>위의 구조에서 만약에 조건식이 참일 경우에는 if문 아래의 문장이 실행되고, 그 외의 경우는 else문 아래의 문장이 실행됩니다. 참고로 else문은 if문에 종속적이며, else문 홀로 쓰일 수 없습니다. 이어서 if~else문도 동일하게 순서도로 예를 들어보도록 하겠습니다.</p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:512px;;height:auto;max-width:100%"><img src="http://cfile28.uf.tistory.com/image/22449A4C5241A4A10E58A3" style="max-width:100%;height:auto" width="512" height="244" filename="K-3.png" filemime="image/jpeg"></span></p><p style="text-align: center;"><b><span style="color: rgb(61, 183, 204);"><순서도(Flow Chart)를 통한 예></span></b><br></p><p><br></p><p>위 순서도에서는 이번에는 비가 올 경우에는 '집에서 잠이나 잔다'가 실행되고, 비가 오지 않을 경우에는 '밖으로 놀러 나간다'가 실행됩니다. else문이 어떤 녀석인지 이해하셨나요? 이해가 그래도 잘 되지 않는다면, 아까 보았던 예제에서 else문을 덧붙여 코드를 수정하고 결과를 확인해보도록 합시다.</p>
<div><div id="highlighter_101800" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> money </code><code class="python keyword">=</code> <code class="python value">430</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">if</code> <code class="python plain">money ></code><code class="python keyword">=</code> <code class="python value">500</code><code class="python plain">:</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"돈이 500원 이상 있습니다."</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python keyword">else</code><code class="python plain">:</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"돈이 500원 미만입니다."</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python plain">돈이 </code><code class="python value">500</code><code class="python plain">원 미만입니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 코드에서는 변수 money의 값이 430이니 500보다 미만의 값임을 알 수 있습니다. 'money >= 500'이란 조건은 money의 값이 500 이상이여야 성립되는 조건인데 값이 430이므로 거짓이 되어 실행되지 않습니다. 이 때, else문 위에 있는 조건에 해당하지 않으므로 else문 아래의 문장이 실행됩니다. 이렇게 if~else문을 통해서 간단하게 조건 판단을 할 수 있으나 조건이 늘어나면 점점 더 어려워지고 복잡해집니다. 여기서 if문과 else문 사이에 elif문이라는 녀석을 넣어 다양한 조건 판단을 할 수 있게끔 만들 수 있습니다.</p><p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">3. elif문</span></b></p></div><p><br></p><p>파이썬에서 elif문은 한번만 사용할 수 있는 if문과 else문과는 다르게, if문과 else문 사이에 여러번 사용할 수 있습니다. 먼저 elif문의 구조를 살펴보고, 어떠한 녀석인지 같이 살펴보도록 합시다.</p>
<div><div id="highlighter_872183" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python keyword">if</code> <code class="python plain">조건식:</code></div><div class="line number2 index1 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div><div class="line number3 index2 alt2"><code class="python keyword">elif</code> <code class="python plain">조건식:</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div><div class="line number5 index4 alt2"><code class="python keyword">else</code><code class="python plain">:</code></div><div class="line number6 index5 alt1"><code class="python spaces"> </code><code class="python plain">문장</code></div></div></td></tr></tbody></table></div></div>
<p>위의 구조를 살펴보시면, if문의 조건식의 결과가 거짓일 때 elif문의 조건식을 검사하며 이 조건식마저도 거짓일 때 아무런 조건에도 해당하지 않으므로 else문의 문장이 실행됩니다. if~elif~else문을 순서도로 표현하자면 아래와 같습니다.</p><p><br></p><p><span class="imageblock" style="display:inline-block;width:520px;width: 520px; height: 315px;;height:auto;max-width:100%"><span data-url="http://cfile21.uf.tistory.com/attach/2250543E5241B19612B3F0" data-lightbox="lightbox"><img src="http://cfile21.uf.tistory.com/image/2250543E5241B19612B3F0" style="cursor: pointer;max-width:100%;height:auto" width="520" height="315" filename="K-5.png" filemime="image/jpeg"></span></span><br></p><p style="text-align: center; clear: none; float: none;"></p><p style="text-align: center;"><b><span style="color: rgb(61, 183, 204);"><순서도(Flow Chart)를 통한 예></span></b><br></p><p><br></p><p>위 순서도에서는 비가 온다면 집에서 잠을 자고, 비가 오지 않으면 친구가 집에 있는지 확인합니다. 만약에 친구가 집에 있다면 친구 집으로 놀러가고, 없다면 집에서 놉니다. 여기서는 '비가 온다'가 if문에 해당하는 부분이며, '친구가 집에 있다'가 elif문에 해당합니다. elif문에 대해서 이해가 안되시면, 코드를 우선 보고 어떨때 사용하는 녀석인지 감을 잡도록 합시다.</p>
<div><div id="highlighter_282254" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> money </code><code class="python keyword">=</code> <code class="python value">500</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">if</code> <code class="python plain">money > </code><code class="python value">500</code><code class="python plain">:</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"가지고 있는 돈이 500원보다 많습니다."</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python keyword">elif</code> <code class="python plain">money </code><code class="python keyword">=</code><code class="python keyword">=</code> <code class="python value">500</code><code class="python plain">:</code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"가지고 있는 돈이 500원입니다."</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python keyword">else</code><code class="python plain">:</code></div><div class="line number7 index6 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"가지고 있는 돈이 500원보다 적습니다."</code><code class="python plain">)</code></div><div class="line number8 index7 alt1"><code class="python plain">가지고 있는 돈이 </code><code class="python value">500</code><code class="python plain">원입니다.</code></div></div></td></tr></tbody></table></div></div>
<p>위 코드에서는, 먼저 money의 값이 500보다 큰지 검사합니다. 변수 money의 값은 500이므로, 500보다 크지않아 elif문으로 넘어갑니다. elif문에서는 money의 값이 500과 같은지 검사하는데, money의 값과 500이 서로 같으므로 '가지고 있는 돈이 500원입니다.' 라는 문장을 출력합니다. 그리고 마지막의 else문은 하나라도 조건이 해당하는게 있으므로 실행되지 않습니다. 간단하죠? 참고로 파이썬은 블록을 들여쓰기로 구분하므로, 들여쓰기가 잘못된 경우에는 에러가 발생할 수 있으니 주의하세요.</p></div></div><div id="entry280Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/280" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
[펌]파이썬 강좌 4-6편. 부울(Bool)
http://www.webprogramer.kr/blog/P000000314/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 4-6편. 부울(Bool)</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: start; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile30.uf.tistory.com/image/2459B03A5231A6B81BB205" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">1. 부울(Bool)</span></b></p></div><p><br></p><p>오늘은 부울(Bool)에 대해서 알아보도록 하겠습니다. 이 부울이란 녀석은 참과 거짓을 나타내는 자료형이며, 참은 True로, 거짓은 False로 표현이 됩니다. 이 부울을 보자니 도대체 어디에 사용되는 녀석인지 생각이 도저히 나지 않으시는 분들도 계실겁니다. 왜 부울이라는 개념이 존재할까요? 참과 거짓은 도대체 어디에 사용되는 것일까요? 이는 파이썬 내의 논리 연산자를 통한 논리 연산이나, 수치를 서로 비교할때 사용하는 비교 연산자의 결과로 사용됩니다. <br></p>
<div><div id="highlighter_45533" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python value">3</code> <code class="python plain">> </code><code class="python value">5</code></div><div class="line number2 index1 alt1"><code class="python color1">False</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python value">4</code> <code class="python plain">< </code><code class="python value">6</code></div><div class="line number4 index3 alt1"><code class="python color1">True</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python string">'a'</code><code class="python keyword">=</code><code class="python keyword">=</code><code class="python string">'b'</code></div><div class="line number6 index5 alt1"><code class="python color1">False</code></div><div class="line number7 index6 alt2"><code class="python plain">>>> </code><code class="python value">3.14</code><code class="python plain">!</code><code class="python keyword">=</code><code class="python value">3.14</code></div><div class="line number8 index7 alt1"><code class="python color1">False</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에 쓰인 비교 연산자들을 차례대로 설명하자면, 1행과 3행에서는 어느게 더 큰가 작은가를 비교하는 연산자 >와 <가 사용되었으며, 5행에서는 서로 같은지 비교하는 연산자인 ==가, 7행에서는 서로 다른지 비교하는 연산자인 !=가 사용되었습니다. 다시 돌아와서, 1행의 '3 > 5'에서는 당연히 3보다 5가 크므로 False이 됩니다. 이어서 3행의 '4 < 6'에서는 4보다 6이 크므로 True가 됩니다. 5행의 'a'=='b'에서는 'a'와 'b'가 서로 같지 않으므로 False를, 7행의 '3.14!=3.14'에서는 서로 다르지 않으므로 False를 돌려주는 것입니다.</p><p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">2. 논리 연산자</span></b></p></div><p><br></p><p> 이번에는 비교 연산자에 이어서 논리 연산자에 대해서도 간단히 알아보도록 하겠습니다. 파이썬에서의 논리 연산자는 논리곱을 의미하는 and(&)가 있으며, 논리합을 의미하는 or(|)가 있으며, 부정을 의미하는 not이 있습니다. 논리곱(and)은 두 값이 모두 참이여야만 참을 내보내며, 논리합(or)은 두 값중 하나라도 참일 경우에 참을 내보내고, 부정(not)은 값을 부정하는 것으로써 참일 경우 거짓을, 거짓인 경우 참을 내보냅니다. 우선 예제를 보도록 합시다.<br></p>
<div><div id="highlighter_904203" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python color1">True</code> <code class="python keyword">and</code> <code class="python color1">False</code></div><div class="line number2 index1 alt1"><code class="python color1">False</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python color1">False</code> <code class="python keyword">or</code> <code class="python color1">True</code></div><div class="line number4 index3 alt1"><code class="python color1">True</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python keyword">not</code> <code class="python color1">False</code></div><div class="line number6 index5 alt1"><code class="python color1">True</code></div><div class="line number7 index6 alt2"><code class="python plain">>>> </code><code class="python value">4</code> <code class="python plain">> </code><code class="python value">5</code> <code class="python keyword">and</code> <code class="python value">104</code> <code class="python plain">< </code><code class="python value">311.4</code></div><div class="line number8 index7 alt1"><code class="python color1">False</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 차근차근 살펴보자면, 1행에서 True와 False를 가지고 논리곱 연산을 합니다. 여기서는 두 값이 모두 참이 아니므로 False를 내보냅니다. 3행에서는 False와 True를 가지고 논리합 연산을 하는데, 두 값중에 참이 하나라도 있으므로 True를 내보냅니다. 5행에서는 False를 부정하여 반대되는 값인 True를 내보냅니다. 7행에서는 '4 > 5'에서 5가 더 크므로 False, '104 < 311.4'에서는 311.4가 더 크므로 True를 내보냅니다. 결과적으로 'False and True'가 되는 것이며 이는 False가 되는 것입니다. 논리 연산자와 관련된 것은 아니지만 한가지 예를 더 보도록 합시다.</p>
<div><div id="highlighter_669633" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">bool</code><code class="python plain">(</code><code class="python value">0</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python color1">False</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python functions">bool</code><code class="python plain">(</code><code class="python value">1</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python color1">True</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python functions">bool</code><code class="python plain">(</code><code class="python value">5.41</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python color1">True</code></div><div class="line number7 index6 alt2"><code class="python plain">>>> </code><code class="python functions">bool</code><code class="python plain">([])</code></div><div class="line number8 index7 alt1"><code class="python color1">False</code></div><div class="line number9 index8 alt2"><code class="python plain">>>> </code><code class="python functions">bool</code><code class="python plain">(</code><code class="python string">'a'</code><code class="python plain">)</code></div><div class="line number10 index9 alt1"><code class="python color1">True</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에 사용된 내장 함수 bool은 임의의 형식을 가진 객체를 부울 형식으로 변환하는 것으로, 0과 값이 비어있는 경우는 False이며 0을 제외한 모든 값은 True라는 사실을 알 수 있습니다. 이 부울이란 녀석은, 나중에 배울 반복문이나 조건문 등과 같은데서 조건식으로 많이 쓰이니 앞으로 많이 만나보실 수 있으실 겁니다. 부울에 대한 설명은 여기까지 하도록 하고, 다음 강좌에서는 조건문에 대해 알아보도록 하겠습니다. 모두 수고하셨습니다!</p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">출처 : </span><a href="http://blog.eairship.kr/" target="_blank" style="background-color: rgb(255, 255, 255); font-weight: bold;">http://blog.eairship.kr</a></p></div></div><div id="entry279Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/279" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
[펌]파이썬 강좌 4-5편. 사전(Dictionary)
http://www.webprogramer.kr/blog/P000000313/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 4-5편. 사전(Dictionary)</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: start; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile7.uf.tistory.com/image/2423F84A522C6B63072F81" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">1. 사전(Dictionary)</span></b></p></div><p><br>이번에는 사전(Dictionary)에 대해서 알아보도록 하겠습니다. 사전이란 우리가 흔히 알고있는 국어사전, 영어사전 등과 같이 단어와 뜻이 한 쌍이듯이 파이썬에서의 사전도 키(Key)와 값(Value)이 한 쌍으로 이루어져 있습니다. 이런 사전은 튜플이나 리스트와는 다르게 위치를 통한 인덱싱이 허용되지 않습니다. 그 대신, 키를 통해서 값을 찾을 수는 있습니다. 사전을 어떻게 만들 수 있는지 사전의 형식을 한번 보도록 합시다.</p>
<div><div id="highlighter_30379" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> dic </code><code class="python keyword">=</code> <code class="python plain">{</code><code class="python string">'name'</code><code class="python plain">:</code><code class="python string">'Smith'</code><code class="python plain">, </code><code class="python string">'rank'</code><code class="python plain">:</code><code class="python value">1</code><code class="python plain">, </code><code class="python string">'average'</code><code class="python plain">:</code><code class="python value">97.5</code><code class="python plain">}</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python functions">type</code><code class="python plain">(dic)</code></div><div class="line number3 index2 alt2"><code class="python plain"><</code><code class="python keyword">class</code> <code class="python string">'dict'</code><code class="python plain">></code></div><div class="line number4 index3 alt1"><code class="python plain">>>> dic</code></div><div class="line number5 index4 alt2"><code class="python plain">{</code><code class="python string">'name'</code><code class="python plain">: </code><code class="python string">'Smith'</code><code class="python plain">, </code><code class="python string">'average'</code><code class="python plain">: </code><code class="python value">97.5</code><code class="python plain">, </code><code class="python string">'rank'</code><code class="python plain">: </code><code class="python value">1</code><code class="python plain">}</code></div></div></td></tr></tbody></table></div></div>
<p>우선, 위 예제의 1행을 보시면 사전 형식의 변수 dic이 보이는데 키와 값들을 중괄호로 묶은 것을 보실 수 있습니다. 또한, 키와 값은 콜론(:)으로 구분이 되는 것 또한 알 수 있습니다. 예를 들어서, 저기에서는 키가 'name', 'rank', 'average'이며 값은 'Smith', 1, 97.5와 같이 서로 쌍을 이룹니다. 저기선 키가 모두 문자열이지만, 숫자도 될 수 있으며 튜플도 사용할 수 있습니다. 하지만 리스트나 사전은 키로 사용하지 못합니다.</p>
<div><div id="highlighter_754995" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> dic </code><code class="python keyword">=</code> <code class="python plain">{</code><code class="python value">123</code><code class="python plain">:</code><code class="python value">456</code><code class="python plain">, </code><code class="python value">3.14</code><code class="python plain">:</code><code class="python value">41.3</code><code class="python plain">, (</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">):(</code><code class="python value">3</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">), </code><code class="python string">'abc'</code><code class="python plain">:</code><code class="python string">'def'</code><code class="python plain">, </code><code class="python string">'list'</code><code class="python plain">:{</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">}, </code><code class="python string">'dict'</code><code class="python plain">:{</code><code class="python value">1</code><code class="python plain">:</code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">:</code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">:</code><code class="python value">6</code><code class="python plain">}}</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> dic</code></div><div class="line number3 index2 alt2"><code class="python plain">{</code><code class="python string">'dict'</code><code class="python plain">: {</code><code class="python value">1</code><code class="python plain">: </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">: </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">: </code><code class="python value">6</code><code class="python plain">}, </code><code class="python value">3.14</code><code class="python plain">: </code><code class="python value">41.3</code><code class="python plain">, (</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">): (</code><code class="python value">3</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">), </code><code class="python string">'abc'</code><code class="python plain">: </code><code class="python string">'def'</code><code class="python plain">, </code><code class="python string">'list'</code><code class="python plain">: {</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">}, </code><code class="python value">123</code><code class="python plain">: </code><code class="python value">456</code><code class="python plain">}</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 살펴보시면 여러가지 형식의 키와 값이 존재합니다. 키와는 다르게 값에는 어떠한 형식의 데이터라도 들어가는 것을 보실 수 있고, 이번에는 키를 통해서 값을 가져와 보도록 하겠습니다.</p>
<div><div id="highlighter_458439" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> dic </code><code class="python keyword">=</code> <code class="python plain">{</code><code class="python string">'name'</code><code class="python plain">:</code><code class="python string">'John'</code><code class="python plain">, </code><code class="python string">'age'</code><code class="python plain">:</code><code class="python value">21</code><code class="python plain">, </code><code class="python string">'e-mail'</code><code class="python plain">:</code><code class="python string">'john33@abc.com'</code><code class="python plain">}</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> dic[</code><code class="python string">'name'</code><code class="python plain">]</code></div><div class="line number3 index2 alt2"><code class="python string">'John'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> dic[</code><code class="python string">'age'</code><code class="python plain">]</code></div><div class="line number5 index4 alt2"><code class="python value">21</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> dic[</code><code class="python value">0</code><code class="python plain">]</code></div><div class="line number7 index6 alt2"><code class="python plain">Traceback (most recent call last):</code></div><div class="line number8 index7 alt1"><code class="python spaces"> </code><code class="python functions">File</code> <code class="python string">"<pyshell#18>"</pyshell#18></code><code class="python plain">, line </code><code class="python value">1</code><code class="python plain">, </code><code class="python keyword">in</code> <code class="python plain"><module></module></code></div><div class="line number9 index8 alt2"><code class="python spaces"> </code><code class="python plain">dic[</code><code class="python value">0</code><code class="python plain">]</code></div><div class="line number10 index9 alt1"><code class="python plain">KeyError: </code><code class="python value">0</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는 2행과 4행을 보시면 '사전명[키]' 이러한 식으로 키에 해당하는 값을 가져오는 것을 볼 수 있습니다. 그러나 6행과 같이 위치를 통해서는 값을 가져오지 못하며, 이는 사전에서 자료의 순서라는 개념이 존재하지 않아 위치를 통한 인덱싱이 불가능하고, 이런 인덱싱이 불가능하니 우리가 생각하는 슬라이싱도 불가능 하다는 것을 알 수 있습니다. 보는 그대로 값을 가져오려면 위처럼 키를 통해 값을 가져와야 합니다.</p>
<div><div id="highlighter_781907" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> dic </code><code class="python keyword">=</code> <code class="python plain">{</code><code class="python string">'key1'</code><code class="python plain">:</code><code class="python string">'value1'</code><code class="python plain">, </code><code class="python string">'key2'</code><code class="python plain">:</code><code class="python string">'value2'</code><code class="python plain">}</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> dic[</code><code class="python string">'key1'</code><code class="python plain">] </code><code class="python keyword">=</code> <code class="python string">'value3'</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> dic[</code><code class="python string">'key2'</code><code class="python plain">] </code><code class="python keyword">=</code> <code class="python string">'value4'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> dic</code></div><div class="line number5 index4 alt2"><code class="python plain">{</code><code class="python string">'key2'</code><code class="python plain">: </code><code class="python string">'value4'</code><code class="python plain">, </code><code class="python string">'key1'</code><code class="python plain">: </code><code class="python string">'value3'</code><code class="python plain">}</code></div></div></td></tr></tbody></table></div></div>
<p>또한, 위 예제를 통해서 키를 통해 값을 변경할 수 있다는 사실을 알 수 있습니다. 그러나 키값은 변경할 수 없습니다. 주의할 점이 한가지 더 있는데, 그것은 사전에서 키가 중복되면 안됩니다. 물론, 같은 키에다 다른 값을 가진 두개의 요소가 존재할 수 있지만 어느 값을 가져올지 모르며 다른 하나가 무시될 수 있습니다. 그리고 사전에서 요소를 제거하려면 del라는 내장 함수를 사용하면 됩니다. 아래와 같이 말이죠.</p>
<div><div id="highlighter_453997" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> dic </code><code class="python keyword">=</code> <code class="python plain">{</code><code class="python string">'a'</code><code class="python plain">:</code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">:</code><code class="python string">'d'</code><code class="python plain">, </code><code class="python string">'e'</code><code class="python plain">:</code><code class="python string">'f'</code><code class="python plain">}</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> dic</code></div><div class="line number3 index2 alt2"><code class="python plain">{</code><code class="python string">'e'</code><code class="python plain">: </code><code class="python string">'f'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">: </code><code class="python string">'d'</code><code class="python plain">, </code><code class="python string">'a'</code><code class="python plain">: </code><code class="python string">'b'</code><code class="python plain">}</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> </code><code class="python keyword">del</code> <code class="python plain">dic[</code><code class="python string">'a'</code><code class="python plain">]</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> dic</code></div><div class="line number6 index5 alt1"><code class="python plain">{</code><code class="python string">'e'</code><code class="python plain">: </code><code class="python string">'f'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">: </code><code class="python string">'d'</code><code class="python plain">}</code></div></div></td></tr></tbody></table></div></div>
<p>위와 같이 del 함수를 사용하여 요소를 제거할 수 있으며, 이 del 함수는 사전의 요소뿐만 아니라 리스트, 변수, 함수 등 제거할 수 있는것이 여러가지가 있습니다. 간단하죠?<br></p><p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">2. 관련 함수</span></b></p></div><p><br></p><p>두번째로, 사전에 관련된 함수를 차례대로 보도록 하겠습니다. keys, values, items, clear, in 이렇게 총 6개의 함수와 대해서 알아보도록 합시다. 처음부터 keys 함수를 보도록 하겠습니다.</p><p><br></p><p>
<span style="background-color: rgb(70, 65, 217); font-size: 14pt; color: rgb(70, 65, 217);"> </span><b><span style="color: rgb(70, 65, 217); font-size: 14pt;"><span style="color: rgb(70, 65, 217);"> </span><span style="color: rgb(70, 65, 217);">사전 - 사전 키 리스트(keys) 함수</span></span></b>
</p><p><br></p><p>먼저 아래의 예제를 보도록 합시다.</p>
<div><div id="highlighter_141470" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> dic </code><code class="python keyword">=</code> <code class="python plain">{</code><code class="python string">'name'</code><code class="python plain">:</code><code class="python string">'Smith'</code><code class="python plain">, </code><code class="python string">'phone'</code><code class="python plain">:</code><code class="python string">'01131313131'</code><code class="python plain">, </code><code class="python string">'age'</code><code class="python plain">:</code><code class="python value">18</code><code class="python plain">}</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> dic.keys()</code></div><div class="line number3 index2 alt2"><code class="python plain">dict_keys([</code><code class="python string">'name'</code><code class="python plain">, </code><code class="python string">'age'</code><code class="python plain">, </code><code class="python string">'phone'</code><code class="python plain">])</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서 keys 함수를 사용하면 3행과 같이 dict_keys 객체를 내보냅니다. 이 dict_keys 객체는 사전의 키를 모아서 만든 것이라고 할 수 있습니다. 아직 반복문은 배우지 않았으나, for라는 녀석을 통해 keys 함수가 내뱉는 dict_keys 객체를 통해서 순회하여 접근할 수 있습니다.</p>
<div><div id="highlighter_663673" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> dic </code><code class="python keyword">=</code> <code class="python plain">{</code><code class="python string">'name'</code><code class="python plain">:</code><code class="python string">'Smith'</code><code class="python plain">, </code><code class="python string">'phone'</code><code class="python plain">:</code><code class="python string">'01131313131'</code><code class="python plain">, </code><code class="python string">'age'</code><code class="python plain">:</code><code class="python value">18</code><code class="python plain">}</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">for</code> <code class="python plain">i </code><code class="python keyword">in</code> <code class="python plain">dic.keys():</code></div><div class="line number3 index2 alt2"><code class="python spaces"> </code><code class="python functions">print</code><code class="python plain">(i)</code></div><div class="line number4 index3 alt1"> </div><div class="line number5 index4 alt2"><code class="python plain">name</code></div><div class="line number6 index5 alt1"><code class="python plain">age</code></div><div class="line number7 index6 alt2"><code class="python plain">phone</code></div></div></td></tr></tbody></table></div></div><p>
<span style="background-color: rgb(70, 65, 217); font-size: 14pt; color: rgb(70, 65, 217);"> </span><b><span style="color: rgb(70, 65, 217); font-size: 14pt;"><span style="color: rgb(70, 65, 217);"> </span><span style="color: rgb(70, 65, 217);">사전 - 사전 값 리스트(values) 함수</span></span></b>
<br></p><p><br></p><p>아래의 예제를 보도록 합시다.<br></p>
<div><div id="highlighter_380944" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> dic </code><code class="python keyword">=</code> <code class="python plain">{</code><code class="python string">'name'</code><code class="python plain">:</code><code class="python string">'Smith'</code><code class="python plain">, </code><code class="python string">'phone'</code><code class="python plain">:</code><code class="python string">'01131313131'</code><code class="python plain">, </code><code class="python string">'age'</code><code class="python plain">:</code><code class="python value">18</code><code class="python plain">}</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> dic.values()</code></div><div class="line number3 index2 alt2"><code class="python plain">dict_values([</code><code class="python string">'Smith'</code><code class="python plain">, </code><code class="python value">18</code><code class="python plain">, </code><code class="python string">'01131313131'</code><code class="python plain">])</code></div></div></td></tr></tbody></table></div></div>
<p>사전 키 리스트를 얻는 keys 함수와 동일하게, 이번에는 키가 아니라 값만을 가져오고 싶다면 values 함수를 사용하면 됩니다. values 함수도 비슷하게 dict_values 객체를 내보내며 이 객체는 사전의 값을 모아서 만든 것이라고 할 수 있습니다. 동일하게 반복문을 통해서 values 함수가 내뱉는 dict_values 객체를 통해서 순회하여 접근할 수 있습니다.<br></p><p><br></p><p><span style="background-color: rgb(70, 65, 217); font-size: 14pt; color: rgb(70, 65, 217);"> </span><b><span style="color: rgb(70, 65, 217); font-size: 14pt;"><span style="color: rgb(70, 65, 217);"> </span><span style="color: rgb(70, 65, 217);">사전 - 사전 키와 값으로 이루어진 쌍 리스트(items) 함수</span></span></b>
<br></p><p><br></p><p>우선은 아래의 예제를 보도록 합시다.</p>
<div><div id="highlighter_749860" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> dic </code><code class="python keyword">=</code> <code class="python plain">{</code><code class="python string">'name'</code><code class="python plain">:</code><code class="python string">'Smith'</code><code class="python plain">, </code><code class="python string">'phone'</code><code class="python plain">:</code><code class="python string">'01131313131'</code><code class="python plain">, </code><code class="python string">'age'</code><code class="python plain">:</code><code class="python value">18</code><code class="python plain">}</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> dic.items()</code></div><div class="line number3 index2 alt2"><code class="python plain">dict_items([(</code><code class="python string">'name'</code><code class="python plain">, </code><code class="python string">'Smith'</code><code class="python plain">), (</code><code class="python string">'age'</code><code class="python plain">, </code><code class="python value">18</code><code class="python plain">), (</code><code class="python string">'phone'</code><code class="python plain">, </code><code class="python string">'01131313131'</code><code class="python plain">)])</code></div></div></td></tr></tbody></table></div></div>
<p>이번에는 키와 값을 요소로 지니는 여러개의 튜플을 리스트로 돌려줍니다. items 함수는 dict_items 객체를 내보냅니다.<br></p><p><br></p><p>
<span style="background-color: rgb(70, 65, 217); font-size: 14pt; color: rgb(70, 65, 217);"> </span><b><span style="color: rgb(70, 65, 217); font-size: 14pt;"><span style="color: rgb(70, 65, 217);"> </span><span style="color: rgb(70, 65, 217);">사전 - 사전 초기화(clear) 함수</span></span></b>
<br></p><p><br></p><p>우선은 아래 예제를 보도록 합시다.</p>
<div><div id="highlighter_244944" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> dic </code><code class="python keyword">=</code> <code class="python plain">{</code><code class="python string">'name'</code><code class="python plain">:</code><code class="python string">'Smith'</code><code class="python plain">, </code><code class="python string">'phone'</code><code class="python plain">:</code><code class="python string">'01131313131'</code><code class="python plain">, </code><code class="python string">'age'</code><code class="python plain">:</code><code class="python value">18</code><code class="python plain">}</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> dic</code></div><div class="line number3 index2 alt2"><code class="python plain">{</code><code class="python string">'name'</code><code class="python plain">: </code><code class="python string">'Smith'</code><code class="python plain">, </code><code class="python string">'age'</code><code class="python plain">: </code><code class="python value">18</code><code class="python plain">, </code><code class="python string">'phone'</code><code class="python plain">: </code><code class="python string">'01131313131'</code><code class="python plain">}</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> dic.clear()</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> dic</code></div><div class="line number6 index5 alt1"><code class="python plain">{}</code></div></div></td></tr></tbody></table></div></div>
<p>이 clear 함수는 사전의 요소를 모두 제거하여 초기화 시키는 함수입니다. clear 함수를 사용하면 위 예제의 6행과 같이 요소가 모두 사라지게 됩니다.<br></p><p><br></p><p><span style="background-color: rgb(70, 65, 217); font-size: 14pt; color: rgb(70, 65, 217);"> </span><b><span style="color: rgb(70, 65, 217); font-size: 14pt;"><span style="color: rgb(70, 65, 217);"> </span><span style="color: rgb(70, 65, 217);">사전 - 사전 키에 해당하는 값 반환(get) 함수</span></span></b>
<br></p><p><br></p><p>우선은 아래 예제를 보도록 합시다.</p>
<div><div id="highlighter_560836" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> dic </code><code class="python keyword">=</code> <code class="python plain">{</code><code class="python string">'name'</code><code class="python plain">:</code><code class="python string">'Smith'</code><code class="python plain">, </code><code class="python string">'phone'</code><code class="python plain">:</code><code class="python string">'01131313131'</code><code class="python plain">, </code><code class="python string">'age'</code><code class="python plain">:</code><code class="python value">18</code><code class="python plain">}</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> dic.get(</code><code class="python string">'phone'</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python string">'01131313131'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> dic.get(</code><code class="python string">'age'</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python value">18</code></div></div></td></tr></tbody></table></div></div>
<p>이 get 함수는 키에 해당하는 값을 돌려줍니다. 만약 키 phone에 해당하는 값을 가져오려면 'dic.get('phone')'처럼 get 함수를 이용하는 방법과 'dic['phone']'처럼 함수를 쓰지 않고도 직접 값을 가져오는 방법이 있습니다.</p><p><br></p><p>
<span style="background-color: rgb(70, 65, 217); font-size: 14pt; color: rgb(70, 65, 217);"> </span><b><span style="color: rgb(70, 65, 217); font-size: 14pt;"><span style="color: rgb(70, 65, 217);"> </span><span style="color: rgb(70, 65, 217);">사전 - 사전 키 존재 여부 검사(in)</span></span></b><br><br>
</p><p>마지막으로 아래의 예제를 보도록 합시다.</p>
<div><div id="highlighter_461280" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> dic </code><code class="python keyword">=</code> <code class="python plain">{</code><code class="python string">'name'</code><code class="python plain">:</code><code class="python string">'Smith'</code><code class="python plain">, </code><code class="python string">'phone'</code><code class="python plain">:</code><code class="python string">'01131313131'</code><code class="python plain">, </code><code class="python string">'age'</code><code class="python plain">:</code><code class="python value">18</code><code class="python plain">}</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python string">'name'</code> <code class="python keyword">in</code> <code class="python plain">dic</code></div><div class="line number3 index2 alt2"><code class="python color1">True</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> </code><code class="python string">'job'</code> <code class="python keyword">in</code> <code class="python plain">dic</code></div><div class="line number5 index4 alt2"><code class="python color1">False</code></div></div></td></tr></tbody></table></div></div>
<p>파이썬에서 has_key라는 함수가 3.x 버전부터 사라지고, 이를 대체하여 in이라는 녀석을 통해 해당 키가 사전에 존재하는지 검사할 수 있습니다. 만약 존재하면 참(True)을, 존재하지 않다면 거짓(False)을 내보내게 됩니다. 2행을 보시면 키 'name'이 사전 dic에 있나 검사하는데 있으니 True를, 4행에서 키 'job'이 사전 dic에 있나 검사하는데 없으니 False을 내보내게 된겁니다. 유용하죠?</p><p><br></p><p><span style="font-weight: bold;">출처 : </span><a href="http://blog.eairship.kr/" target="_blank" style="background-color: rgb(255, 255, 255); font-weight: bold;">http://blog.eairship.kr</a><br></p></div></div></div>
키보드 청소 및 윤활 작업
http://www.webprogramer.kr/blog/P000000302/post.do
<p><span style="color: inherit;">처음 구매 했던 기계식 키보드 제닉스 그때 당시 6만원 가량 주고 샀던것으로 기억한다.</span></p><p><span style="color: inherit;">1~2년 잘썻는데 새로운 키보드를 구매하는 바람에 </span><span style="color: inherit;">지금은 집 데스크탑에 사용하고 있다.</span></p><p><span style="color: inherit;"><br></span></p><p><span style="color: inherit;">얼마전부터 회사에서 사용하는 키보드의 키감이 예전같지 않다라는 생각이들어 </span></p><p><span style="color: inherit;">기계식 키보드 청소하는 방법을 찾던중 키보드에 윤활을 한다는것을 알았다.</span></p><p><span style="color: inherit;">회사에서 사용하는 키보드보다 좀 저렴한 제닉스를 먼저 윤활하기로 하고...</span></p><p><span style="color: inherit;"><br></span>윤활은 키눌리는 부분과 스테빌라이저를 윤활을 하는데 각각 다른 윤활제를 써야 한다.</p><h4><span style="font-weight: bold; color: rgb(156, 0, 255);">사용윤활제</span></h4><p><span style="font-weight: bold; color: rgb(255, 0, 255);">키 : 크라이톡스 103과 107 점도가 다른 윤활제(키보드랩에서 구매)</span></p><p><span style="font-weight: bold; color: rgb(255, 0, 255);">스테빌라이저 : 튜브형 슈퍼루브 (인터넷에서 쉽게 구할수 있음)</span></p><p><br></p><p><span style="color: inherit; font-style: italic; font-family: Tahoma;">오늘의 주인공 제닉스 키보드</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1484110855212275361.jpg" data-filename="1484110855212275361.jpg" style="width: 681px;" class="img-thumbnail"><span style="font-weight: bold; color: rgb(255, 0, 255);"><br></span></p><p><span style="font-weight: bold; color: rgb(255, 0, 255);"><br></span></p><p><span style="color: inherit; font-style: italic; font-family: Tahoma;">먼지가 많이 보이네요.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1484110855219360904.jpg" data-filename="1484110855219360904.jpg" style="width: 681px;" class="img-thumbnail"><span style="font-weight: bold; color: rgb(255, 0, 255);"><br></span></p><p><span style="font-weight: bold; color: rgb(255, 0, 255);"><br></span></p><p><span style="color: inherit; font-style: italic; font-family: Tahoma;">현재 단종된 상태이고 중고나라에서 3~4만원에 거래되고 있다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1484110855212356129.jpg" data-filename="1484110855212356129.jpg" style="width: 681px;" class="img-thumbnail"><span style="font-weight: bold; color: rgb(255, 0, 255);"><br></span></p><p><span style="font-weight: bold; color: inherit; font-family: Tahoma;"><br></span></p><p><span style="font-family: Tahoma; font-style: italic;">키랩에서 구매한 크라이톡스 103과 107 둘을 썩어 쓰라고 공병을 1개 넣어주었다.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/1484110855223425938.jpg" data-filename="1484110855223425938.jpg" style="width: 100%;" class="img-thumbnail"></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">스테빌라이저 윤활용 슈퍼루브 튜브형 가격이 저렴하여 100g 짜리로 샀다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1484110920563149759.jpg" data-filename="1484110920563149759.jpg" class="img-thumbnail" style="color: inherit; font-family: Tahoma; font-style: italic; width: 100%;"></p><p><br></p><p><span style="font-style: italic; font-family: Tahoma;">키캡 분리</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/1484110942544259292.jpg" data-filename="1484110942544259292.jpg" style="width: 681px;" class="img-thumbnail"></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">갈축이 보인다.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/148411103485478842.jpg" data-filename="148411103485478842.jpg" style="width: 100%;" class="img-thumbnail"><br></span></p><p><span style="color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="color: inherit; font-family: Tahoma; font-style: italic;">모두 분리하고 세수대야에 담았다.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/1484110942527268152.jpg" data-filename="1484110942527268152.jpg" style="width: 681px;" class="img-thumbnail"></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">미지근한 중성세제에 담가놓고</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/1484110942586239129.jpg" data-filename="1484110942586239129.jpg" style="width: 100%;" class="img-thumbnail"></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">크라이톡스 103과 107 구분을위해 빨간색 테이프를 붙여서 보내주었다.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/1484110942587155469.jpg" data-filename="1484110942587155469.jpg" style="width: 100%;" class="img-thumbnail"></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">50:50 비율로 섞어쓴다고 하니 비슷한 비율로 반반씩 섞었다.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/1484110942608592626.jpg" data-filename="1484110942608592626.jpg" style="width: 100%;" class="img-thumbnail"></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">병을 잡고 섞음.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">키보드 한개를 윤활하려면 저것보다 많이 해야 된다.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">첨이라 너무 조금 섞음.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/1484110942602720378.jpg" data-filename="1484110942602720378.jpg" style="width: 681px;" class="img-thumbnail"></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">키 윤활보다 우선 갯수가 몇개안되는 스테빌라이저 부터 윤활할려고 슈퍼루브 개봉</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/1484111184327134927.jpg" data-filename="1484111184327134927.jpg" style="width: 100%;" class="img-thumbnail"></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">이쑤시개로 찍어서 바른다.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/1484111184433969617.jpg" data-filename="1484111184433969617.jpg" style="width: 681px;" class="img-thumbnail"></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">키캡이 넙쩍한 부분엔 스테빌라이저가 들어있다.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/1484111184415801934.jpg" data-filename="1484111184415801934.jpg" style="width: 100%;" class="img-thumbnail"></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="font-family: Tahoma; font-style: italic;">이런식으로 스테빌 라이저 윤활이 끝났다.</span><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1484111289286638551.jpg" data-filename="1484111289286638551.jpg" class="img-thumbnail" style="color: inherit; font-family: Tahoma; font-style: italic; width: 100%;"></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">키를 윤활하기전 물에 담가놓은 키캡을 꺼내어서 수건위에서 건조시킴</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/1484111184444985579.jpg" data-filename="1484111184444985579.jpg" class="img-thumbnail" style="line-height: 1.42857; width: 681px;"></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">키윤활작업도 끝. </span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">키윤활 과정은 사진이 없다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1484112797325446533.jpg" data-filename="1484112797325446533.jpg" style="width: 100%;" class="img-thumbnail"><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">키캡을 모두 끼우고 마무리</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><img src="http://www.webprogramer.kr/upload/blog/editor/1484111184438908978.jpg" data-filename="1484111184438908978.jpg" style="width: 681px;" class="img-thumbnail"></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;"><br></span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">첨으로 윤활을 해봐서 그런지</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">대략 2시간 가까이 걸린 작업이였다.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">키보드 소리가 조금 정숙해지고 키감이 부드러워졌다.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">이번주말엔 회사에서 사용하는 키보드도 윤활 해야 겠다.</span></p><p><span style="background-color: inherit; color: inherit; font-family: Tahoma; font-style: italic;">이만.<br></span><br></p>
[펌]파이썬 강좌 4-4편. 튜플(Tuple)
http://www.webprogramer.kr/blog/P000000312/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 4-4편. 튜플(Tuple)</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: start; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile21.uf.tistory.com/image/2335D950522AE80D15D6C0" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">1. 튜플(Tuple)</span></b></p></div><p><br></p><p>이번에는 '튜플(Tuple)'에 대해 알아보도록 하겠습니다. 이 튜플이라는 녀석은 우리가 앞서 배웠던 리스트와 매우 비슷합니다. 튜플과 리스트가 서로 다른점이 있다면, 대괄호 대신에 소괄호로 묶어서 표현하며 리스트는 요소의 변경이 가능한 반면에 튜플은 요소의 변경이 불가능하다는 특징을 지니고 있습니다. 즉, 읽을 수는 있지만 쓸 수는 없는 것과 같은 것입니다. 우선, 아래의 예제를 통해 튜플이 어떠한 형태를 가지고 있는지 확인해보도록 합시다.</p>
<div><div id="highlighter_718620" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> tuples </code><code class="python keyword">=</code> <code class="python plain">(</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python functions">type</code><code class="python plain">(tuples)</code></div><div class="line number3 index2 alt2"><code class="python plain"><</code><code class="python keyword">class</code> <code class="python string">'tuple'</code><code class="python plain">></code></div></div></td></tr></tbody></table></div></div>
<p>위 예제의 1행을 보시면, 요소들을 소괄호로 묶었으며 쉼표(,)로 각각의 요소를 구분한다는 것을 확인하실 수 있습니다. 1행의 형식뿐만 아니라, 둘러싸고 있는 소괄호를 제거하거나 리스트와 똑같이 튜플 안에 튜플을 요소로 가질 수 있습니다.</p>
<div><div id="highlighter_430194" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> tuples </code><code class="python keyword">=</code> <code class="python plain">(</code><code class="python string">'a'</code><code class="python plain">,)</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> tuples </code><code class="python keyword">=</code> <code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'c'</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> tuples </code><code class="python keyword">=</code> <code class="python plain">(</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, (</code><code class="python string">'c'</code><code class="python plain">, </code><code class="python string">'d'</code><code class="python plain">))</code></div></div></td></tr></tbody></table></div></div>
<p>우선은 위 예제의 1행부터 보도록 합시다. 1행을 보니, 튜플의 마지막에 쉼표가 포함된 것을 보실 수 있는데 이것은 요소 한 개를 가지는 튜플을 만드려고 할 때 마지막에 쉼표를 넣어주어야 합니다. 만약 저 쉼표가 없다면, 소괄호로 둘러싸인 문자열로 취급을 하기 때문에 그렇습니다. 그리고 2행처럼 소괄호로 둘러싸지 않은 형식을 사용할 수 있으며, 3행처럼 튜플 내에서 튜플을 요소로 가질 수 있다는 것을 알 수 있습니다. <br></p><p><br></p><p>이러한 튜플을 통해서, 임시로 값을 저장하는 변수가 필요없이 아래의 예제와 같이 두 변수의 값을 서로 바꿀 수도 있습니다.</p>
<div><div id="highlighter_488456" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> a, b </code><code class="python keyword">=</code> <code class="python value">10</code><code class="python plain">, </code><code class="python value">20</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">print</code><code class="python plain">(a, b)</code></div><div class="line number3 index2 alt2"><code class="python value">10</code> <code class="python value">20</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> a, b </code><code class="python keyword">=</code> <code class="python plain">b, a</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python keyword">print</code><code class="python plain">(a, b)</code></div><div class="line number6 index5 alt1"><code class="python value">20</code> <code class="python value">10</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제의 1행에서는 10이 a에, 20이 b에 들어간다는 2~3행을 통해 알 수 있으며 4행에서는 b의 값이 a에, a의 값이 b에 들어감으로써 서로 값이 바뀐다는 것을 5~6행을 통해 알 수 있습니다. 여기서, 왼쪽과 오른쪽에 있는 값의 갯수는 일치해야 한다는 것을 기억해두시기 바랍니다.<br></p><p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">2. 튜플에서의 인덱싱과 슬라이싱</span></b></p></div><p><br></p><p>문자열과 리스트와 마찬가지로 튜플에서도 역시 인덱싱과 슬라이싱이라는 개념이 존재합니다. 우선은 인덱싱부터 간단하게 살펴보도록 하겠습니다. </p>
<div><div id="highlighter_60924" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> tuples </code><code class="python keyword">=</code> <code class="python plain">(</code><code class="python value">0</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">6</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> tuples[</code><code class="python value">1</code><code class="python plain">]</code></div><div class="line number3 index2 alt2"><code class="python value">1</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> tuples[</code><code class="python keyword">-</code><code class="python value">2</code><code class="python plain">]</code></div><div class="line number5 index4 alt2"><code class="python value">5</code></div></div></td></tr></tbody></table></div></div>
<p>인덱싱도 많이 보니 익숙하죠? 2행에서는 위치 1에 있는 요소의 값을 가져오는 것이고, 4행에서는 위치에 음수가 쓰였으니 뒤에서부터 튜플 tuples를 읽게 됩니다. 뒤에서 두번째에 있는 요소는 바로 5이므로, 5행에서 5라는 결과값이 나온 것입니다. 바로 인덱싱에 이어, 튜플에서의 슬라이싱을 보도록 하겠습니다.</p>
<div><div id="highlighter_986094" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> tuples </code><code class="python keyword">=</code> <code class="python plain">(</code><code class="python value">0</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">6</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> tuples[</code><code class="python value">1</code><code class="python plain">:</code><code class="python value">3</code><code class="python plain">]</code></div><div class="line number3 index2 alt2"><code class="python plain">(</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> tuples[</code><code class="python value">3</code><code class="python plain">:]</code></div><div class="line number5 index4 alt2"><code class="python plain">(</code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">6</code><code class="python plain">)</code></div></div></td></tr></tbody></table></div></div>
<p>2행에서는 위치 1부터 시작하여, 끝 위치를 범위에서 제외하기 때문에 위치 3이 아닌 위치 2 까지의 요소를 모두 가져옵니다. 그리고 4행에서는 위치 3부터 시작하여, 끝 위치가 따로 명시가 되어있지 않기 때문에 튜플의 끝까지 요소를 모두 가져옵니다. 그렇기 때문에 '3, 4, 5, 6'이란 결과가 도출된 것입니다. <br></p><p><br></p><p>튜플에서의 인덱싱과 슬라이싱은 문자열과 리스트의 인덱싱과 슬라이싱과 똑같으므로 이 편에서는 자세히 설명하지는 않겠습니다. 혹여나, 인덱싱과 슬라이싱이 궁금하시면 문자열 편을 읽어보시고 오시면 될 것 같습니다.</p><p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">3. 튜플에서의 연산자</span></b></p></div><p><br></p><p>튜플에서도 튜플을 연결하는 + 연산자와 반복하는 * 연산자가 존재합니다. 간단하게나마 이 두 연산자들을 살펴보도록 하겠습니다.<br></p>
<div><div id="highlighter_770260" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> tuples </code><code class="python keyword">=</code> <code class="python plain">(</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> tuples </code><code class="python keyword">+</code> <code class="python plain">(</code><code class="python string">'d'</code><code class="python plain">, </code><code class="python string">'e'</code><code class="python plain">, </code><code class="python string">'f'</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python plain">(</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">, </code><code class="python string">'d'</code><code class="python plain">, </code><code class="python string">'e'</code><code class="python plain">, </code><code class="python string">'f'</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> tuples </code><code class="python keyword">*</code> <code class="python value">3</code></div><div class="line number5 index4 alt2"><code class="python plain">(</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">, </code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">, </code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">)</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제의 2행을 보시면 튜플 tuples와 ('d', 'e', 'f')를 서로 연결하여 ('a', 'b', 'c', 'd', 'e', 'f')가 되었음을 보실 수 있습니다. 이어서 4행을 보시면, 곱한 수만큼 튜플이 반복되는 것을 확인하실 수 있습니다. 간단하죠? 오늘은 여기까지 튜플에 대해 설명해드리도록 하겠습니다. 모두 수고하셨습니다.</p><p><br></p><p><span style="font-weight: bold;">출처 : </span><a href="http://blog.eairship.kr/" target="_blank" style="background-color: rgb(255, 255, 255); font-weight: bold;">http://blog.eairship.kr</a><br></p></div></div></div>
[펌]파이썬 강좌 4-3편. 리스트(List)
http://www.webprogramer.kr/blog/P000000311/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 4-3편. 리스트(List)</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: start; float: none; clear: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile10.uf.tistory.com/image/216FB53E5221CB26324F3E" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p>
<div class="txc-textbox" style="BORDER-TOP: rgb(193,193,193) 1px solid; BORDER-RIGHT: rgb(193,193,193) 1px solid; BORDER-BOTTOM: rgb(193,193,193) 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: rgb(193,193,193) 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: rgb(238,238,238)">
<p><b><span style="FONT-SIZE: 18pt">1. 리스트(List)</span></b></p></div>
<p><br></p>
<p>이번 편에서는 리스트(List)에 대해 알아 보도록 하겠습니다. 우리가 배울 파이썬에서의 리스트(List)란, 순서가 있는 값들의 나열이라고 할 수 있습니다. 리스트를 구성하는 값을 요소 혹은 원소라고 부르며 어떠한 타입의 값이든 리스트의 요소로 올 수 있습니다. 이는 한가지의 타입으로만 이루어진 리스트뿐만 아니라, 여러가지 타입의 데이터로 이루어진 리스트를 구성할 수 있다는 말입니다. 이러한 리스트를 만드는 방법은 간단합니다. 요소들을 대괄호로 둘러싸고, 요소와 요소의 사이에는 콤마(,)로 구분을 해주면 됩니다.</p><div><div id="highlighter_919356" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> lst</code></div><div class="line number3 index2 alt2"><code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">]</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> </code><code class="python functions">type</code><code class="python plain">(lst)</code></div><div class="line number5 index4 alt2"><code class="python plain"><</code><code class="python keyword">class</code> <code class="python string">'list'</code><code class="python plain">></code></div></div></td></tr></tbody></table></div></div>
<p>리스트를 보니 왠지 모르게 편할것 같은 생각이 들지 않나요? 위의 예 말고도 여러가지 리스트를 만들어 보도록 해봅시다. 리스트의 요소로 아무것이나 한번 넣어보도록 하겠습니다.<br></p><div><div id="highlighter_531341" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python value">3.14</code><code class="python plain">, </code><code class="python value">55555</code><code class="python plain">, </code><code class="python string">'abcdef'</code><code class="python plain">, [</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">]]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> lst</code></div><div class="line number3 index2 alt2"><code class="python plain">[</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python value">3.14</code><code class="python plain">, </code><code class="python value">55555</code><code class="python plain">, </code><code class="python string">'abcdef'</code><code class="python plain">, [</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">]]</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">3.14132323</code><code class="python plain">, </code><code class="python value">3535242</code><code class="python plain">, </code><code class="python string">'abc'</code><code class="python plain">, </code><code class="python string">"def"</code><code class="python plain">, </code><code class="python string">'color'</code><code class="python plain">]</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> lst</code></div><div class="line number6 index5 alt1"><code class="python plain">[</code><code class="python value">3.14132323</code><code class="python plain">, </code><code class="python value">3535242</code><code class="python plain">, </code><code class="python string">'abc'</code><code class="python plain">, </code><code class="python string">'def'</code><code class="python plain">, </code><code class="python string">'color'</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>위의 코드와 결과를 보시면, 리스트 내에 실수와 정수, 문자열이 들어가고 심지어 리스트 내에 리스트가 들어가기도 한다는 것을 보실 수 있습니다. 이러한 리스트에도 우리가 '문자열'편에서 배운 인덱싱과 슬라이싱이란 개념이 존재합니다. <br></p><div><div id="highlighter_144132" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'red'</code><code class="python plain">, </code><code class="python string">'beaf'</code><code class="python plain">, [</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">]]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> lst[</code><code class="python value">3</code><code class="python plain">]</code></div><div class="line number3 index2 alt2"><code class="python string">'b'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> lst[</code><code class="python keyword">-</code><code class="python value">2</code><code class="python plain">]</code></div><div class="line number5 index4 alt2"><code class="python string">'beaf'</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> lst[</code><code class="python value">1</code><code class="python plain">:</code><code class="python value">3</code><code class="python plain">]</code></div><div class="line number7 index6 alt2"><code class="python plain">[</code><code class="python value">2</code><code class="python plain">, </code><code class="python string">'a'</code><code class="python plain">]</code></div><div class="line number8 index7 alt1"><code class="python plain">>>> lst[</code><code class="python value">2</code><code class="python plain">:</code><code class="python value">5</code><code class="python plain">]</code></div><div class="line number9 index8 alt2"><code class="python plain">[</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'red'</code><code class="python plain">]</code></div><div class="line number10 index9 alt1"><code class="python plain">>>> lst[</code><code class="python value">6</code><code class="python plain">][</code><code class="python value">2</code><code class="python plain">]</code></div><div class="line number11 index10 alt2"><code class="python string">'c'</code></div></div></td></tr></tbody></table></div></div>
<p>문자열과 똑같이, 리스트에도 0부터 시작하는 인덱스(index, 첨자)라는 녀석이 존재하며 시작 위치와 끝 위치를 가지고 잘라낸 요소 리스트를 가져올 수 있습니다. 아직 위 코드에서의 인덱싱과 슬라이싱이 잘 이해가 되지 않으시는 분들을 위해, 추가 설명을 보태도록 하겠습니다. 예를 들어서, 'lst[-2]'에서는 인덱스에 음수가 쓰였으므로 리스트 lst의 요소를 뒤에서부터 읽게 됩니다. 이것은 뒤에서 두번째에 있는 요소를 읽게 되는 것이라고 할 수 있습니다. 그리고 슬라이싱을 예로 들어서 'lst[2:5]'와 같은 문법은, 2가 시작 위치이고 5가 끝 위치를 의미하나 끝 위치는 범위에서 제외하므로 실제로는 위치 2, 3, 4에 있는 요소를 읽어오는 것입니다. <br></p>
<p><br></p>
<p>다시 돌아와서, 1행을 보시면 만들어진 리스트에서, 또 다른 리스트가 중첩되었음을 보실 수 있는데 이어서 10행에 쓰인 코드를 보시면 인덱싱이 조금 이상하죠?</p>
<p style="FLOAT: none; TEXT-ALIGN: center; CLEAR: none"><span class="imageblock" style="display:inline-block;width:420px;HEIGHT: 167px; WIDTH: 420px;height:auto;max-width:100%"><span data-url="http://cfile1.uf.tistory.com/attach/262E1947522363FF2839E7" data-lightbox="lightbox"><img src="http://cfile1.uf.tistory.com/image/262E1947522363FF2839E7" style="cursor: pointer;max-width:100%;height:auto" width="420" height="167" filename="K-9.png" filemime="image/jpeg"></span></span></p>
<p>'lst[6][2]'는 위치 6에 해당하는 요소의 위치 2에 있는 요소를 가져옵니다. 만약 lst[6][2]에도 리스트가 있다면, 'lst[6][2][위치]' 이런식으로 사용할 수 있을 것입니다. 그러나, 이렇게 리스트가 여러번 중첩되는 복잡한 형식은 잘 사용되지 않으나 알아두시는게 좋습니다. <br></p>
<p><br></p>
<p>그리고 리스트는 문자열과는 다르게 인덱싱을 통하여 리스트의 요소를 변경할 수 있습니다.</p><div><div id="highlighter_149623" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'red'</code><code class="python plain">, </code><code class="python string">'beaf'</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> lst[</code><code class="python value">2</code><code class="python plain">] </code><code class="python keyword">=</code> <code class="python value">3</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> lst[</code><code class="python value">4</code><code class="python plain">] </code><code class="python keyword">=</code> <code class="python string">'blue'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> lst</code></div><div class="line number5 index4 alt2"><code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'blue'</code><code class="python plain">, </code><code class="python string">'beaf'</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>또한, 문자열과 마찬가지로 리스트도 지원하는 연산자가 여럿 존재합니다. 그 중에서도 리스트를 연결하는 + 연산자와, 리스트를 반복하는 * 연산자에 대한 예제를 한번 보도록 하겠습니다.<br></p><div><div id="highlighter_892352" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst1 </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python string">'A'</code><code class="python plain">, </code><code class="python string">'B'</code><code class="python plain">, </code><code class="python string">'C'</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> lst2 </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python string">'D'</code><code class="python plain">, </code><code class="python string">'E'</code><code class="python plain">, </code><code class="python string">'F'</code><code class="python plain">]</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> lst1 </code><code class="python keyword">+</code> <code class="python plain">lst2</code></div><div class="line number4 index3 alt1"><code class="python plain">[</code><code class="python string">'A'</code><code class="python plain">, </code><code class="python string">'B'</code><code class="python plain">, </code><code class="python string">'C'</code><code class="python plain">, </code><code class="python string">'D'</code><code class="python plain">, </code><code class="python string">'E'</code><code class="python plain">, </code><code class="python string">'F'</code><code class="python plain">]</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> lst1 </code><code class="python keyword">*</code> <code class="python value">3</code></div><div class="line number6 index5 alt1"><code class="python plain">[</code><code class="python string">'A'</code><code class="python plain">, </code><code class="python string">'B'</code><code class="python plain">, </code><code class="python string">'C'</code><code class="python plain">, </code><code class="python string">'A'</code><code class="python plain">, </code><code class="python string">'B'</code><code class="python plain">, </code><code class="python string">'C'</code><code class="python plain">, </code><code class="python string">'A'</code><code class="python plain">, </code><code class="python string">'B'</code><code class="python plain">, </code><code class="python string">'C'</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>위의 코드와 결과를 보시면, lst1과 lst2를 서로 연결하여 ['A', 'B', 'C', 'D', 'E', 'F']가 되며 리스트 lst1을 3번 반복하여 ['A', 'B', 'C', 'A', 'B', 'C', 'A', 'B', 'C']가 됨을 알 수 있습니다. 그리고, 이러한 연산자 뿐만이 아니라 리스트와 관련된 여러가지 함수가 존재합니다. 이번에는 리스트에 관련된 함수를 중점적으로 설명을 하도록 하겠습니다.</p>
<p><br></p>
<div class="txc-textbox" style="BORDER-TOP: rgb(193,193,193) 1px solid; BORDER-RIGHT: rgb(193,193,193) 1px solid; BORDER-BOTTOM: rgb(193,193,193) 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: rgb(193,193,193) 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: rgb(238,238,238)">
<p><b><span style="FONT-SIZE: 18pt">2. 리스트 관련 함수</span></b></p></div>
<p><br></p>
<p>리스트와 관련된 함수 중 추가, 삽입, 확장, 위치 등에 관한 9가지의 함수에 대해서 알아보도록 하겠습니다. 먼저 추가에 관련된 함수부터 시작하여 차례대로 알아가보도록 하겠습니다.</p>
<p><br></p><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217); BACKGROUND-COLOR: rgb(70,65,217)"> </span><b><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217)"><span style="COLOR: rgb(70,65,217)"> </span><span style="COLOR: rgb(70,65,217)">리스트 - 추가(append) 함수</span></span></b>
<p><br></p>
<p>리스트에 요소를 추가하는 함수인 append 함수에 대해서 알아보도록 하겠습니다. 기존의 리스트에 있는 요소에 다른 값을 추가하려면 아래와 같이 append 함수를 사용하시면 됩니다.</p><div><div id="highlighter_532289" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> fruit </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python string">'apple'</code><code class="python plain">, </code><code class="python string">'banana'</code><code class="python plain">, </code><code class="python string">'pineapple'</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> fruit.append(</code><code class="python string">'grape'</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> fruit</code></div><div class="line number4 index3 alt1"><code class="python plain">[</code><code class="python string">'apple'</code><code class="python plain">, </code><code class="python string">'banana'</code><code class="python plain">, </code><code class="python string">'pineapple'</code><code class="python plain">, </code><code class="python string">'grape'</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>위의 코드와 결과를 보시면, 리스트인 fruit에 grape라는 값을 요소로 추가하고 있음을 확인하실 수 있습니다. append 함수를 통해서 'grape'라는 값이 제대로 리스트에 추가되었음을 보실 수 있습니다. 리스트에 새로 값이 추가되는 위치는 가장 뒤에서 요소가 추가된다는 것도 알 수 있습니다. 리스트의 요소로 어떠한 타입의 값이든 올 수 있는것처럼, append 함수로 추가되는 값의 타입도 아무런 타입이 올 수 있음을 의미합니다.</p><div><div id="highlighter_767713" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python string">'A'</code><code class="python plain">, </code><code class="python string">'B'</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3.14</code><code class="python plain">, </code><code class="python value">10.16</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> lst.append([</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">])</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> lst</code></div><div class="line number4 index3 alt1"><code class="python plain">[</code><code class="python string">'A'</code><code class="python plain">, </code><code class="python string">'B'</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3.14</code><code class="python plain">, </code><code class="python value">10.16</code><code class="python plain">, [</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">]]</code></div></div></td></tr></tbody></table></div></div>
<p>추가되는 값의 형태가 리스트일 수도 있으며, 정수, 튜플 등 여러가지 타입이 올 수 있습니다. 잘 와닿지 않으신다면, 여러가지 타입의 값을 함수를 통해서 추가를 해보도록 하시는 것도 좋을것 같습니다.<br></p>
<p><br></p>
<p><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217); BACKGROUND-COLOR: rgb(70,65,217)"> </span><b><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217)"><span style="COLOR: rgb(70,65,217)"> </span><span style="COLOR: rgb(70,65,217)">리스트 - 삽입(insert) 함수</span></span></b> </p>
<p><br></p>
<p>리스트에 요소를 삽입하는 함수인 insert 함수에 대해서 알아보도록 하겠습니다. 뒤에서부터 추가되는 append 함수와는 달리, 이 insert 함수는 지정한 위치에 추가하려는 값을 넣을 수 있습니다. 우선은 insert 함수를 어떻게 사용하는지에 대해 보도록 하겠습니다.<br></p><div><div id="highlighter_173752" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">6</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> lst.insert(</code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> lst</code></div><div class="line number4 index3 alt1"><code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">6</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>위 코드에서 두번째 행을 보시면, 첫번째 공간에는 2라는 숫자와 두번째 공간에는 3이라는 숫자가 있죠? 이 둘은 인수(argument)라고 하며, 우선은 인수가 '함수에게 필요한 정보'라고 생각합시다. 첫번째 인수는 요소가 추가될 위치를 말하는 것이며, 두번째 인수에는 리스트에 삽입될 값이 들어옵니다. 위를 보시면, 위치 2에 3이라는 값이 추가되었다고 보시면 됩니다. 또 비슷한 경우를 볼까요?</p><div><div id="highlighter_417754" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> nums </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python string">'one'</code><code class="python plain">, </code><code class="python string">'two'</code><code class="python plain">, </code><code class="python string">'three'</code><code class="python plain">, </code><code class="python string">'five'</code><code class="python plain">, </code><code class="python string">'six'</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> nums.insert(</code><code class="python value">3</code><code class="python plain">, </code><code class="python string">'four'</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> nums</code></div><div class="line number4 index3 alt1"><code class="python plain">[</code><code class="python string">'one'</code><code class="python plain">, </code><code class="python string">'two'</code><code class="python plain">, </code><code class="python string">'three'</code><code class="python plain">, </code><code class="python string">'four'</code><code class="python plain">, </code><code class="python string">'five'</code><code class="python plain">, </code><code class="python string">'six'</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는 두번째 행을 보시면, 위치 3에 'four'이란 값이 추가되었다고 보시면 됩니다. 말 그대로 삽입(insert) 함수이며, 추가(append) 함수와는 위치에서 차이가 난다고 할 수 있습니다. 추가 함수는 뒤에서 부터 추가되는 반면에, 삽입 함수는 우리가 지정한 위치에 값이 들어가는 것이라고 할 수 있습니다. 이해되시죠?<br></p>
<p><br></p>
<p><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217); BACKGROUND-COLOR: rgb(70,65,217)"> </span><b><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217)"><span style="COLOR: rgb(70,65,217)"> </span><span style="COLOR: rgb(70,65,217)">리스트 - 확장(extend) 함수</span></span></b> </p>
<p><br></p>
<p>리스트를 확장하는 함수인 extend 함수에 대해서 알아보도록 하겠습니다. 이 extend 함수는 한가지씩 값이 추가되는 append 함수와 달리, 여러개의 값을 추가할 수 있습니다. 한가지 주의하실 점이 있다면, 함수로 전달되는 인수에는 리스트만 올 수 있다는 사실을 기억해두시기 바랍니다.</p><div><div id="highlighter_523133" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> nums </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">6</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> nums.extend([</code><code class="python value">7</code><code class="python plain">, </code><code class="python value">8</code><code class="python plain">, </code><code class="python value">9</code><code class="python plain">])</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> nums</code></div><div class="line number4 index3 alt1"><code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">6</code><code class="python plain">, </code><code class="python value">7</code><code class="python plain">, </code><code class="python value">8</code><code class="python plain">, </code><code class="python value">9</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>extend 함수에 전달되는 인수를 보니 리스트인 [7, 8, 9]가 전달되었음을 알 수 있습니다. 확장을 거친 후에는, 전달된 리스트와 리스트 nums가 연결된 것을 확인하실 수 있습니다. 추가 함수인 append 함수와 마찬가지로, extend 함수도 리스트의 뒤에서 추가됩니다. <br></p>
<p><br></p>
<p><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217); BACKGROUND-COLOR: rgb(70,65,217)"> </span><b><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217)"><span style="COLOR: rgb(70,65,217)"> </span><span style="COLOR: rgb(70,65,217)">리스트 - 위치 확인(index) 함수</span></span></b> </p>
<p><br></p>
<p>리스트에 있는 특정 요소의 위치를 확인하는 함수인 index 함수에 대해서 알아보도록 하겠습니다. 이 index 함수의 첫번째 인수로는 찾으려는 요소의 값이 들어가며, 두번째 인수에는 탐색이 시작하는 위치, 세번째 인수에는 탐색이 종결되는 위치가 들어갑니다. 두번째 인수와 세번째 인수는 생략할 수 있습니다.<br></p><div><div id="highlighter_600736" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python string">'red'</code><code class="python plain">, </code><code class="python string">'blue'</code><code class="python plain">, </code><code class="python string">'green'</code><code class="python plain">, </code><code class="python string">'yellow'</code><code class="python plain">, </code><code class="python string">'white'</code><code class="python plain">, </code><code class="python string">'black'</code><code class="python plain">, </code><code class="python string">'blue'</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> lst.index(</code><code class="python string">'blue'</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python value">1</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> lst.index(</code><code class="python string">'blue'</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python value">6</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> lst.index(</code><code class="python string">'yellow'</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"><code class="python value">3</code></div></div></td></tr></tbody></table></div></div>
<p>위에 있는 코드와 결과에서, 2행을 보시면 'blue'가 처음으로 등장하는 요소의 위치를 출력한다는 것을 아실 수 있습니다. 그리고 4행에서는 시작점이 위치 2인데, 위치 2 이후에 등장하는 'blue'는 위치 6에 존재하므로 6이라는 결과가 출력되는 것입니다. 그리고 마지막으로, 6행에서는 시작점이 위치 2이며, 종결점이 위치 4임을 보실 수가 있습니다. 이는 위치 2와 위치 4를 포함한, 그 사이에 있는 'yellow'의 위치를 출력하는 것입니다. 위치는 1부터가 아니라, 0부터 시작한다는 사실을 잊지 말고 계세요.</p>
<p><br></p>
<p><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217); BACKGROUND-COLOR: rgb(70,65,217)"> </span><b><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217)"><span style="COLOR: rgb(70,65,217)"> </span><span style="COLOR: rgb(70,65,217)">리스트 - 요소 수(count) 함수</span></span></b> </p>
<p><br></p>
<p>리스트에 존재하는 특정 요소의 수를 확인하는 함수인 count 함수에 대해서 알아보도록 하겠습니다. count 함수를 통해서 요소 개수를 확인하려면, count 함수로 해당하는 요소를 건네주면 됩니다. 한번 확인해보도록 합시다.</p><div><div id="highlighter_158847" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">6</code><code class="python plain">, </code><code class="python value">6</code><code class="python plain">, </code><code class="python value">6</code><code class="python plain">, </code><code class="python value">7</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> lst.count(</code><code class="python value">1</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python value">2</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> lst.count(</code><code class="python value">6</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python value">3</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제의 2행을 보시면, 요소 1이 리스트 lst 내에 있는 개수를 가져오며 4행도 마찬가지로 요소 6이 리스트 내에 있는 개수를 가져옵니다. 직접 lst의 요소를 확인해보시면 정말로 1이 두개, 6이 세개라는 사실을 알 수 있습니다. 참으로 간단하죠?<br></p>
<p><br></p>
<p><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217); BACKGROUND-COLOR: rgb(70,65,217)"> </span><b><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217)"><span style="COLOR: rgb(70,65,217)"> </span><span style="COLOR: rgb(70,65,217)">리스트 - 요소를 꺼내는(pop) 함수</span></span></b> </p>
<p><br></p>
<p>리스트의 요소를 꺼내는 함수인 pop 함수에 대해서 알아보도록 하겠습니다. pop 함수는 인수를 아에 생략하고 사용할 수 있으며, 특정한 요소를 리스트에서 꺼내려면 함수의 첫번째 인수로 꺼내려는 요소의 위치를 적어주시면 됩니다. 한번 pop 함수를 사용해보도록 합시다.</p><div><div id="highlighter_712039" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">, </code><code class="python string">'d'</code><code class="python plain">, </code><code class="python string">'e'</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> lst.pop()</code></div><div class="line number3 index2 alt2"><code class="python string">'e'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> lst</code></div><div class="line number5 index4 alt2"><code class="python plain">[</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'b'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">, </code><code class="python string">'d'</code><code class="python plain">]</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> lst.pop(</code><code class="python value">1</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"><code class="python string">'b'</code></div><div class="line number8 index7 alt1"><code class="python plain">>>> lst</code></div><div class="line number9 index8 alt2"><code class="python plain">[</code><code class="python string">'a'</code><code class="python plain">, </code><code class="python string">'c'</code><code class="python plain">, </code><code class="python string">'d'</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서 2행을 보시면 인수를 따로 적지않고 그냥 함수를 사용하였는데, 이 경우에는 리스트의 가장 뒤에 있는 요소를 꺼내가게 됩니다. 그리고 6행과 같이 위치를 넘겨주면, 그 위치에 있는 요소가 리스트에서 제외됩니다.<br></p>
<p><br></p>
<p><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217); BACKGROUND-COLOR: rgb(70,65,217)"> </span><b><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217)"><span style="COLOR: rgb(70,65,217)"> </span><span style="COLOR: rgb(70,65,217)">리스트 - 제거(remove) 함수</span></span></b> </p>
<p><br></p>
<p>리스트의 요소를 제거하는 함수인 remove 함수에 대해서 알아보도록 하겠습니다. 이 remove 함수는 pop 함수와는 달리, 리스트 내에서 해당하는 값만을 제거합니다. 만약, 제거하려는 값이 리스트에 여러개가 존재하면 가장 앞에있는 요소부터 제거가 됩니다. 한번 remove 함수를 사용해보도록 합시다.</p><div><div id="highlighter_62574" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> a </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> a.remove(</code><code class="python value">1</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> a</code></div><div class="line number4 index3 alt1"><code class="python plain">[</code><code class="python value">2</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">4</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>위의 예제에서 2행을 보시면 리스트 a 내에 1이라는 값을 제거하려고 하는데, 리스트 a에는 1이란 값이 3개나 있습니다. 이 경우에는 위에서 말한대로 가장 앞에있는 요소부터 제거가 된다고 했습니다. 그렇기 때문에, 가장 앞에 있는 1이 우선 제거가 되는 것입니다. 만약 'a.remove(2)' 였다면, 리스트 a에 있는 2라는 값을 제거한다고 할 수 있습니다.<br></p>
<p><br></p>
<p><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217); BACKGROUND-COLOR: rgb(70,65,217)"> </span><b><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217)"><span style="COLOR: rgb(70,65,217)"> </span><span style="COLOR: rgb(70,65,217)">리스트 - 정렬(sort) 함수</span></span></b> </p>
<p><br></p>
<p>리스트의 요소들을 정렬하는 함수인 sort 함수에 대해서 알아보도록 하겠습니다. 우선은 이 함수로 전달되는 인수를 통해서, 정렬 방식을 변경할 수도 있으며 반전 여부도 지정할 수 있습니다. 우선은 sort 함수로 인수를 넘겨주지 않은 간단한 예제를 살펴보도록 하겠습니다.</p><div><div id="highlighter_497906" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> a </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">3</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">7</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> a.sort()</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> a</code></div><div class="line number4 index3 alt1"><code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">7</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면, 2행에서 sort 함수가 사용되고 나서 3행에서 리스트 a가 정렬되었다는 것을 확인하실 수 있습니다. 물론 이렇게 순서대로 정렬할 수도 있겠지만, 반대로 역순으로 정렬할 수도 있습니다.</p><div><div id="highlighter_754824" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> a </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">3</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">7</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> a.sort(reverse</code><code class="python keyword">=</code><code class="python color1">True</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> a</code></div><div class="line number4 index3 alt1"><code class="python plain">[</code><code class="python value">7</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제의 결과를 보시니 리스트가 역순으로 정렬됨을 확인하실 수 있습니다. 저렇게 reverse를 True로 만들어 주지 않을 경우에는, reverse의 기본값이 False이기 때문에 순서대로 정렬된 데이터를 보실 수 있습니다. 편리하죠?<br></p>
<p><br></p>
<p><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217); BACKGROUND-COLOR: rgb(70,65,217)"> </span><b><span style="FONT-SIZE: 14pt; COLOR: rgb(70,65,217)"><span style="COLOR: rgb(70,65,217)"> </span><span style="COLOR: rgb(70,65,217)">리스트 - 반전(reverse) 함수</span></span></b> </p>
<p><br></p>
<p>리스트를 역순으로 뒤집는 함수인 reverse 함수에 대해서 알아보도록 하겠습니다. 이 함수는 단순히 리스트의 요소들을 모두 역순으로 뒤집는 역할만 하며, 정렬과는 상관이 없습니다. 한번 같이 reverse 함수를 살펴보도록 합시다.</p><div><div id="highlighter_12795" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> a </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">1</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">7</code><code class="python plain">, </code><code class="python value">9</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> a.reverse()</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> a</code></div><div class="line number4 index3 alt1"><code class="python plain">[</code><code class="python value">9</code><code class="python plain">, </code><code class="python value">7</code><code class="python plain">, </code><code class="python value">5</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">1</code><code class="python plain">]</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면, 2행에서 reverse 함수가 사용되고 나서 4행에서 리스트 a가 반전되었음을 알 수 있습니다. 말 그대로, 리스트 a의 요소들을 뒤집었다고 생각하시면 됩니다. </p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">출처 : </span><a href="http://blog.eairship.kr/" target="_blank" style="background-color: rgb(255, 255, 255); font-weight: bold;">http://blog.eairship.kr</a></p></div></div><div id="entry276Comment" style="display:block"><div class="comment"><div class="commentWrite">
</div><!-- //commentWrite -->
</div><!-- //comment -->
</div></div>
ie9 등에서 json 파일 다운로드[펌]
http://www.webprogramer.kr/blog/P000000301/post.do
<br><blockquote><b>아는 동생이 ie9에서 ajax호출시 파일다운로드가 된다고 하여 찾아 보았다.</b></blockquote><p><br></p><p><b>펌1</b></p><div style="text-align: left;"><b>문제</b></div><div style="text-align: left;"> ie9 등에서 ajax 호출 시 응답을 json으로 받는 경우 파일 다운로드 현상이 발생함.</div><div style="text-align: left;"><br></div><div style="text-align: left;"><b>해결</b></div><div style="text-align: left;">spring-servlet.xml을 다음과 같이 설정함</div><div style="text-align: left;"><pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'Menlo';font-size:12.0pt;"><span style="color:#808080;"><!-- json 형태의 view --><br></span><<span style="color:#cc7832;font-weight:bold;">bean </span>id<span style="color:#6a8759;">="jsonView" </span>class<span style="color:#6a8759;">="org.springframework.web.servlet.view.json.MappingJackson2JsonView"</span>><br> <<span style="color:#cc7832;font-weight:bold;">property </span>name<span style="color:#6a8759;">="contentType" </span>value<span style="color:#6a8759;">="text/html; charset=UTF-8" </span>/><br></<span style="color:#cc7832;font-weight:bold;">bean</span>></pre></div><div style="text-align: left;"><br></div><div style="text-align: left;">Controller에 jsonView를 사용하도록 설정하고 데이터를 추가함.</div><div style="text-align: left;"><pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'Menlo';font-size:12.0pt;">ModelAndView mav = <span style="color:#cc7832;">new </span>ModelAndView(<span style="color:#6a8759;">"jsonView"</span>)<span style="color:#cc7832;">;<br></span>mav.addObject(<span style="color:#6a8759;">"result"</span><span style="color:#cc7832;">, </span>ticketResponse)<span style="color:#cc7832;">;<br></span><span style="color:#cc7832;">return </span>mav<span style="color:#cc7832;">;</span></pre></div><div style="text-align: left;"><b></b><br></div><p><i></i><u></u><sub></sub><sup></sup><strike></strike><b>펌2</b></p><p><b><br></b></p><p style="text-align: center;"><span style="font-size: 16px; line-height: 24px;">Spring의 @ResponseBody + Jackson JSON 라이브러리를 이용하여</span></p><p style="text-align: center;"><span style="font-size: 16px; line-height: 24px;">JSON 파싱한 결과</span></p><p style="text-align: center;"><span style="font-size: 12pt;"><b><span style="color: rgb(255, 0, 0);">크롬에서는 정상적으로 JSON 값을 받아왔으나</span></b></span></p><p style="text-align: center;"><span style="font-size: 12pt;"><b><span style="color: rgb(255, 0, 0);">IE에서는 다운로드가 되는 현상이 발생</span></b>되었습니다.</span></p><p style="text-align: center;"><br></p><p style="text-align: center;"><span style="font-size: 12pt;">이러한 현상이 발생하는 이유는 </span></p><p style="text-align: center;"><span style="font-size: 12pt;"><b><span style="color: rgb(255, 0, 0);">JacksonMessageConverter의 응답타입이 "application/json" 이어서 </span></b></span></p><p style="text-align: center;"><span style="font-size: 12pt;"><b><span style="color: rgb(255, 0, 0);">IE에서는 정상적으로 동작되지 않는 것이었습니다.</span></b></span></p><p style="text-align: center;"><span style="font-size: 12pt;"><b><span style="color: rgb(255, 0, 0);">그래서 응답타입을 "text/plain"형태로 설정을 변경</span></b>을 해주어야 합니다.</span></p><p style="text-align: center;"><br></p><p style="text-align: center;"><span style="font-size: 12pt;">크롬에서만 작업하다보니 IE</span><span style="font-size: 12pt;">에서 문제가 발생한거라는 것을 몰랐었네요;;</span></p><p style="text-align: center;"><br></p><p style="text-align: center;"><span style="font-size: 12pt;">만약 </span><b><span style="font-size: 12pt; line-height: 1.5; color: rgb(255, 0, 0);">"</span><span style="font-size: 12pt; line-height: 1.5; color: rgb(255, 0, 0);">json-simple" 또는 </span><span style="font-size: 12pt; line-height: 1.5; color: rgb(255, 0, 0);">"</span><span style="font-size: 12pt; line-height: 1.5; color: rgb(255, 0, 0);">j</span><span style="font-size: 12pt; line-height: 1.5; color: rgb(255, 0, 0);">son-lib" 와같이 파싱해주는 라이브러리 사용시 </span></b></p><p style="text-align: center;"><b><span style="font-size: 9pt; line-height: 1.5;"><span style="font-size: 12pt; color: rgb(255, 0, 0);">response.setContentType을 </span><span style="font-size: 12pt; color: rgb(255, 0, 0);">"text/plain</span></span><span style="font-size: 12pt; line-height: 1.5; color: rgb(255, 0, 0);">" </span><span style="font-size: 12pt; line-height: 1.5; color: rgb(255, 0, 0);">으로 설정해주면 문제 없이 IE/크롬 등 </span></b></p><p style="text-align: center;"><span style="font-size: 12pt;"><b><span style="color: rgb(255, 0, 0);">모든 브</span></b></span><span style="font-size: 12pt;"><b><span style="color: rgb(255, 0, 0);">라우저에서 정상작동</span></b>하는 것이라 신경을 쓰지 않았었는데;;;</span></p><p style="text-align: center;"><br></p><p style="text-align: center;"><span style="font-size: 12pt;">상단 포스팅 링크의 코드에 대한 실행결과를 확인해 보도록 하겠습니다.</span></p><p style="text-align: center;"><br></p><p><br></p><h3>1.크롬실행결과</h3><p><br></p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock"><img class="img_thumb" alt="" src="http://img1.daumcdn.net/thumb/R720x0.q80/?scode=mtistory&fname=http%3A%2F%2Fcfile2.uf.tistory.com%2Fimage%2F2722874F5483B85C053278"> </span> </p><p><br></p><p><br></p><p><br></p><h3>2.IE실행결과</h3><p><br></p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock"><img class="img_thumb" alt="" src="http://img1.daumcdn.net/thumb/R720x0.q80/?scode=mtistory&fname=http%3A%2F%2Fcfile26.uf.tistory.com%2Fimage%2F236AE8475483B89606062D"> </span> </p><p><br></p><p><br></p><p><br></p><p><br></p><p style="text-align: center;"><b><span style="font-size: 12pt;">크롬은 정상적으로 메시지 창이 출력되는 반면, </span></b></p><p style="text-align: center;"><span style="font-size: 12pt;"><b>IE에서는 서버에서 응답받은 결과값이 파일로 다운로드처리</b>가 되었습니다.</span></p><p style="text-align: center;"><span style="font-size: 12pt;"><br></span></p><p style="text-align: center;"><span style="font-size: 12pt;">그럼 이 부분을 해결하기 위하여 </span></p><p style="text-align: center;"><br></p><p><br></p><pre class="brush:xml;"><mvc:annotation-driven />
</pre><p><br></p><p style="text-align: center;"><span style="font-size: 12pt;"><br></span></p><p style="text-align: center;"><span style="font-size: 12pt;">상단 기존 태그를 다음과 같이 코드 변경을 해주도록 합니다.</span></p><p style="text-align: center;"><br></p><p><br></p><pre class="brush:xml;"><mvc:annotation-driven>
<mvc:message-converters>
<bean class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter">
<property name="supportedMediaTypes" value="text/plain;charset=UTF-8"/>
</bean>
</mvc:message-converters>
</mvc:annotation-driven>
</pre><p><br></p><p style="text-align: center;"><span style="font-size: 12pt;"><br></span></p><p style="text-align: center;"><span style="font-size: 12pt;">위와같이 설정을 해주었다면 다시한번 IE에서 동작을 시켜보도록 하겠습니다.</span></p><p style="text-align: center;"><br></p><p><br></p><h3>IE 재실행 결과</h3><p><br></p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock"><img class="img_thumb" alt="" src="http://img1.daumcdn.net/thumb/R720x0.q80/?scode=mtistory&fname=http%3A%2F%2Fcfile6.uf.tistory.com%2Fimage%2F2177D33C5483BA3E13B81B"> </span> </p><p><br></p><p><br></p><p><br></p><p style="text-align: center;"><span style="font-size: 12pt;">위와같이 정상적으로 업로드된 파일에 대하여 </span></p><p style="text-align: center;"><span style="font-size: 12pt;">정상적으로 JSON OBJECT를 받아오는 결과를 확인 할 수 있었습니다.</span></p><p style="text-align: center;"><br></p><p style="text-align: center;"><span style="font-size: 12pt;"><b><span style="color: rgb(255, 0, 0);">Spring의 @ResponseBody를 이용한 JSON 구현할때</span></b></span></p><p style="text-align: center;"><b><span style="font-size: 12pt; color: rgb(255, 0, 0);"> text/plain 을 적용해주기 위해서는 </span><span style="font-size: 12pt; line-height: 1.5; color: rgb(255, 0, 0);">"mvc:annotation-driven" 태그를</span></b></p><p style="text-align: center;"><span style="font-size: 12pt;"><b><span style="color: rgb(255, 0, 0);">위와같이 적용을 해주는 것이 이 포스팅의 핵심</span></b>내용입니다.</span></p><p><b><br></b><br></p>
[펌]파이썬 강좌 4-2편. 문자열(String)
http://www.webprogramer.kr/blog/P000000310/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 4-2편. 문자열(String)</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile10.uf.tistory.com/image/2501BD4B522184C306CD65" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">1. 문자열(String)</span></b></p></div><p><br></p>
<p>이번에 알아볼 자료형은 문자열(String)이며, 문자열은 문자들의 모임, 문자를 나열한 것을 문자열이라고 합니다. 'a', 'b', 'c' 등과 같은건 문자라고 할 수 있지만 "abc"와 같이 문자들이 모이게 되면 이것을 문자열이라고 할 수 있습니다. 파이썬에서 문자열은 단일 인용부호(')나 이중 인용부호(")로 감싸주어 표현합니다. 주의하실 점은, 감싸줄 때는 단일 인용부호로 시작했으면 단일 인용부호로 끝나야 하며, 이중 인용부호로 시작했으면 이중 인용부호로 끝나야만 한다는 것을 기억하시기 바랍니다. 아래의 예는 모두 문자열이라고 할 수 있습니다.<br></p>
<div><div id="highlighter_766721" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">type</code><code class="python plain">(</code><code class="python string">"ABCDEFGHI"</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain"><</code><code class="python keyword">class</code> <code class="python string">'str'</code><code class="python plain">></code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python functions">type</code><code class="python plain">(</code><code class="python string">'ABC'</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python plain"><</code><code class="python keyword">class</code> <code class="python string">'str'</code><code class="python plain">></code></div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python functions">type</code><code class="python plain">(</code><code class="python string">"1301##"</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python plain"><</code><code class="python keyword">class</code> <code class="python string">'str'</code><code class="python plain">></code></div></div></td></tr></tbody></table></div></div>
<p>그리고 파이썬에서는 위 방법뿐만 아니라 두가지 방법이 더 존재하는데, 이는 단일 인용부호나 이중 인용부호를 연속으로 세 번 연속으로쓴 """와 '''가 있습니다. 이런 연속된 인용부호를 쓰게되면 간단하게 여러 줄의 문자열을 변수에 대입하거나 출력할 수 있습니다. 아래의 예제를 한번 보도록 합시다.</p>
<div><div id="highlighter_2433" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python comments">"""</code></div><div class="line number2 index1 alt1"><code class="python comments">ABCDEFGHIJKL</code></div><div class="line number3 index2 alt2"><code class="python comments">0123456789</code></div><div class="line number4 index3 alt1"><code class="python comments">!@#$%^&*</code></div><div class="line number5 index4 alt2"><code class="python comments">"""</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"> </div><div class="line number7 index6 alt2"><code class="python plain">ABCDEFGHIJKL</code></div><div class="line number8 index7 alt1"><code class="python value">0123456789</code></div><div class="line number9 index8 alt2"><code class="python plain">!@</code><code class="python comments">#$%^&*</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면 연속된 인용부호의 사용은 여러 줄의 문자열을 보다 쉽게 출력하는 것을 가능하게 합니다. 단일 혹은 이중 인용부호의 사용으로 여러 줄의 문자열을 나타내게 하려면 이스케이프 문자를 사용하여야만 합니다. 여기서 이스케이프 문자란 별도의 기능을 제공하는 특수한 문자로 앞에 역슬래시(\)가 있습니다. 아래의 표는 주로 쓰이는 이스케이프 문자를 정리해둔 것입니다.</p>
<p style="text-align: center;"><br></p>
<p style="text-align: center;"></p><table class="txc-table" style="border:none;border-collapse:collapse;font-size:12px" align="center" border="0" cellpadding="0" cellspacing="0" width="584"><tbody><tr><td style="width: 292px; height: 24px; border-width: 1px; border-style: solid; border-color: rgb(204, 204, 204); background-color: rgb(234, 234, 234);"><b></b><p style="text-align: center;"><b>이스케이프 문자<br></b></p></td>
<td style="width: 292px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204); border-top: 1px solid rgb(204, 204, 204); background-color: rgb(234, 234, 234);"><p style="text-align: center;"><b>설명<br></b></p><b></b></td>
</tr>
<tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">\n <br></p></td>
<td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">개행(Newline, 줄바꿈) <br></p></td>
</tr>
<tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">\t<br></p></td>
<td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">탭(Tab) <br></p></td>
</tr>
<tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">\0 <br></p></td>
<td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">NULL 문자 <br></p></td>
</tr>
<tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">\\ <br></p></td>
<td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">문자 '\' <br></p></td>
</tr>
<tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">\' <br></p></td>
<td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">단일 인용부호(') <br></p></td>
</tr>
<tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">\" <br></p></td>
<td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">이중 인용부호(") <br></p></td>
</tr>
</tbody></table><p></p>
<p style="text-align: center;"><br></p>
<p>위 표에 정리된 이스케이프 문자를 한번 사용하여 보도록 합시다. 아래 예제에서는 개행 문자와 탭 문자를 사용했습니다.<br>
</p><div><div id="highlighter_497304" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"AAA\nB\tCDE"</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">AAA</code></div><div class="line number3 index2 alt2"><code class="python plain">B CDE</code></div></div></td></tr></tbody></table></div></div>
<p>결과를 보시면 AAA 바로 다음에 개행이 되고, B 다음에 탭 문자가 삽입된 것을 보실 수 있습니다. 만약에 역슬래시를 출력하려면, 위 표에 나온대로 역슬래시를 연속으로 두번을 써야 하는데 이는 역슬래시가 단독으로 쓰이면 이스케이프 문자로 인식하기 때문에, 아래와 같이 역슬래시를 두번 사용함으로 하나의 역슬래시를 출력할 수 있습니다.</p>
<div><div id="highlighter_89858" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"C:\\ABC.txt"</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">C:\ABC.txt</code></div></div></td></tr></tbody></table></div></div><p>
</p>
<p>그리고 이중 인용부호(")나 단일 인용부호(')로 묶은 문자열 안에 이중 인용부호(") 또는 단일 인용부호(')를 포함하고 싶은 경우에는 앞에다 역슬래시(\)를 붙이거나, 이중 인용부호로 묶은 문자열 내에서 단일 인용부호를 사용하거나, 단일 인용부호로 묶은 문자열 내에서 이중 인용부호를 사용하면 됩니다. 아래와 같이 말입니다.</p>
<div><div id="highlighter_94503" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"\"It's all prepared. All I need to is move forward!\""</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python string">"It's all prepared. All I need to is move forward!"</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">'"Try your best rather than be the best."'</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python string">"Try your best rather than be the best."</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"'I determine my future all by myself.'"</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python string">'I determine my future all by myself.'</code></div><div class="line number7 index6 alt2"><code class="python plain">>>> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">'\'Think different!\''</code><code class="python plain">)</code></div><div class="line number8 index7 alt1"><code class="python string">'Think different!'</code></div></div></td></tr></tbody></table></div></div><p>추가로, 아래와 같이 줄의 마지막에 역슬래시(\)를 사용하면 다음 줄과 현재 줄이 하나로 이어집니다.</p>
<div><div id="highlighter_193196" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">str</code> <code class="python keyword">=</code> <code class="python plain">"가장 높은곳에 올라가려면 \</code></div><div class="line number2 index1 alt1"><code class="python plain">가장 낮은 곳부터 시작하라"</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python functions">str</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python plain">가장 높은곳에 올라가려면 가장 낮은 곳부터 시작하라</code></div></div></td></tr></tbody></table></div></div>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">2. 문자열 연산(String operation)</span></b></p></div><p><br></p>
<p>파이썬에서는 문자열에 관련된 연산자들도 지원하고 있는데, 이 중에서 + 연산자는 문자열을 서로 연결하는 기능을 하며, * 연산자는 문자열을 반복하는 기능을 합니다. </p>
<div><div id="highlighter_176271" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python string">"012"</code> <code class="python string">"3456789"</code></div><div class="line number2 index1 alt1"><code class="python string">'0123456789'</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python string">"ABC"</code> <code class="python keyword">+</code> <code class="python string">"DEFGHI"</code></div><div class="line number4 index3 alt1"><code class="python string">'ABCDEFGHI'</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python string">"Python!"</code> <code class="python keyword">*</code> <code class="python value">3</code></div><div class="line number6 index5 alt1"><code class="python string">'Python!Python!Python!'</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제의 첫줄에 적힌 코드에서는 + 연산자가 없어도 문자열이 서로 연결된 것을 보실 수 있습니다. 이는 값이 고정되어 있는 문자열 상수 끼리는 + 연산자를 생략할 수 있기 때문입니다. 그리고 세번째 줄에 쓰인 + 연산자는 "ABC"와 "DEFGHI"를 서로 연결하여 "ABCDEFGHI"를 만들어 냅니다. 다섯번째 줄에 쓰인 * 연산자는 "Python!"을 3번 반복하는 기능을 하여 "Python!Python!Python!"를 만들어 내는 것입니다.<br></p>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">3. 인덱싱(I</span><span style="font-size: 18pt;">ndexing)</span></b></p></div><p><br></p>
<p>파이썬에서는 문자열에서 원하는 위치에 있는 문자를 마음대로 꺼낼 수 있는데 이를 인덱싱(Indexing)이라 합니다. 변수 뒤에 가져오려는 문자의 위치를 적고, 그 위치를 대괄호로 감싸면 되며, 즉 '변수[위치]'와 같은 형태입니다. 대괄호 안에 들어가는 수를 위치, 첨자, 인덱스라고도 하며 이 위치는 1이 아닌 0부터 시작합니다. 예를 들어서 "python is very powerful"와 같은 문자열이 있다면, 각 문자의 위치는 아래 그림과 같습니다.</p>
<p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:620px;;height:auto;max-width:100%"><span data-url="http://cfile3.uf.tistory.com/attach/267FAC3F5221B4C00D4426" data-lightbox="lightbox"><img src="http://cfile3.uf.tistory.com/image/267FAC3F5221B4C00D4426" style="cursor: pointer;max-width:100%;height:auto" width="620" height="79" filename="K-4.png" filemime="image/jpeg"></span></span></p>
<p>위 그림에서 예를 들어, 위치 4에 해당하는 문자는 'o', 위치 11에 해당하는 문자는 'e'입니다. 이를 직접 인덱싱하여 예상하던 결과가 맞는지 비교해보도록 합시다. 아래의 예제를 우선 봅시다.<br></p>
<div><div id="highlighter_138602" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> var </code><code class="python keyword">=</code> <code class="python string">"python is very powerful"</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> var[</code><code class="python value">4</code><code class="python plain">]</code></div><div class="line number3 index2 alt2"><code class="python string">'o'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> var[</code><code class="python value">11</code><code class="python plain">]</code></div><div class="line number5 index4 alt2"><code class="python string">'e'</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> var[</code><code class="python value">0</code><code class="python plain">]</code></div><div class="line number7 index6 alt2"><code class="python string">'p'</code></div><div class="line number8 index7 alt1"><code class="python plain">>>> var[</code><code class="python value">1</code><code class="python plain">]</code></div><div class="line number9 index8 alt2"><code class="python string">'y'</code></div></div></td></tr></tbody></table></div></div>
<p>위 코드의 결과를 보시니 우리가 생각하던 결과와 일치하죠? 그럼 위치에 음수가 들어가는 경우는 어떤 결과가 나올 것 같나요? 위치에 음수가 쓰이면 앞에서 부터가 아닌 뒤에서부터 문자열을 읽게 됩니다. </p>
<p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:620px;;height:auto;max-width:100%"><span data-url="http://cfile25.uf.tistory.com/attach/225017435221B7E3177EDC" data-lightbox="lightbox"><img src="http://cfile25.uf.tistory.com/image/225017435221B7E3177EDC" style="cursor: pointer;max-width:100%;height:auto" width="620" height="71" filename="K-5.png" filemime="image/jpeg"></span></span></p>
<p>위 그림에서 예를 들면, 위치 -2에 해당하는 문자는 'u', 위치 -10에 해당하는 문자는 'y', 위치 -16에 해당하는 문자는 'i'일 것입니다. 이를 직접 인덱싱하여 예상하던 결과가 맞는지 비교해보도록 합시다. 아래의 예제를 봅시다.</p>
<div><div id="highlighter_26629" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> var </code><code class="python keyword">=</code> <code class="python string">"python is very powerful"</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> var[</code><code class="python keyword">-</code><code class="python value">2</code><code class="python plain">]</code></div><div class="line number3 index2 alt2"><code class="python string">'u'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> var[</code><code class="python keyword">-</code><code class="python value">10</code><code class="python plain">]</code></div><div class="line number5 index4 alt2"><code class="python string">'y'</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> var[</code><code class="python keyword">-</code><code class="python value">16</code><code class="python plain">]</code></div><div class="line number7 index6 alt2"><code class="python string">'i'</code></div></div></td></tr></tbody></table></div></div>
<p>위 코드의 결과와 예상했던 결과가 일치함을 알 수 있습니다. 주의하실 점은 아래와 같이 인덱싱을 통해 문자열의 일부를 수정하려고 하면 에러가 발생합니다. 인덱싱을 통해서 문자열을 변경하는 행위는 허용되지 않는다는 의미입니다.<br></p>
<div><div id="highlighter_730460" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> var </code><code class="python keyword">=</code> <code class="python string">"ABCDE"</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> var[</code><code class="python value">2</code><code class="python plain">] </code><code class="python keyword">=</code> <code class="python string">'G'</code></div><div class="line number3 index2 alt2"><code class="python plain">Traceback (most recent call last):</code></div><div class="line number4 index3 alt1"><code class="python spaces"> </code><code class="python functions">File</code> <code class="python string">"<pyshell#66>"</pyshell#66></code><code class="python plain">, line </code><code class="python value">1</code><code class="python plain">, </code><code class="python keyword">in</code> <code class="python plain"><module></module></code></div><div class="line number5 index4 alt2"><code class="python spaces"> </code><code class="python plain">var[</code><code class="python value">2</code><code class="python plain">] </code><code class="python keyword">=</code> <code class="python string">'G'</code></div><div class="line number6 index5 alt1"><code class="python plain">TypeError: </code><code class="python string">'str'</code> <code class="python functions">object</code> <code class="python plain">does </code><code class="python keyword">not</code> <code class="python plain">support item assignment</code></div></div></td></tr></tbody></table></div></div>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">4. 슬라이싱(S</span><span style="font-size: 18pt;">licing)</span></b></p></div><p><br></p>
<p>우리가 전에 알아본 인덱싱(indexing)이 원하는 위치에 있는 문자를 가져올 수 있는 것이라면, 이번에 배울 슬라이싱(Slicing)을 통해 문자열을 통채로 꺼낼 수 있습니다. 슬라이싱이라는 단어만 보고도 케이크를 자르듯 문자열을 조각조각 썰어버릴 것 같은 느낌이 들지 않나요? 쉽게 말하면 슬라이싱을 통해서 문자열을 조각내어 일부만 가져온다고 할 수 있습니다. 슬라이싱은 '변수[시작 위치:끝 위치]'와 같이 사용하며, 이는 시작 위치부터 시작해서 끝 위치 까지의 문자열을 가져온다는 것입니다.</p>
<p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:620px;;height:auto;max-width:100%"><span data-url="http://cfile22.uf.tistory.com/attach/252AB43E5221BF7C2A38ED" data-lightbox="lightbox"><img src="http://cfile22.uf.tistory.com/image/252AB43E5221BF7C2A38ED" style="cursor: pointer;max-width:100%;height:auto" width="620" height="122" filename="K-6.png" filemime="image/jpeg"></span></span></p>
<p>위의 그림처럼 위치 2~5에 있는 문자열의 일부를 가져오고 싶다면 [2:5]라고 써야한다고 생각하겠지만, 끝 번호에 해당하는 문자는 포함이 되지 않습니다. 즉, 위 그림의 문자열을 가져오려면 [2:6]라고 써야합니다. 상당히 혼동이 오실지도 모르겠는데, 여러번 사용하다 보면 적응되니 걱정하지 않으셔도 될 듯 합니다. 우선 한번 사용해보도록 합시다.</p>
<div><div id="highlighter_123976" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> var </code><code class="python keyword">=</code> <code class="python string">"python is best language ever"</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> var[</code><code class="python value">2</code><code class="python plain">:</code><code class="python value">6</code><code class="python plain">]</code></div><div class="line number3 index2 alt2"><code class="python string">'thon'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> var[</code><code class="python value">3</code><code class="python plain">:</code><code class="python value">7</code><code class="python plain">]</code></div><div class="line number5 index4 alt2"><code class="python string">'hon '</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> var[</code><code class="python value">0</code><code class="python plain">:</code><code class="python value">15</code><code class="python plain">]</code></div><div class="line number7 index6 alt2"><code class="python string">'python is best '</code></div></div></td></tr></tbody></table></div></div>
<p>위 코드에서 [2:6]은 위치 2에서 위치 5까지의 문자열을 가져옵니다. (위에서 말한대로, 끝 위치에 존재하는 문자는 포함되지 않기 때문에 6은 포함하지 않습니다) [3:7]은 위치 3에서 위치 6까지의 문자열을, [0:15]는 위치 0에서 위치 14까지의 문자열을 가져오는 것입니다. 인덱싱과 마찬가지로 시작 위치와 끝 위치에 음수가 들어갈 수 있는데, 이는 문자열을 가장 뒤에서부터 읽어서 문자열을 잘라올 수 있습니다.</p>
<p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:620px;;height:auto;max-width:100%"><span data-url="http://cfile21.uf.tistory.com/attach/254559425221C2EC04EACA" data-lightbox="lightbox"><img src="http://cfile21.uf.tistory.com/image/254559425221C2EC04EACA" style="cursor: pointer;max-width:100%;height:auto" width="620" height="122" filename="K-7.png" filemime="image/jpeg"></span></span></p>
<p>위 문자열에서 위치 -13부터 시작하여 위치 -6까지의 문자열을 가져오려면, [-13:-5]라고 써야 합니다. 여기도 마찬가지로 위치 -5에 해당하는 문자는 포함이 되지 않기 때문에 실제로는 위치 -13부터 위치 -5까지의 문자열을 가져옵니다. 아래의 예를 한번 보도록 합시다.</p>
<div><div id="highlighter_741739" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> var </code><code class="python keyword">=</code> <code class="python string">"python is best language ever"</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> var[</code><code class="python keyword">-</code><code class="python value">13</code><code class="python plain">:</code><code class="python keyword">-</code><code class="python value">5</code><code class="python plain">]</code></div><div class="line number3 index2 alt2"><code class="python string">'language'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> var[</code><code class="python keyword">-</code><code class="python value">15</code><code class="python plain">:</code><code class="python keyword">-</code><code class="python value">6</code><code class="python plain">]</code></div><div class="line number5 index4 alt2"><code class="python string">'t languag'</code></div></div></td></tr></tbody></table></div></div>
<p>위 코드와 결과를 보시면, 우리의 예상대로 "language"라는 일부 문자열을 가져왔음을 확인하실 수 있습니다. 이번에는 한번 처음 위치나 끝 위치를 생략하여 결과를 살펴보도록 하겠습니다.</p>
<div><div id="highlighter_664057" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> var </code><code class="python keyword">=</code> <code class="python string">"0123456789"</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> var[</code><code class="python value">2</code><code class="python plain">:]</code></div><div class="line number3 index2 alt2"><code class="python string">'23456789'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> var[:</code><code class="python value">5</code><code class="python plain">]</code></div><div class="line number5 index4 alt2"><code class="python string">'01234'</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> var[:]</code></div><div class="line number7 index6 alt2"><code class="python string">'0123456789'</code></div></div></td></tr></tbody></table></div></div>
<p>위 코드와 결과에서 끝 위치를 생략하면 처음 위치부터 시작하여 끝까지 문자열을 읽어오며, 시작 위치를 생략하면 처음부터 끝 위치까지 문자열을 읽어오고, 둘 다 생략하면 처음부터 끝을 읽어오라는 의미이기 때문에 문자열 전체를 가져오게 됩니다.</p>
<p><br></p>
<p>슬라이싱이 대충 어떤 기능을 하는 녀석인지 감이 오시나요? 이번에는 슬라이싱을 좀 더 확장해보도록 하겠습니다. 위에서는 시작 위치와 끝 위치만 사용되다가, 확장 슬라이싱에서는 스텝(step)이라는 녀석이 추가됩니다. 스텝을 우리가 알기 쉬운 말로 바꾸어 보면, '보폭'이나 '간격, 단위'로 말할 수 있습니다. 예제를 직접 보는게 빠르겠죠?</p>
<div><div id="highlighter_177326" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> temp </code><code class="python keyword">=</code> <code class="python string">"123456789"</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> temp[::</code><code class="python value">3</code><code class="python plain">]</code></div><div class="line number3 index2 alt2"><code class="python string">'147'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> temp[::</code><code class="python keyword">-</code><code class="python value">1</code><code class="python plain">]</code></div><div class="line number5 index4 alt2"><code class="python string">'987654321'</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> temp[::</code><code class="python keyword">-</code><code class="python value">2</code><code class="python plain">]</code></div><div class="line number7 index6 alt2"><code class="python string">'97531'</code></div></div></td></tr></tbody></table></div></div>
<p>위의 예제에서 결과를 살펴보니, 순서대로 3칸 단위로 데이터를 가져오고, 거꾸로 데이터를 가져오고, 거꾸로 2칸 단위로 데이터를 가져온다는 것을 확인하실 수 있습니다. 그림으로 확인해보면 아래와 같을 것입니다.</p>
<p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:398px;;height:auto;max-width:100%"><img src="http://cfile30.uf.tistory.com/image/2267B749565488E419373E" style="max-width:100%;height:auto" width="398" height="164" filename="캡처.PNG" filemime="image/jpeg"></span></p>
<p>위 그림을 보니, temp[::3]이 왜 147이란 값이 나오게 되었는지 짐작이 가시나요? temp[::-2]도 위와 마찬가지로 거꾸로 2칸 단위로 옮겨간다고 생각하면 왜 97531이 나오게 되었는지도 알 수 있을 것입니다.</p>
<p><br></p><div class="txc-textbox" style="border: 1px solid rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;"><p><b><span style="font-size: 18pt;">5. 문자열의 서식 지정(Formatting)</span></b></p></div><p><br></p>
<p>마지막으로 문자열의 서식 지정에 대해서 알아보도록 하겠습니다. 문자열의 서식을 지정하는 방법에는 튜플을 이용하는 방법, format 함수를 이용하는 방법, format 메서드를 이용하는 방법이 있으며, 이 세가지 방법을 모두 알아보려고 합니다. 우선은 먼저 튜플을 이용하는 방법부터 보도록 하겠습니다.</p>
<div><div id="highlighter_171417" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"제 나이는 %d이며, 몸무게는 %.1f kg이고, 취미는 %s입니다. "</code> <code class="python keyword">%</code> <code class="python plain">(</code><code class="python value">19</code><code class="python plain">, </code><code class="python value">62.5</code><code class="python plain">, </code><code class="python string">'프로그래밍'</code><code class="python plain">))</code></div><div class="line number2 index1 alt1"><code class="python plain">제 나이는 </code><code class="python value">19</code><code class="python plain">이며, 몸무게는 </code><code class="python value">62.5</code> <code class="python plain">kg이고, 취미는 프로그래밍입니다. </code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 살펴보시면 '%d'나 '%s', '%f'와 같은 것이 사용된 것을 확인하실 수 있습니다. 이러한 문자들을 서식 문자라고 하며, 각각 정수형과 문자열, 실수형 데이터를 지정하게 됩니다. 참고로 '%.1f'와 같이 앞에 숫자가 포함되어 있는 서식 문자는 출력할 자릿수나 정밀도 등을 나타내며, 이는 소수점 이하 한자리만 출력한다는 것입니다. 이번에는 format 함수를 통하여 문자열의 서식을 지정해보도록 하겠습니다.</p>
<div><div id="highlighter_843889" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> weight </code><code class="python keyword">=</code> <code class="python value">62.53</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"몸무게:"</code><code class="python plain">, </code><code class="python functions">format</code><code class="python plain">(weight, </code><code class="python string">'.1f'</code><code class="python plain">))</code></div><div class="line number3 index2 alt2"><code class="python plain">몸무게: </code><code class="python value">62.5</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> </code><code class="python keyword">print</code><code class="python plain">(</code><code class="python string">"돈:"</code><code class="python plain">, </code><code class="python functions">format</code><code class="python plain">(</code><code class="python value">12931401</code><code class="python plain">, </code><code class="python string">',d'</code><code class="python plain">))</code></div><div class="line number5 index4 alt2"><code class="python plain">돈: </code><code class="python value">12</code><code class="python plain">,</code><code class="python value">931</code><code class="python plain">,</code><code class="python value">401</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서는 format 함수를 통하여 변수 weight의 값을 소수점 이하 한자리로 출력하고 있으며, 정수형 데이터인 12931401을 천 단위마다 쉼표를 추가하였습니다. ',d'와 같이 앞에 쉼표를 붙여주면 천 단위마다 쉼표를 추가할 수 있게 됩니다. 간단하죠? 그리고 이제는 format 메서드를 통해서 문자열의 서식을 지정해보도록 하겠습니다.</p>
<div><div id="highlighter_259725" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python string">'{} {}'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(</code><code class="python string">'홍길동'</code><code class="python plain">, </code><code class="python value">34</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python string">'홍길동 34'</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면 중괄호로 둘러싸인 곳에는 데이터가 위치하게 되며, 순서대로 중괄호 쪽에 데이터가 들어가는 것을 확인하실 수 있습니다. 이번에는 출력되는 순서를 한번 바꾸어 보도록 하겠습니다.</p>
<div><div id="highlighter_30553" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python string">'{0} {1} {2}'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(</code><code class="python value">12</code><code class="python plain">, </code><code class="python value">34</code><code class="python plain">, </code><code class="python value">56</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python string">'12 34 56'</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python string">'{2} {2} {1} {0}'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(</code><code class="python value">12</code><code class="python plain">, </code><code class="python value">34</code><code class="python plain">, </code><code class="python value">56</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python string">'56 56 34 12'</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면 중괄호 내에 '{0}', '{1}', '{2}'와 같이 숫자가 들어간 것을 확인하실 수 있습니다. {0}은 format 메서드의 첫번째 인수가 들어가고, {1}은 두번째 인수가 들어가게 됩니다. 그리고 위처럼 순서를 변경할 수 있으며, '{2} {2}'와 같이 여러 번 등장할 수 있습니다. </p>
<div><div id="highlighter_200414" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python string">'{} / {} = {:.2f}'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(</code><code class="python value">5</code><code class="python plain">, </code><code class="python value">2</code><code class="python plain">, </code><code class="python value">5</code> <code class="python keyword">/</code> <code class="python value">2</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python string">'5 / 2 = 2.50'</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python string">'{0} / {1} = {2:.4f}'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(</code><code class="python value">13</code><code class="python plain">, </code><code class="python value">3</code><code class="python plain">, </code><code class="python value">13</code> <code class="python keyword">/</code> <code class="python value">3</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python string">'13 / 3 = 4.3333'</code></div></div></td></tr></tbody></table></div></div>
<p>튜플을 이용한 방법이나 format 함수를 이용한 방법과 같이 위 예제처럼 format 메서드를 통한 방법도 자릿수나 정밀도 등을 지정해 줄 수 있습니다. {:.2f}에는 5 / 2의 결과가 들어가게 되는데, 5 / 2는 2.5고 .2f를 통하여 소수점 이하 두자리까지만 출력하게 되므로 2.50이 나오는게 정상입니다. </p>
<div><div id="highlighter_757458" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python value">30</code><code class="python plain">, </code><code class="python value">40</code><code class="python plain">, </code><code class="python value">50</code><code class="python plain">, </code><code class="python value">80</code><code class="python plain">, </code><code class="python value">90</code><code class="python plain">, </code><code class="python value">100</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python string">'lst[4] = {0[4]}'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(lst)</code></div><div class="line number3 index2 alt2"><code class="python string">'lst[4] = 90'</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제처럼 리스트가 인수로 전달될 때 인덱싱을 통해서 접근할 수 있기도 합니다. {0[4]}에는 lst[4]의 값이 들어가게 되는 셈입니다. 더 구체적으로 살펴보자면, {0}라고 썼을 경우에는 리스트가 인수로써 그대로 전달되지만 {0[4]}와 같이 작성했을 경우에는 인덱싱으로 전달받은 리스트의 요소를 꺼내올 수 있습니다.</p>
<div><div id="highlighter_139327" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python string">'제 나이는 {age}살이고, 제 몸무게는 {weight} kg 입니다.'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(age </code><code class="python keyword">=</code> <code class="python value">19</code><code class="python plain">, weight </code><code class="python keyword">=</code> <code class="python value">72.5</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python string">'제 나이는 19살이고, 제 몸무게는 72.5 kg 입니다.'</code></div></div></td></tr></tbody></table></div></div>
<p>그리고 위 예제처럼 이름을 통하여 값을 가져올 수 있기도 합니다. 그 다음에는, 보조적인 기능을 지원하는 서식 문자에 대해서 살펴보도록 하겠습니다. 공백이나 부호 등과 관련된 서식 문자를 차례대로 살펴보도록 할텐데, 먼저 공간을 확보하는 서식 문자부터 시작하여 차례대로 알아가보도록 하겠습니다.</p>
<div><div id="highlighter_330930" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python string">'{0:6s}'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(</code><code class="python string">'cat'</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python string">'cat '</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python string">'{0:5d}'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(</code><code class="python value">334</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python string">' 334'</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제의 첫번째 코드를 해석하면 최소 6칸의 자리를 확보하고나서 문자열인 cat을 출력하라는 것입니다. 만약 위 예제에서 'cat'이 아니라, 'python'처럼 길이가 6 이상인 문자열을 넘기면 공백없이 출력이 됩니다. 두번째 코드도 마찬가지로 최소 5칸의 자리를 확보하고나서 정수 334를 출력하라는 것이 됩니다.</p>
<div><div id="highlighter_74076" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python string">'{0:<6d}'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(</code><code class="python value">1234</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python string">'1234 '</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python string">'{0:>6d}'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(</code><code class="python value">1234</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python string">' 1234'</code></div></div></td></tr></tbody></table></div></div>
<p>이처럼 개발자가 임의로 왼쪽으로 맞추어 출력할 것인지, 오른쪽으로 맞추어 출력할 것인지도 지정할 수도 있습니다. 확보된 공간 내에서 <를 통해 왼쪽 정렬을, >를 통해 오른쪽 정렬을 할 수 있다는 것입니다. 만약, 빈 공간을 0으로 채우고 나서 출력하고 싶을 때에는 아래와 같이 작성해주시면 됩니다.</p>
<div><div id="highlighter_82327" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python string">'{0:07d}'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(</code><code class="python value">1234</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python string">'0001234'</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서 7칸을 확보하고 나서 앞에 빈 공간은 모두 0으로 채워진 것을 보실 수 있습니다. 이렇게 10진수 정수를 나타내는 것은 충분히 알겠는데, 8진수나 16진수를 나타내고 싶은 경우에는 어떻게 할까요?</p>
<div><div id="highlighter_958320" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python string">'{0:#o} {0:#x}'</code><code class="python plain">.</code><code class="python functions">format</code><code class="python plain">(</code><code class="python value">123</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python string">'0o173 0x7b'</code></div></div></td></tr></tbody></table></div></div>
<p>위와 같이 8진수라면 #o를 통해 앞에 0o를, 16진수라면 #x를 통해서 앞에 0x를 붙일 수 있습니다. 소문자 x가 아닌 대문자 X를 사용하면 0X를 앞에 붙일 수도 있습니다. 좀 더 살펴보면 백분율이나 부호 등에 관한 서식 문자가 더 존재하기는 하지만, 주로 쓰이는 서식 문자에 대해 간단하게 알아보는 정도로 마치도록 하겠습니다. </p>
<p><br></p><div class="txc-textbox" style="border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);"><p><b><span style="font-size: 18pt;">6. 문자열 메서드</span></b></p></div><p><br></p>
<p><span style="font-size: 14pt; color: rgb(70, 65, 217); background-color: rgb(70, 65, 217);"> </span><b><span style="font-size: 14pt; color: rgb(70, 65, 217);"> 대문자로 변환하는 upper, 소문자로 변환하는 lower</span></b></p>
<div><div id="highlighter_207337" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> s </code><code class="python keyword">=</code> <code class="python string">'abCdeFg'</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> s.upper()</code></div><div class="line number3 index2 alt2"><code class="python string">'ABCDEFG'</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> s.lower()</code></div><div class="line number5 index4 alt2"><code class="python string">'abcdefg'</code></div></div></td></tr></tbody></table></div></div><p>소제목 그대로 upper는 문자열 내의 소문자를 모두 대문자로 변환해주는 메서드이며, lower는 문자열 내의 대문자를 모두 소문자로 변환해주는 메서드라고 할 수 있습니다. </p>
<p><br></p>
<p><span style="font-size: 14pt; color: rgb(70, 65, 217); background-color: rgb(70, 65, 217);"> </span><b><span style="font-size: 14pt; color: rgb(70, 65, 217);"> 문자열 위치를 찾아내는 find</span></b></p>
<div><div id="highlighter_549052" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> s </code><code class="python keyword">=</code> <code class="python string">'It`s always such a pleasure'</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> s.find(</code><code class="python string">'way'</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python value">7</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> s.find(</code><code class="python string">'such'</code><code class="python plain">, </code><code class="python value">13</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python keyword">-</code><code class="python value">1</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> s.find(</code><code class="python string">'the'</code><code class="python plain">)</code></div><div class="line number7 index6 alt2"><code class="python keyword">-</code><code class="python value">1</code></div></div></td></tr></tbody></table></div></div>
<p>find 메서드는 임의의 문자열 내에서 찾고자 하는 부분 문자열이 있을때, 검색을 통해 찾아낸 부분 문자열의 위치를 반환해주는 메서드입니다. 만약 찾고자 하는 문자열을 찾지 못했을 경우에는 -1를 반환합니다.</p>
<p><span style="font-size: 14pt; color: rgb(70, 65, 217); background-color: rgb(70, 65, 217);"> </span><b><span style="font-size: 14pt; color: rgb(70, 65, 217);"> 부분 문자열의 발생 횟수를 알려주는 count</span></b></p>
<div><div id="highlighter_666591" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> s </code><code class="python keyword">=</code> <code class="python string">'we are invincible, we are unique'</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> s.count(</code><code class="python string">'we'</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python value">2</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> s.count(</code><code class="python string">'in'</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python value">2</code></div></div></td></tr></tbody></table></div></div>
<p>count 메서드는 임의의 문자열 내에서 부분 문자열의 등장 횟수를 반환합니다. 위의 예제의 결과에서는,</p><div class="txc-textbox" style="border: 1px solid rgb(203, 203, 203); padding: 10px; background-color: rgb(255, 255, 255);"><p><span style="background-color: rgb(255, 255, 255);"><b><span style="color: rgb(0, 85, 255);">we</span> </b>are <b><span style="color: rgb(255, 0, 0);">in</span></b>v<b><span style="color: rgb(255, 0, 0);">in</span></b>cible, <b><span style="color: rgb(0, 85, 255);">we</span></b> are unique </span><br></p></div><p>'we'와 'in'이 각각 2번씩 등장하여 반환된 결과값이 모두 2로 출력된 것입니다.</p>
<p><span style="font-size: 14pt; color: rgb(70, 65, 217); background-color: rgb(70, 65, 217);"> </span><b><span style="font-size: 14pt; color: rgb(70, 65, 217);"> 새로운 문자열로 교체하는 replace</span></b></p>
<div><div id="highlighter_584025" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> s </code><code class="python keyword">=</code> <code class="python string">'AB-C-D-EFGH'</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> s.replace(</code><code class="python string">'-'</code><code class="python plain">, '')</code></div><div class="line number3 index2 alt2"><code class="python string">'ABCDEFGH'</code></div></div></td></tr></tbody></table></div></div>
<p>replace 메서드는 원본 문자열을 새로운 문자열로 바꾸어 줍니다. 위 예제를 보면, 문자열 s에 있는 -를 공백으로 모두 치환한 결과가 나왔음을 보실 수 있습니다. </p>
<p><span style="font-size: 14pt; color: rgb(70, 65, 217); background-color: rgb(70, 65, 217);"> </span><b><span style="font-size: 14pt; color: rgb(70, 65, 217);"> 좌우 공백을 제거하는 strip</span></b></p>
<div><div id="highlighter_817462" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> s </code><code class="python keyword">=</code> <code class="python string">' 1234 56 '</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> s.strip()</code></div><div class="line number3 index2 alt2"><code class="python string">'1234 56'</code></div></div></td></tr></tbody></table></div></div>
<p>strip 메서드는 양쪽의 공백을 모두 제거하는 역할을 하며, 왼쪽의 공백만 제거하는 lstrip, 오른쪽의 공백만 제거하는 rstrip라는 메서드도 있으니 참고하시길 바랍니다.</p>
<p><span style="font-size: 14pt; color: rgb(70, 65, 217); background-color: rgb(70, 65, 217);"> </span><b><span style="font-size: 14pt; color: rgb(70, 65, 217);"> 문자열을 분리하는 split</span></b></p>
<div><div id="highlighter_982576" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> s </code><code class="python keyword">=</code> <code class="python string">'1/2/3/4/5/6'</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> s.split(</code><code class="python string">'/'</code><code class="python plain">)</code></div><div class="line number3 index2 alt2"><code class="python plain">[</code><code class="python string">'1'</code><code class="python plain">, </code><code class="python string">'2'</code><code class="python plain">, </code><code class="python string">'3'</code><code class="python plain">, </code><code class="python string">'4'</code><code class="python plain">, </code><code class="python string">'5'</code><code class="python plain">, </code><code class="python string">'6'</code><code class="python plain">]</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">s.split(</code><code class="python string">'/'</code><code class="python plain">)</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> lst[</code><code class="python value">3</code><code class="python plain">]</code></div><div class="line number6 index5 alt1"><code class="python string">'4'</code></div></div></td></tr></tbody></table></div></div>
<p>split 메서드는 구분자(sep)를 넘겨주면 그 구분자를 기준으로 문자열을 쪼개는 역할을 합니다. 위의 예제에서, '/'를 구분자로 두고 쪼개면 각각 '1', '2', '3', '4', '5', '6'이 나오며 결과는 리스트형으로 반환되는 것을 알 수 있습니다. </p>
<p><span style="font-size: 14pt; color: rgb(70, 65, 217); background-color: rgb(70, 65, 217);"> </span><b><span style="font-size: 14pt; color: rgb(70, 65, 217);"> 문자열을 결합하는 join</span></b></p>
<div><div id="highlighter_238463" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> lst </code><code class="python keyword">=</code> <code class="python plain">[</code><code class="python string">'1'</code><code class="python plain">, </code><code class="python string">'2'</code><code class="python plain">, </code><code class="python string">'3'</code><code class="python plain">, </code><code class="python string">'4'</code><code class="python plain">, </code><code class="python string">'5'</code><code class="python plain">, </code><code class="python string">'6'</code><code class="python plain">]</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> sep </code><code class="python keyword">=</code> <code class="python string">"-"</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> sep.join(lst)</code></div><div class="line number4 index3 alt1"><code class="python string">'1-2-3-4-5-6'</code></div></div></td></tr></tbody></table></div></div>
<p>join 메서드는 구분자(sep)를 통해 각각의 리스트 요소들을 순서대로 연결하는 역할을 합니다. 위 예제를 살펴보시면, 구분자인 '-'를 통해 각각의 요소가 연결됨으로써 '1-2-3-4-5-6'이라는 문자열이 반환됨을 확인하실 수 있습니다.</p><p><br></p><div class="underTitle"><span style="font-weight: bold;"><a href="http://webprogramer.kr/blog/%EC%B6%9C%EC%B2%98%20:%20http://blog.eairship.kr" target="_blank">출처 : http://blog.eairship.kr</a></span></div><div><br></div></div></div><div id="entry275Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/275" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
[펌]파이썬 강좌 4-1편. 수치 자료형(Numeric Data Type)
http://www.webprogramer.kr/blog/P000000309/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 4-1편. 수치 자료형(Numeric Data Type)</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile21.uf.tistory.com/image/243D0838521B5AFD0D3882" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">1. 자료형(Data Type)은 무엇인가?</span></b></p></div><p><br></p>
<p>이번 편에서는 자료형(Data Type)에 대해서 알아보도록 하겠습니다. 자료형은 말 그대로, 데이터의 형식을 말합니다. 파이썬에서는 수치 자료형부터 시작해서 문자 자료형, 튜플, 리스트, 사전 등 여러가지의 자료형이 존재하며, 자료형을 보고서 데이터가 어떠한 데이터의 형식인지 알 수 있습니다. 파이썬에 내장되어 있는 함수인 type이란 함수를 통해서 객체의 타입을 살펴보도록 하겠습니다. 이 type이란 함수는 객체의 타입을 보여주며, 아래와 같이 사용합니다.</p>
<div><div id="highlighter_67762" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">type</code><code class="python plain">(</code><code class="python value">33</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain"><</code><code class="python keyword">class</code> <code class="python string">'int'</code><code class="python plain">></code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python functions">type</code><code class="python plain">(</code><code class="python value">3.14</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python plain"><</code><code class="python keyword">class</code> <code class="python string">'float'</code><code class="python plain">></code></div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python functions">type</code><code class="python plain">([</code><code class="python string">'1'</code><code class="python plain">, </code><code class="python string">'2'</code><code class="python plain">, </code><code class="python string">'3'</code><code class="python plain">])</code></div><div class="line number6 index5 alt1"><code class="python plain"><</code><code class="python keyword">class</code> <code class="python string">'list'</code><code class="python plain">></code></div><div class="line number7 index6 alt2"><code class="python plain">>>> </code><code class="python functions">type</code><code class="python plain">(</code><code class="python value">33331491491492</code><code class="python plain">)</code></div><div class="line number8 index7 alt1"><code class="python plain"><</code><code class="python keyword">class</code> <code class="python string">'int'</code><code class="python plain">></code></div></div></td></tr></tbody></table></div></div>
<p>위를 보시면 객체 33의 타입은 int로, 이는 정수(integer)를 의미합니다. 객체 3.14는 float이므로 실수(float)를 의미합니다. 그 아래에 있는 대괄호로 감싸진 녀석은 리스트라는 녀석인데, 이 리스트란 개념은 좀 더 뒤에가서 설명합니다. 아직은 이것이 무엇인지 아실 필요는 없습니다. 수치 자료형, 문자 자료형, 리스트, 튜플, 사전 이런 식으로 차례대로 설명을 할 계획이며, 우선은 숫자를 나타내는 수치 자료형(Numeric Data Type)에 대해서 알아보도록 합시다.<br></p>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">2. 정수(Integer)</span></b></p></div><p><br></p>
<p>위에서 말한대로 파이썬에서 등장하는 int라는 녀석은 정수(Integer)의 약자입니다. 아래에 변수에 대입이 되는 객체들은 모두 정수형 객체이며, 그 중에서도 가장 많이 쓰이는 10진수의 예입니다.</p>
<div><div id="highlighter_528979" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> A </code><code class="python keyword">=</code> <code class="python value">5</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> B </code><code class="python keyword">=</code> <code class="python value">10</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(A, B)</code></div><div class="line number4 index3 alt1"><code class="python value">5</code> <code class="python value">10</code></div></div></td></tr></tbody></table></div></div>
<p>정수를 10진수가 아닌 2진수, 8진수, 16진수로 인식하게 하고 싶으면 정수 앞에 각각 '0b', '0o', '0x'를 붙이시면 됩니다. 아래와 같이 말입니다.</p>
<div><div id="highlighter_520046" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python value">0b10</code><code class="python plain">, </code><code class="python value">0o10</code><code class="python plain">, </code><code class="python value">0x10</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python value">2</code> <code class="python value">8</code> <code class="python value">16</code></div></div></td></tr></tbody></table></div></div>
<p>위에서 b는 2진수(binary), o는 8진수(octal), x는 16진수(hexadecimal)라는 의미입니다. 반대로 10진수를 각각 2진수, 8진수, 16진수의 형태로 변환하려면 bin, oct, hex 함수를 사용하시면 됩니다.</p>
<div><div id="highlighter_259307" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">bin</code><code class="python plain">(</code><code class="python value">202020</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python string">'0b110001010100100100'</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python functions">oct</code><code class="python plain">(</code><code class="python value">20114</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python string">'0o47222'</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python functions">hex</code><code class="python plain">(</code><code class="python value">401000</code><code class="python plain">)</code></div><div class="line number6 index5 alt1"><code class="python string">'0x61e68'</code></div></div></td></tr></tbody></table></div></div>
<p>여기서 주의하셔야 할 부분은, 위에 보시면 출력되는 결과가 정수가 아니라 문자열이라는 것입니다. 즉, 'hex(40) - 20'과 같은 연산에서 hex(40)이 내보내는 결과는 문자열(string), 20은 정수(integer)이니 타입이 맞지 않아 서로 연산을 하지 못합니다. 문자열에 대해서는 다음 편인 문자열 강좌에서 다루니 궁금하신 분은 미리 살펴보고 오셔도 괜찮습니다. </p>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">3. 실수(Float)</span></b></p></div><p><br></p>
<p>파이썬에서 등장하는 float라는 녀석은 부동 소수점(Floating point)의 약자이며, 부동 소수점이란 정수처럼 소숫점이 고정되어 있는게 아니라 부동이란 의미 그대로 고정되어 있지 않고 움직인다는 말입니다. 이 방식은 컴퓨터에서 실수를 표현하는 방식이며, 소숫점의 위치를 나타내는 수를 따로 기록합니다. 앞으로 float라는 단어가 나오면, 이는 부동 소수점이 아니라 실수라는 의미로 설명하도록 하겠습니다. 아래의 예제에서 변수에 대입되는 객체는 모두 실수 형태의 객체라고 말할 수 있습니다.</p>
<div><div id="highlighter_895106" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> A </code><code class="python keyword">=</code> <code class="python value">3.14</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> B </code><code class="python keyword">=</code> <code class="python value">5.1402020319</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(A, B)</code></div><div class="line number4 index3 alt1"><code class="python value">3.14</code> <code class="python value">5.1402020319</code></div></div></td></tr></tbody></table></div></div>
<p>위처럼 실수를 표현하는 방식도 있겠지만, 다른 방식으로는 지수 표기법이라는 것으로 아래와 같이 실수를 표현하는 방식이 존재합니다.</p>
<div><div id="highlighter_569542" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python value">0.23193202032E8</code></div><div class="line number2 index1 alt1"><code class="python value">23193202.032</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python value">1412232.22E</code><code class="python keyword">-</code><code class="python value">10</code></div><div class="line number4 index3 alt1"><code class="python value">0.000141223222</code></div></div></td></tr></tbody></table></div></div>
<p>위 코드에서 E는 지수(Exponent)라는 의미이며, 대문자가 아니더라도 소문자 역시 똑같은 의미로 사용됩니다. 위의 예제에서 0.23193202032E8는 0.23193202032 * 10^8이라고 보시면 됩니다. 여기서 10^n은 10의 n승이라는 것입니다. 즉, 0.23193202032 곱하기 10의 8승은 23193202.032라는 값을 지니고, 1412232.22E-10에서는 10^-10이니 이것은 1412232.22 곱하기 10의 마이너스 10승을 의미하며, 0.000141223222라는 값을 가집니다.<span style="background-color: transparent; font-size: 9pt; line-height: 1.5;"> 한가지 주의하실 부분이 있는데, 한번 아래의 예제를 살펴보도록 합시다.</span></p><div><div id="highlighter_928954" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python value">5.4</code> <code class="python keyword">+</code> <code class="python value">1.2</code></div><div class="line number2 index1 alt1"><code class="python value">6.6000000000000005</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python value">1.4</code> <code class="python keyword">-</code> <code class="python value">1.1</code></div><div class="line number4 index3 alt1"><code class="python value">0.2999999999999998</code></div></div></td></tr></tbody></table></div></div><p>우리가 예상하기에는 위의 예제의 결과가 각각 6.6, 0.3으로 나와야 할텐데 이상한 결과가 나오고 있는 것을 확인하실 수 있습니다. 이는 진법 변환에 따른 오차에 의한 것으로 10진수를 2진수로 변환시킬때 10진수의 유한 소수가 2진수에선 무한 소수가 되는 경우가 있다고 합니다. 진법 변환을 간단히 소개하자면, 10진수 0.125를 2진수로 고치면 </p><pre class="exam">0.125 * 2 = 0.25 (0)
0.25 * 2 = 0.5 (0)
0.5 * 2 = 1.0 (1)
0.0 (계산 마침)
</pre><p>위와 같이 계산되어 최종적으로 2진수 0.001이 되는 것입니다. 참고로 여기서 괄호 안의 숫자는 정수 부분만을 취한 것입니다. 이와 같은 방법으로 10진수 0.1를 2진수로 변환한다고 하면 아래와 같을 것입니다.</p><pre class="exam">0.1 * 2 = 0.2 (0)
0.2 * 2 = 0.4 (0)
0.4 * 2 = 0.8 (0)
0.8 * 2 = 1.6 (1)
...</pre><p>소수부가 0이 나올때까지 2를 곱하게 되는데, 여기서 뒷자리를 자세히 살펴보시면 2,4,8,6의 반복으로 계속 끝이 없는 무한 소수가 되어 나오는 것을 확인하실 수 있습니다. 결과가 이상하게 나오더라도 진법 변환에서 생기는 오차라고 생각하시고, 이런 오류없는 정밀한 계산을 하시려면 모듈을 쓸수도 있지만 아직은 모듈 얘기는 하지 않도록 하겠습니다.</p>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">4. 복소수(Complex)</span></b></p></div><p><br></p>
<p>파이썬에선 정수와 실수뿐만 아니라 좀더 넓은 개념인 복소수까지도 내부적으로 지원합니다. 여기서 주의하셔야 할 부분은 허수 단위가 i가 아니라 j 또는 J라는 것입니다. 우선은 아래의 예제를 보도록 합시다.</p>
<div><div id="highlighter_175161" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> x </code><code class="python keyword">=</code> <code class="python value">7</code> <code class="python keyword">-</code> <code class="python value">3j</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python functions">type</code><code class="python plain">(x)</code></div><div class="line number3 index2 alt2"><code class="python plain"><</code><code class="python keyword">class</code> <code class="python string">'complex'</code><code class="python plain">></code></div><div class="line number4 index3 alt1"><code class="python plain">>>> x.imag</code></div><div class="line number5 index4 alt2"><code class="python keyword">-</code><code class="python value">3.0</code></div><div class="line number6 index5 alt1"><code class="python plain">>>> x.real</code></div><div class="line number7 index6 alt2"><code class="python value">7.0</code></div><div class="line number8 index7 alt1"><code class="python plain">>>> x.conjugate()</code></div><div class="line number9 index8 alt2"><code class="python plain">(</code><code class="python value">7</code><code class="python keyword">+</code><code class="python value">3j</code><code class="python plain">)</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제에서 imag는 복소수의 허수 부분을 돌려주고, real은 복소수의 실수 부분을 되돌려줍니다. 그리고 conjugate 함수는 복소수의 켤레 복소수를 되돌려줍니다. 물론 정수와 같이 복소수 끼리도 연산이 가능합니다. 복소수가 아직 뭔지 모르시는 분들은 복소수를 따로 보고 오셔도 되고, 아니면 파이썬에도 이런게 있구나 하고 그냥 넘어가셔도 됩니다.</p><p><br></p><p><div class="article" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="tt_article_useless_p_margin" style="box-sizing: border-box;"></div></div></p><div class="titleWrap" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="underTitle" style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: bold;">출처 : <a href="http://blog.eairship.kr/" target="_blank" style="box-sizing: border-box; background-color: transparent; color: rgb(102, 102, 102); text-decoration: none;">http://blog.eairship.kr</a></span></div></div></div></div></div>
[펌]파이썬 강좌 3편. 변수(Variable)
http://www.webprogramer.kr/blog/P000000308/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 3편. 변수(Variable)</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="FLOAT: none; TEXT-ALIGN: center; CLEAR: none"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile1.uf.tistory.com/image/252C4D4952181BC4201632" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p>
<div class="txc-textbox" style="BORDER-TOP: rgb(193,193,193) 1px solid; BORDER-RIGHT: rgb(193,193,193) 1px solid; BORDER-BOTTOM: rgb(193,193,193) 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: rgb(193,193,193) 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: rgb(238,238,238)">
<p><b><span style="FONT-SIZE: 18pt">1. 변수(Variable)</span></b></p></div>
<p><br></p>
<p>다른 언어들과 마찬가지로 파이썬에서도 변수(Variable)라는 개념이 당연히 존재하며, 이 변수라는 것은 임시로 혹은 영구적으로 값을 기억해두기 위한 저장소를 말합니다. 이러한 변수는 왜 필요한 것일까요? 이해를 돕기 위해 예를 하나 들어보도록 하겠습니다. 우리가 마을 근처의 마트에서 과자를 사려고 하여 천원 짜리 지폐를 들고 집 밖을 나섰다고 가정합니다. 근처 마트를 방문하고 나서 고른 과자의 가격이 600원이라고 하였을 때, 우리가 가지고 있는 돈인 1000원에서 600원을 뺀 나머지인 400원을 거스름돈으로 받게 됩니다. 이를 컴퓨터 상에서 표현한다고 한다면, 아래와 같을 것입니다.</p><div><div id="highlighter_28493" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">money </code><code class="python keyword">=</code> <code class="python value">1000</code></div><div class="line number2 index1 alt1"><code class="python plain">cookiePrice </code><code class="python keyword">=</code> <code class="python value">600</code></div><div class="line number3 index2 alt2"><code class="python plain">money </code><code class="python keyword">=</code> <code class="python plain">money </code><code class="python keyword">-</code> <code class="python plain">cookiePrice</code></div><div class="line number4 index3 alt1"><code class="python functions">print</code><code class="python plain">(money)</code></div></div></td></tr></tbody></table></div></div>
<p><b>결과:</b></p>
<div class="txc-textbox" style="BORDER-TOP: rgb(0,0,0) 1px solid; BORDER-RIGHT: rgb(0,0,0) 1px solid; BORDER-BOTTOM: rgb(0,0,0) 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: rgb(0,0,0) 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: rgb(0,0,0)">
<p><span style="COLOR: rgb(255,255,255)">400</span></p></div>
<p><br></p>
<p>위 코드에서 money와 cookiePrice가 변수이며, 변수가 담고 있는 값은 항상 고정되어 있는게 아니라 변할수 있습니다. 1행을 보시면 1000이란 값이 변수 money에 들어가고, 2행에서는 600이란 값이 변수 cookiePrice에 들어갑니다. 그리고 변수 money와 cookiePrice가 담고 있는 값을 가지고 연산을 한 뒤, 그 결과를 다시 money에 저장합니다. 그리고 최종적으로 money의 값을 출력합니다.</p>
<p><br></p>
<p>쉽게 말하면 변수는 '값을 담아두는 상자'라고 할 수 있지만, 실제로는 값을 담아두는게 아니라 어떠한 값에 이름표를 붙이는 것과 같습니다. 변수를 직접 정의하면서 주의하실 부분은, 왼쪽에 변수명이 와야 한다는 것입니다. 예를 들어, 아래와 같은 경우를 보도록 하겠습니다.</p>
<div><div id="highlighter_19931" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> money </code><code class="python keyword">=</code> <code class="python value">1000</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> </code><code class="python value">1000</code> <code class="python keyword">=</code> <code class="python plain">money</code></div><div class="line number3 index2 alt2"><code class="python plain">SyntaxError: can't assign to literal</code></div></div></td></tr></tbody></table></div></div><p>첫 줄에서 작성된 코드는 아무런 에러 없이 정상적으로 money란 변수가 1000을 담고 있습니다. 그런데, 두번째 줄에서 작성된 코드는 '리터럴(문자)에 할당할 수 없습니다.'와 같은 에러가 발생하게 됩니다. 기본적으로 =(치환 연산자)는 오른쪽에 있는 식의 결과값을 그대로 왼쪽으로 가져다 놓는 것이기 때문에 이러한 에러가 발생하는 것입니다. 즉, '상수인 1000에 변수인 money를 가져다 놓으라고?'와 같이 해석이 되는 것입니다. (사소한 부분이지만, 혹시나 이 부분에 대해서 궁금해 하실 분들을 위해 추가적으로 내용을 덧붙여 놓았습니다.) </p>
<p><br></p>
<p>아래의 '2. 파이썬에선 모든게 객체다!'에서 변수는 정확히 어떠한 것이고, 어떤 값을 담고 있는지 설명하고 있습니다. 잘 이해가 되지 않으시는 분들은 2번을 생략하시고 3번부터 보셔도 좋습니다. 만약 2번을 이해할 수 없어도 크게 무리는 가지 않으니 걱정하지 마시길 바랍니다. 객체에 대해서 이해가 어느정도 되었을때, 3편으로 다시 돌아와서 보셔도 되며 이는 혹여나 추후에 객체에 관해서 더 심화적인 부분에 대한 궁금증이 생기게 될 수 있으므로 추가적으로 마련한 부분입니다.<br></p>
<p><br></p>
<div class="txc-textbox" style="BORDER-TOP: rgb(193,193,193) 1px solid; BORDER-RIGHT: rgb(193,193,193) 1px solid; BORDER-BOTTOM: rgb(193,193,193) 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: rgb(193,193,193) 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: rgb(238,238,238)">
<p><b><span style="FONT-SIZE: 18pt">2. 파이썬에선 모든게 객체(Object)다!</span></b><br></p></div>
<p><br></p>
<p>파이썬에선 모든게 객체(Object)라니, 객체란 것은 도대체 무엇을 말하는 것일까요? 우리가 앞으로 배우게 될 함수, 모듈, 리스트, 튜플 등 모든 것을 객체라고 할 수 있습니다. 첫 예제에서의 1000과 600도 결코 예외가 아닙니다. 어떤 것이든, 객체라고 할 수 있습니다. 위에있는 예제 코드를 다시한번 보도록 합시다.<br></p><div><div id="highlighter_950205" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">money </code><code class="python keyword">=</code> <code class="python value">1000</code></div><div class="line number2 index1 alt1"><code class="python plain">cookiePrice </code><code class="python keyword">=</code> <code class="python value">600</code></div><div class="line number3 index2 alt2"><code class="python plain">money </code><code class="python keyword">=</code> <code class="python plain">money </code><code class="python keyword">-</code> <code class="python plain">cookiePrice</code></div><div class="line number4 index3 alt1"><code class="python functions">print</code><code class="python plain">(money)</code></div></div></td></tr></tbody></table></div></div>
<p>우선은 1행의 코드부터 보시게 되면, 변수 money와 1000이라는 값을 지닌 객체가 만들어집니다. 사실은, 1000이란 값이 그대로 money에 대입이 되어 money가 1000이란 값을 지니는게 아니라 1000이라는 값을 지니는 객체를 새로 만들어내고 그 객체가 저장되어 있는 공간에다 money라는 이름표를 붙이는 것이라고 생각할 수 있습니다. 즉, 변수 money는 직접적으로 1000이란 값을 가지고 있는게 아니라, 1000이라는 값이 저장되어 있는 공간의 주소를 담고 있는 것이라고 할 수 있습니다. 2행도 마찬가지로, cookiePrice라는 변수가 600이라는 값을 지닌 객체가 저장된 공간을 가리키는 것이라고 할 수 있습니다. 이해를 위해 한가지 예를 더 들어보도록 하겠습니다.<br></p>
<p style="FLOAT: none; TEXT-ALIGN: center; CLEAR: none"><span class="imageblock" style="display:inline-block;width:482px;HEIGHT: 287px; WIDTH: 482px;height:auto;max-width:100%"><span data-url="http://cfile30.uf.tistory.com/attach/263C1D4052183DFB255AF4" data-lightbox="lightbox"><img src="http://cfile30.uf.tistory.com/image/263C1D4052183DFB255AF4" style="cursor: pointer;max-width:100%;height:auto" width="482" height="287" filename="K-1.png" filemime="image/jpeg"></span></span></p>
<p>위 그림에서 코드 영역에 있는 코드가, 메모리 영역에서는 변수 X, Y, Z가 만들어지고, 객체 3과 5가 만들어지게 됩니다. 여기서 X, Y는 동일하게 3이라는 값을 가진 객체를 가리키게 되고, Z는 5라는 값을 가진 객체를 가리키게 되는 것입니다. 만약 Y에 4를 넣으려고 한다면, 더이상 객체 3을 가리키는게 아니라 새로운 객체 4를 가리키게 됩니다. 파이썬 내에는 id라는 내장 함수가 존재하고, 이 id 함수는 객체의 주소를 돌려주는데 여기서 잠시 id 함수를 통해 정말 같은 곳을 가리키고 있는지 확인을 해보도록 하겠습니다. (함수에 대해 이해가 안가시면, 함수에 대한 강좌를 미리 보고 오시는 것도 괜찮습니다.)</p><div><div id="highlighter_594573" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">X </code><code class="python keyword">=</code> <code class="python value">3</code></div><div class="line number2 index1 alt1"><code class="python plain">Y </code><code class="python keyword">=</code> <code class="python value">3</code></div><div class="line number3 index2 alt2"><code class="python plain">Z </code><code class="python keyword">=</code> <code class="python value">5</code></div><div class="line number4 index3 alt1"><code class="python functions">print</code><code class="python plain">(</code><code class="python functions">id</code><code class="python plain">(X), </code><code class="python functions">id</code><code class="python plain">(Y), </code><code class="python functions">id</code><code class="python plain">(</code><code class="python value">3</code><code class="python plain">), </code><code class="python functions">id</code><code class="python plain">(Z), </code><code class="python functions">id</code><code class="python plain">(</code><code class="python value">5</code><code class="python plain">))</code></div></div></td></tr></tbody></table></div></div>
<p><b>결과:</b></p>
<div class="txc-textbox" style="BORDER-TOP: rgb(0,0,0) 1px solid; BORDER-RIGHT: rgb(0,0,0) 1px solid; BORDER-BOTTOM: rgb(0,0,0) 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: rgb(0,0,0) 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: rgb(0,0,0)">
<p><span style="COLOR: rgb(255,255,255)">507098848 507098848 507098848 507098912 507098912</span></p></div>
<p><br></p>
<p>결과를 보시면 변수 X와 Y은 객체 3을 가리키고, 변수 Z는 객체 5를 가리킨다고 말할 수 있습니다. 즉, 객체 3의 주소값과 변수의 주소값이 모두 일치하는 것입니다. 이번엔 값을 조금 바꾸어 예제의 결과를 확인하도록 합시다.</p><div><div id="highlighter_207262" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">X </code><code class="python keyword">=</code> <code class="python value">300</code></div><div class="line number2 index1 alt1"><code class="python plain">Y </code><code class="python keyword">=</code> <code class="python value">50</code></div><div class="line number3 index2 alt2"><code class="python plain">Z </code><code class="python keyword">=</code> <code class="python value">257</code></div><div class="line number4 index3 alt1"><code class="python functions">print</code><code class="python plain">(</code><code class="python functions">id</code><code class="python plain">(X), </code><code class="python functions">id</code><code class="python plain">(Y), </code><code class="python functions">id</code><code class="python plain">(Z), </code><code class="python functions">id</code><code class="python plain">(</code><code class="python value">300</code><code class="python plain">), </code><code class="python functions">id</code><code class="python plain">(</code><code class="python value">50</code><code class="python plain">), </code><code class="python functions">id</code><code class="python plain">(</code><code class="python value">257</code><code class="python plain">))</code></div></div></td></tr></tbody></table></div></div>
<p><b>결과:</b></p>
<div class="txc-textbox" style="BORDER-TOP: rgb(0,0,0) 1px solid; BORDER-RIGHT: rgb(0,0,0) 1px solid; BORDER-BOTTOM: rgb(0,0,0) 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: rgb(0,0,0) 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: rgb(0,0,0)">
<p><span style="COLOR: rgb(255,255,255)">42178032 507100352 42179216 52031024 507100352 52031088</span></p></div>
<p><br></p>
<p>위 결과를 보시면, 변수 Y와 객체 50의 주소값은 동일하지만 변수 X, Z와 300, 257은 서로 다른 것을 보실 수 있습니다. 아래의 문장은 일반적인 정수 객체에 대한 설명의 일부를 파이썬 레퍼런스 사이트에서 가져온 것입니다. 해당 부분을 레퍼런스 사이트에서 보시려면 <a class="tx-link" href="http://docs.python.org/2/c-api/int.html#PyInt_FromLong" target="_blank">이곳</a>을 클릭하시면 됩니다.<br></p><pre class="exam">The current implementation keeps an array of integer objects for all integers between -5 and 256
when you create an int in that range you actually just get back a reference to the existing object. </pre>
<p>'현재 구현에서는 -5~256 사이의 모든 정수에 대해서 객체 배열을 가지고 있기 때문에 그 사이의 정수를 정의하면 기존에 있는 객체를 참조합니다.'라고 나와있으며, 이는 -5~256 사이의 정수를 X, Y, Z에 넣을때는 미리 만들어져 있는 객체를 참조하지만 범위를 넘어선 경우에는 객체를 새로 정의한다고 합니다. </p>
<p><br></p>
<p>아직 이부분이 이해가 되지 않으신다고 해도 괜찮습니다. 어느정도 배우시다가 다시 이부분을 보셔도 괜찮고, 예제 코드를 보는것 보다는 경험이 중요하니 계속 위 코드를 응용하여 결과를 확인하며 경험을 쌓는게 중요합니다.<br></p>
<p><br></p>
<div class="txc-textbox" style="BORDER-TOP: rgb(193,193,193) 1px solid; BORDER-RIGHT: rgb(193,193,193) 1px solid; BORDER-BOTTOM: rgb(193,193,193) 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: rgb(193,193,193) 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: rgb(238,238,238)">
<p><b><span style="FONT-SIZE: 18pt">3. 변수의 이름 작성 규칙</span></b><br></p></div>
<p><br></p>
<p>이런 변수란 것을 만들려면 어떻게 해야 할까요? 우리는 이미 위 예제 코드에서 두개의 변수를 만들었으며, 인터프리터식 언어답게 변수를 알아서 인식하며 '=' 기호를 통해서 변수를 만들 수 있습니다. 변수명에는 문자, 숫자, 언더바(_)를 포함할 수 있으며 숫자는 가장 처음에 등장할 수 없습니다. 또한 파이썬에선 대소문자를 구분하기 때문에 apple이란 변수와 Apple이란 변수는 서로 다릅니다.</p><div><div id="highlighter_221032" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python value">4pple</code> <code class="python keyword">=</code> <code class="python value">10</code> <code class="python comments"># 숫자가 가장 처음에 등장했다. 이 경우에는 구문 에러가 발생한다.</code></div><div class="line number2 index1 alt1"><code class="python plain">admin </code><code class="python keyword">=</code> <code class="python value">50</code> <code class="python comments"># 정상적으로 admin이란 변수가 만들어진다.</code></div><div class="line number3 index2 alt2"><code class="python plain">Apple </code><code class="python keyword">=</code> <code class="python value">60</code> <code class="python comments"># 정상적으로 Apple이란 변수가 만들어진다.</code></div><div class="line number4 index3 alt1"><code class="python plain">apple </code><code class="python keyword">=</code> <code class="python value">70</code> <code class="python comments"># 대소문자를 구분하기 때문에 앞에 나온 변수인 Apple과는 별개의 변수이다.</code></div><div class="line number5 index4 alt2"><code class="python keyword">print</code><code class="python plain">(admin, Apple, apple) </code><code class="python comments"># 세 변수의 값을 모두 출력한다. 출력된 결과는 50 60 70이다.</code></div></div></td></tr></tbody></table></div></div>
<p>또한, 아래에 있는 키워드는 변수명으로 사용할 수 없습니다.</p>
<div class="txc-textbox" style="BORDER-TOP: rgb(0,0,0) 1px solid; BORDER-RIGHT: rgb(0,0,0) 1px solid; BORDER-BOTTOM: rgb(0,0,0) 1px solid; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 10px; BORDER-LEFT: rgb(0,0,0) 1px solid; PADDING-RIGHT: 10px; BACKGROUND-COLOR: rgb(0,0,0)">
<p><span style="COLOR: rgb(255,255,255)">False, None, True, and, as, assert, break, class, continue, def, del, elif, else, except, finally, for, from, global, if, import, in, is, lambda, nonlocal, not, or, pass, raise, return, try, while, with, yield</span></p></div>
<p><br></p>
<p>위에 있는 키워드들은 파이썬 문법에서 사용되는 단어로, 특별한 의미를 지니고 있습니다. 아래와 같이 변수를 만들 수는 없다는 말입니다. (주의하실 점은 위의 키워드들은 대소문자가 구분이 된다고 합니다.)</p><div><div id="highlighter_944973" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python color1">None</code> <code class="python keyword">=</code> <code class="python value">3</code></div><div class="line number2 index1 alt1"><code class="python keyword">yield</code> <code class="python keyword">=</code> <code class="python value">15</code></div><div class="line number3 index2 alt2"><code class="python keyword">global</code> <code class="python keyword">=</code> <code class="python value">663</code></div></div></td></tr></tbody></table></div></div>
<p>위의 코드를 IDLE에 입력하시면 "Invalid syntax(잘못된 구문입니다.)", "can't assign to keyword(키워드에 할당할 수 없습니다.)"와 같은 에러를 만날 것입니다. 이처럼, 키워드는 변수의 이름으로 쓰일 수 없다는 사실을 기억해두시고 계시기 바랍니다. 이건 추가적인 내용인데, 변수명에는 한글도 사용할 수 있습니다. 아래 예제를 한번 보도록 합시다.</p><div><div id="highlighter_553535" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> 사과 </code><code class="python keyword">=</code> <code class="python value">10</code></div><div class="line number2 index1 alt1"><code class="python plain">>>> 포도 </code><code class="python keyword">=</code> <code class="python value">5</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(사과, 포도)</code></div><div class="line number4 index3 alt1"><code class="python value">10</code> <code class="python value">5</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 보시면 한글이 들어간 변수명도 사용할 수 있음을 확인할 수 있습니다. 지금까지 배운 내용을 되돌아 보면서 변수를 선언하고, 선언한 변수를 통해 이것저것 예제를 한번 만들어보면서 경험을 쌓아보시길 바랍니다. 강좌 내용을 계속 보는것보다 자기가 한번 경험하고 나서 깨닫는게 가장 좋은 방법입니다.</p><p><br></p><p><div class="article" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="tt_article_useless_p_margin" style="box-sizing: border-box;"></div></div></p><div class="titleWrap" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="underTitle" style="box-sizing: border-box;">출처 : <span style="box-sizing: border-box; font-weight: bold;"><a href="http://blog.eairship.kr/" target="_blank" style="box-sizing: border-box; background-color: transparent; color: rgb(102, 102, 102); text-decoration: none;">http://blog.eairship.kr</a></span><br style="box-sizing: border-box;"></div></div></div></div><div id="entry273Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/273" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
[펌]파이썬 강좌 2편. 간단한 문법 살펴보기
http://www.webprogramer.kr/blog/P000000307/post.do
<p><div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 2편. 간단한 문법 살펴보기</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile9.uf.tistory.com/image/233C644352122C5A0AB779" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">1. 간단한 출력 살펴보기</span></b></p></div><p><br></p>
<p>이번 편에서는 파이썬의 문법을 간단하게 살펴보도록 하고, 첫 시작은 간단하게 Hello, world!를 출력하는 코드를 살펴보도록 하겠습니다. 아래와 같이 IDLE에 입력하고 어떠한 결과가 출력되는지 유심히 살펴보도록 합시다.</p>
<div><div id="highlighter_498978" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"Hello, world!"</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">Hello, world!</code></div></div></td></tr></tbody></table></div></div><p>코드만 보아도 어떠한 기능을 하는 코드인지 알 수 있을것 같죠? print는 말 그대로 출력 기능을 담당하는 함수입니다. 여기서 '함수'란 단어가 혹여나 수학 시간에 등장하는 함수를 일컫는게 아니냐는 의문이 들기도 하죠? 틀린 말도 아닙니다. 파이썬 상의 함수란 단어는 어떠한 입력 값을 넣어주면 그 입력 값에 대한 출력 값을 지닙니다. print 함수에 "Hello, world!"를 넣어주게 되면, 이 입력 값에 대해서 "Hello, world!"라는 출력 값을 내뱉게 되는 것입니다. 함수에 대해서는 나중에 가면 더 자세히 다루도록 하겠지만, 지금은 이렇게 간략하게 나마 알고 있도록 합시다. <span style="background-color: transparent; font-size: 9pt; line-height: 1.5;">우선은 위 코드에서 조금씩 내용을 바꾸어 가면서 적응을 해보도록 합시다. </span></p>
<div><div id="highlighter_998650" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"파이썬에 오신 것을 환영합니다!"</code><code class="python plain">)</code></div><div class="line number2 index1 alt1"><code class="python plain">파이썬에 오신 것을 환영합니다!</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python functions">print</code><code class="python plain">(</code><code class="python string">"안녕하세요?"</code><code class="python plain">)</code></div><div class="line number4 index3 alt1"><code class="python plain">안녕하세요?</code></div></div></td></tr></tbody></table></div></div>
<p>위 예제를 봐보시면, 파이썬 인터프리터는 이렇게 우리가 하나의 명령을 주면 그에 따른 결과를 돌려주고 있습니다. 우리가 "안녕하세요?"를 출력하라고 명령하면 파이썬은 그 출력 결과를 바로 아래에 보여줍니다. 그리고 >>>는 프롬프트(Prompt)라는 녀석이며, 이는 '나는 너의 명령을 받을 준비가 되어있어!'를 의미하는 것입니다. 앞의 예제에서 사용된 print 함수를 통해서 다양한 문장들을 출력해보면서 어느정도 감이 잡힌다고 느껴지시면, 이제 그 다음으로 수식 계산이 파이썬 내에서 어떻게 이루어지는지 한번 보도록 하겠습니다.</p>
<p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">2. 수식 계산</span></b></p></div><p><br></p>
<p>이번에는 간단한 수식 계산식을 통해 결과를 확인해보도록 합시다. 우선은 기본적인 사칙연산(+, -, *, /)을 사용하여 아무런 식이나 작성하여 결과를 살펴보도록 합시다. </p>
<div><div id="highlighter_269067" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python value">512</code> <code class="python keyword">+</code> <code class="python value">634</code></div><div class="line number2 index1 alt1"><code class="python value">1146</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python value">100</code> <code class="python keyword">*</code> <code class="python value">2013</code> <code class="python keyword">*</code> <code class="python value">1004</code></div><div class="line number4 index3 alt1"><code class="python value">202105200</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">2014</code> <code class="python keyword">/</code> <code class="python value">333</code></div><div class="line number6 index5 alt1"><code class="python value">12.096096096096096</code></div><div class="line number7 index6 alt2"><code class="python plain">>>> </code><code class="python value">55</code> <code class="python keyword">/</code> <code class="python value">3</code></div><div class="line number8 index7 alt1"><code class="python value">18.333333333333332</code></div></div></td></tr></tbody></table></div></div><p>위 수식을 IDLE에 그대로 작성하시면 바로 결과가 아래에 나오는 것을 보실 수 있습니다. 파이썬에서는 사칙연산을 포함한 여러가지 연산자를 지원합니다. 결과의 3~4번째 줄을 보시면 정확히 나누어 떨어지지 않는 경우라면 소수가 출력되는 것을 확인하실 수 있으며, 파이썬에서는 이 소수를 15자리까지 정밀하게 표현합니다. 만약 소숫점 이하의 수는 모두 다 버리고, 정수 부분에 있는 수만 나타내고 싶으시다면 / 연산자가 아닌 // 연산자를 사용하시면 됩니다.</p>
<p><br></p>
<p>한번, 위에 있는 수식에서 /를 //로 바꾸어 보고 IDLE에 입력하여 결과를 확인해보시기 바랍니다. <br></p>
<div><div id="highlighter_280129" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python value">2</code> <code class="python keyword">*</code> <code class="python value">2014</code> <code class="python keyword">/</code><code class="python keyword">/</code> <code class="python value">333</code></div><div class="line number2 index1 alt1"><code class="python value">12</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python value">55</code> <code class="python keyword">/</code><code class="python keyword">/</code> <code class="python value">3</code></div><div class="line number4 index3 alt1"><code class="python value">18</code></div></div></td></tr></tbody></table></div></div><p>위에 쓰인 // 연산자는 바로 정수 나누기 연산자이며, 위를 보시면 / 연산 후에 정수 부분만을 결과로 가져옵니다.</p>
<p><br></p>
<p> 그리고, 다른 언어들과 마찬가지로 몫을 구하는 / 연산자가 있으면, 나머지를 구하는 % 연산자가 존재합니다. 만약 a % b와 같은 수식이 있다면, a를 b로 나눈 뒤의 나머지를 가져온다고 할 수 있습니다. % 연산자를 사용하여 나머지를 가져오는 코드를 보도록 하겠습니다.</p>
<div><div id="highlighter_489391" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python value">1024</code> <code class="python keyword">%</code> <code class="python value">100</code></div><div class="line number2 index1 alt1"><code class="python value">24</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python value">123</code> <code class="python keyword">%</code> <code class="python value">5</code></div><div class="line number4 index3 alt1"><code class="python value">3</code></div></div></td></tr></tbody></table></div></div><p>위 수식에서 1024를 100으로 나눈 뒤의 나머지인 24, 123을 5로 나눈 뒤의 나머지인 3을 출력하고 있음을 확인하실 수 있습니다.</p>
<p><br></p>
<p>나머지를 구하는 연산자에 이어, 마지막으로 거듭제곱에 관련된 ** 연산자를 살펴보도록 하겠습니다.</p>
<div><div id="highlighter_64445" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python value">2</code> <code class="python keyword">*</code><code class="python keyword">*</code> <code class="python value">64</code></div><div class="line number2 index1 alt1"><code class="python value">18446744073709551616</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python value">2</code> <code class="python keyword">*</code><code class="python keyword">*</code> <code class="python value">32</code></div><div class="line number4 index3 alt1"><code class="python value">4294967296</code></div><div class="line number5 index4 alt2"><code class="python plain">>>> </code><code class="python value">3014</code> <code class="python keyword">*</code><code class="python keyword">*</code> <code class="python value">12</code></div><div class="line number6 index5 alt1"><code class="python value">561977561797550433783442605323055764279296</code></div></div></td></tr></tbody></table></div></div><p>위 결과를 보시면 나오는 값이 어마어마한 수더라도 출력된 것을 보실 수 있으며, 예를 들어서 2 ** 64는 독자분들이 생각을 하시듯 2의 64제곱의 결과를 가져옵니다. 3014 ** 12도 3014의 12제곱의 결과를 가져온다고 할 수 있습니다. 간단하죠? 이처럼 정수형 상수의 표현 범위는 제한이 없으며, CPU 레지스터로 표현할 수 있는 크기보다 큰 정수를 다룰때는 연산 속도가 상당히 느려진다고 합니다.<br></p>
<p><br></p>
<p>오늘 설명드린 기본적인 연산자들은 독자분들이 한번 보면 충분히 이해할 수 있는 연산자로, 어느 연산자가 어떤 연산자인지 알아두시면 유용하게 쓰일지도 모릅니다. 지금까지 기본적인 출력 방법과, 7가지 연산자에 대해 알아보았습니다. (여기서 연산자의 기능과 예시는 아래 표로 정리해두었습니다.) 강좌는 여기서 마치도록 하고, 다음 강좌에서는 변수에 대해 알아보도록 하겠습니다. 수고하셨습니다.<br></p>
<p style="text-align: center;"><br></p>
<p style="text-align: center;"></p><table class="txc-table" width="584" cellspacing="0" cellpadding="0" border="0" style="border:none;border-collapse:collapse;font-size:12px" align="center"><tbody><tr><td style="width: 292px; height: 24px; border: 1px solid rgb(204, 204, 204); background-color: rgb(234, 234, 234);"><p style="text-align: center;"><b>연산자</b></p></td><td style="width: 292px; height: 24px; border: 1px solid rgb(204, 204, 204); background-color: rgb(234, 234, 234);" colspan="1"><p style="text-align: center;"><b>예시</b></p></td>
<td style="width: 292px; height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(234, 234, 234);"><p style="text-align: center;"><b>기능</b></p></td>
</tr>
<tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">+</p></td><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;" colspan="1"><p style="text-align: center;">a + b</p></td>
<td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">a와 b를 서로 더한다</p></td>
</tr>
<tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">-</p></td><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;" colspan="1"><p style="text-align: center;">a - b</p></td>
<td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">a와 b를 서로 뺀다</p></td>
</tr>
<tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">*</p></td><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;" colspan="1"><p style="text-align: center;">a * b</p></td>
<td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">a와 b를 서로 곱한다</p></td>
</tr>
<tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;"><p style="text-align: center;">/</p></td><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;" colspan="1"><p style="text-align: center;">a / b</p></td>
<td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;"><p style="text-align: center;">a를 b로 나눈다</p></td>
</tr>
<tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;" rowspan="1"><p style="text-align: center;">//</p></td><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;" colspan="1" rowspan="1"><p style="text-align: center;">a // b</p></td><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;" rowspan="1"><p style="text-align: center;">a를 b로 나눈 몫을 가져온다</p></td></tr><tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;" rowspan="1"><p style="text-align: center;">%</p></td><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;" colspan="1" rowspan="1"><p style="text-align: center;">a % b</p></td><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;" rowspan="1"><p style="text-align: center;">a를 b로 나눈 나머지를 가져온다</p></td></tr><tr><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;" rowspan="1"><p style="text-align: center;">**</p></td><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;" colspan="1" rowspan="1"><p style="text-align: center;">a ** b</p></td><td style="width:292;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;" rowspan="1"><p style="text-align: center;">a의 b 제곱</p></td></tr></tbody></table><p></p>
<p style="text-align: center;"><br></p>
<p><br></p>
<p><span style="color: rgb(63, 63, 63); font-family: NanumGothic, 나눔고딕, 'Malgun Gothic', '맑은 고딕', Dotum, 돋움, Gulim, 굴림, Verdana, Arial, 'Trebuchet MS'; line-height: 23.4px; font-size: 12pt; background-color: rgb(201, 31, 31);"> </span><b><span style="font-size: 11pt;"> <span style="color: rgb(152, 0, 0);">/ 연산자</span></span><span style="font-size: 11pt; color: rgb(152, 0, 0);">를 사용했는데 결과값이 실수의 형태가 아닌 정수의 형태로 출력이 됩니다. 어떻게 해야 할까요?</span><span style="font-size: 11pt; color: rgb(152, 0, 0);"> </span></b></p>
<p>파이썬 2.7에서 만약 입력값이 정수일 경우에, / 연산자는 정수의 나눗셈을 의미합니다. 즉, 정수의 입력이라고 가정하고 나눗셈이 이루어지는 것과 같습니다. 만약에 실수의 나눗셈을 원한다면 import를 통해 해결할 수 있습니다. 파이썬 3.x 부턴 기본적으로 실수간의 연산으로 이루어지므로 결과값이 예제의 결과값과 동일하게 출력됨을 확인했습니다.</p>
<div><div id="highlighter_538383" class="syntaxhighlighter python"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="python plain">>>> </code><code class="python value">30</code> <code class="python keyword">/</code> <code class="python value">7</code></div><div class="line number2 index1 alt1"><code class="python value">4</code></div><div class="line number3 index2 alt2"><code class="python plain">>>> </code><code class="python keyword">from</code> <code class="python plain">__future__ </code><code class="python keyword">import</code> <code class="python plain">division</code></div><div class="line number4 index3 alt1"><code class="python plain">>>> </code><code class="python value">30</code> <code class="python keyword">/</code> <code class="python value">7</code></div><div class="line number5 index4 alt2"><code class="python value">4.2857142857142856</code></div></div></td></tr></tbody></table></div></div></div></div><div id="entry272Comment" style="display:block"><div class="comment"><div class="commentWrite">
</div><!-- //commentWrite -->
</div><!-- //comment -->
</div></div><br></p><p><span style="font-weight: bold;">출처 : <a href="http://blog.eairship.kr" target="_blank">http://blog.eairship.kr</a></span><br></p><p><br></p>
[펌]파이썬 강좌 1편. 시작
http://www.webprogramer.kr/blog/P000000306/post.do
<div class="entry">
<div class="titleWrap">
<blockquote><span style="font-size: 24px;">파이썬 강좌 1편. 시작</span></blockquote>
</div><div class="article"><div class="tt_article_useless_p_margin"><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:601px;;height:auto;max-width:100%"><img src="http://cfile4.uf.tistory.com/image/21454D34520F894F36D3C2" style="max-width:100%;height:auto" width="601" height="203" filename="python_logo.png" filemime="image/jpeg"></span></p><p></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">1. 시작</span></b><br></p></div><p><br></p><p>이번에는 파이썬(Python) 강좌로 찾아뵙게 되었습니다. 다음 편부터 본격적으로 시작되는 파이썬 강좌에서는 어떠한 선행 지식도 필요 없이 아무것도 모르는 사람도 충분히 이해할 수 있도록 작성해 볼 생각입니다. 약간 무리가 있겠지만, 최대한 그러한 각오로 보다 쉽게 간단하게 설명하겠다는 것입니다. 작성되는 파이썬 강좌는 2.x 버전부터가 아닌 3.x 버전을 기준으로 설명되며, 필자가 파이썬을 누구에게 가르칠 실력은 되지 못하지만 그래도 최대한 이해하기 쉬운 내용으로 구성해보도록 노력하겠습니다. 서론이 길었네요. 우선은 파이썬에 대해 간략하게 알아보도록 하겠습니다.</p><p><br></p><p>파이썬은 1991년, 프로그래머인 귀도 반 로섬(Guido van Rossum)이 설계한 인터프리터식 언어입니다. 이 파이썬이라는 언어는 무료라는 장점과 함께, 가독성, 동적 타이핑, 광범위한 라이브러리 등 여러가지의 장점을 지니고 있는 아주 강력한 언어입니다. 파이썬을 사용한 프로젝트는 셀 수 없을 정도로 많으며 그 중에서도 비트 토렌트, 장고, 아나콘다 등과 같이 유명한 소프트웨어들이 파이썬으로 작성되었고 독자분들이 잘 알고 계시는 문명 IV, 토렌트, 모션빌더, 블렌더 3D 등이 파이썬을 내부적으로 사용한다고 합니다. 거기에다가 파이썬은 크로스 플랫폼을 지원하기 때문에 윈도우에서만 파이썬을 사용할 수 있는게 아니라 리눅스, 유닉스, 맥 환경에서도 파이썬을 이용할 수 있습니다.</p><p><br></p><p>이제, 윈도우 환경에서의 파이썬을 설치하는 방법에 대해 알아보도록 하겠습니다. 리눅스 환경에서는 왠만하면 파이썬이 설치되어 있는 경우가 많아서 생략하도록 하겠습니다.<br></p><p><br></p><div style="border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;" class="txc-textbox"><p><b><span style="font-size: 18pt;">2. 설치</span></b><br></p></div><p><br></p><p>파이썬을 설치하기 위해 우선은 파이썬 홈페이지의 다운로드 페이지로 이동하도록 합시다. 파이썬 홈페이지는 <a class="tx-link" target="_blank" href="http://python.org/download/">여기</a>를 누르면 이동합니다. 정상적으로 다운로드 페이지에 이동하셨으면, 아래와 같이 파이썬 3.3.2 버전을 받을 수 있는 공간이 있습니다.<br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:620px;;height:auto;max-width:100%"><span data-url="http://cfile29.uf.tistory.com/attach/2713ED4F520F92D217F4D7" data-lightbox="lightbox"><img src="http://cfile29.uf.tistory.com/image/2713ED4F520F92D217F4D7" style="cursor: pointer;max-width:100%;height:auto" width="620" height="146" filename="K-1.png" filemime="image/jpeg"></span></span></p><p>현재 파이썬 최신버전은 3.3.2이며, 자신의 컴퓨터가 32비트인 경우에는 Python 3.3.2 Windows x86 MSI Installer을 64비트인 경우에는 Python 3.3.2 Windows X86-64 MSI Installer를 다운로드 받아주세요. 필자같은 경우는 64비트 환경이기 때문에 Python 3.3.2 Windows X86-64 MSI Installer를 다운로드 받았습니다. 다운로드가 끝나면 파일을 클릭하여 설치를 진행하도록 합시다.</p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:399px;width: 399px; height: 342px;;height:auto;max-width:100%"><span data-url="http://cfile6.uf.tistory.com/attach/260FC747520F946732523F" data-lightbox="lightbox"><img src="http://cfile6.uf.tistory.com/image/260FC747520F946732523F" style="cursor: pointer;max-width:100%;height:auto" width="399" height="342" filename="K-2.png" filemime="image/jpeg"></span></span></p><p style="text-align: center; clear: none; float: none;"><br></p><p></p><p>위에서는 Install for all users는 모든 유저에 파이썬을 인스톨하겠다는 말이고, Install just for me는 자신 계정에만 설치를 하겠다는 말입니다. 저는 Install just for me에 체크하고 Next를 누르도록 하겠습니다.</p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:399px;width: 399px; height: 342px;;height:auto;max-width:100%"><span data-url="http://cfile22.uf.tistory.com/attach/21569A50520F971221171D" data-lightbox="lightbox"><img src="http://cfile22.uf.tistory.com/image/21569A50520F971221171D" style="cursor: pointer;max-width:100%;height:auto" width="399" height="342" filename="K-3.png" filemime="image/jpeg"></span></span></p><p style="text-align: center; clear: none; float: none;"><br></p><p></p><p>여기에서는 파이썬 3.3.2가 설치될 경로를 지정합니다. 기본 경로로 두고 Next를 누르겠습니다.</p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:399px;width: 399px; height: 342px;;height:auto;max-width:100%"><span data-url="http://cfile30.uf.tistory.com/attach/2311744C520F974C140129" data-lightbox="lightbox"><img src="http://cfile30.uf.tistory.com/image/2311744C520F974C140129" style="cursor: pointer;max-width:100%;height:auto" width="399" height="342" filename="K-4.png" filemime="image/jpeg"></span></span></p><p style="text-align: center; clear: none; float: none;"><br></p><p></p><p>위에서 체크되지 않은 Add python.exe to Path라는 항목은 경로에 상관없이 파이썬을 실행하기 위해 환경변수 설정을 도와주는데 체크를 하시려면 저 항목을 클릭하셔서 Will be installed on local hard drive를 클릭하시면 됩니다.</p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:399px;width: 399px; height: 342px;;height:auto;max-width:100%"><span data-url="http://cfile30.uf.tistory.com/attach/2740B53A520F98AD04F3F4" data-lightbox="lightbox"><img src="http://cfile30.uf.tistory.com/image/2740B53A520F98AD04F3F4" style="cursor: pointer;max-width:100%;height:auto" width="399" height="342" filename="K-5.png" filemime="image/jpeg"></span></span></p><p style="text-align: center; clear: none; float: none;"><br></p><p></p><p>설치가 진행 중이니 기다립시다.</p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:399px;width: 399px; height: 342px;;height:auto;max-width:100%"><span data-url="http://cfile5.uf.tistory.com/attach/23186C49520F9906206F38" data-lightbox="lightbox"><img src="http://cfile5.uf.tistory.com/image/23186C49520F9906206F38" style="cursor: pointer;max-width:100%;height:auto" width="399" height="342" filename="K-6.png" filemime="image/jpeg"></span></span></p><p><br></p><p>설치가 모두 완료되면 위와 같은 창이 뜨게 되는데, 여기서 Finish 버튼을 클릭합시다. 그리고 Finish 버튼을 누르고 나서, 시작 프로그램에서 Python 3.3 폴더의 IDLE(Python GUI)를 실행하시거나 Python (command line)을 실행하도록 합시다. 두 환경에서 편하신 환경을 택하여 진행하시면 되겠으나, 커맨드라인보다 추가적인 기능을 지니고 있는 IDLE를 통해 개발을 하는 것이 더 편합니다. 만약 도스 창에서 파이썬을 이용하시는 것과 같이 보다 다양한 환경에서 파이썬을 이용하려면 아래와 같은 과정을 따로 밟아주셔야 합니다.</p><p><br></p><div class="txc-textbox" style="border: 1px solid rgb(243, 197, 52); padding: 10px; background-color: rgb(254, 254, 184);"><p><span style="font-size: 18pt;"><b>3. 환경변수 설정</b></span></p></div><p><br></p><p>만약 사용하시는 운영체제가 윈도우 계열이고, 보다 다양한 환경에서 파이썬을 실행하고 싶다면 환경 변수를 먼저 지정해주어야만 합니다. 우선 [시작] -> [컴퓨터]에서 우클릭 -> 속성(R)를 누릅니다. </p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:595px;;height:auto;max-width:100%"><img src="http://cfile10.uf.tistory.com/image/2449974B565429D01EE368" style="max-width:100%;height:auto" width="595" height="276" filename="2015-11-24 18;10;19.PNG" filemime="image/jpeg"></span></p><p><br></p><p>그리고, 고급 시스템 설정으로 들어갑니다.</p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:194px;;height:auto;max-width:100%"><img src="http://cfile21.uf.tistory.com/image/223C264A56542A1316A908" style="max-width:100%;height:auto" width="194" height="139" filename="00.PNG" filemime="image/jpeg"></span></p><p><br></p><p>환경 변수를 클릭합니다.</p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:493px;;height:auto;max-width:100%"><img src="http://cfile28.uf.tistory.com/image/2573AF4956542A6A1EF0F3" style="max-width:100%;height:auto" width="493" height="442" filename="22.PNG" filemime="image/jpeg"></span></p><p><br></p><p>시스템 변수에서 변수 이름이 Path인 것을 찾고 선택한 다음, 편집 버튼을 누릅니다.</p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:457px;;height:auto;max-width:100%"><img src="http://cfile24.uf.tistory.com/image/2558BA4E56542AF00CBEBC" style="max-width:100%;height:auto" width="457" height="406" filename="4141.PNG" filemime="image/jpeg"></span></p><p><br></p><p>그리고 변수 값의 끝에 세미콜론(;)이 없다면 따로 입력한 뒤, 파이썬이 설치되어 있는 경로를 적습니다.</p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:413px;;height:auto;max-width:100%"><img src="http://cfile29.uf.tistory.com/image/247DD44C56542B9429E7BD" style="max-width:100%;height:auto" width="413" height="136" filename="4040.PNG" filemime="image/jpeg"></span></p><p><br></p><p>위의 시스템 변수 편집에서 확인을 누른 다음, 새로 만들기 버튼을 누르고 변수 이름에는 PYTHONPATH를 적고, 변수 값에는 파이썬의 라이브러리 폴더 경로를 적습니다. (파이썬의 경로를 붙여넣고 뒤에 \Lib를 붙입니다.)</p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:413px;;height:auto;max-width:100%"><img src="http://cfile8.uf.tistory.com/image/2157F33856542CEA086C26" style="max-width:100%;height:auto" width="413" height="136" filename="232.PNG" filemime="image/jpeg"></span></p><p><br></p><p>위의 창에서 확인 버튼을 누르고, 환경 변수 창에서 확인을 누르고 빠져나온 뒤에 [시작]의 검색란에 cmd를 입력하거나 [시작]+R 단축키를 통해 실행 창에서 cmd를 입력하여 명령 프롬프트를 실행시킵니다.<br></p><p><br></p><p style="text-align: center; clear: none; float: none;"><span class="imageblock" style="display:inline-block;width:620px;;height:auto;max-width:100%"><span data-url="http://cfile22.uf.tistory.com/attach/2225103456542DE30DDD15" data-lightbox="lightbox"><img src="http://cfile22.uf.tistory.com/image/2225103456542DE30DDD15" style="cursor: pointer;max-width:100%;height:auto" width="620" height="405" filename="232323.PNG" filemime="image/jpeg"></span></span></p><p><br></p><p>프롬프트에 python를 입력하여 정상적으로 파이썬이 실행되는지 확인합니다.</p><p><br></p><p>우선은 여기서 마무리 짓도록 하고, 다음 편에서는 간단하게 파이썬의 문법에 대해 살펴보도록 하겠습니다. 여기까지 읽어주신 분들 모두 수고하셨습니다.<div class="article" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="tt_article_useless_p_margin" style="box-sizing: border-box;"></div></div></p><div class="titleWrap" style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: dotum; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div class="underTitle" style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: bold;"><br></span></div><div class="underTitle" style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: bold;">출처 : <a href="http://blog.eairship.kr/" target="_blank" style="box-sizing: border-box; background-color: transparent; color: rgb(102, 102, 102); text-decoration: none;">http://blog.eairship.kr</a></span></div></div></div></div><div id="entry271Comment" style="display:block"><div class="comment"><form method="post" action="/comment/add/271" onsubmit="return false" style="margin: 0"><div class="commentWrite">
</div><!-- //commentWrite -->
</form>
</div><!-- //comment -->
</div></div>
[펌]커스텀 태그를 이용한 권한체크
http://www.webprogramer.kr/blog/P000000300/post.do
<p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">java 환경에서 웹 개발을 할 때, jsp에서 객체들을 활용 하여 요구 사항에 맞는 화면을 구성을 합니다. 기존 HTML 태그를 활용한 것 보다 더 다양한 화면 구성을 위해 JSTL(JavaServer Pages Standard Tag Library)을 사용 하지만, 이것 만으로 요구사항을 구현하기 힘들 때가 있습니다. 그래서 커스텀 태그를 활용하여, 구현이 간편하고, 이해 하기 쉽게 개발을 했습니다.</p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;"><em>커스텀 태그란?</em></p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">개발자가 직접 정의할 수 있는 태그를 의미합니다. 일반적으로 태그가 존재하며, 각각의 기능들이 존재하지만, 그것만으로 개발자가 원하는 내용을 구현 하지 못할 때가 많습니다. 이럴 때 커스텀 태그를 정의하여, 개발자 입맛에 맞게 만들어 효율적으로 사용 할 수 있는 태그 입니다. 기존 JTSL을 사용하는 것과 같이 선언을 해야 사용할 수 있으며(<%@ taglib .... %>), prifix와 uri로 다른 taglib와 구분 할 수 있습니다.</p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">프로젝트를 하면서 페이지마다 사용자 권한을 체크하여 기능을 컨트롤 할 경우가 있습니다.</p><ul style="margin-right: 0px; margin-bottom: 1.75em; margin-left: 0px; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; padding-left: 3rem; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;"><li style="margin: 0.4em 0px;">Spring-Security를 통한 권한별 페이지 접근 컨트롤</li><li style="margin: 0.4em 0px;">각 컨트롤러 마다 Session의 값을 불러와 사용자의 권한을 조회 및 페이지 컨트롤</li><li style="margin: 0.4em 0px;">커스텀 태그를 이용하여, 태그에서 권한 체크 및 페이지 컨트롤</li></ul><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">다양한 방법이 있지만, 그 중 손쉽게 권한 체크를 하고 그에 따른 페이지 출력 할 수 있는 방안을 생각해 보았습니다.</p><table border="1" style="background-color: rgb(255, 255, 255); margin: 1.75em 0px; width: 855px; max-width: 100%; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;"><colgroup><col width=""><col width=""></colgroup><thead><tr><th style="padding: 8px; text-align: center; line-height: 20px; vertical-align: top; border-width: 0px 1px 1px; border-top-style: initial; border-top-color: initial; border-left-style: solid; border-left-color: rgb(204, 204, 204); border-right-style: solid; border-right-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-color: rgb(239, 239, 239); font-size: 1.5rem; color: rgb(255, 255, 255); background-color: rgb(93, 96, 105); font-weight: normal;">권한</th><th style="padding: 8px; text-align: center; line-height: 20px; vertical-align: top; border-width: 0px 1px 1px; border-top-style: initial; border-top-color: initial; border-left-style: solid; border-left-color: rgb(204, 204, 204); border-right-style: solid; border-right-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-color: rgb(239, 239, 239); font-size: 1.5rem; color: rgb(255, 255, 255); background-color: rgb(93, 96, 105); font-weight: normal;">LEVEL</th><th style="padding: 8px; text-align: center; line-height: 20px; vertical-align: top; border-width: 0px 1px 1px; border-top-style: initial; border-top-color: initial; border-left-style: solid; border-left-color: rgb(204, 204, 204); border-right-style: solid; border-right-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-color: rgb(239, 239, 239); font-size: 1.5rem; color: rgb(255, 255, 255); background-color: rgb(93, 96, 105); font-weight: normal;">기능</th><th style="padding: 8px; text-align: center; line-height: 20px; vertical-align: top; border-width: 0px 1px 1px; border-top-style: initial; border-top-color: initial; border-left-style: solid; border-left-color: rgb(204, 204, 204); border-right-style: solid; border-right-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-color: rgb(239, 239, 239); font-size: 1.5rem; color: rgb(255, 255, 255); background-color: rgb(93, 96, 105); font-weight: normal;">비고</th></tr></thead><tbody><tr><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204); font-size: 1.5rem; background-color: rgb(246, 246, 246);">ADMIN</td><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204); font-size: 1.5rem; background-color: rgb(246, 246, 246);">3</td><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204); font-size: 1.5rem; background-color: rgb(246, 246, 246);">조회, 수정, 삭제</td><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204); font-size: 1.5rem; background-color: rgb(246, 246, 246);">모든 사용자의 게시물을 수정, 삭제 가능</td></tr><tr><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204); font-size: 1.5rem;">MANAGER</td><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204); font-size: 1.5rem;">2</td><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204); font-size: 1.5rem;">조회, 수정</td><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204); font-size: 1.5rem;">본인의 게시물만 수정가능</td></tr><tr><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204); font-size: 1.5rem; background-color: rgb(246, 246, 246);">DEVELOPER</td><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204); font-size: 1.5rem; background-color: rgb(246, 246, 246);">2</td><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204); font-size: 1.5rem; background-color: rgb(246, 246, 246);">조회, 삭제</td><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204); font-size: 1.5rem; background-color: rgb(246, 246, 246);">본인의 게시물만 삭제 가능</td></tr><tr><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204) rgb(204, 204, 204); font-size: 1.5rem;">GUEST</td><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204) rgb(204, 204, 204); font-size: 1.5rem;">1</td><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204) rgb(204, 204, 204); font-size: 1.5rem;">조회</td><td style="padding: 8px; line-height: 20px; vertical-align: top; border-width: 1px; border-style: solid; border-color: rgb(239, 239, 239) rgb(204, 204, 204) rgb(204, 204, 204); font-size: 1.5rem;">-</td></tr></tbody></table><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">프로젝트 초기에는 사용자 권한에 대한 별다른 요구사항이 없었기 때문에 ADMIN과 GUEST로 구분 지어 진행을 했었습니다. 그런데 프로젝트 중반에 고객사에서 사용자 권한을 위와 같이 구분 지어달라고 요청이 들어 왔습니다.</p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;"><img src="http://www.nextree.co.kr/content/images/2016/09/dhsong_customtag_11.png" alt="" style="display: block; max-width: 100%; height: auto; padding: 0.6em 0px 0px; position: relative; left: 427.5px; transform: translateX(-50%);"></p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">페이지 마다 요구 하는 기능이 각각 다르기 때문에 아래와 같이 권한을 체크하는 코드가 들어가야 했습니다. 그리고 요청 받는 Controller 마다 LoginUser 객체를 넘겨줘야 하는 불편함을 감수 했습니다. 페이지가 한 두개 일 때는 큰 문제가 없었지만, 수십개의 페이지에 적용을 하기에는 코드가 길어지고, 이해하기 어렵다는 문제점이 있었습니다.</p><pre style="font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 0.9em; padding: 1em; margin-top: 0.5em; margin-bottom: 0.5em; line-height: 1.5; color: rgb(0, 0, 0); word-break: normal; word-wrap: normal; background: rgb(245, 247, 248); border-width: initial; border-style: none; border-color: initial; border-radius: 3px; width: 855px; text-shadow: rgb(255, 255, 255) 0px 1px; tab-size: 4; letter-spacing: 0.1px;"><code style="font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; color: rgb(0, 0, 0); background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; white-space: pre; border: none; text-shadow: rgb(255, 255, 255) 0px 1px; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4;"><c:choose>
<c:when test="${'ADMIN' eq loginUser.userGrade
or ('MANAGER' eq loginUser.userGrade and writerId eq loginUser.userId})">
<!-- 수정기능 -->
</c:when>
<c:when test="${'ADMIN' eq loginUser.userGrade
or ('DEVELOPER' eq loginUser.userGrade and writerId eq loginUser.userId})">
<!-- 삭제기능 -->
</c:when>
</c:choose>
</code></pre><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">그리고, 한가지 고민거리가 있었습니다. 바로 MANAGER 와 DEVELOPER 두 개의 권한의 레벨이 같으면서 다른 기능을 갖는다는 것 입니다. 레벨이 서로 다르다면(LEVEL이 ADMIN-4, MANAGER -3, DEVELOPER-2, GUEST-1 일 때 ) 권한을 체크 할 때, '삭제기능은 MANAGER(Level 3) 이상 가능하다. 수정기능은 DEVELOPER(Level 2) 이상 가능하다.' 이렇게 정의를 하여 권한을 체크하기가 쉬웠을 겁니다. 하지만 레벨이 같은 권한이 있기 때문에 앞에 말한 것 처럼 사용 할 수 없었습니다. 그래서 해당 하는 기능을 ADMIN과 MANAGER, ADMIN과 DEVELOPER 처럼 각각 기능에 따라 권한 체크를 해줘야 했습니다.</p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;"><img src="http://www.nextree.co.kr/content/images/2016/09/dhsong_customtag_33.png" alt="" style="display: block; max-width: 100%; height: auto; padding: 0.6em 0px 0px; position: relative; left: 427.5px; transform: translateX(-50%);"></p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">처음에는 Session을 사용 하여 체크 하는 법을 생각 해 보았는데, Session도 각 컨트롤 마다 세션을 불러와 권한을 체크해야 하는 문제점이 있었습니다. 프로젝트에서 Spring-Security가 적용 되어있는 상태이기 때문에 Spring-Security를 활용하는 방안으로 대안을 생각해 보았습니다. 각 권한마다 접근 할 수 있는 페이지를 구분지어 따로 페이지를 구성하는 것 이었습니다.</p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;"><img src="http://www.nextree.co.kr/content/images/2016/09/dhsong_customtag_44.png" alt="" style="display: block; max-width: 100%; height: auto; padding: 0.6em 0px 0px; position: relative; left: 427.5px; transform: translateX(-50%);"></p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">위 처럼 url을 구분하여 접근 할 수 있는 권한체크를 Spring-Security에 위임을 하여 구현을 하는 것이였습니다. 권한을 체크하는 로직을 구현 안해도 되는 이점이 있지만, 동일한 화면 구성에 동일한 내용을 표현하는데 페이지를 2개로 나눠야 하는 부담이 생겼습니다. 그리고 View1에 대한 수정이 발생하면 test-update.jsp, test-delete.jsp에 적용을 하는 번거로움이 생겼습니다. 권한 체크 기능 구현을 안해도 되는 이점 보다 차후에 개발, 유지보수 해야 하는 단점이 훨씬 많아 Spring-Security를 사용하여 권한체크를 하는 것은 부적합 하다고 생각을 했습니다.</p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">그래서 Custom tag를 사용하여 권한을 체크하는 기능을 위임하는 방법으로 구현을 했습니다. 권한 체크를 jsp가 아닌 java 클래스에서 처리하도록 하여, 컨트롤러마다 LoginUser 객체를 넣는 불편함을 제거 할 수 있었습니다. 그리고 jsp의 복잡한 조건문을 간단히 표현 할 수 있었습니다.</p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;"><img src="http://www.nextree.co.kr/content/images/2016/09/dhsong_customtag_22.png" alt="" style="display: block; max-width: 100%; height: auto; padding: 0.6em 0px 0px; position: relative; left: 427.5px; transform: translateX(-50%);"></p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">권한을 체크 할 때 각각의 기능에 필요한 권한들을 파라미터로 받아야 했으며, MANAGER와 DEVELOPER는 본인의 게시물만 수정, 삭제가 가능하다는 전제조건이 있기 때문에, 해당 글의 작성자 아이디가 필요 했습니다. 이와 같은 상황을 고려하여 커스텀 태그의 형태를 생각 해 보았습니다. 태그의 이름은 어떤 기능을 하는지 명확히 명시해야 되기 때문에 authorize라 정했습니다. 커스텀 태그의 모습은 prifix를 custag라 했을때</p><pre style="font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 0.9em; padding: 1em; margin-top: 0.5em; margin-bottom: 0.5em; line-height: 1.5; color: rgb(0, 0, 0); word-break: normal; word-wrap: normal; background: rgb(245, 247, 248); border-width: initial; border-style: none; border-color: initial; border-radius: 3px; width: 855px; text-shadow: rgb(255, 255, 255) 0px 1px; tab-size: 4; letter-spacing: 0.1px;"><code style="font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; color: rgb(0, 0, 0); background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; white-space: pre; border: none; text-shadow: rgb(255, 255, 255) 0px 1px; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4;"><custag:authorize grades="ADMIN,MANAGER" writerId="${writerId}"> 내용</ct:authrize>
</code></pre><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">모습이 될 것 입니다. grades는 여러개가 들어 갈 수 있으며, 권한을 명시 해주지 않으면 권한체크의 기능을 수행 할 수 없기 때문에 필수요소로 지정되야 합니다. ADMMIN은 본인 여부 상관 없이 수정, 삭제가 이뤄지기 때문에 writerId는 필수 요소가 아닙니다.</p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">이제 위와 같은 형태의 커스텀 태그를 만들기 위해서 아래와 같은 작업이 필요 합니다.</p><ul style="margin-right: 0px; margin-bottom: 1.75em; margin-left: 0px; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; padding-left: 3rem; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;"><li style="margin: 0.4em 0px;">java 클래스 파일 생성 - 태그의 기능을 수행 하는 부분. 태그핸들러.</li><li style="margin: 0.4em 0px;">tld 파일 생성 - jsp에서 태그를 사용 할 수 있게 해주며, 태그가 어떤 핸들러를 통해 수행 할지 설정.</li><li style="margin: 0.4em 0px;">jsp 커스텀태그 선언</li></ul><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">커스텀태그의 이런 제약 사항들을 명시를 해주어야 하는데 그 역할을 앞으로 만들 tld 파일에서 설정 해 줄 수 있습니다.</p><pre style="font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 0.9em; padding: 1em; margin-top: 0.5em; margin-bottom: 0.5em; line-height: 1.5; color: rgb(0, 0, 0); word-break: normal; word-wrap: normal; background: rgb(245, 247, 248); border-width: initial; border-style: none; border-color: initial; border-radius: 3px; width: 855px; text-shadow: rgb(255, 255, 255) 0px 1px; tab-size: 4; letter-spacing: 0.1px;"><code style="font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; color: rgb(0, 0, 0); background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; white-space: pre; border: none; text-shadow: rgb(255, 255, 255) 0px 1px; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4;"><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>authorize</shortname>
<info>tag library</info>
<tag>
<name>authorize</name> <!-- 커스텀 태그의 이름 -->
<tagclass>test.security.AuthorizeTag</tagclass><!-- 태그 핸들러 클래스 -->
<bodycontent>JSP</bodycontent> <!-- 바디 부분의 컨텐츠 타입 기술. 없으면 empty로 입력-->
<attribute> <!-- 태그의 속성 기능을 부여 -->
<name>grades</name> <!-- 속성명 -->
<required>true</required> <!-- 필수 입력 여부 true : 필수 -->
<rtexprvalue>false</rtexprvalue> <!-- 표현식(<%= %>) 사용 여부 -->
</attribute>
<attribute>
<name>writerId</name>
<required>false</required>
<rtexprvalue>false</trexprvalue>
</attribute>
</tag>
</taglib>
</code></pre><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">tld 파일을 작성을 하였다면, 태그의 기능을 수행 할 내용이 필요 합니다. 그 내용들은 AuthorizeTag.java에서 수행 할 것 입니다. Body내용을 컨트롤 하기 위해 BodyTagSupport를 상속 받아 태그 핸들러로써 역할을 할 것이며, 실질적으로 권한을 체크하는 기능을 수행합니다. 해당 글에 권한이 있다면 jsp의 body 내용을 표시 할 것이며, 권한이 없다면 skip하여 내용이 보이지 않을 것 입니다.</p><pre style="font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 0.9em; padding: 1em; margin-top: 0.5em; margin-bottom: 0.5em; line-height: 1.5; color: rgb(0, 0, 0); word-break: normal; word-wrap: normal; background: rgb(245, 247, 248); border-width: initial; border-style: none; border-color: initial; border-radius: 3px; width: 855px; text-shadow: rgb(255, 255, 255) 0px 1px; tab-size: 4; letter-spacing: 0.1px;"><code style="font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; color: rgb(0, 0, 0); background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; white-space: pre; border: none; text-shadow: rgb(255, 255, 255) 0px 1px; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4;">public class AuthorizeTag extends BodyTagSupport{
private static final long serialVersionUID = 1L;
private final String SEPARATE =",";
private String grades; // 콤마(,)로 구분되어 있다.
private String writerId;
@Override
public int doAfterBody() throws JspException {
UserGrade userGrade = null;
try {
userGrade = UserGrade.valueOf(LoginUser.getLoginUserGrade());
} catch (Exception e) {
return SKIP_BODY;
}
// 로그인한 계정만 가능한지 확인 (옵션) - null 이면 무시
if (!StringUtil.isEmpty(writerId)) {
// 게시자의 아이디와 Login User의 Id 비교
if (!Loginuser.getLoginId().equals(writerId)) {
return SKIP_BODY; // jsp Body에 출력 안함
}
}
// 메뉴 사용가능한 목록 추출
List<String> availableGrades = Arrays.asList(grades.split(SEPARATE));
if (availableGrades.contains(userGrade)) {
print(); // jsp Body에 출력 , private method.
}
}
}
</code></pre><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">유저가 ADMIN 이라면 writerId는 null 이기 때문에 게시자의 아이디 판단은 무시가 됩니다. 태그의 파라미터 중 grades 속성은 콤마(,)로 구분지어진 문자열로 받아 리스트로 만들어, 로그인 한 유저의 권한과 비교하여 출력을 결정하도록 작성 하였습니다.</p><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">custom tag가 이제 준비가 되었습니다. 실제로 사용을 하려면, jsp에 taglib 를 해서 사용을 해야 합니다. jsp에서 authroize.tld 를 선언하고 jsp에서 호출하여 사용 하면 됩니다. 여기서 tld에 grades는 필수 입력하게 설정 했으므로, 반드시 사용 할 기능에 해당하는 권한을 입력 해줘야 합니다.</p><pre style="font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 0.9em; padding: 1em; margin-top: 0.5em; margin-bottom: 0.5em; line-height: 1.5; color: rgb(0, 0, 0); word-break: normal; word-wrap: normal; background: rgb(245, 247, 248); border-width: initial; border-style: none; border-color: initial; border-radius: 3px; width: 855px; text-shadow: rgb(255, 255, 255) 0px 1px; tab-size: 4; letter-spacing: 0.1px;"><code style="font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; color: rgb(0, 0, 0); background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; white-space: pre; border: none; text-shadow: rgb(255, 255, 255) 0px 1px; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4;"><%@ taglib prefix="custag" uri="/WEB-INF/tld/authorize.tld"%>
<custag:authorize grades="ADMIN,MANAGER" writerId="${writerId}"/>
<!-- 수정 기능 -->
</custag:authorize>
<custag:authorize grades="ADMIN,DEVELOPER" writerId="${writerId}"/>
<!-- 삭제 기능 -->
</custag:authorize>
<custag:authorize grades="ADMIN" >
<!-- 관리자만 사용 할 수 있는 기능 -->
</custag:authorize>
</code></pre><p style="margin-bottom: 1.75em; text-rendering: geometricPrecision; font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1; color: rgb(58, 65, 69); font-family: NanumGothic, "Apple SD Gothic Neo", Arial, sans-serif; font-size: 18px; letter-spacing: 0.1px;">custom tag를 사용하여 소스코드를 간략하게 만들었고, 가독성을 높일 수 있었습니다. jsp의 반복적인 기능이 필요 할때, jsp에서 복잡하게 표현되어 java 클래스에서 단순화 할때 custom tag를 사용하면 좋을 것 같습니다. 그렇지만 무분별하게 custom tag를 만든다면, 결국 쓰이지 않는 태그가 만들어 질수도 있고 각각의 태그가 무슨 기능을 하는지 알 수 없어 소스코드를 다시 파악해야 될 것 입니다. custom tag가 궁극의 해결책은 아닙니다. jsp 소스가 복잡해지면, custom tag를 사용하기 보다는 서버 사이드 개선을 통하여 jsp쪽 개발 단순화 방안을 생각해야 할 것 입니다.</p>
Mysql not in, not exists 사용시 쿼리속도가 느릴때.
http://www.webprogramer.kr/blog/P000000299/post.do
<p><br></p><p><span style="font-weight: bold;">Mysql not in, not exists 사용시 쿼리 속도가 느릴때.</span></p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">특정 항목을 제외 시키기 위해 not in, not exists를 이용합니다.</span></p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">제가 전문가는 아니지만.</span></p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">단건 몇개의 경우 not in으로 처리하고 다건일 경우에는 not exists를 사용합니다.</span></p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">속도가 너무 느릴경우엔. </span></p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">left join을 이용하여 붙이고 null인 항목을 가져오면 </span></p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">제외된 항목을 가져옵니다.</span></p><p><span style="font-weight: bold;">예)</span></p><p><span style="font-weight: bold;"><br></span></p><pre class="prettyprint linenums prettyprinted" style="line-height: 1.42857;"><ol class="linenums"><li class="L0"><code class="language-sql"><span class="pun">--</span><span class="pln"> </span><span class="kwd">not</span><span class="pln"> exists</span><span class="pun">로</span><span class="pln"> </span><span class="pun">조회</span></code></li><li class="L1"><code class="language-sql"><span class="pln">explain extended</span></code></li><li class="L2"><code class="language-sql"><span class="kwd">select</span><span class="pln"> </span></code></li><li class="L3"><code class="language-sql"><span class="pln"> count</span><span class="pun">(</span><span class="pln">a</span><span class="pun">.</span><span class="pln">user_id</span><span class="pun">)</span><span class="pln"> </span><span class="kwd">as</span><span class="pln"> cnt</span><span class="pun">,</span></code></li><li class="L4"><code class="language-sql"><span class="pln"> c</span><span class="pun">.</span><span class="pln">chnl_id</span><span class="pun">,</span></code></li><li class="L5"><code class="language-sql"><span class="pln"> c</span><span class="pun">.</span><span class="pln">use_intt_id</span></code></li><li class="L6"><code class="language-sql"><span class="kwd">from</span><span class="pln"> user_ldgr a</span></code></li><li class="L7"><code class="language-sql"><span class="pln">left join use_intt_per_user c</span></code></li><li class="L8"><code class="language-sql"><span class="pln">on a</span><span class="pun">.</span><span class="pln">user_id </span><span class="pun">=</span><span class="pln"> c</span><span class="pun">.</span><span class="pln">user_id</span></code></li><li class="L9"><code class="language-sql"><span class="kwd">where</span><span class="pln"> a</span><span class="pun">.</span><span class="pln">ATHZ_DT </span><span class="pun"><</span><span class="pln"> </span><span class="str">'20160101'</span><span class="pln"> </span></code></li><li class="L0"><code class="language-sql"><span class="kwd">and</span><span class="pln"> </span><span class="kwd">not</span><span class="pln"> exists</span></code></li><li class="L1"><code class="language-sql"><span class="pun">(</span></code></li><li class="L2"><code class="language-sql"><span class="pln"> </span><span class="kwd">select</span><span class="pln"> </span></code></li><li class="L3"><code class="language-sql"><span class="pln"> b</span><span class="pun">.</span><span class="pln">user_id </span></code></li><li class="L4"><code class="language-sql"><span class="pln"> </span><span class="kwd">from</span><span class="pln"> lgn_prhs b </span></code></li><li class="L5"><code class="language-sql"><span class="pln"> </span><span class="kwd">where</span><span class="pln"> b</span><span class="pun">.</span><span class="pln">lgn_dt between </span><span class="str">'20150101'</span><span class="pln"> </span><span class="kwd">and</span><span class="pln"> </span><span class="str">'20151231'</span><span class="pln"> </span></code></li><li class="L6"><code class="language-sql"><span class="pln"> </span><span class="kwd">and</span><span class="pln"> b</span><span class="pun">.</span><span class="pln">user_id </span><span class="pun">=</span><span class="pln"> a</span><span class="pun">.</span><span class="pln">user_id </span></code></li><li class="L7"><code class="language-sql"><span class="pln"> </span><span class="kwd">group</span><span class="pln"> </span><span class="kwd">by</span><span class="pln"> b</span><span class="pun">.</span><span class="pln">user_id</span></code></li><li class="L8"><code class="language-sql"><span class="pun">)</span></code></li><li class="L9"><code class="language-sql"><span class="kwd">group</span><span class="pln"> </span><span class="kwd">by</span><span class="pln"> chnl_id</span></code></li><li class="L0"><code class="language-sql"><span class="pun">;</span></code></li></ol></pre><p><br></p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-sql"><span class="pun">--</span><span class="pln"> left join</span><span class="pun">로</span><span class="pln"> </span><span class="pun">조회</span></code></li><li class="L1"><code class="language-sql"><span class="pln">explain</span></code></li><li class="L2"><code class="language-sql"><span class="kwd">select</span><span class="pln"> </span></code></li><li class="L3"><code class="language-sql"><span class="pln"> count</span><span class="pun">(</span><span class="pln">a</span><span class="pun">.</span><span class="pln">user_id</span><span class="pun">)</span><span class="pln"> </span><span class="kwd">as</span><span class="pln"> cnt</span><span class="pun">,</span></code></li><li class="L4"><code class="language-sql"><span class="pln"> c</span><span class="pun">.</span><span class="pln">chnl_id</span><span class="pun">,</span></code></li><li class="L5"><code class="language-sql"><span class="pln"> c</span><span class="pun">.</span><span class="pln">use_intt_id</span></code></li><li class="L6"><code class="language-sql"><span class="kwd">from</span><span class="pln"> user_ldgr a</span></code></li><li class="L7"><code class="language-sql"><span class="pln">left join use_intt_per_user c</span></code></li><li class="L8"><code class="language-sql"><span class="pln">on a</span><span class="pun">.</span><span class="pln">user_id </span><span class="pun">=</span><span class="pln"> c</span><span class="pun">.</span><span class="pln">user_id</span></code></li><li class="L9"><code class="language-sql"><span class="pln">left join </span></code></li><li class="L0"><code class="language-sql"><span class="pun">(</span></code></li><li class="L1"><code class="language-sql"><span class="pln"> </span><span class="kwd">select</span><span class="pln"> </span></code></li><li class="L2"><code class="language-sql"><span class="pln"> b</span><span class="pun">.</span><span class="pln">user_id </span></code></li><li class="L3"><code class="language-sql"><span class="pln"> </span><span class="kwd">from</span><span class="pln"> lgn_prhs b </span></code></li><li class="L4"><code class="language-sql"><span class="pln"> </span><span class="kwd">where</span><span class="pln"> b</span><span class="pun">.</span><span class="pln">lgn_dt between </span><span class="str">'20150101'</span><span class="pln"> </span><span class="kwd">and</span><span class="pln"> </span><span class="str">'20151231'</span><span class="pln"> </span></code></li><li class="L5"><code class="language-sql"><span class="pln"> </span><span class="kwd">group</span><span class="pln"> </span><span class="kwd">by</span><span class="pln"> b</span><span class="pun">.</span><span class="pln">user_id</span></code></li><li class="L6"><code class="language-sql"><span class="pun">)</span><span class="pln"> d</span></code></li><li class="L7"><code class="language-sql"><span class="pln">on d</span><span class="pun">.</span><span class="pln">user_id </span><span class="pun">=</span><span class="pln"> a</span><span class="pun">.</span><span class="pln">user_id </span></code></li><li class="L8"><code class="language-sql"><span class="kwd">where</span><span class="pln"> a</span><span class="pun">.</span><span class="pln">ATHZ_DT </span><span class="pun"><</span><span class="pln"> </span><span class="str">'20160101'</span></code></li><li class="L9"><code class="language-sql"><span class="kwd">and</span><span class="pln"> d</span><span class="pun">.</span><span class="pln">user_id </span><span class="kwd">is</span><span class="pln"> </span><span class="kwd">null</span></code></li><li class="L0"><code class="language-sql"><span class="kwd">group</span><span class="pln"> </span><span class="kwd">by</span><span class="pln"> c</span><span class="pun">.</span><span class="pln">chnl_id</span></code></li><li class="L1"><code class="language-sql"><span class="pun">;</span></code></li></ol></pre><p>^^<br></p>
dell p2717h 모니터 구매
http://www.webprogramer.kr/blog/P000000298/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1478768297499167453.jpg" data-filename="1478768297499167453.jpg" style="100%;" class="img-thumbnail"><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1478768297470217681.jpg" data-filename="1478768297470217681.jpg" style="width: 100%;" class="img-thumbnail"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1478768297487417425.jpg" data-filename="1478768297487417425.jpg" style="100%;" class="img-thumbnail"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147876829749335116.jpg" data-filename="147876829749335116.jpg" style="100%;" class="img-thumbnail"><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1478768297495254399.jpg" data-filename="1478768297495254399.jpg" style="100%;" class="img-thumbnail"><img src="http://www.webprogramer.kr/upload/blog/editor/1478768297490204807.jpg" data-filename="1478768297490204807.jpg" style="width: 100%;" class="img-thumbnail"><img src="http://www.webprogramer.kr/upload/blog/editor/1478768297550348611.jpg" data-filename="1478768297550348611.jpg" style="width: 100%;" class="img-thumbnail"><img src="http://www.webprogramer.kr/upload/blog/editor/1478768297571234305.jpg" data-filename="1478768297571234305.jpg" style="width: 100%;" class="img-thumbnail"><img src="http://www.webprogramer.kr/upload/blog/editor/1478768297603138904.jpg" data-filename="1478768297603138904.jpg" style="width: 100%;" class="img-thumbnail"><img src="http://www.webprogramer.kr/upload/blog/editor/147876829758926741.jpg" data-filename="147876829758926741.jpg" style="width: 100%;" class="img-thumbnail"><img src="http://www.webprogramer.kr/upload/blog/editor/1478768297603499209.jpg" data-filename="1478768297603499209.jpg" style="width: 100%;" class="img-thumbnail"></p><p>설명은다음에..</p>
테스트 자동화 CasperJS
http://www.webprogramer.kr/blog/P000000297/post.do
<p><span style="font-size: 24px;"><strong>CasperJS</strong></span><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1478507222507976282.PNG" data-filename="1478507222507976282.PNG"><br></p><p><a href="http://casperjs.org/" target="_blank"><strong><font color="#000000">사이트 : http://casperjs.org/</font></strong></a><br><a href="http://casperjs.org/" target="_blank"><strong><font color="#000000">설치 : </font></strong></a><a href="http://docs.casperjs.org/en/latest/installation.html" target="_blank"><strong><font color="#000000">http://docs.casperjs.org/en/latest/installation.html</font></strong></a><span style="font-size: 24px;"><br></span><strong><font color="#000000">API 문서 : </font></strong><a href="http://docs.casperjs.org/en/latest/modules/index.html"><strong><font color="#000000">http://docs.casperjs.org/en/latest/modules/index.html</font></strong></a><br></p><p><br></p><p>예전에 CasperJS를 보고 오!! 신기 하다 라고 생각되어 기억해뒀다가 써먹어야지 라는 생각을 </p><p><br></p><p>하고 있었는데 드디어 써먹을 기회가 되었다.</p><p><br></p><p>이번에 내가 맡은 업무중 매일매일 반복적으로 해야되는 일이 있다.</p><p><br></p><p>아침에 출근을 해서 서비스 점검을 하게되는데 반복적으로 하게되는 작업이<br></p><p>사이트접속 -> 로그인 -> 솔루션1실행 -> 메인페이지 -> 솔루션2실행 -> 메인페이지</p><p>-> 솔루션3실행... 이런식으로 반복적으로 사이트의 서비스가 정상인지를 체크하게된다.<br></p><p><br></p><p>별일 아니지만 가끔 까먹거나 귀찮기도 하다.</p><p><br></p><p>CasperJs내부적으로 Web Brower engine을 가지고 있어 기본적인 스크립트 문법을 </p><p><br></p><p>가지고 브라우저를 사용자가 컨트롤 하듯이 사용할 수 있다.</p><p><br></p><p>CasperJs를 이용하여 사이트접속 -> 증적(스크린샷) -> 로그인 -> 증적(스크린샷) </p><p>-> 솔루션1실행 -> 증적(스크린샷)... 이런식으로 처리하여 서비스 점검이 완료되면</p><p>브라우저를 실행하여 증적자료를 html을 이용하여 표현하였다.<br></p><p><br></p><p>허접하지만 테스트 자동화한 영상이다.</p><p><br>
<iframe width="544" height="306" src="http://serviceapi.nmv.naver.com/flash/convertIframeTag.nhn?vid=1F576E54464F554121F6B915120ECAA4C9CF&outKey=V1296e07aca303c34c518da0b300a64198f86ab6e85590b058b92da0b300a64198f86" frameborder="no" scrolling="no"></iframe></p><p>아침에 출근하면 컴퓨터를 키자마자</p><p>점검관련 윈도우 배치파일을 실행한다.</p><p>커피를 한잔 타고 자리에 앉으면 테스트가 완료되고</p><p>브라우저를 실행하여 결과를 이미지로 보여준다.</p><p>자동화 하지 않았다면 사이트 접속->로그인->솔루션1 실행...솔루션2 실행...반복을 </p><p>해야된다.<br></p><p>오래 걸리는 일은 아니지만 매일매일 반복된다면 한번 해볼만하다.</p>
타무스 M.2 SSD 구매
http://www.webprogramer.kr/blog/P000000296/post.do
<p> </p><p>회사에서 쓰는 노트북이 ssd 256g을 쓰고 있는데 이것저것 깔다보니 용량이 너무 딸려서</p><p>구매하기로 결정. </p><p>저렴한걸 찾던중 SSD에 M.2라는 방식이 있다는걸 발견하였다.</p><p>제빨리 내 노트북의 스펙을 찾기 시작했다. 다행히도 노트북이 지원한다. ㅎㅎ </p><p>구매후 바로 다음날 택배가 왔다.</p><p> </p><p>뭔가 없어보이는 비쥬얼. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881317977383.jpg" data-filename="1477196881317977383.jpg"></p><p> </p><p>지원하는 사이즈에 맞게 부러뜨려 써야되는..</p><p>왠지 무섭다.</p><p>사이즈가 생각보다 엄청 작다. 비교를 위해 100원짜리을 올려둠</p><p>기술이 많이 발전했구나. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881314908041.jpg" data-filename="1477196881314908041.jpg"></p><p> </p><p>용량은 256G로 </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881321314311.jpg" data-filename="1477196881321314311.jpg"></p><p> </p><p>노트북준비하고<img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881377378774.jpg" data-filename="1477196881377378774.jpg"></p><p> </p><p>노트북 뒷판 뜯어서 슬롯을 확인.</p><p>저기가 m.2연결하는곳인가보다. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881392157870.jpg" data-filename="1477196881392157870.jpg"></p><p> </p><p>이부분을 부러뜨려야 하나보다 ㄷㄷㄷㄷ</p><p>홈페이지에 가보니 부러뜨리다 고장난건 as안해준다는 식으로 써있는걸 보아서 인지 무섭다.<img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881429205097.jpg" data-filename="1477196881429205097.jpg"></p><p> </p><p>슬롯이 맞는지 확인 해보았다. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881397946719.jpg" data-filename="1477196881397946719.jpg"></p><p> </p><p>이상하게 부러졌다. </p><p>괜찮겠지?? </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881478893765.jpg" data-filename="1477196881478893765.jpg"></p><p> </p><p>잘못 부러진 부분때문에 슬롯에 들어가지 않는다 ㅠㅠ</p><p>하는수 없이 가위로 반듯하게 .. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881477366875.jpg" data-filename="1477196881477366875.jpg"></p><p> </p><p>대략 이렇게 다듬어졌다.</p><p>인식안되면 어쩌지 하는 생각뿐. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881441197681.jpg" data-filename="1477196881441197681.jpg"></p><p> </p><p>슬롯이 너무 작아 조심조심 끼웠다.</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881464863231.jpg" data-filename="1477196881464863231.jpg"></p><p> </p><p>슬롯에 끼우고 노트북에 남는 나사를 이용하여 고정 시켰다.<img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881495700935.jpg" data-filename="1477196881495700935.jpg"></p><p> </p><p>부팅 후 ssd가 인식된듯 싶더니. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/14771968817422513.jpg" data-filename="14771968817422513.jpg"></p><p> </p><p>드라이브가 보이지 않아 망한줄 알았다.</p><p>윈도우 관리쪽에 디스크 부분을 보면 할당되지 않음 이라고 나와있다.</p><p>디스크 할당하고 포맷 하면 될듯하다. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881531743521.jpg" data-filename="1477196881531743521.jpg"></p><p> </p><p>오른쪽 마우스 누르고 아래와 같이 선택한다.</p><p>D드라이브로 지정되고 포맷을 하고 나면 </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881531222748.jpg" data-filename="1477196881531222748.jpg"></p><p> </p><p>이렇게 디스크가 추가 된다.<img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/147719688153660129.jpg" data-filename="147719688153660129.jpg"></p><p> </p><p>타무스??</p><p>제조사 홈페이지에 가보니 관련 펌웨어와 소프트웨어 같은게 없다 ㅡㅡ;</p><p>저가형 ssd라 어쩔수 없나..</p><p>하는수 없이 기존에 쓰던 삼성용으로 테스트 해보았다.</p><p>읽기, 쓰기 속도는 스펙에 나와있는거와 비슷한걸 보니 정상인듯하다. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881562130267.PNG" data-filename="1477196881562130267.PNG"></p><p> </p><p>실행한김에 삼성꺼도 해봤다.</p><p>삼성ssd가 더 좋은가보다.<img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196881558117811.PNG" data-filename="1477196881558117811.PNG"> </p><p>용량을 늘이니 이제 뭐지워야 할지 고민 안해도 되고 좋다.</p><p>속도도 저만하면 만족하고.</p>
로지텍 MX 퍼포먼스 마우스 구매
http://www.webprogramer.kr/blog/P000000295/post.do
<p> </p><p>그동안 로지텍 유선 마우스를 잘사용 하고 있었는데.</p><p>갑자기 왼쪽 버튼이 고장이 났다. </p><p>벌크제품이였는데 2년 남짓 사용한거 같다. 물론 벌크라서 AS도 되지 않는다.</p><p>집에 가지고 와서 뜯은다음 왼쪽 버튼 눌리는 부분을 여러면 꾸욱 눌러줬더니 </p><p>잘되긴 하는데 뭔가 미심쩍어 마우스를 구매 하기로 했다.</p><p> </p><p>그간 싸구려 무선 마우스만 써봐서 그런지 무선마우스가 좋은 이미지는 아니여서 유선마우스 </p><p>를 찾아 보다가 <a href=" http://www.amazon.com" target="_blank"><strong>아마존</strong></a>을 가보았다. 괜찮아 보이는 마우스가 보이길래 확인 해보니 무선</p><p>마우스 였다. 국내엔 벌크제품이 팔길래 고민했지만 AS문제 및 평이 좋아서 정품을 구매하기</p><p>로 했다. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477196323411374264.JPG" data-filename="1477196323411374264.JPG"> </p><p> </p><p>아마존에 가입후 구매를 했을때 예상 배송 날짜보다 1주일 빨리 도착했다.</p><p> </p><p>박스가 살짝 찌그러지고 먼지가 묻어 있는 상태로 왔다. 아는 동생 부탁으로 2개를 구매 하였다. 택배비도 절약되고 좋다.ㅋ</p><p> <img class="img-rounded" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477194960943773673.jpg" data-filename="1477194960943773673.jpg"></p><p> </p><p>아는 동생은 선물용이라고 하니 찌그러진 박스를 내가 쓰기로..</p><p>내용물이 안전하게 포장되어 있었다.</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/147719496094285120.jpg" data-filename="147719496094285120.jpg"></p><p> </p><p>생각보다 큼지막하다 </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477194961053596161.jpg" data-filename="1477194961053596161.jpg"></p><p> </p><p>구성품은 설명서, 충전케이블, 마우스, 무선 수신기 </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477194960942896487.jpg" data-filename="1477194960942896487.jpg"></p><p> </p><p> 저 종이를 빼면 건전지가 바로 연결된다. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477194961004185977.jpg" data-filename="1477194961004185977.jpg"></p><p> </p><p>은색 테두리가 있어서 왠지 고급 스러워 보인다.</p><p> </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477194961057100449.jpg" data-filename="1477194961057100449.jpg"></p><p> </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/147719496108133047.jpg" data-filename="147719496108133047.jpg"></p><p> </p><p>충전케이블<img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477194961103637702.jpg" data-filename="1477194961103637702.jpg"></p><p> </p><p>오른쪽 </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477194961083873605.jpg" data-filename="1477194961083873605.jpg"></p><p> </p><p>배터리 남은 양도 손쉽게 확인할 수 있다.<img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477194961138448698.jpg" data-filename="1477194961138448698.jpg"></p><p> </p><p>유니파잉?</p><p>로지텍 무선 제품은 이거 하나로 다 연결되는듯 싶다. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477194961146939029.jpg" data-filename="1477194961146939029.jpg"></p><p> </p><p>기본적으로 들어있는 충전지</p><p>여분으로 더 사놔야 겠다.<img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/147719496115445053.jpg" data-filename="147719496115445053.jpg"></p><p> </p><p>충전중.<img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1477194961271111112.jpg" data-filename="1477194961271111112.jpg"></p><p> </p><p>잠깐 사용해본 결과</p><p>아주 멀리에서도 수신이 잘되고 포인터 정확성도 좋았다.</p><p>정품등록을해보니 AS 3년이라고 나온다 왠지 든든하다. </p><p>앞으로 오래 오래 사용했으면 좋겠다. </p><p> </p>
아크릴 전등 스위치 작업
http://www.webprogramer.kr/blog/P000000294/post.do
<p> </p><p>전등 스위치 마다 나사길이가 다른것들이 있어서</p><p>회사 근처 철물점에 들러서 구매</p><p>1개에 100원씩 이라서 여러개 구매 </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1475767166719313764.jpg" data-filename="1475767166719313764.jpg"></p><p> </p><p>준비물</p><p>아크릴 - 인터넷에서 1개에 600원짜리 </p><p>드라이버</p><p>나사</p><p>장갑 - 전기통할까봐.. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1475767266276952661.jpg" data-filename="1475767266276952661.jpg"> </p><p>아는 동생이 쓰라고 준 장갑인데</p><p>작업할때 꽤 괜찮넹.</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1475767346509620513.jpg" data-filename="1475767346509620513.jpg"></p><p> </p><p>스위치 밑을 보면 틈이 있다 그곳을 이용해서 빼된 쉽다. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/147576744209732596.jpg" data-filename="147576744209732596.jpg"></p><p> </p><p>커버를 제거</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1475767442091606861.jpg" data-filename="1475767442091606861.jpg"></p><p> </p><p>나사를 풀고 살짝 앞으로 빼면 이렇게 빠진다. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1475767442084119168.jpg" data-filename="1475767442084119168.jpg"></p><p> </p><p>이제 구매한 아크릴을 이용하여 옆으로돌려서 끼우면된다 </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1475767442095600258.jpg" data-filename="1475767442095600258.jpg"></p><p> </p><p>좌우로 움직이면서 끼우면 쉽게 끼워진다 </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1475767442107682888.jpg" data-filename="1475767442107682888.jpg"> </p><p> </p><p>반듯하게 아크릴을 고정시키고</p><p>나사를 조이면 고정이 된다.</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/147576744213997180.jpg" data-filename="147576744213997180.jpg"> </p><p>대략 작업한 결과는 이렇다. </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1475767442128390576.jpg" data-filename="1475767442128390576.jpg"></p><p> </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1475767442138154178.jpg" data-filename="1475767442138154178.jpg"></p><p> </p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1475767442140265304.jpg" data-filename="1475767442140265304.jpg"></p><p> </p><p> 아크릴이 좀 모자라 보인다.</p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1475768207152281563.jpg" data-filename="1475768207152281563.jpg"> </p><p> </p><p>결혼하고 세번째 집인데, 아크릴 커버를 하고 안하고 차이가 있어서 작업 하였다.</p><p>스위치 부근 벽지의 오염을 줄일 수 있다. </p>
[펌]ERD - 테이블 관계(식별,비식별)
http://www.webprogramer.kr/blog/P000000293/post.do
<p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">간혹 헛갈리는 경우가 있지만</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">내용은 간단하다.</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">1. 부모 테이블의 PK가 자식 테이블에서도 PK로 쓰였느냐 그렇지 않느냐.</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">2. 부모 테이블과 자식 테이블이 1:1 이냐 1:N 이냐.</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> ☞ 부모 테이블에 DATA가 1개 있는 경우</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> 자식 테이블에 DATA가 몇 개 있느냐를 따지는 것. </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">부모 테이블의 PK가</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">자식 테이블에서도 PK로 쓰였다면?</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="color: rgb(31, 218, 17);">식별관계</span> → <span style="color: rgb(255, 0, 0);">직선</span>으로 표시</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">부모 테이블의 PK가</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">자식 테이블에 있기는 하지만</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">PK로 쓰이지 않았다면? </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="color: rgb(0, 85, 255);">비식별관계</span> → <span style="color: rgb(255, 0, 0);">점선</span>으로 표시 </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">테이블의 관계가 <span style="color: rgb(255, 0, 0);">1</span>인 경우 <span class="imageblock" style="display: inline-block; width: 15px; height: auto; max-width: 100%;"><img src="http://cfile29.uf.tistory.com/image/2569C34E5757B448322070" width="15" height="12" filename="ERD1.jpg" filemime="image/jpeg" style="border-style: none; max-width: 100%; height: auto;"></span></p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">테이블의 관계가 <span style="color: rgb(255, 0, 0);">1~N</span>개인 경우 <span class="imageblock" style="display: inline-block; width: 15px; height: auto; max-width: 100%;"><img src="http://cfile5.uf.tistory.com/image/2619484E5757B47A098D18" width="15" height="12" filename="ERD1N.jpg" filemime="image/jpeg" style="border-style: none; max-width: 100%; height: auto;"></span></p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">여기에 0개일 경우가 존재한다면</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">위의 선 모양들에 동그라미(O)만 쳐주면 끝.</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">테이블의 관계가 <span style="color: rgb(255, 0, 0);">0이거나 1</span>인 경우 <span class="imageblock" style="display: inline-block; width: 25px; height: auto; max-width: 100%;"><img src="http://cfile28.uf.tistory.com/image/2168EF4E5757B4C835735F" width="25" height="12" filename="ERD01.jpg" filemime="image/jpeg" style="border-style: none; max-width: 100%; height: auto;"></span></p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">테이블의 관계가 <span style="color: rgb(255, 0, 0);">0</span><span style="color: rgb(255, 0, 0);">~N</span>개인 경우 <span class="imageblock" style="display: inline-block; width: 25px; height: auto; max-width: 100%;"><img src="http://cfile10.uf.tistory.com/image/2131AB495757B4DE308B16" width="25" height="12" filename="ERD0N.jpg" filemime="image/jpeg" style="border-style: none; max-width: 100%; height: auto;"></span></p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">뭔가 많이 복잡스러워 보이는 것 같지만</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">이게 다다.</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="color: rgb(31, 218, 17);">직선인지 점선인지</span></p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="color: rgb(31, 218, 17);">십자가(!)인지, 나무목처럼 다리가 있는지</span></p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="color: rgb(31, 218, 17);">거기에 동그라미가 있는지</span></p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">이제 남은 건</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">테이블들의 관계를 정확하게 따져 본 다음</p><p style="margin-right: auto; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: rgb(92, 92, 92); font-family: "Spoqa Han Sans", sans-serif; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">ERD를 슥슥삭삭 그리는 것 뿐이다.</p>
Eclipse SVN URL 변경
http://www.webprogramer.kr/blog/P000000292/post.do
<p><br></p><p>SVN URL변경할 일이 있어서..</p><p><br></p><p>Window -> Show View -> Other... 섵택</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472781116491506572.png" data-filename="1472781116491506572.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>SVN Repositories 선택</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472781127360518788.png" data-filename="1472781127360518788.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>Location Properties.. 선택</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/14727811322453186.png" data-filename="14727811322453186.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>URL 및 계정 등을 변경하고 Finish선택 하면 적용된다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472781135726615542.png" data-filename="1472781135726615542.png" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><br></p>
vsftpd 접속 관련 메모
http://www.webprogramer.kr/blog/P000000291/post.do
<p><span style="font-weight: bold;">서버에 vsftpd 설치를 하고 IOS 앱 PlayerXterme으로 파일등을 보려 했으나 접속이</span></p><p><span style="font-weight: bold;">되지 않는 문제 해결</span></p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">vsftpd 설치</span></p><pre class="prettyprint linenums"><code class="language-markup">yum install vsftpd -y</code></pre><p><br></p><p><span style="font-weight: bold;">vsftpd.conf 설정</span></p><p>- FTP접속 시 Client가 고정IP가 아니고 공유기를 사용할 경우 vsftpd를 Passive 방식으로 </p><p> 설정한다.</p><pre class="prettyprint linenums"><code class="language-markup">anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
#chroot_local_user=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
pasv_enable=YES
pasv_enable=YES
pasv_min_port=54040
pasv_max_port=54050
allow_writeable_chroot=YES</code></pre><p><br></p><p>- 공유기의 외부, 내부 포트를 설정한다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472100551074560139.png" data-filename="1472100551074560139.png" class="img-thumbnail" style="height: 218px; line-height: 1.42857; width: 505.287px;"><br></p><p><br></p><p>- 방화벽에도 포트추가</p><p> 예) firewall-cmd --permanent --zone=public --add-port=54040-54050/tcp</p><p><br></p><p><span style="font-weight: bold;">vsftpd 재시작</span></p><p> - systemctl restart vsftpd.service</p><p><br></p><p><span style="font-weight: bold;">방화벽 재시작</span></p><p>- systemctl restart firewalld</p>
AliExpress 페블타임 시계줄 도착
http://www.webprogramer.kr/blog/P000000290/post.do
<p><span style="line-height: 1;">AliExpress에서 구매한 시계줄이 9일만에 도착했다. 오긴 오는구나..</span><br></p><p>가격도 13달러에 무료 배송이면 괜찮은 편이다. </p><p><br></p><p>작은 봉투에 담겨져서 온 시계줄</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472081892870110169.jpg" data-filename="1472081892870110169.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>시계줄 교체할 녀석</p><p>사용한지 4개월 조금 넘었는데 세월에 흔적이 ㄷㄷㄷ</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472081892872542339.jpg" data-filename="1472081892872542339.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>내용물은 시계줄과 시계고정핀 2개</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472082186507592121.jpg" data-filename="1472082186507592121.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>꺼내보니 요렇게 </p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472082455708242933.jpg" data-filename="1472082455708242933.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>대략 이정도면 괜찮은 편인거 같다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472082504622215267.jpg" data-filename="1472082504622215267.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>이게 자석이로군</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472082517109286794.jpg" data-filename="1472082517109286794.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>이제 시계줄을 교체할 차례</p><p>기본적으로 시계줄에 고정핀을 편하게 제거할 수 있게 되어 있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472082664680968723.jpg" data-filename="1472082664680968723.jpg" style="width: 100%;" class="img-thumbnail"><br></p><p><br></p><p>시계줄이 모두 제거된 페블 몸둥아리</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472082751044421032.jpg" data-filename="1472082751044421032.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>시계줄에 고정핀을 끼우고</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472082872060242093.jpg" data-filename="1472082872060242093.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>고정이 잘된듯 하다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147208289652473245.jpg" data-filename="147208289652473245.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>나모지 다른곳도</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472082941533134945.jpg" data-filename="1472082941533134945.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>양쪽다 교체한 모습<br><img src="http://www.webprogramer.kr/upload/blog/editor/1472082986069132368.jpg" data-filename="1472082986069132368.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>괜찮은거 같은데?</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472083058158403294.jpg" data-filename="1472083058158403294.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>착용 해보자</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147208313528094546.jpg" data-filename="147208313528094546.jpg" style="width: 597.656px;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472083186850946884.jpg" data-filename="1472083186850946884.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472083231837643332.jpg" data-filename="1472083231837643332.jpg" class="img-thumbnail" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472083285735421255.jpg" data-filename="1472083285735421255.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472083321641572058.jpg" data-filename="1472083321641572058.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147208332163610445.jpg" data-filename="147208332163610445.jpg" style="width: 597.656px;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472083362463251041.jpg" data-filename="1472083362463251041.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>시계줄도 바뀌었으니 워치 페이스도 변경해 주었다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1472083389012442868.jpg" data-filename="1472083389012442868.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>저렴한 가격에 이정도 품질이면 괜찮은듯 하다.</p>
Spring Task Scheduler 손쉽게 설정하기
http://www.webprogramer.kr/blog/P000000289/post.do
<blockquote><p><span style="font-size: 17.5px; font-weight: bold; line-height: 17.5px;">Spring Task Scheduler 손쉽게 설정하기</span></p></blockquote><p><span style="line-height: 1;">예전에 회사를 다니면서 했던 작업중에 주기적으로 DB를 백업하거나 특정시간이 </span></p><p><span style="line-height: 1;">되면 </span><span style="line-height: 1;">타 시스템에 접속하여 데이터를 가져오거나 새벽 시간에 메일을 보낸다거나 할때 </span></p><p><span style="line-height: 1;">사용했던것</span><span style="line-height: 1;">이</span><span style="line-height: 1; font-weight: bold;"> Linux</span><span style="line-height: 1;">에 </span><span style="line-height: 1; font-weight: bold;">Cron</span><span style="font-size: 12px;">(<span style="color: rgb(156, 156, 148);">크론탭 이라고했음</span>) 이였다. <span style="font-size: 14px;">크론탭을 등록하고 Java로 </span></span></p><p><span style="font-size: 12px;"><span style="font-size: 14px;">프로그램 하여 처리 했었</span></span><span style="line-height: 1;">는데 크론탭을 설정할때 java path설정하고 java lib를 로드하고 </span></p><p><span style="line-height: 1;">하려면 조금은 번거로웠었다. </span><span style="line-height: 1;">Spring에 Timer나 Quartz가 있지만, 내가 봤을때 손쉽게 </span></p><p><span style="line-height: 1;">설정하고 써먹기 좋은게 </span><span style="line-height: 17.5px;">Task Scheduler </span><span style="line-height: 1;">라서 사용방법을 알아보도록 하겠다.</span></p><p><br></p><p><span style="font-weight: bold;">1. XML설정</span></p><p> - 현재 egov-com-servlet.xml 설정 일부<span style="line-height: 1;"> </span></p><p><span style="line-height: 1;"> (옵션이 있지만 옵션은 검색을 통해서 찾아보기 바란다.)</span></p><pre class="prettyprint linenums"><code class="language-markup"><beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:task="http://www.springframework.org/schema/task"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.0.xsd">
<context:component-scan base-package="egovframework">
<context:include-filter expression="org.springframework.stereotype.Controller" type="annotation"/>
<context:exclude-filter expression="org.springframework.stereotype.Service" type="annotation"/>
<context:exclude-filter expression="org.springframework.stereotype.Repository" type="annotation"/>
</context:component-scan>
<!-- Activates @Scheduled and @Async annotations for scheduling -->
<task:annotation-driven />
</code></pre><p><span style="line-height: 1;"><br></span></p><p><span style="line-height: 1;"><br></span></p><p><span style="font-weight: bold;">2. java 코드 작성</span></p><p>- 3초마다 실행되게 설정</p><p> (크론 expression 설정방법은 하단에 기재)</p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-java"><span class="lit">@Component</span></code></li><li class="L1"><code class="language-java"><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="lit">@Resource</span><span class="pun">(</span><span class="pln">name</span><span class="pun">=</span><span class="str">"tagService"</span><span class="pun">)</span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="typ">TagService</span><span class="pln"> tagService</span><span class="pun">;</span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="lit">@Resource</span><span class="pun">(</span><span class="pln">name</span><span class="pun">=</span><span class="str">"counterService"</span><span class="pun">)</span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="typ">CounterService</span><span class="pln"> counterService</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="kwd">final</span><span class="pln"> </span><span class="typ">Logger</span><span class="pln"> LOGGER </span><span class="pun">=</span><span class="pln"> </span><span class="typ">LoggerFactory</span><span class="pun">.</span><span class="pln">getLogger</span><span class="pun">(</span><span class="typ">BlogTask</span><span class="pun">.</span><span class="kwd">class</span><span class="pun">);</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="com">/**</span></code></li><li class="L2"><code class="language-java"><span class="com"> * @desc : Task Scheduler Test</span></code></li><li class="L3"><code class="language-java"><span class="com"> */</span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="lit">@Scheduled</span><span class="pun">(</span><span class="pln">cron</span><span class="pun">=</span><span class="str">"0/3 * * * * *"</span><span class="pun">)</span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> taskSchedulerTest</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L6"><code class="language-java"><span class="pln"> LOGGER</span><span class="pun">.</span><span class="pln">debug</span><span class="pun">(</span><span class="str">"taskSchedulerTest - TASK START "</span><span class="pun">);</span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">try</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> LOGGER</span><span class="pun">.</span><span class="pln">debug</span><span class="pun">(</span><span class="str">"taskSchedulerTest - Job!!"</span><span class="pun">);</span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> LOGGER</span><span class="pun">.</span><span class="pln">debug</span><span class="pun">(</span><span class="str">"taskSchedulerTest - Succ"</span><span class="pun">);</span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span><span class="kwd">catch</span><span class="pln"> </span><span class="pun">(</span><span class="typ">Exception</span><span class="pln"> ex</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L3"><code class="language-java"><span class="pln"> ex</span><span class="pun">.</span><span class="pln">printStackTrace</span><span class="pun">();</span></code></li><li class="L4"><code class="language-java"><span class="pln"> LOGGER</span><span class="pun">.</span><span class="pln">debug</span><span class="pun">(</span><span class="str">"taskSchedulerTest - Fail"</span><span class="pun">);</span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> LOGGER</span><span class="pun">.</span><span class="pln">debug</span><span class="pun">(</span><span class="str">"taskSchedulerTest - TASK END "</span><span class="pun">);</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L8"><code class="language-java"><span class="pun">}</span></code></li></ol></pre><p><br></p><p>- 로그확인 3초마다 실행된 로그가 찍혔다.</p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">23</span><span class="pln"> </span><span class="lit">10</span><span class="pun">:</span><span class="lit">33</span><span class="pun">:</span><span class="lit">48</span><span class="pun">,</span><span class="lit">001</span><span class="pln"> </span><span class="pun">[</span><span class="pln">pool</span><span class="pun">-</span><span class="lit">1</span><span class="pun">-</span><span class="pln">thread</span><span class="pun">-</span><span class="lit">1</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">task</span><span class="pun">.</span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> taskSchedulerTest </span><span class="pun">-</span><span class="pln"> TASK START </span></code></li><li class="L1"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">23</span><span class="pln"> </span><span class="lit">10</span><span class="pun">:</span><span class="lit">33</span><span class="pun">:</span><span class="lit">48</span><span class="pun">,</span><span class="lit">001</span><span class="pln"> </span><span class="pun">[</span><span class="pln">pool</span><span class="pun">-</span><span class="lit">1</span><span class="pun">-</span><span class="pln">thread</span><span class="pun">-</span><span class="lit">1</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">task</span><span class="pun">.</span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> taskSchedulerTest </span><span class="pun">-</span><span class="pln"> </span><span class="typ">Job</span><span class="pun">!!</span></code></li><li class="L2"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">23</span><span class="pln"> </span><span class="lit">10</span><span class="pun">:</span><span class="lit">33</span><span class="pun">:</span><span class="lit">48</span><span class="pun">,</span><span class="lit">001</span><span class="pln"> </span><span class="pun">[</span><span class="pln">pool</span><span class="pun">-</span><span class="lit">1</span><span class="pun">-</span><span class="pln">thread</span><span class="pun">-</span><span class="lit">1</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">task</span><span class="pun">.</span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> taskSchedulerTest </span><span class="pun">-</span><span class="pln"> </span><span class="typ">Succ</span></code></li><li class="L3"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">23</span><span class="pln"> </span><span class="lit">10</span><span class="pun">:</span><span class="lit">33</span><span class="pun">:</span><span class="lit">48</span><span class="pun">,</span><span class="lit">001</span><span class="pln"> </span><span class="pun">[</span><span class="pln">pool</span><span class="pun">-</span><span class="lit">1</span><span class="pun">-</span><span class="pln">thread</span><span class="pun">-</span><span class="lit">1</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">task</span><span class="pun">.</span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> taskSchedulerTest </span><span class="pun">-</span><span class="pln"> TASK </span><span class="kwd">END</span><span class="pln"> </span></code></li><li class="L4"><code class="language-markup"></code></li><li class="L5"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">23</span><span class="pln"> </span><span class="lit">10</span><span class="pun">:</span><span class="lit">33</span><span class="pun">:</span><span class="lit">51</span><span class="pun">,</span><span class="lit">001</span><span class="pln"> </span><span class="pun">[</span><span class="pln">pool</span><span class="pun">-</span><span class="lit">1</span><span class="pun">-</span><span class="pln">thread</span><span class="pun">-</span><span class="lit">1</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">task</span><span class="pun">.</span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> taskSchedulerTest </span><span class="pun">-</span><span class="pln"> TASK START </span></code></li><li class="L6"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">23</span><span class="pln"> </span><span class="lit">10</span><span class="pun">:</span><span class="lit">33</span><span class="pun">:</span><span class="lit">51</span><span class="pun">,</span><span class="lit">001</span><span class="pln"> </span><span class="pun">[</span><span class="pln">pool</span><span class="pun">-</span><span class="lit">1</span><span class="pun">-</span><span class="pln">thread</span><span class="pun">-</span><span class="lit">1</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">task</span><span class="pun">.</span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> taskSchedulerTest </span><span class="pun">-</span><span class="pln"> </span><span class="typ">Job</span><span class="pun">!!</span></code></li><li class="L7"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">23</span><span class="pln"> </span><span class="lit">10</span><span class="pun">:</span><span class="lit">33</span><span class="pun">:</span><span class="lit">51</span><span class="pun">,</span><span class="lit">001</span><span class="pln"> </span><span class="pun">[</span><span class="pln">pool</span><span class="pun">-</span><span class="lit">1</span><span class="pun">-</span><span class="pln">thread</span><span class="pun">-</span><span class="lit">1</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">task</span><span class="pun">.</span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> taskSchedulerTest </span><span class="pun">-</span><span class="pln"> </span><span class="typ">Succ</span></code></li><li class="L8"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">23</span><span class="pln"> </span><span class="lit">10</span><span class="pun">:</span><span class="lit">33</span><span class="pun">:</span><span class="lit">51</span><span class="pun">,</span><span class="lit">001</span><span class="pln"> </span><span class="pun">[</span><span class="pln">pool</span><span class="pun">-</span><span class="lit">1</span><span class="pun">-</span><span class="pln">thread</span><span class="pun">-</span><span class="lit">1</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">task</span><span class="pun">.</span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> taskSchedulerTest </span><span class="pun">-</span><span class="pln"> TASK </span><span class="kwd">END</span><span class="pln"> </span></code></li><li class="L9"><code class="language-markup"></code></li><li class="L0"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">23</span><span class="pln"> </span><span class="lit">10</span><span class="pun">:</span><span class="lit">33</span><span class="pun">:</span><span class="lit">54</span><span class="pun">,</span><span class="lit">001</span><span class="pln"> </span><span class="pun">[</span><span class="pln">pool</span><span class="pun">-</span><span class="lit">1</span><span class="pun">-</span><span class="pln">thread</span><span class="pun">-</span><span class="lit">1</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">task</span><span class="pun">.</span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> taskSchedulerTest </span><span class="pun">-</span><span class="pln"> TASK START </span></code></li><li class="L1"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">23</span><span class="pln"> </span><span class="lit">10</span><span class="pun">:</span><span class="lit">33</span><span class="pun">:</span><span class="lit">54</span><span class="pun">,</span><span class="lit">001</span><span class="pln"> </span><span class="pun">[</span><span class="pln">pool</span><span class="pun">-</span><span class="lit">1</span><span class="pun">-</span><span class="pln">thread</span><span class="pun">-</span><span class="lit">1</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">task</span><span class="pun">.</span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> taskSchedulerTest </span><span class="pun">-</span><span class="pln"> </span><span class="typ">Job</span><span class="pun">!!</span></code></li><li class="L2"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">23</span><span class="pln"> </span><span class="lit">10</span><span class="pun">:</span><span class="lit">33</span><span class="pun">:</span><span class="lit">54</span><span class="pun">,</span><span class="lit">001</span><span class="pln"> </span><span class="pun">[</span><span class="pln">pool</span><span class="pun">-</span><span class="lit">1</span><span class="pun">-</span><span class="pln">thread</span><span class="pun">-</span><span class="lit">1</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">task</span><span class="pun">.</span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> taskSchedulerTest </span><span class="pun">-</span><span class="pln"> </span><span class="typ">Succ</span></code></li><li class="L3"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">23</span><span class="pln"> </span><span class="lit">10</span><span class="pun">:</span><span class="lit">33</span><span class="pun">:</span><span class="lit">54</span><span class="pun">,</span><span class="lit">001</span><span class="pln"> </span><span class="pun">[</span><span class="pln">pool</span><span class="pun">-</span><span class="lit">1</span><span class="pun">-</span><span class="pln">thread</span><span class="pun">-</span><span class="lit">1</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">task</span><span class="pun">.</span><span class="typ">BlogTask</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> taskSchedulerTest </span><span class="pun">-</span><span class="pln"> TASK </span><span class="kwd">END</span><span class="pln"> </span></code></li></ol></pre><p><br></p><p>이제 쉽게 스케쥴러를 사용하실 수 있습니다.</p><p><br></p><p>[참고] Cron 표현식</p>
<table class="__se_tbl" border="0" cellspacing="0" cellpadding="0" style="width: 100%; max-width: 100%; font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" text-align:="" justify;="" color:="" rgb(51,="" 51,="" 51);="" font-size:="" 12px;="" line-height:="" 18px;="" border:="" 1px="" solid="" rgb(199,="" 199,="" 199);="" background-color:="" rgb(255,="" 255,="" 255);"=""><tbody><tr><td style="padding: 3px 4px 2px; word-break: break-all; width: 73px; height: 18px; color: rgb(102, 102, 102); border-right: 1px solid rgb(231, 231, 231); background-color: rgb(243, 243, 243);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 순서</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 142px; height: 18px; color: rgb(102, 102, 102); border-right: 1px solid rgb(231, 231, 231); background-color: rgb(243, 243, 243);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">필드명</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 523px; height: 18px; color: rgb(102, 102, 102); border-right: 1px solid rgb(231, 231, 231); background-color: rgb(243, 243, 243);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">사용 가능한 값</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; width: 73px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 1</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 142px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> seconds</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 523px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0~59 , - * /</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; width: 73px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 2</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 142px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> minutes</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 523px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0~59 , - * /</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; width: 73px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 3</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 142px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> hours</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 523px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0~23 , - * /</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; width: 73px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 4</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 142px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> day of month</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 523px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 1~31 , - * ? / L W</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; width: 73px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 5</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 142px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> month</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 523px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 1~12 or JAN-DEC , - * /</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; width: 73px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 6</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 142px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> day of week</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 523px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 1-7 or SUN-SAT , - * ? / L #</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; width: 73px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 7</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 142px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> years (optional)</p></td><td style="padding: 3px 4px 2px; word-break: break-all; width: 523px; height: 18px; color: rgb(102, 102, 102); border-top: 1px solid rgb(231, 231, 231); border-right: 1px solid rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 1970~2099 , - * /</p></td></tr></tbody></table><p style="font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" font-size:="" 13px;="" line-height:="" 23.4px;="" text-align:="" justify;="" margin-bottom:="" 0px;="" padding:="" color:="" rgb(51,="" 51,="" 51);"=""> </p><p style="font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" font-size:="" 13px;="" line-height:="" 23.4px;="" text-align:="" justify;="" margin-bottom:="" 0px;="" padding:="" color:="" rgb(51,="" 51,="" 51);"="">특수문자의 의미</p><table class="__se_tbl" border="0" cellspacing="0" cellpadding="0" style="width: 100%; max-width: 100%; font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" text-align:="" justify;="" color:="" rgb(51,="" 51,="" 51);="" font-size:="" 12px;="" line-height:="" 18px;="" border:="" 1px="" solid="" rgb(199,="" 199,="" 199);="" background-color:="" rgb(255,="" 255,="" 255);"=""><tbody><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: medium 1px medium medium; border-style: none solid none none; width: 81px; height: 18px; color: rgb(102, 102, 102); border-right-color: rgb(231, 231, 231); background-color: rgb(243, 243, 243);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 기호</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: medium 1px medium medium; border-style: none solid none none; width: 180px; height: 18px; color: rgb(102, 102, 102); border-right-color: rgb(231, 231, 231); background-color: rgb(243, 243, 243);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">의미 </p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: medium 1px medium medium; border-style: none solid none none; width: 477px; height: 18px; color: rgb(102, 102, 102); border-right-color: rgb(231, 231, 231); background-color: rgb(243, 243, 243);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 사용 예</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 81px; height: 36px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> *</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 180px; height: 36px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 모든 수를 의미</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 477px; height: 36px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">seconds에서 사용하면 매초, minutes에서 사용하면 매분, hours에서 사용하면 매시간 </p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 81px; height: 36px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> ?</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 180px; height: 36px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 해당 항목을 사용하지 않음</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 477px; height: 36px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">day of month에서 사용하면 월중 날짜를 지정하지 않음. day of week에서 사용하면 주중 요일을 지정하지 않음 </p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 81px; height: 36px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> -</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 180px; height: 36px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 기간을 설정</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 477px; height: 36px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">hours에서 10-12이면 10시, 11시, 12시에 동작</p><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">minutes에서 58-59이면 58분, 59분에 동작</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 81px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> ,</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 180px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">특정 시간을 지정</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 477px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">day of week에서 2,4,6이면 월,수,금에만 동작함</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 81px; height: 36px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> /</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 180px; height: 36px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">시작시간과 반복 간격 설정</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 477px; height: 36px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">seconds위치에 0/15로 설정하면 0초에 시작해서 15초 간격으로 동작 </p><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">minutes위치에 5/10으로 설정하면 5분에 시작해서 10분 간격으로 동작</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 81px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> L</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 180px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">마지막 기간에 동작</p><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">day of month, day of week에서만 사용</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 477px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">day of month에서 사용하면 해당월 마지막 날에 수행</p><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">day of week에서 사용하면 토요일에 수행</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 81px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> W</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 180px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">가장 가까운 평일 동작</p><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">day of month에만 사용 </p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 477px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">15W로 설정하면 15일이 토요일이면 가장 가까운 14일 금요일에 실행</p><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">15W로 설정하고 15일이 일요일이면 16일에 실행</p><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">15W로 설정하고 15일이 평일이면 15일에 실행</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 81px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> LW</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 180px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">L과 W의 조합 </p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 477px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">그달의 마지막 평일에 동작 </p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 81px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> #</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 180px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">몇 번째 주와 요일 설정</p><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">day of week에 사용 </p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 477px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">6#3이면 3 번째 주 금요일에 동작 </p><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">4#2이면 2번째 주 수요일에 동작</p></td></tr></tbody></table><p style="font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" font-size:="" 13px;="" line-height:="" 23.4px;="" text-align:="" justify;="" margin-bottom:="" 0px;="" padding:="" color:="" rgb(51,="" 51,="" 51);"=""> </p><p style="font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" font-size:="" 13px;="" line-height:="" 23.4px;="" text-align:="" justify;="" margin-bottom:="" 0px;="" padding:="" color:="" rgb(51,="" 51,="" 51);"="">사용 예</p><table class="__se_tbl" border="0" cellspacing="0" cellpadding="0" style="width: 100%; max-width: 100%; font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" text-align:="" justify;="" color:="" rgb(51,="" 51,="" 51);="" font-size:="" 12px;="" line-height:="" 18px;="" border:="" 1px="" solid="" rgb(199,="" 199,="" 199);="" background-color:="" rgb(255,="" 255,="" 255);"=""><tbody><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: medium 1px medium medium; border-style: none solid none none; width: 212px; height: 18px; color: rgb(102, 102, 102); border-right-color: rgb(231, 231, 231); background-color: rgb(243, 243, 243);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 표현식</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: medium 1px medium medium; border-style: none solid none none; width: 526px; height: 18px; color: rgb(102, 102, 102); border-right-color: rgb(231, 231, 231); background-color: rgb(243, 243, 243);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">의미 </p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 212px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0 0 12 * * *</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 526px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">매일 12시에 실행 </p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 212px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0 15 10 * * *</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 526px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">매일 10시 15분에 실행 </p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 212px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0 * 14 * * *</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 526px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">매일 14시에 0분~59분까지 매분 실행</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 212px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0 0/5 14 * * *</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 526px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">매일 14시에 시작해서 5분 간격으로 실행 </p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 212px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0 0/5 14,18 * * *</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 526px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">매일 14시, 18시에 시작해서 5분 간격으로 실행 </p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 212px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0 0-5 14 * * *</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 526px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">매일 14시에 0분, 1분, 2분, 3분, 4분, 5분에 실행 </p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 212px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0 0 20 ? * MON-FRI</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 526px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">월~금일 20시 0분 0초에 실행 </p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 212px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0 0/5 14 * * ?</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 526px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">아무요일, 매월, 매일 14:00부터 14:05분까지 매분 0초 실행 (6번 실행됨)</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 212px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0 15 10 ? * 6L</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 526px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 매월 마지막 금요일 아무날이나 10:15:00에 실행</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 212px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 0 15 10 15 * ?</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 526px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">아무요일, 매월 15일 10:15:00에 실행 </p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> * /1 * * * *</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">매 1분마다 실행</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 212px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> * /10 * * * *</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 526px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">매 10분마다 실행 </p></td></tr></tbody></table><p style="font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" font-size:="" 13px;="" line-height:="" 23.4px;="" text-align:="" justify;="" margin-bottom:="" 0px;="" padding:="" color:="" rgb(51,="" 51,="" 51);"=""> </p><p style="font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" font-size:="" 13px;="" line-height:="" 23.4px;="" text-align:="" justify;="" margin-bottom:="" 0px;="" padding:="" color:="" rgb(51,="" 51,="" 51);"=""> </p><p style="font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" font-size:="" 13px;="" line-height:="" 23.4px;="" text-align:="" justify;="" margin-bottom:="" 0px;="" padding:="" color:="" rgb(51,="" 51,="" 51);"=""> </p><p style="font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" font-size:="" 13px;="" line-height:="" 23.4px;="" text-align:="" justify;="" margin-bottom:="" 0px;="" padding:="" color:="" rgb(51,="" 51,="" 51);"="">이전 Task와 Delay 설정</p><p style="font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" font-size:="" 13px;="" line-height:="" 23.4px;="" text-align:="" justify;"=""></p><table class="__se_tbl" border="0" cellspacing="0" cellpadding="0" style="width: 100%; max-width: 100%; font-family: " meiryo="" ui",="" 나눔고딕,="" "nanum="" gothic",="" "맑은="" 고딕",="" "malgun="" "apple="" sd="" 산돌고딕="" neo",="" applesdgothicneo,="" sans-serif;="" text-align:="" justify;="" color:="" rgb(51,="" 51,="" 51);="" font-size:="" 12px;="" line-height:="" 18px;="" border:="" 1px="" solid="" rgb(199,="" 199,="" 199);="" background-color:="" rgb(255,="" 255,="" 255);"=""><tbody><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: medium 1px medium medium; border-style: none solid none none; width: 156px; height: 18px; color: rgb(102, 102, 102); border-right-color: rgb(231, 231, 231); background-color: rgb(243, 243, 243);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 표현</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: medium 1px medium medium; border-style: none solid none none; width: 582px; height: 18px; color: rgb(102, 102, 102); border-right-color: rgb(231, 231, 231); background-color: rgb(243, 243, 243);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">의미 </p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 156px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> fixed-delay</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 582px; height: 18px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 이전에 실행된 task의 종료시간으로부터 정의된 시간만큼 지난 후 다음 task를 실행</p><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">밀리세컨드 단위</p></td></tr><tr><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 156px; height: 54px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> fixed-rate</p></td><td style="padding: 3px 4px 2px; word-break: break-all; border-width: 1px 1px medium medium; border-style: solid solid none none; width: 582px; height: 54px; color: rgb(102, 102, 102); border-top-color: rgb(231, 231, 231); border-right-color: rgb(231, 231, 231);"><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;"> 이전에 실행된 task의 시작 시간으로부터 정의된 시간만큼 지난 후 다음 task를 실행</p><p style="margin-bottom: 0px; padding: 0px; line-height: 1.5;">밀리세컨드 단위</p><div class="autosourcing-stub-extra" style="position: absolute; opacity: 0; line-height: 1.5;"><p style="margin-top: 11px; margin-bottom: 7px; padding: 0px; line-height: 1.5; font-family: Dotum;"><span style="padding: 0px 7px 0px 0px;">[출처]</span> <a href="http://blog.naver.com/lovemema/140200056062" target="_blank" style="color: rgb(51, 51, 51);">Sprin</a></p></div></td></tr></tbody></table>
[펌] Spring Framework annotation
http://www.webprogramer.kr/blog/P000000288/post.do
<div style="margin: 0px; padding: 0px; outline: none; color: rgb(68, 68, 68); font-family: "Noto Sans", sans-serif; line-height: 21px;"><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><b>관련 문서</b><br></p><ul style="margin-right: auto; margin-left: auto; padding: 0px 0px 0px 10px; outline: none;"><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://docs.spring.io/spring/docs" target="_blank" class="tx-link" style="color: rgb(26, 13, 171);">http://docs.spring.io/spring/docs</a></li></ul><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><b style="line-height: 1.5;">목차</b></p><ul style="margin-right: auto; margin-left: auto; padding: 0px 0px 0px 10px; outline: none;"><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@Component" style="color: rgb(26, 13, 171);">@Component</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@Required" style="color: rgb(26, 13, 171);">@Required</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@Autowired" style="color: rgb(26, 13, 171);">@Autowired</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@Qualifier" style="color: rgb(26, 13, 171);">@Qualifier</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@Resource" style="color: rgb(26, 13, 171);">@Resource</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@Scope" style="color: rgb(26, 13, 171);">@Scope</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@PostConstruct" style="color: rgb(26, 13, 171);">@PostConstruct</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@PreDestroy" style="color: rgb(26, 13, 171);">@PreDestroy</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@Inject" style="color: rgb(26, 13, 171);">@Inject</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@Service" style="color: rgb(26, 13, 171);">@Service</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@Repository" style="color: rgb(26, 13, 171);">@Repository</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@Controller" style="color: rgb(26, 13, 171);">@Controller</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@RequestMapping" style="color: rgb(26, 13, 171);">@RequestMapping</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@RequestParam" style="color: rgb(26, 13, 171);">@RequestParam</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@SessionAttributes" style="color: rgb(26, 13, 171);">@SessionAttributes</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@InitBinder" style="color: rgb(26, 13, 171);">@InitBinder</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@ModelAttribute" style="color: rgb(26, 13, 171);">@ModelAttribute</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@RequestBody" style="color: rgb(26, 13, 171);">@RequestBody</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@ResponseBody" style="color: rgb(26, 13, 171);">@ResponseBody</a></li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><a href="http://noritersand.tistory.com/156#@PathVariable" style="color: rgb(26, 13, 171);">@PathVariable</a></li></ul><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">개발단계에서 사용빈도가 높은 어노테이션 위주로 정리.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">목차에 없는 항목은 API 문서를 참고할 것. <strike>구글링하는게속편한건함정</strike></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@Component" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@Component</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">패키지: org.springframework.stereotype</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">버전: spring 2.5</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">설정 위치: 클래스 선언부 앞</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><context:component-scan> 태그를 설정파일에 추가하면 해당 어노테이션이 적용된 클래스를 빈으로 등록하게 된다. 범위는 디폴트로 singleton이며 @Scope를 사용하여 지정할 수 있다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">사용하려면 XML 설정파일에 <context:component-scan>을 정의하고 적용할 기본 패키지를 base-package 속성으로 등록한다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">context:annotation-config 태그는 어노테이션과 관련해서 다음의 BeanPostProcessor를 함께 등록 한다.</p><ul style="margin-right: auto; margin-left: auto; padding: 0px 0px 0px 10px; outline: none;"><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">@Required(RequiedAnnotationBeanPostProcessor)</li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">@Autowired(AutowiredAnnotationBeanPostProcessor)</li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">@Resource, @PostConstruct, @PreDestory(CommonAnnotationBeanPostProcessor)</li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">@Configuration(ConfigurationClassPostProcessor)</li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">그 외 Repository, Service, Controller 포함</li></ul><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">예를 들어 다음처럼 설정하면:</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><<span style="color: rgb(255, 51, 153);">context:component-scan</span> <span style="color: rgb(168, 255, 88);">base-package</span>=<span style="color: rgb(255, 213, 0);">"xxx"</span><span style="color: rgb(168, 255, 88);">/</span>></div></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">xxx 패키지 하위에 @Component로 선언된 클래스를 bean으로 자동 등록한다. bean의 이름은 해당 클래스명(첫글자는 소문자)이 사용된다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><context:component-scan /> 요소에는 scoped-proxy 속성이 존재 한다. scoped-proxy는 <aop:scoped-poxy/>처럼 WebApplicationContext 에서만 유효하며 "session", "globalSession", "request" 이외의 scope는 무시 되며 아래의 3가지 값을 설정 할 수 있다.</p><ul style="margin-right: auto; margin-left: auto; padding: 0px 0px 0px 10px; outline: none;"><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">no: proxy를 생성하지 않는다.(기본값)</li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">interfaces: JDK Dynamic Proxy를 이용한 Proxy 생성</li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">targetClass: 클래스에 대해 프록시를 생성(CGLIB를 이용한 Proxy 생성)</li></ul><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@Component</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@Scope(<span style="color: rgb(255, 213, 0);">"prototype"</span>) <span style="color: rgb(153, 153, 153);">// 생략하면 싱글톤</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> Test {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> .....</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><b>CGLIB</b></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">기존의 자바 클래스파일로부터 자바의 소스코드를 동적으로 생성하는 라이브러리(자바 소스 변경)</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><a href="http://sourceforge.net/projects/cglib/" target="_blank" class="tx-link" style="color: rgb(26, 13, 171);">http://sourceforge.net/projects/cglib/</a></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><b>스캔 대상 클래스 범위 지정하기</b></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><context:include-filter> 태그와 <context:exclude-filter> 태그를 사용하면 자동 스캔 대상에 포함시킬 클래스와 포함시키지 않을 클래스를 구체적으로 명시할 수 있다.</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><<span style="color: rgb(255, 51, 153);">context:component-scan</span> <span style="color: rgb(168, 255, 88);">base-package</span>=<span style="color: rgb(255, 213, 0);">"spring.demo"</span> <span style="color: rgb(168, 255, 88);">scoped-proxy</span>=<span style="color: rgb(255, 213, 0);">"no"</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <<span style="color: rgb(255, 51, 153);">context:include-filter</span> <span style="color: rgb(168, 255, 88);">type</span>=<span style="color: rgb(255, 213, 0);">"regex"</span> <span style="color: rgb(168, 255, 88);">expression</span>=<span style="color: rgb(255, 213, 0);">"*HibernateRepository"</span><span style="color: rgb(168, 255, 88);">/</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <<span style="color: rgb(255, 51, 153);">context:exclude-filter</span> <span style="color: rgb(168, 255, 88);">type</span>=<span style="color: rgb(255, 213, 0);">"aspectj"</span> <span style="color: rgb(168, 255, 88);">expression</span>=<span style="color: rgb(255, 213, 0);">"..*IBatisRepository"</span><span style="color: rgb(168, 255, 88);">/</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"></<span style="color: rgb(255, 51, 153);">context:component-scan</span>></div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">위와 같이 <context:include-filter> 태그와 <context:exclude-filter> 태그는 각각 type 속성과 expresseion 속성을 갖는데, type 속성에 따라 expression 속성에 올 수 있는 값이 달라진다. type 속성에 입력가능한 값은 다음과 같다:</p><ul style="margin-right: auto; margin-left: auto; padding: 0px 0px 0px 10px; outline: none;"><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">annotation: 클랙스에 지정한 어노테이션이 적용됐는지의 여부. expression 속성에서는 "org.example.SomeAnnotation"와 같은 어노테이션 이름을 입력한다.</li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">assignable: 클래스가 지정한 타입으로 할당 가능한지의 여부. expression 속성에는 "org.exampleSomeClass" 와 같은 타입 이름을 입력한다.</li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">regex: 클래스 이름이 정규 표현식에 매칭되는 지의 여부. expression 속성에는 "org\.example\.Default.*" 와 같이 정규표현식을 입력한다.</li><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">aspectj: 클래스 이름이 AspectJ 의 표현식에 매칭되는 지의 여부. expression 속성에는 "org.example..*Service+" 와 같이 AspectJ 의 표현식을 입력한다.</li></ul><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@Required" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@Required</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">패키지: org.springframework.beans.factory.annotation</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">버전: spring 2.0</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">설정 위치: setter 메서드 앞</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">Required 어노테이션은 필수 프로퍼티임을 명시하는 것으로 필수 프로퍼티를 설정하지 않을 경우 빈 생성시 예외를 발생시킨다.</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">import</span> org.springframework.beans.factory.annotation.Required</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> TestBean {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> @Required</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">private</span> TestDao testDao;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">void</span> setTestDao(TestDao testDao) {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">this</span>.testDao <span style="color: rgb(255, 51, 153);">=</span> testDao;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> }</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><<span style="color: rgb(255, 51, 153);">bean</span> <span style="color: rgb(168, 255, 88);">class</span>=<span style="color: rgb(255, 213, 0);">"org.springframework.beans.factory.annotation.RequiredAnnotationBeanpostProcessor"</span><span style="color: rgb(168, 255, 88);">/</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><<span style="color: rgb(255, 51, 153);">bean</span> <span style="color: rgb(168, 255, 88);">name</span>=<span style="color: rgb(255, 213, 0);">"testBean"</span> <span style="color: rgb(168, 255, 88);">class</span>=<span style="color: rgb(255, 213, 0);">"han.test.TestBean"</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <<span style="color: rgb(255, 51, 153);">property</span> <span style="color: rgb(168, 255, 88);">name</span>=<span style="color: rgb(255, 213, 0);">"testDao"</span> <span style="color: rgb(168, 255, 88);">ref</span>=<span style="color: rgb(255, 213, 0);">"testDao"</span><span style="color: rgb(168, 255, 88);">/</span>> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(153, 153, 153);"><!-- @Required 어노테이션을 적용하였으므로 설정하지 않으면 예외를 발생시킨다. --></span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"></<span style="color: rgb(255, 51, 153);">bean</span>></div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">RequiredAnnotationBeanPostProcessor 클래스는 스프링 컨테이너에 등록된 bean 객체를 조사하여 @Required 어노테이션으로 설정되어 있는 프로퍼티의 값이 설정되어 있는지 검사한다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">사용하려면 <bean class="org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor" /> 클래스를 빈으로 등록시켜줘야 하지만 이를 대신하여 <context:annotation-config> 태그를 사용해도 된다:</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><<span style="color: rgb(255, 51, 153);">beans</span> <span style="color: rgb(168, 255, 88);">xmlns</span>=<span style="color: rgb(255, 213, 0);">"http://www.springframework.org/schema/beans"</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(168, 255, 88);">xmlns:context</span>=<span style="color: rgb(255, 213, 0);">"http://www.springframework.org/schema/context"</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(168, 255, 88);">xmlns:xsi</span>=<span style="color: rgb(255, 213, 0);">"http://www.w3.org/2001/XMLSchema-instance"</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(168, 255, 88);">xsi:schemaLocation</span>=<span style="color: rgb(255, 213, 0);">"http://www.springframework.org/schema/beans</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 213, 0);"> http://www.springframework.org/schema/beans/spring-beans-3.1.xsd</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 213, 0);"> http://www.springframework.org/schema/context</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 213, 0);"> http://www.springframework.org/schema/context/spring-context-3.1.xsd"</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <<span style="color: rgb(255, 51, 153);">context:annotation-config/</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"></<span style="color: rgb(255, 51, 153);">beans</span>></div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@Autowired" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@Autowired</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">패키지: org.springframework.beans.factory.annotation</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">버전: spring 2.5</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">설정 위치: 생성자, 필드, 메서드(setter메서드가 아니여도 된다) 앞</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">의존관계를 자동설정할 때 사용하며 타입을 이용하여 의존하는 객체를 삽입해 준다. 그러므로 해당 타입의 빈객체가 존재하지 않거나 또는 2개 이상 존재할 경우 스프링은 예외를 발생시키게 된다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><b>options:</b></p><ul style="margin-right: auto; margin-left: auto; padding: 0px 0px 0px 10px; outline: none;"><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">required: Autowired 어노테이션을 적용한 프로퍼티 중 반드시 설정할 필요가 없는 경우에 false값을 주어 프로퍼티가 존재하지 않더라도 스프링이 예외를 발생하지 않도록 한다. 기본값은 TRUE. ex) @Autowired(required=false)</li></ul><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">사용하려면 <bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor" /> 클래스를 빈으로 등록시켜줘야 한다. 해당 설정 대신에 <context:annotation-config> 태그를 사용해도 된다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">@Autowired를 적용할 때 같은 타입의 빈이 2개 이상 존재하게 되면 예외가 발생하는데, Autowired도 이러한 문제가 발생한다. 이럴 때 @Qualifier를 사용하면 동일한 타입의 빈 중 특정 빈을 사용하도록 하여 문제를 해결할 수 있다.</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@Autowired</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@Qualifier(<span style="color: rgb(255, 213, 0);">"test"</span>) </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">private</span> Test test;</div></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@Qualifier" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@Qualifier</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">패키지: org.springframework.beans.factory.annotation</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">버전: spring 2.5</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">설정 위치: @Autowired 어노테이션과 함께 사용된다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">qualifier 어노테이션은 @Autowired의 목적에서 동일 타입의 빈객체가 존재시 특정빈을 삽입할 수 있게 설정한다. @Qualifier("mainBean")의 형태로 @Autowired와 같이 사용하며 해당 <bean>태그에 <qualifire value="mainBean" /> 태그를 선언해주어야 한다. 메서드에서 두개이상의 파라미터를 사용할 경우는 파라미터 앞에 선언해야한다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><b>options</b>:</p><ul style="margin-right: auto; margin-left: auto; padding: 0px 0px 0px 10px; outline: none;"><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;"><span style="line-height: 1.5;">name: alias명</span></li></ul><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">사용하려면 동일타입의 빈객체 설정에서 <qualifier value="[alias명]" />를 추가해 준다.</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><<span style="color: rgb(255, 51, 153);">bean</span> <span style="color: rgb(168, 255, 88);">id</span>=<span style="color: rgb(255, 213, 0);">"user2"</span> <span style="color: rgb(168, 255, 88);">class</span>=<span style="color: rgb(255, 213, 0);">"com.sp4.UserImpl"</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <<span style="color: rgb(255, 51, 153);">property</span> <span style="color: rgb(168, 255, 88);">name</span>=<span style="color: rgb(255, 213, 0);">"name"</span> <span style="color: rgb(168, 255, 88);">value</span>=<span style="color: rgb(255, 213, 0);">"스프링"</span><span style="color: rgb(168, 255, 88);">/</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <<span style="color: rgb(255, 51, 153);">property</span> <span style="color: rgb(168, 255, 88);">name</span>=<span style="color: rgb(255, 213, 0);">"age"</span> <span style="color: rgb(168, 255, 88);">value</span>=<span style="color: rgb(255, 213, 0);">"20"</span><span style="color: rgb(168, 255, 88);">/</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <<span style="color: rgb(255, 51, 153);">property</span> <span style="color: rgb(168, 255, 88);">name</span>=<span style="color: rgb(255, 213, 0);">"tel"</span> <span style="color: rgb(168, 255, 88);">value</span>=<span style="color: rgb(255, 213, 0);">"000-0000-0000"</span><span style="color: rgb(168, 255, 88);">/</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"></<span style="color: rgb(255, 51, 153);">bean</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><<span style="color: rgb(255, 51, 153);">bean</span> <span style="color: rgb(168, 255, 88);">id</span>=<span style="color: rgb(255, 213, 0);">"userService1"</span> <span style="color: rgb(168, 255, 88);">class</span>=<span style="color: rgb(255, 213, 0);">"com.sp4.UserService"</span><span style="color: rgb(168, 255, 88);">/</span>></div></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> UserService {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> @Autowired</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> @Qualifier(<span style="color: rgb(255, 213, 0);">"user2"</span>)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">private</span> User user;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(75, 230, 250);">String</span> result() {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">return</span> user.getData();</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> }</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">}</div></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@Resource" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@Resource</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">자바 6 및 JEE5에 추가된 것으로 어플리케이션에서 필요로 하는 자원을 자동 연결할 때 사용 한다. 스프링 2.5 부터 지원하는 어노테이션으로 스프링에서는 의존하는 빈 객체를 전달할 때 사용한다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">@Autowired와 흡사하지만 @Autowired는 타입으로(by type), @Resource는 이름으로(by name)으로 연결한다는 점이 다르다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><b>options</b>:</p><ul style="margin-right: auto; margin-left: auto; padding: 0px 0px 0px 10px; outline: none;"><li style="margin: 0px 0px 10px 20px; padding: 0px; outline: none; list-style: disc;">name: 자동으로 연결될 빈객체의 이름을 입력한다. ex) @Resource(name="testDao")</li></ul><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">사용하려면 <bean class="org.springframework.beans.factory.annotation.CommonAnnotationBeanPostProcessor"/> 클래스를 빈으로 등록시켜줘야 한다. 해당 설정 대신에 <context:annotation-config> 태그를 사용해도 된다.</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><<span style="color: rgb(255, 51, 153);">beans</span>> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(153, 153, 153);"><!-- 기타 설정 생략 --></span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <<span style="color: rgb(255, 51, 153);">context:annotation-config/</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <<span style="color: rgb(255, 51, 153);">bean</span> <span style="color: rgb(168, 255, 88);">id</span>=<span style="color: rgb(255, 213, 0);">"user2"</span> <span style="color: rgb(168, 255, 88);">class</span>=<span style="color: rgb(255, 213, 0);">"com.test.UserImpl"</span> <span style="color: rgb(168, 255, 88);">p:data</span>=<span style="color: rgb(255, 213, 0);">"65536"</span><span style="color: rgb(168, 255, 88);">/</span>></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"></<span style="color: rgb(255, 51, 153);">beans</span>></div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> UserService {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> @Resource(name<span style="color: rgb(255, 51, 153);">=</span><span style="color: rgb(255, 213, 0);">"user2"</span>)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">private</span> User user; </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(153, 153, 153);">//UserImpl user2 = new UserImpl();</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(153, 153, 153);">//User user = user2;</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">void</span> setUser(User user) { </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">this</span>.user <span style="color: rgb(255, 51, 153);">=</span> user;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> }</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(75, 230, 250);">String</span> result() {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">return</span> user.getData();</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> }</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@Scope" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@Scope</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">패키지: org.springframework.beans.factory.annotation</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">설정: prototype, singleton, request, session, globalSession</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">스프링은 기본적으로 빈의 범위를 "singleton" 으로 설정한다. "singleton" 이 아닌 다른범위를 지정하고 싶다면 @Scope 어노테이션을 이용하여 범위를 지정한다.</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@Component</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@Scope(value<span style="color: rgb(255, 51, 153);">=</span><span style="color: rgb(255, 213, 0);">"prototype"</span>)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> Worker { }</div></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><span style="color: white; font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;">cs</a></span></td></tr></tbody></table></div><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@Component</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@Scope(value<span style="color: rgb(255, 51, 153);">=</span><span style="color: rgb(255, 213, 0);">"prototype"</span>, proxyMode<span style="color: rgb(255, 51, 153);">=</span>ScopedProxyMode.TARGET_CLASS)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> Worker { }</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@PostConstruct" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@PostConstruct</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">패키지: javax.annotation</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">버전: jdk1.6, spring 2.5</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">설정 위치: 초기화 작업 수행 메서드 앞</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">의존하는 객체를 설정한 이후에 초기화 작업을 수행하기 위해 사용한다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">사용하려면 CommonAnnotationBeanPostProcessor 클래스를 빈으로 등록시켜줘야 한다. <context:annotation-config> 태그로 대신할 수 있다.</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@PostConstruct</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">void</span> init() {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(75, 230, 250);">System</span>.<span style="color: rgb(75, 230, 250);">out</span>.<span style="color: rgb(75, 230, 250);">println</span>(<span style="color: rgb(255, 213, 0);">"객체 생성 후 내가 먼저 실행된다."</span>);</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@PreDestroy" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@PreDestroy</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">패키지: javax.annotation</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">버전: jdk1.6, spring 2.5</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">설정 위치: 해당 작업 메서드 앞</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">컨테이너에서 객체를 제거하기 전에 해야할 작업을 수행하기 위해 사용한다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">사용하려면 CommonAnnotationBeanPostProcessor 클래스를 빈으로 등록시켜줘야 한다. <context:annotation-config> 태그로 대신할 수 있다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@Inject" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@Inject</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">SR-330 표준 Annotation으로 Spring 3 부터 지원하는 Annotation이다. 특정 Framework에 종속되지 않은 어플리케이션을 구성하기 위해서는 @Inject를 사용할 것을 권장한다. @Inject를 사용하기 위해서는 클래스 패스 내에 JSR-330 라이브러리인 javax.inject-x.x.x.jar 파일이 추가되어야 함에 유의해야 한다. </p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@Service" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@Service</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">@Service를 적용한 Class는 비지니스 로직이 들어가는 Service로 등록이 된다. Controller에 있는 @Autowired는 @Service("xxxService")에 등록된 xxxService와 변수명이 같아야 하며 Service에 있는 @Autowired는 @Repository("xxxDao")에 등록된 xxDao와 변수명이 같아야 한다.</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@Service(<span style="color: rgb(255, 213, 0);">"helloService"</span>)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> HelloServiceImpl <span style="color: rgb(255, 51, 153);">implements</span> HelloService {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> @Autowired</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">private</span> HelloDao helloDao;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">void</span> hello() {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(75, 230, 250);">System</span>.<span style="color: rgb(75, 230, 250);">out</span>.<span style="color: rgb(75, 230, 250);">println</span>(<span style="color: rgb(255, 213, 0);">"HelloServiceImpl :: hello()"</span>);</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> helloDao.selectHello();</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> }</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">helloDao.selectHello(); 와 같이 @Autowired를 이용한 객체를 이용하여 Dao 객체를 호출한다:</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@Service(<span style="color: rgb(255, 213, 0);">"test2.testService"</span>) </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(153, 153, 153);">//괄호 속 문자열은 식별자를 의미한다.</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(153, 153, 153);">//괄호를 생략할 경우 클래스명 그대로 사용한다. </span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(153, 153, 153);">//따라서 ,같은 클래스명이 존재 할 시 같은 식별자가 생성되기때문에 에러가 발생한다.</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> TestService {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(75, 230, 250);">String</span> result(<span style="color: rgb(75, 230, 250);">int</span> num1, <span style="color: rgb(75, 230, 250);">int</span> num2, <span style="color: rgb(75, 230, 250);">String</span> oper) {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(75, 230, 250);">String</span> str <span style="color: rgb(255, 51, 153);">=</span> <span style="color: rgb(75, 230, 250);">null</span>;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">if</span> (oper.<span style="color: rgb(75, 230, 250);">equals</span>(<span style="color: rgb(255, 213, 0);">"+"</span>)) {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(153, 153, 153);">//...</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">return</span> str;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> }</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> }</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">@Resouce로 연결</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@Resource(name<span style="color: rgb(255, 51, 153);">=</span><span style="color: rgb(255, 213, 0);">"test2.testService"</span>) </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(153, 153, 153);">//name에 필요한 것은 @Service("test2.testService") <- 여기서 괄호 속 문자열, 즉 식별자</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">private</span> TestService service; </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(153, 153, 153);">//TestService service = new TestService(); 라고 하는것과 같은 식</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@RequestMapping(value<span style="color: rgb(255, 51, 153);">=</span><span style="color: rgb(255, 213, 0);">"/test2/oper.action"</span>, method<span style="color: rgb(255, 51, 153);">=</span>{RequestMethod.GET})</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(75, 230, 250);">String</span> form() <span style="color: rgb(255, 51, 153);">throws</span> Exception {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">return</span> <span style="color: rgb(255, 213, 0);">"test2/write"</span>;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@Repository" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@Repository</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">패키지: org.springframework.stereotype</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">버전: spring 2.0</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">@Repository는 일반적으로 DAO에 사용되며 DB Exception을 DataAccessException으로 변환한다.</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">@Repository(<span style="color: rgb(255, 213, 0);">"bbs.boardDAO"</span>)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> BoardDAO {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">private</span> SqlSession sqlSession;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(75, 230, 250);">int</span> insertBoard(Board dto) <span style="color: rgb(255, 51, 153);">throws</span> Exception {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> ...</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> }</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); line-height: 18.2px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> BoardServiceImpl <span style="color: rgb(255, 51, 153);">implements</span> BoardService {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> @Resource(name<span style="color: rgb(255, 51, 153);">=</span><span style="color: rgb(255, 213, 0);">"bbs.boardDAO"</span>)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">private</span> BoardDAO dao;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;"> <span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(75, 230, 250);">int</span> insertBoard(Board dto){}</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre; line-height: 18.2px;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: white;"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@Controller" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@Controller</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><a href="http://noritersand.tistory.com/474" target="_blank" class="tx-link" style="color: rgb(26, 13, 171);">http://noritersand.tistory.com/474</a></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@RequestMapping" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@RequestMapping</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><a href="http://noritersand.tistory.com/475" target="_blank" class="tx-link" style="color: rgb(26, 13, 171);">http://noritersand.tistory.com/475</a></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@RequestParam" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@RequestParam</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><a href="http://noritersand.tistory.com/357" target="_blank" class="tx-link" style="color: rgb(26, 13, 171);">http://noritersand.tistory.com/357</a></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@SessionAttributes" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@SessionAttributes</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">SessionAttribute annotation은 세션상에서 model의 정보를 유지하고 싶을 경우 사용한다.</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; line-height: 19.6px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">@Controller</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">@SessionAttributes(<span style="color: rgb(255, 213, 0);">"blog"</span>)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> BlogController {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> <span style="color: rgb(153, 153, 153);">// 중간생략</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> @RequestMapping(<span style="color: rgb(255, 213, 0);">"/createBlog"</span>)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> <span style="color: rgb(255, 51, 153);">public</span> ModelMap createBlogHandler() {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> blog <span style="color: rgb(255, 51, 153);">=</span> <span style="color: rgb(255, 51, 153);">new</span> Blog();</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> blog.setRegDate(<span style="color: rgb(255, 51, 153);">new</span> Date());</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> <span style="color: rgb(255, 51, 153);">return</span> <span style="color: rgb(255, 51, 153);">new</span> ModelMap(blog);</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> }</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> <span style="color: rgb(153, 153, 153);">// 중간생략</span></div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(26, 13, 171);"><span style="font-size: 9px; word-break: normal; color: white; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@InitBinder" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@InitBinder</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">WebDataBinder를 초기화하는 method를 지정 할 수 있는 설정을 제공한다. </p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><span style="line-height: 1.5;">일반적으로 WebDataBinder는 annotation handler 메서드의 command 와 form 객체 인자를 조작하는데 사용된다. </span></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><span style="line-height: 1.5;">InitBinder 메서드가 필수적으로 반환값을 가질 필요는 없으며, 일반적으로 이런 경우에 void를 선언한다. 특별한 인자는 WebdataBinder와 WebRequest또는 Locale의 조합으로 이루어지며, 이러한 조건이 만족되면 context-specific editors를 등록하는것이 허용된다.</span></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">WebdataBinder: WebDataBinder는 web request parameter를 javaBean 객체에 바인딩하는 특정한 DataBinder이다. WebDataBinder는 웹 환경이 필요하지만, Servlet API에 의존적이지 않다. servlet API에 의존적인 ServletRequestDataBinder와 같이 특정한 DaraBinder를 위한 더많은 base class를 제공한다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><span style="line-height: 1.5;">RequestMapping: RequestMapping annotation은 web request를 특정한 handler class와 handler method에 mapping하는 역활을 수행한다. 대응하는 handlerMapping(for type level annotation)과 HandlerAdapter(for method level annotation)가 dispatch에 존재한다면, @RequestMapping이 처리된다.</span></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><span style="line-height: 1.5;">WebRequest: WebRequest는 웹 요청에 대한 Generic interface이다. 주로 일반 request metadata에 generic web request interceptors의 접근을 허용하여 metadata에 대한 처리를 하기 위한 것이지 request 자체를 처리하기 위한 것은 아니다.</span></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><span style="line-height: 1.5;">Annotation 기반 Controller 에서 ServletContext 구하기:</span></p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; line-height: 19.6px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">@Controller</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">@RequestMapping(<span style="color: rgb(255, 213, 0);">"/common/download"</span>)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> DownloadController {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> @Autowired</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> <span style="color: rgb(255, 51, 153);">private</span> ServletContext sc;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> @RequestMapping</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> <span style="color: rgb(255, 51, 153);">public</span> ModelAndView download(@RequestParam(<span style="color: rgb(255, 213, 0);">"filePath"</span>) <span style="color: rgb(75, 230, 250);">String</span> filePath) <span style="color: rgb(255, 51, 153);">throws</span> Exception {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> <span style="color: rgb(75, 230, 250);">String</span> path <span style="color: rgb(255, 51, 153);">=</span> sc.getRealPath(filePath);</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> <span style="color: rgb(255, 51, 153);">return</span> <span style="color: rgb(255, 51, 153);">new</span> ModelAndView(<span style="color: rgb(255, 213, 0);">"common.download"</span>, <span style="color: rgb(255, 213, 0);">"downloadFile"</span>, <span style="color: rgb(255, 51, 153);">new</span> File(path));</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> }</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(26, 13, 171);"><span style="font-size: 9px; word-break: normal; color: white; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@ModelAttribute" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@ModelAttribute</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><a href="http://noritersand.tistory.com/365" target="_blank" class="tx-link" style="color: rgb(26, 13, 171);">http://noritersand.tistory.com/365</a></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@RequestBody" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@RequestBody</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">@RequestBody 어노테이션이 적용된 파라미터는 HTTP Request body의 내용이 전달된다.</p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">참고: <a href="http://java.ihoney.pe.kr/283" target="_blank" class="tx-link" style="color: rgb(26, 13, 171); line-height: 1.5;">http://java.ihoney.pe.kr/283</a></p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; line-height: 19.6px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">@RequestMapping(value<span style="color: rgb(255, 51, 153);">=</span><span style="color: rgb(255, 213, 0);">"/test"</span>)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">void</span> penaltyInfoDtlUpdate(@RequestBody <span style="color: rgb(75, 230, 250);">String</span> body,</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> HttpServletRequest req, HttpServletResponse res,</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> Model model, HttpSession session) <span style="color: rgb(255, 51, 153);">throws</span> Exception {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> <span style="color: rgb(75, 230, 250);">System</span>.<span style="color: rgb(75, 230, 250);">out</span>.<span style="color: rgb(75, 230, 250);">println</span>(body); </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(26, 13, 171);"><span style="font-size: 9px; word-break: normal; color: white; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@ResponseBody" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@ResponseBody</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><span style="line-height: 1.5;">참고: </span><span style="line-height: 1.5;"><a href="http://ismydream.tistory.com/140" target="_blank" class="tx-link" style="color: rgb(26, 13, 171);">http://ismydream.tistory.com/140</a></span></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><span style="line-height: 1.5;">클라이언트에 JSON 형식의 값을 응답할 때 유용하다. 메서드에 @ResponseBody를 적용한 후 문자열을 리턴하면 그 값은 HTTP response header가 아니라 HTTP response body에 쓰여진다. </span><span style="line-height: 19.5px;">객체를 넘길경우 스프링에 내장된 JACKSON에 의해 문자열로 변환될 것이다.</span></p><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><span style="line-height: 19.5px;">또한 @ResponseBody가 적용된 컨트롤러는 context에 설정된 resolver를 무시한다.</span></p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; line-height: 19.6px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">@RequestMapping(<span style="color: rgb(255, 213, 0);">"/getVocTypeList"</span>)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">@ResponseBody</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"><span style="color: rgb(255, 51, 153);">public</span> ArrayList<span style="color: rgb(255, 51, 153);"><</span>Object<span style="color: rgb(255, 51, 153);">></span> getVocTypeList() <span style="color: rgb(255, 51, 153);">throws</span> Exception {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> HashMap<span style="color: rgb(255, 51, 153);"><</span><span style="color: rgb(75, 230, 250);">String</span>, Object<span style="color: rgb(255, 51, 153);">></span> vocData <span style="color: rgb(255, 51, 153);">=</span> gvocInf.searchVocTypeList();</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> <span style="color: rgb(255, 51, 153);">return</span> (ArrayList<span style="color: rgb(255, 51, 153);"><</span>Object<span style="color: rgb(255, 51, 153);">></span>) vocData.get(<span style="color: rgb(255, 213, 0);">"data"</span>);</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(26, 13, 171);"><span style="font-size: 9px; word-break: normal; color: white; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><br></p><h2 id="@PathVariable" style="margin: 24px auto 20px; padding: 0px; outline: none; font-size: 26px; line-height: 30px;">@PathVariable</h2><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;">URL의 일부를 파라미터 혹은 변수로 사용한다.</p><div class="colorscripter-code" style="margin: 7px 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;"><table class="colorscripter-code-table" cellspacing="0" cellpadding="0" style="width: 820px; padding: 0px; margin: 0px; border: none; border-radius: 4px; line-height: 19.6px; background-color: rgb(39, 39, 39);"><tbody><tr><td style="margin: 0px; padding-top: 6px; padding-bottom: 6px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68);"><div style="margin: 0px; padding: 0px; outline: none; color: rgb(240, 240, 240); font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;"><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"><span style="color: rgb(255, 51, 153);">package</span> com.sp.ex;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">@Controller(<span style="color: rgb(255, 213, 0);">"ex.exController"</span>)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"><span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(255, 51, 153);">class</span> ExController{</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> @RequestMapping(value<span style="color: rgb(255, 51, 153);">=</span><span style="color: rgb(255, 213, 0);">"/blog/{userId}/main.action"</span>, method<span style="color: rgb(255, 51, 153);">=</span>RequestMethod.GET)</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> <span style="color: rgb(255, 51, 153);">public</span> <span style="color: rgb(75, 230, 250);">String</span> main(HttpServletRequest req</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> , @PathVariable <span style="color: rgb(75, 230, 250);">String</span> userId) <span style="color: rgb(255, 51, 153);">throws</span> Exception {</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> </div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> req.setAttribute(<span style="color: rgb(255, 213, 0);">"userId"</span>, userId);</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> <span style="color: rgb(255, 51, 153);">return</span> <span style="color: rgb(255, 213, 0);">"restful/result"</span>;</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;"> }</div><div style="margin: 0px; padding: 0px 6px; outline: none; white-space: pre;">}</div></div><div style="margin: -13px 5px 0px 0px; padding: 0px; outline: none; text-align: right; font-size: 9px; font-style: italic;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(79, 79, 79);">Colored by Color Scripter</a></div></td><td style="margin: 0px; padding-right: 2px; padding-bottom: 4px; outline: none; line-height: 1.5; font-family: "Noto Sans", sans-serif; color: rgb(68, 68, 68); vertical-align: bottom;"><a href="http://colorscripter.com/info#e" target="_blank" style="color: rgb(26, 13, 171);"><span style="font-size: 9px; word-break: normal; color: white; border-radius: 10px; padding: 1px; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p style="margin: 16px auto; padding: 0px; outline: none; font-size: 16px; line-height: 28px;"><span style="font-weight: 700;">[펌] -> </span><a href="http://noritersand.tistory.com/156" target="_blank" style="background-color: rgb(255, 255, 255);">http://noritersand.tistory.com/156</a><br></p></div>
Ehcache 적용 방법
http://www.webprogramer.kr/blog/P000000287/post.do
<p><img style="width: 239.56px; height: 67px; line-height: 1;" src="http://www.webprogramer.kr/upload/blog/editor/1471592066380554531.png" data-filename="1471592066380554531.png"></p><p><span style="font-weight: bold;">Ehcache</span></p><p>- 오픈소스 기반의 빠른 캐시엔진</p><p>- Jsr107 Jcache 표준지원</p><p>- 경량의 간단한 Local Cache</p><p>- 다양한 확장지원</p><p>- 분산캐시 지원</p><p>-><span style="font-weight: bold;"> <a style="color: rgb(107, 173, 222);" href="http://www.ehcache.org/" target="_blank">http://www.ehcache.org/</a></span></p><p><br></p><p><span style="font-weight: bold;">캐시(Cache)란?</span></p><p><span style="font-weight: bold;">- 데이터 접근을 빠르게 할 수 있도록 미래의 요청에 대비해 데이터를 저장해</span></p><p><span style="font-weight: bold;"> 두는 임시 장소를 말한다.</span></p><p><br></p><p>예를 들어 현재 블로그 이용자가 서핑을 하면 페이지 이동이 일어 나고 데이터를 새로 </p><p>불러 옵니다. <span style="line-height: 1;">블로그 오른쪽 하단에 </span><span style="color: rgb(156, 0, 255); line-height: 1; font-weight: bold;">글 보관함 </span><span style="line-height: 1;">같은 경우 페이지 이동이 일어날 때마다</span></p><p><span style="line-height: 1;">새로 불러오겠지요. 새로운 글이 등록되기 전까지는 해당 년월에 해당하는 게시물 수는 </span></p><p><span style="line-height: 1;">변하지 않습니다.</span></p><p><span style="line-height: 1;"><br></span></p><p><span style="color: rgb(99, 99, 99); line-height: 1; font-size: 12px;">* 현재 글 보관함</span></p><p><img class="img-thumbnail" style="width: 300.2px; height: 499px;" src="http://www.webprogramer.kr/upload/blog/editor/1471594711233959058.png" data-filename="1471594711233959058.png"><span style="line-height: 1;"><br></span></p><p><span style="line-height: 1;"><br></span></p><p>접속자 수가 더 많아지고(<span style="color: rgb(99, 99, 99); font-size: 11px;">그럴리는없겠지만..</span>) 더 많은 요청이 있을경우 부하도 더 걸리고 </p><p>메모리도 더 먹을텐데...</p><p><br></p><p>캐시를 사용해서 변동이 많이 없는 데이터에 대해서는 미리 준비해놓으면 속도 및 부하 </p><p>면에서 얼마나 좋을까.</p><p><br></p><p>현재 <span style="color: rgb(156, 0, 255); font-weight: bold;">글 보관함 </span>이 어떻게 되어 있는지 살펴보도록 하겠습니다.</p><p><br></p><p><span style="font-weight: bold;">1. 개발환경</span></p><p> - Spring Framework 4.0.9</p><p> - Ibatis 2.3.4</p><p> - MariaDB 5.5.40</p><p> - Java 1.7</p><p> - Ehcache 2.10.1</p><p><br></p><p><span style="font-weight: bold;">2. Maven</span></p><p> - Ehcache 관련 라이브러리 추가<span style="font-weight: bold;"><br></span></p><pre class="prettyprint linenums"><code class="language-markup"><!-- https://mvnrepository.com/artifact/net.sf.ehcache/ehcache -->
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>2.10.1</version>
</dependency></code></pre><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">3. Ehcache 환경 설정</span></p><p> - 설정은 Xml 설정 방법도 있지만 Java 설정 방법으로 하였음.</p><p> - EhCache.java</p><pre class="prettyprint linenums prettyprinted" style="line-height: 1.4285;"><ol class="linenums"><li class="L0"><code class="language-java"><span class="kwd">package</span><span class="pln"> egovframework</span><span class="pun">.</span><span class="pln">blog</span><span class="pun">.</span><span class="pln">ehcache</span><span class="pun">;</span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="kwd">import</span><span class="pln"> org</span><span class="pun">.</span><span class="pln">springframework</span><span class="pun">.</span><span class="pln">cache</span><span class="pun">.</span><span class="typ">CacheManager</span><span class="pun">;</span></code></li><li class="L3"><code class="language-java"><span class="kwd">import</span><span class="pln"> org</span><span class="pun">.</span><span class="pln">springframework</span><span class="pun">.</span><span class="pln">cache</span><span class="pun">.</span><span class="pln">annotation</span><span class="pun">.</span><span class="typ">EnableCaching</span><span class="pun">;</span></code></li><li class="L4"><code class="language-java"><span class="kwd">import</span><span class="pln"> org</span><span class="pun">.</span><span class="pln">springframework</span><span class="pun">.</span><span class="pln">cache</span><span class="pun">.</span><span class="pln">ehcache</span><span class="pun">.</span><span class="typ">EhCacheCacheManager</span><span class="pun">;</span></code></li><li class="L5"><code class="language-java"><span class="kwd">import</span><span class="pln"> org</span><span class="pun">.</span><span class="pln">springframework</span><span class="pun">.</span><span class="pln">cache</span><span class="pun">.</span><span class="pln">ehcache</span><span class="pun">.</span><span class="typ">EhCacheManagerFactoryBean</span><span class="pun">;</span></code></li><li class="L6"><code class="language-java"><span class="kwd">import</span><span class="pln"> org</span><span class="pun">.</span><span class="pln">springframework</span><span class="pun">.</span><span class="pln">context</span><span class="pun">.</span><span class="pln">annotation</span><span class="pun">.</span><span class="typ">Bean</span><span class="pun">;</span></code></li><li class="L7"><code class="language-java"><span class="kwd">import</span><span class="pln"> org</span><span class="pun">.</span><span class="pln">springframework</span><span class="pun">.</span><span class="pln">context</span><span class="pun">.</span><span class="pln">annotation</span><span class="pun">.</span><span class="typ">ComponentScan</span><span class="pun">;</span></code></li><li class="L8"><code class="language-java"><span class="kwd">import</span><span class="pln"> org</span><span class="pun">.</span><span class="pln">springframework</span><span class="pun">.</span><span class="pln">context</span><span class="pun">.</span><span class="pln">annotation</span><span class="pun">.</span><span class="typ">Configuration</span><span class="pun">;</span></code></li><li class="L9"><code class="language-java"><span class="kwd">import</span><span class="pln"> org</span><span class="pun">.</span><span class="pln">springframework</span><span class="pun">.</span><span class="pln">core</span><span class="pun">.</span><span class="pln">io</span><span class="pun">.</span><span class="typ">ClassPathResource</span><span class="pun">;</span></code></li><li class="L0"><code class="language-java"></code></li><li class="L1"><code class="language-java"><span class="lit">@EnableCaching</span></code></li><li class="L2"><code class="language-java"><span class="lit">@Configuration</span></code></li><li class="L3"><code class="language-java"><span class="lit">@ComponentScan</span><span class="pun">(</span><span class="pln">basePackages </span><span class="pun">=</span><span class="pln"> </span><span class="str">"egovframework.blog"</span><span class="pun">)</span></code></li><li class="L4"><code class="language-java"><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">EhCache</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="lit">@Bean</span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="typ">CacheManager</span><span class="pln"> cacheManager</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="com">//A EhCache based Cache manager</span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="kwd">return</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">EhCacheCacheManager</span><span class="pun">(</span><span class="pln">ehCacheCacheManager</span><span class="pun">().</span><span class="pln">getObject</span><span class="pun">());</span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="lit">@Bean</span></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="typ">EhCacheManagerFactoryBean</span><span class="pln"> ehCacheCacheManager</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="typ">EhCacheManagerFactoryBean</span><span class="pln"> factory </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">EhCacheManagerFactoryBean</span><span class="pun">();</span></code></li><li class="L5"><code class="language-java"><span class="pln"> factory</span><span class="pun">.</span><span class="pln">setConfigLocation</span><span class="pun">(</span><span class="kwd">new</span><span class="pln"> </span><span class="typ">ClassPathResource</span><span class="pun">(</span><span class="str">"./egovframework/ehcache/ehcache.xml"</span><span class="pun">));</span></code></li><li class="L6"><code class="language-java"><span class="pln"> factory</span><span class="pun">.</span><span class="pln">setShared</span><span class="pun">(</span><span class="kwd">true</span><span class="pun">);</span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">return</span><span class="pln"> factory</span><span class="pun">;</span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="pun">}</span></code></li><li class="L9"><code class="language-java"><span class="pun">}</span></code></li></ol></pre><div><br></div><p><span style="font-weight: bold;">4. 캐시 대상 설정</span></p><p> - 이름, 저장공간, 유지시간, 제거 알고리즘 등</p><p> - 테스트 이기때문에 절대값은 아닙니다. 자세한 내용은 레퍼런스나 구글 검색.</p><p> - ehcache.xml</p><p>글 보관함 캐시 부분 -> name="archiveCache"<br></p><pre class="prettyprint linenums"><code class="language-java"><?xml version="1.0" encoding="UTF-8"?>
<ehcache
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd"
updateCheck="false"
monitoring="autodetect"
dynamicConfig="true"
>
<diskStore path="java.io.tmpdir"/>
<cache name="archiveCache"
maxEntriesLocalHeap="1000"
timeToIdleSeconds="300"
timeToLiveSeconds="600"
overflowToDisk="false"
memoryStoreEvictionPolicy="LRU"
transactionalMode="off">
</cache>
<cache name="counterCache"
maxEntriesLocalHeap="500"
eternal="false"
timeToIdleSeconds="300"
timeToLiveSeconds="600"
overflowToDisk="false"
memoryStoreEvictionPolicy="LRU"
transactionalMode="off">
</cache>
<!--
<cache name="recentPostCache"
maxEntriesLocalHeap="2000"
timeToIdleSeconds="300"
timeToLiveSeconds="600"
overflowToDisk="false"
memoryStoreEvictionPolicy="LRU"
transactionalMode="off">
</cache>
<cache name="recentCommentCache"
maxEntriesLocalHeap="2000"
timeToIdleSeconds="300"
timeToLiveSeconds="600"
overflowToDisk="false"
memoryStoreEvictionPolicy="LRU"
transactionalMode="off">
</cache>
-->
</ehcache></code></pre><p><br></p><p><span style="font-weight: bold;">5. @Annotation 코드 명시</span></p><p> - 캐시 명시</p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-java"><span class="com">/**</span></code></li><li class="L1"><code class="language-java"><span class="com"> * @desc : arc 메인 목록</span></code></li><li class="L2"><code class="language-java"><span class="com"> * @param vo</span></code></li><li class="L3"><code class="language-java"><span class="com"> * @return</span></code></li><li class="L4"><code class="language-java"><span class="com"> * @throws Exception</span></code></li><li class="L5"><code class="language-java"><span class="com"> */</span></code></li><li class="L6"><code class="language-java"><span class="lit">@SuppressWarnings</span><span class="pun">(</span><span class="str">"unchecked"</span><span class="pun">)</span></code></li><li class="L7"><code class="language-java"><span class="lit">@Cacheable</span><span class="pun">(</span><span class="pln">value </span><span class="pun">=</span><span class="pln"> </span><span class="str">"archiveCache"</span><span class="pun">)</span></code></li><li class="L8"><code class="language-java"><span class="kwd">public</span><span class="pln"> </span><span class="typ">List</span><map<string, string=""><span class="pun">></span><span class="pln"> arcMainList</span><span class="pun">(</span><span class="typ">Map</span><string, string=""><span class="pln"> param</span><span class="pun">)</span><span class="pln"> </span><span class="kwd">throws</span><span class="pln"> </span><span class="typ">Exception</span><span class="pln"> </span><span class="pun">{</span></string,></map<string,></code></li><li class="L9"><code class="language-java"><map<string, string=""><string, string=""><span class="pln"> </span><span class="kwd">return</span><span class="pln"> </span><span class="pun">(</span><span class="typ">List</span><map<string, string=""><span class="pun">>)</span><span class="pln"> list</span><span class="pun">(</span><span class="str">"archiveDAO.arcMainList"</span><span class="pun">,</span><span class="pln"> param</span><span class="pun">);</span></map<string,></string,></map<string,></code></li><li class="L0"><code class="language-java"><map<string, string=""><string, string=""><map<string, string=""><span class="pun">}</span></map<string,></string,></map<string,></code></li></ol></pre><p> - 캐시 해제 및 새로운 데이터 생성</p><p>등록, 수정, 삭제가 일어날경우 발생되게 설정해놓았다.</p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-java"><span class="com">/**</span></code></li><li class="L1"><code class="language-java"><span class="com"> * @desc : arc등록</span></code></li><li class="L2"><code class="language-java"><span class="com"> * @param vo</span></code></li><li class="L3"><code class="language-java"><span class="com"> * @throws Exception</span></code></li><li class="L4"><code class="language-java"><span class="com"> */</span></code></li><li class="L5"><code class="language-java"><span class="lit">@CacheEvict</span><span class="pun">(</span><span class="pln">value </span><span class="pun">=</span><span class="pln"> </span><span class="str">"archiveCache"</span><span class="pun">,</span><span class="pln"> allEntries</span><span class="pun">=</span><span class="kwd">true</span><span class="pun">)</span></code></li><li class="L6"><code class="language-java"><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> arcInsert</span><span class="pun">(</span><span class="typ">ArchiveVO</span><span class="pln"> vo</span><span class="pun">)</span><span class="pln"> </span><span class="kwd">throws</span><span class="pln"> </span><span class="typ">Exception</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L7"><code class="language-java"><span class="pln"> insert</span><span class="pun">(</span><span class="str">"archiveDAO.arcInsert"</span><span class="pun">,</span><span class="pln"> vo</span><span class="pun">);</span></code></li><li class="L8"><code class="language-java"><span class="pun">}</span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="com">/**</span></code></li><li class="L1"><code class="language-java"><span class="com"> * @desc : arc수정</span></code></li><li class="L2"><code class="language-java"><span class="com"> * @param vo</span></code></li><li class="L3"><code class="language-java"><span class="com"> * @throws Exception</span></code></li><li class="L4"><code class="language-java"><span class="com"> */</span></code></li><li class="L5"><code class="language-java"><span class="lit">@CacheEvict</span><span class="pun">(</span><span class="pln">value </span><span class="pun">=</span><span class="pln"> </span><span class="str">"archiveCache"</span><span class="pun">,</span><span class="pln"> allEntries</span><span class="pun">=</span><span class="kwd">true</span><span class="pun">)</span></code></li><li class="L6"><code class="language-java"><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> arcUpdate</span><span class="pun">(</span><span class="typ">ArchiveVO</span><span class="pln"> vo</span><span class="pun">)</span><span class="pln"> </span><span class="kwd">throws</span><span class="pln"> </span><span class="typ">Exception</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L7"><code class="language-java"><span class="pln"> update</span><span class="pun">(</span><span class="str">"archiveDAO.arcUpdate"</span><span class="pun">,</span><span class="pln"> vo</span><span class="pun">);</span></code></li><li class="L8"><code class="language-java"><span class="pun">}</span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="com">/**</span></code></li><li class="L1"><code class="language-java"><span class="com"> * @desc : arc삭제</span></code></li><li class="L2"><code class="language-java"><span class="com"> * @param vo</span></code></li><li class="L3"><code class="language-java"><span class="com"> * @throws Exception</span></code></li><li class="L4"><code class="language-java"><span class="com"> */</span></code></li><li class="L5"><code class="language-java"><span class="lit">@CacheEvict</span><span class="pun">(</span><span class="pln">value </span><span class="pun">=</span><span class="pln"> </span><span class="str">"archiveCache"</span><span class="pun">,</span><span class="pln"> allEntries</span><span class="pun">=</span><span class="kwd">true</span><span class="pun">)</span></code></li><li class="L6"><code class="language-java"><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> arcDelete</span><span class="pun">(</span><span class="typ">ArchiveVO</span><span class="pln"> vo</span><span class="pun">)</span><span class="pln"> </span><span class="kwd">throws</span><span class="pln"> </span><span class="typ">Exception</span><span class="pln"> </span><span class="pun">{</span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">delete</span><span class="pun">(</span><span class="str">"archiveDAO.arcDelete"</span><span class="pun">,</span><span class="pln"> vo</span><span class="pun">);</span></code></li><li class="L8"><code class="language-java"><span class="pun">}</span></code></li></ol></pre><p><br></p><p><span style="font-weight: bold;">6. 테스트</span></p><p> - 캐시가 정말로 동작하는지 테스트 해보겠습니다.</p><p>로그를 보면 URL 이 호출되고 SQL이 실행된 다음 글 보관함 목록을 가져옵니다. </p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">770</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">com</span><span class="pun">.</span><span class="pln">cmm</span><span class="pun">.</span><span class="pln">interceptor</span><span class="pun">.</span><span class="typ">LogInterceptor</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> </span><span class="typ">Request</span><span class="pln"> URI </span><span class="pun">:</span><span class="pln"> </span><span class="str">/blog/</span><span class="pln">arcMainList</span><span class="pun">.</span><span class="kwd">do</span></code></li><li class="L1"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">833</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">com</span><span class="pun">.</span><span class="pln">cmm</span><span class="pun">.</span><span class="pln">service</span><span class="pun">.</span><span class="pln">impl</span><span class="pun">.</span><span class="typ">EgovComAbstractDAO</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> </span></code></li><li class="L2"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">835</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">9</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">sqlonly </span><span class="pun">-</span><span class="pln"> </span><span class="pun">[</span><span class="pln"> </span><span class="pun">===</span><span class="pln"> SQL </span><span class="pun">===</span><span class="pln"> </span><span class="pun">]</span><span class="pln"> </span><span class="pun">:</span><span class="pln"> </span><span class="kwd">select</span><span class="pln"> </span><span class="lit">1</span></code></li><li class="L3"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">841</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">sqlonly </span><span class="pun">-</span><span class="pln"> </span><span class="pun">[</span><span class="pln"> </span><span class="pun">===</span><span class="pln"> SQL </span><span class="pun">===</span><span class="pln"> </span><span class="pun">]</span><span class="pln"> </span><span class="pun">:</span><span class="pln"> </span></code></li><li class="L4"><code class="language-markup"><span class="pln"> </span><span class="kwd">select</span><span class="pln"> </span></code></li><li class="L5"><code class="language-markup"><span class="pln"> a</span><span class="pun">.</span><span class="pln">arc_id</span><span class="pun">,</span></code></li><li class="L6"><code class="language-markup"><span class="pln"> date_format</span><span class="pun">(</span><span class="pln">str_to_date</span><span class="pun">(</span><span class="pln">a</span><span class="pun">.</span><span class="pln">arc_id</span><span class="pun">,</span><span class="pln"> </span><span class="str">'%Y%m'</span><span class="pun">),</span><span class="pln"> </span><span class="str">'%Y년 %m월'</span><span class="pun">)</span><span class="kwd">as</span><span class="pln"> arc_id_format</span><span class="pun">,</span></code></li><li class="L7"><code class="language-markup"><span class="pln"> a</span><span class="pun">.</span><span class="pln">cnt</span></code></li><li class="L8"><code class="language-markup"><span class="pln"> </span><span class="kwd">from</span><span class="pln"> </span></code></li><li class="L9"><code class="language-markup"><span class="pln"> </span><span class="pun">(</span></code></li><li class="L0"><code class="language-markup"><span class="pln"> </span><span class="kwd">select</span><span class="pln"> arc_id</span><span class="pun">,</span><span class="pln"> count</span><span class="pun">(</span><span class="lit">1</span><span class="pun">)</span><span class="pln"> </span><span class="kwd">as</span><span class="pln"> cnt</span></code></li><li class="L1"><code class="language-markup"><span class="pln"> </span><span class="kwd">from</span><span class="pln"> BLOG_ARC</span></code></li><li class="L2"><code class="language-markup"><span class="pln"> </span><span class="kwd">group</span><span class="pln"> </span><span class="kwd">by</span><span class="pln"> arc_id</span></code></li><li class="L3"><code class="language-markup"><span class="pln"> order </span><span class="kwd">by</span><span class="pln"> arc_id desc</span></code></li><li class="L4"><code class="language-markup"><span class="pln"> </span></code></li><li class="L5"><code class="language-markup"><span class="pln"> limit </span><span class="lit">0</span><span class="pun">,</span><span class="pln"> </span><span class="lit">10</span></code></li><li class="L6"><code class="language-markup"><span class="pln"> </span></code></li><li class="L7"><code class="language-markup"><span class="pln"> </span><span class="pun">)</span><span class="pln"> a </span></code></li><li class="L8"><code class="language-markup"></code></li><li class="L9"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">849</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|-------|--------------|----|</span></code></li><li class="L0"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">849</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|</span><span class="pln">arc_id </span><span class="pun">|</span><span class="pln">arc_id_format </span><span class="pun">|</span><span class="pln">cnt </span><span class="pun">|</span></code></li><li class="L1"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">849</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|-------|--------------|----|</span></code></li><li class="L2"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">849</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|</span><span class="lit">201608</span><span class="pln"> </span><span class="pun">|</span><span class="lit">2016</span><span class="pun">년</span><span class="pln"> </span><span class="lit">08</span><span class="pun">월</span><span class="pln"> </span><span class="pun">|</span><span class="lit">8</span><span class="pln"> </span><span class="pun">|</span></code></li><li class="L3"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">849</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|</span><span class="lit">201607</span><span class="pln"> </span><span class="pun">|</span><span class="lit">2016</span><span class="pun">년</span><span class="pln"> </span><span class="lit">07</span><span class="pun">월</span><span class="pln"> </span><span class="pun">|</span><span class="lit">4</span><span class="pln"> </span><span class="pun">|</span></code></li><li class="L4"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">849</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|</span><span class="lit">201606</span><span class="pln"> </span><span class="pun">|</span><span class="lit">2016</span><span class="pun">년</span><span class="pln"> </span><span class="lit">06</span><span class="pun">월</span><span class="pln"> </span><span class="pun">|</span><span class="lit">4</span><span class="pln"> </span><span class="pun">|</span></code></li><li class="L5"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">849</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|</span><span class="lit">201605</span><span class="pln"> </span><span class="pun">|</span><span class="lit">2016</span><span class="pun">년</span><span class="pln"> </span><span class="lit">05</span><span class="pun">월</span><span class="pln"> </span><span class="pun">|</span><span class="lit">7</span><span class="pln"> </span><span class="pun">|</span></code></li><li class="L6"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">849</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|</span><span class="lit">201604</span><span class="pln"> </span><span class="pun">|</span><span class="lit">2016</span><span class="pun">년</span><span class="pln"> </span><span class="lit">04</span><span class="pun">월</span><span class="pln"> </span><span class="pun">|</span><span class="lit">4</span><span class="pln"> </span><span class="pun">|</span></code></li><li class="L7"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">849</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|</span><span class="lit">201603</span><span class="pln"> </span><span class="pun">|</span><span class="lit">2016</span><span class="pun">년</span><span class="pln"> </span><span class="lit">03</span><span class="pun">월</span><span class="pln"> </span><span class="pun">|</span><span class="lit">2</span><span class="pln"> </span><span class="pun">|</span></code></li><li class="L8"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">850</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|</span><span class="lit">201602</span><span class="pln"> </span><span class="pun">|</span><span class="lit">2016</span><span class="pun">년</span><span class="pln"> </span><span class="lit">02</span><span class="pun">월</span><span class="pln"> </span><span class="pun">|</span><span class="lit">5</span><span class="pln"> </span><span class="pun">|</span></code></li><li class="L9"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">850</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|</span><span class="lit">201601</span><span class="pln"> </span><span class="pun">|</span><span class="lit">2016</span><span class="pun">년</span><span class="pln"> </span><span class="lit">01</span><span class="pun">월</span><span class="pln"> </span><span class="pun">|</span><span class="lit">3</span><span class="pln"> </span><span class="pun">|</span></code></li><li class="L0"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">850</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|</span><span class="lit">201512</span><span class="pln"> </span><span class="pun">|</span><span class="lit">2015</span><span class="pun">년</span><span class="pln"> </span><span class="lit">12</span><span class="pun">월</span><span class="pln"> </span><span class="pun">|</span><span class="lit">2</span><span class="pln"> </span><span class="pun">|</span></code></li><li class="L1"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">850</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|</span><span class="lit">201511</span><span class="pln"> </span><span class="pun">|</span><span class="lit">2015</span><span class="pun">년</span><span class="pln"> </span><span class="lit">11</span><span class="pun">월</span><span class="pln"> </span><span class="pun">|</span><span class="lit">11</span><span class="pln"> </span><span class="pun">|</span></code></li><li class="L2"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">38</span><span class="pun">:</span><span class="lit">27</span><span class="pun">,</span><span class="lit">850</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">7</span><span class="pun">]</span><span class="pln"> INFO jdbc</span><span class="pun">.</span><span class="pln">resultsettable </span><span class="pun">-</span><span class="pln"> </span><span class="pun">|-------|--------------|----|</span></code></li></ol></pre><p><br></p><p> - 다시 호출햇을경우</p><p>URL은 호출되지만 SQL은 실행하지 않습니다. 하지만 글 보관함 목록은 잘 가져왔습니다.</p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-markup"><span class="lit">016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">45</span><span class="pun">:</span><span class="lit">07</span><span class="pun">,</span><span class="lit">743</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">5</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">com</span><span class="pun">.</span><span class="pln">cmm</span><span class="pun">.</span><span class="pln">interceptor</span><span class="pun">.</span><span class="typ">LogInterceptor</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> </span><span class="pun">======================================</span><span class="pln"> START </span><span class="pun">======================================</span></code></li><li class="L1"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">45</span><span class="pun">:</span><span class="lit">07</span><span class="pun">,</span><span class="lit">743</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">5</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">com</span><span class="pun">.</span><span class="pln">cmm</span><span class="pun">.</span><span class="pln">interceptor</span><span class="pun">.</span><span class="typ">LogInterceptor</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> </span><span class="typ">Request</span><span class="pln"> URI </span><span class="pun">:</span><span class="pln"> </span><span class="str">/blog/</span><span class="pln">arcMainList</span><span class="pun">.</span><span class="kwd">do</span></code></li><li class="L2"><code class="language-markup"><span class="lit">2016</span><span class="pun">/</span><span class="lit">08</span><span class="pun">/</span><span class="lit">19</span><span class="pln"> </span><span class="lit">17</span><span class="pun">:</span><span class="lit">45</span><span class="pun">:</span><span class="lit">07</span><span class="pun">,</span><span class="lit">744</span><span class="pln"> </span><span class="pun">[</span><span class="pln">http</span><span class="pun">-</span><span class="pln">bio</span><span class="pun">-</span><span class="lit">8080</span><span class="pun">-</span><span class="kwd">exec</span><span class="pun">-</span><span class="lit">5</span><span class="pun">]</span><span class="pln"> DEBUG egovframework</span><span class="pun">.</span><span class="pln">com</span><span class="pun">.</span><span class="pln">cmm</span><span class="pun">.</span><span class="pln">interceptor</span><span class="pun">.</span><span class="typ">LogInterceptor</span><span class="pln"> </span><span class="pun">-</span><span class="pln"> </span><span class="pun">======================================</span><span class="pln"> </span><span class="kwd">END</span><span class="pln"> </span><span class="pun">======================================</span></code></li></ol></pre><p><br></p><p><span style="line-height: 1; font-weight: bold;">EhCache를 필요한곳에 유용하게 사용한다면 정말 좋을거 같습니다.</span><br></p><p><br></p>
용두동 칼짬뽕 추천
http://www.webprogramer.kr/blog/P000000286/post.do
<p><span style="line-height: 1;">어제 저녁 약속이 있어서 지하철을 타고 간 그곳은</span><br></p><p>바로 용두동에 있는 칼짬뽕</p><p>1달에 한번은 가는...</p><p>지하철역 6번 출구로 나가서 바로</p><p><img class="img-thumbnail" style="width: 400.5px; height: 713.13px;" src="http://www.webprogramer.kr/upload/blog/editor/1471578382644943191.jpg" data-filename="1471578382644943191.jpg"></p><p><br></p><p>가게는 그리 크지 않다.</p><p>자리가 꽉차 있어 미리 주문을 해놨다.</p><p><img class="img-thumbnail" style="width: 399.91px; height: 533px;" src="http://www.webprogramer.kr/upload/blog/editor/1471578639563615230.jpg" data-filename="1471578639563615230.jpg"></p><p><br></p><p>메뉴판</p><p>밥이 공짜 좋다 ㅋㅋ</p><p><img class="img-thumbnail" style="width: 399.55px; height: 300px;" src="http://www.webprogramer.kr/upload/blog/editor/1471578695238437571.jpg" data-filename="1471578695238437571.jpg"></p><p><br></p><p>벽에 내용대로</p><p>조리시간이 좀 걸리는 편이었다.</p><p><img class="img-thumbnail" style="width: 402.66px; height: 302px;" src="http://www.webprogramer.kr/upload/blog/editor/1471579436905742040.jpg" data-filename="1471579436905742040.jpg"><br></p><p><br></p><p>조개가 엄청 많다.</p><p>조금 매콤하니 국물맛이 아주 좋다.</p><p>어떻게 국물맛을 내는지?? </p><p>밥까지 말아먹었다.</p><p></p><p><img class="img-thumbnail" style="width: 400.44px; height: 300px;" src="http://www.webprogramer.kr/upload/blog/editor/1471579204603624774.jpg" data-filename="1471579204603624774.jpg"><br></p><p>다음에 또 가야 겠다.</p>
AliExpress 에서 시계줄 구매
http://www.webprogramer.kr/blog/P000000284/post.do
<p>페블타임 시계줄을 보던중 마그네틱 루프 라는 것을 보았다</p><p>애플워치 에서 사용되는 시계줄이랑 비슷하다</p><p>처음엔 아마존을 보다가 알리익스프레스를 보니 더욱 저렴한 제품들이</p><p>눈에보여 구매해 보기로 했다</p><p><br></p><p>4개월가량 사용한 시계줄</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471231822503224819.jpeg" data-filename="1471231822503224819.jpeg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471231822527129709.jpeg" data-filename="1471231822527129709.jpeg" style="width: 100%;"></p><p><br></p><p>알리앱을 실행</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471232284763336952.jpeg" data-filename="1471232284763336952.jpeg" style="width: 100%;"></p><p><br></p><p>우선 많이 팔린 순서대로 정렬 하고 너무싼것은 쫌 그래서</p><p>그다음 싼것으로 선택</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471232284834660229.jpeg" data-filename="1471232284834660229.jpeg" style="width: 100%;"></p><p><br></p><p>색상은 실버로 선택</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471232607449744123.jpeg" data-filename="1471232607449744123.jpeg" style="width: 100%;"><br></p><p><br></p><p>구매를 누르니 주소란이 비어있다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471232673898483783.jpeg" data-filename="1471232673898483783.jpeg" style="width: 100%;"></p><p><br></p><p>주소를 입력한다 네이버에서 </p><p>영문주소를 검색하면 쉽게 적을수 있다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471232284836720103.jpeg" data-filename="1471232284836720103.jpeg" style="width: 100%;"></p><p><br></p><p>결제를 누르고 카드정보를 입력한다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471232284816408130.jpeg" data-filename="1471232284816408130.jpeg" style="width: 100%;"></p><p><br></p><p>그러면 바로 결제가 완료 된다</p><p>카드사에서 결제 문자도 왔다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471232284853669249.jpeg" data-filename="1471232284853669249.jpeg" style="width: 100%;"></p><p><br></p><p>주문이 제대로 되었는지 확인해 보았다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471233113886992871.jpeg" data-filename="1471233113886992871.jpeg" style="width: 100%;"></p><p>무료 배송이라 쫌 걸릿듯.</p><p>품질이 어떨지 궁금 하다</p>,
금요일 저녁은 맥도날드 리우1955버거로
http://www.webprogramer.kr/blog/P000000283/post.do
<p><span style="-webkit-text-size-adjust: 100%;">금요일저녁</span><br></p><p>언제나 기분이 좋다</p><p>오늘은 와이프가 사무실 근처로 데리러 왔다 </p><p>집에가는길에 저녁을 뭘먹을까 하다가</p><p>햄버거가 먹고싶어서</p><p>맥도날드 앱을 실행시켰다</p><p>메인에 보이는 1955버거로 결정</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471006953166250980.png" data-filename="1471006953166250980.png" style="width: 100%;"></p><p><br></p><p>리우버거 라지<span style="-webkit-text-size-adjust: 100%;">세트 1개랑 단품 1개를 시킴</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471007080947604534.png" data-filename="1471007080947604534.png" style="width: 100%;"></p><p><br></p><p>배달시킬때마다 가끔보면</p><p>배달이 완료 되지 않았는데</p><p>자꾸 배달완료 처리한다 ㅡㅡ;</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471007189293583465.png" data-filename="1471007189293583465.png" style="width: 100%;"></p><p><br></p><p>개인적으로</p><p>맥도날드에서 최근에 먹어본 버거중 제일 나은거 같다</p><p>맛은 있는데 햄버거 많이 먹으면 않좋은데</p><p>유혹을 참을 수가 없다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1471007687860196135.jpeg" data-filename="1471007687860196135.jpeg" style="width: 100%;"><br></p>
홈페이지 오픈 - IT, 잡동사니
http://www.webprogramer.kr/blog/P000000282/post.do
<blockquote><pre><span style="color: rgb(8, 82, 148); font-weight: bold;"><span style="font-size: 14px;"></span><span style="font-size: 18px;"><span style="font-size: 18px;">홈페이지 오픈 - 2016-08-12</span><br></span></span><span style="font-size: 18px;"><span style="font-size: 18px;">(</span><a href="http://www.webprogramer.kr" target="_blank"><span style="font-size: 18px;">www.webprogramer.kr</span></a><span style="font-size: 18px;">)</span></span></pre></blockquote><p><span style="font-style: italic;"># 뭔가 공부하고 기록 할 수 있는 개인용 블로그를 </span><span style="line-height: 1; font-style: italic;">만들어보자라는 생각에 시작.</span></p><p><span style="line-height: 1; font-style: italic;"><br></span></p><p><span style="line-height: 1; font-weight: bold;">주요내용</span></p><ul><li>기본적인 개인용 블로그 기능 개발</li><li>기존 네이버 블로그 데이터 이관</li><li>구글 및 네이버 검색엔진에 사이트 등록</li></ul><p><br></p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">모바일</span></p><p><img class="img-thumbnail" style="width: 400.62px; height: 712px;" src="/upload/blog/editor/1470991556263540820.png" data-filename="1470991556263540820.png"><span style="font-weight: bold;"><br></span></p><p><img class="img-thumbnail" style="width: 400.06px; height: 711px;" src="/upload/blog/editor/1470991582430629402.png" data-filename="1470991582430629402.png"><span style="font-weight: bold;"><br></span></p><p><img class="img-thumbnail" style="width: 401.19px; height: 713px;" src="/upload/blog/editor/1470991626870666138.png" data-filename="1470991626870666138.png"><span style="font-weight: bold;"><br></span></p><p><img class="img-thumbnail" style="width: 400.06px; height: 711px;" src="/upload/blog/editor/1470991655458668188.png" data-filename="1470991655458668188.png"><span style="font-weight: bold;"><br></span></p><p><img class="img-thumbnail" style="width: 399.97px; height: 711px;" src="/upload/blog/editor/147099167953573845.png" data-filename="147099167953573845.png"><span style="font-weight: bold;"><br></span></p><p><img class="img-thumbnail" style="width: 399.97px; height: 711px;" src="/upload/blog/editor/147099170769876752.png" data-filename="147099170769876752.png"></p><p><br></p><p><span style="font-weight: bold;">테블릿/데스크탑</span></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470992743186821796.png" data-filename="1470992743186821796.png"><br></p><p><br></p><p><img class="img-thumbnail" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470991759157875388.png" data-filename="1470991759157875388.png"></p><p><br></p><p><strong>2016-08-12</strong><br></p><p><br></p>
리안 캠프 휴대용 유모차 구입
http://www.webprogramer.kr/blog/P000000281/post.do
<p>기존에 사용하던 퀴니는 중고나라에 팔고 </p><p>아이도 좀 크고 하니 무게나 실용성 면에서 편리한 유모차를 찾다가</p><p>발견한 리안 캠프 </p><p><br></p><p>퇴근 후 집에 오니 리안 캠프가 와있었다.</p><p>박스가 꼬질고질</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147098574603051193.jpg" data-filename="147098574603051193.jpg" style="width: 100%;"></p><p><br></p><p>개봉 시작</p><p>열고 보니 바로 바퀴가 보인다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746030464809.jpg" data-filename="1470985746030464809.jpg" style="width: 100%;"></p><p><br></p><p>꺼내 놓자 마자 아기가 관심을 보였다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746044163563.jpg" data-filename="1470985746044163563.jpg" style="width: 597.656px;"><br></p><p><br></p><p>그러더니 냉큼 올라 앉는다.</p><p>맘에들긴 하나본데.<span style="line-height: 1;"> </span><span style="line-height: 1;">ㅋㅋㅋ</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746058431243.jpg" data-filename="1470985746058431243.jpg" style="width: 100%;"></p><p><br></p><p>둥글둥글 뒷바퀴</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746084743019.jpg" data-filename="1470985746084743019.jpg" style="width: 100%;"></p><p><br></p><p>아이를 진정시키고</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746075420801.jpg" data-filename="1470985746075420801.jpg" style="width: 100%;"></p><p><br></p><p><span style="line-height: 1;">옆에서 본 모습</span><br></p><p>접힐때 저모습으로 접힌다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746089698840.jpg" data-filename="1470985746089698840.jpg" style="width: 100%;"></p><p><br></p><p>이제 본격적으로 풀어헤치기</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147098574609074491.jpg" data-filename="147098574609074491.jpg" style="width: 100%;"></p><p><br></p><p>앞바퀴, 뒷바퀴, 안전바</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147098574611711780.jpg" data-filename="147098574611711780.jpg" style="width: 100%;"></p><p><br></p><p>안전바</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746137358213.jpg" data-filename="1470985746137358213.jpg" style="width: 100%;"></p><p><br></p><p>구성품을 가지런히 </p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147098574613848978.jpg" data-filename="147098574613848978.jpg" style="width: 100%;"></p><p><br></p><p>설명서를 참고 하여 조립을 시작</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746124145509.jpg" data-filename="1470985746124145509.jpg" style="width: 597.656px;"></p><div><br></div><div>우선 유모차를 펼쳐야되서</div><div><br></div><div>옆에부분에 걸려있는것을 푼다.</div><div><br></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746148781475.jpg" data-filename="1470985746148781475.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746152764517.jpg" data-filename="1470985746152764517.jpg" style="width: 597.656px;"><br></p><p><br></p><p>그다음 뒷바퀴 부분을 발로 고정시키고 손잡이를 위로 올리면</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746188701312.jpg" data-filename="1470985746188701312.jpg" style="line-height: 1; width: 597.656px;"></p><p><br></p><p>찰칵 소리가 나면서 펴진다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746199714019.jpg" data-filename="1470985746199714019.jpg" style="width: 100%;"></p><p><br></p><p>손잡이 부분 말랑말랑 재질로 되어있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746227414182.jpg" data-filename="1470985746227414182.jpg" style="line-height: 1; width: 597.656px;"></p><p><br></p><p>좌</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746217572593.jpg" data-filename="1470985746217572593.jpg" style="width: 100%;"></p><p><br></p><p>우</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147098574621460445.jpg" data-filename="147098574621460445.jpg" style="width: 100%;"></p><p><br></p><p>앞</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746239242326.jpg" data-filename="1470985746239242326.jpg" style="width: 597.656px;"><br></p><p><br></p><p>앞바퀴 장착</p><p>딸깍 소리가 날때까지 끼운다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746238763565.jpg" data-filename="1470985746238763565.jpg" style="width: 100%;"></p><p><br></p><p>앞바퀴 다끼우고</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147098574625649949.jpg" data-filename="147098574625649949.jpg" style="line-height: 1; width: 597.656px;"></p><p><br></p><p>뒷바퀴 연결</p><p>여기도 마찬가지로 딸깍 소리 날때까지 끼운다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746250840446.jpg" data-filename="1470985746250840446.jpg" style="width: 100%;"></p><p><br></p><p>바퀴 전체적으로 다끼움</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746287585325.jpg" data-filename="1470985746287585325.jpg" style="width: 597.656px;"><br></p><p><br></p><p>캐노피 끼우기</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746286539339.jpg" data-filename="1470985746286539339.jpg" style="width: 100%;"></p><p><br></p><p>안전끼우기</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746298205425.jpg" data-filename="1470985746298205425.jpg" style="width: 100%;"></p><p><br></p><p>조립완료</p><p>시간도 얼마 안걸리고 가벼워서 조립하기 편했다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746307195498.jpg" data-filename="1470985746307195498.jpg" style="width: 100%;"></p><p><br></p><p>조립후 아기가 관심을 많이 보인다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746318315179.jpg" data-filename="1470985746318315179.jpg" style="width: 100%;"></p><p><br></p><p>계속 따라다니며 이리저리 만져본다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147098574634366008.jpg" data-filename="147098574634366008.jpg" style="width: 100%;"></p><p><br></p><p>좋아하는거 같아서 </p><p>잘 구매한듯 하다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746345545176.jpg" data-filename="1470985746345545176.jpg" style="width: 100%;"></p><p><br></p><p>시트 부분 재질이 괜찮은 편이다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746332572264.jpg" data-filename="1470985746332572264.jpg" style="width: 100%;"></p><p><br></p><p>따로 구매한 </p><p>베베누보 유모차 정리함 장착</p><p>저기에 아기 기저귀, 물티슈, 수건, 물통을 담을 수 있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746372968298.jpg" data-filename="1470985746372968298.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746364126556.jpg" data-filename="1470985746364126556.jpg" style="width: 100%;"></p><p><br></p><p>서비스로 받은 컵홀더 </p><p>커피 넣고 다닐려면 필수.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746392538550.jpg" data-filename="1470985746392538550.jpg" style="width: 100%;"></p><p><br></p><p>따로 구매한 피셔프라이스 선풍기</p><p>아기가 더울까봐 선풍기도 장착.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470985746397998146.jpg" data-filename="1470985746397998146.jpg" style="width: 100%;"></p><p><br></p><p>아기 시승기는 다음으로..</p>
뽀로로, 크롱, 에디 물총놀이 세트
http://www.webprogramer.kr/blog/P000000154/post.do
<p>그냥 놀때랑 물놀이 할때 너무나 잘가지고 논다</p><p>중국산이라 그런지 퀄리티가 조금 떨어짐</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470910925305691487.jpeg" data-filename="1470910925305691487.jpeg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147091092537967565.jpeg" data-filename="147091092537967565.jpeg" style="width: 100%;"><br></p>
퇴근 버스정류장에서
http://www.webprogramer.kr/blog/P000000044/post.do
<p><img class="img-rounded" style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470784519987441448.jpg" data-filename="1470784519987441448.jpg"><br></p>
오늘도 덥다.
http://www.webprogramer.kr/blog/P000000043/post.do
<p><br></p><p>에어컨을 아직 고쳐주지 않았다.</p><p><br></p><p>너무 더워서 냉장고에 얼려놓은 물통을 꺼내어서 ..</p><p><br></p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470095935255442947.jpg" data-filename="1470095935255442947.jpg"><br></p>
[MFC] HTML 파서 만들기 #1
http://www.webprogramer.kr/blog/P000000039/post.do
<p><br></p><h2 class="title" style="margin: 0px; padding: 15px 9px 14px 19px; border-width: 0px 0px 1px; border-bottom-style: solid; border-bottom-color: rgb(208, 208, 208); line-height: 16px; font-family: dotum; color: rgb(92, 92, 92); font-weight: bold; font-stretch: normal; font-size: 12px;"><a href="http://tackin.tistory.com/entry/MFC-HTML-%ED%8C%8C%EC%84%9C-%EB%A7%8C%EB%93%A4%EA%B8%B0-1" style="color: rgb(92, 92, 92); font-stretch: normal; line-height: 1.3em;">[MFC] HTML 파서 만들기 #1</a></h2><p><a href="http://tackin.tistory.com/entry/MFC-HTML-%ED%8C%8C%EC%84%9C-%EB%A7%8C%EB%93%A4%EA%B8%B0-1" target="_blank">http://tackin.tistory.com/entry/MFC-HTML-%ED%8C%8C%EC%84%9C-%EB%A7%8C%EB%93%A4%EA%B8%B0-1</a></p><p><br></p><p><br></p><p><br></p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">이번 포스팅은 특정사이트의 HTML 태그를 가져와서 출력하는 것까지 다룹니다.</p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">개발 툴은 Visual Studio 2012를 사용했습니다.</p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span class="imageblock" style="margin: 5px 0px; display: inline-block; width: 665px; height: auto; max-width: 100%;"><span data-url="http://cfile23.uf.tistory.com/attach/236391385315B70E32D9B7" data-lightbox="lightbox"><img src="http://cfile23.uf.tistory.com/image/236391385315B70E32D9B7" width="665" height="417" filename="MFC를 이용한 HTML파서_01.jpg" filemime="image/jpeg" style="margin: 0px; padding: 0px; line-height: 1.3; cursor: pointer; max-width: 100%; height: auto;"></span></span></p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><strong><span style="font-size: 12pt;"># 화면 구성</span></strong></p><p style="margin-left: 2em; color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">- url 영역</p><p style="margin-left: 2em; color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">- url 이동 버튼</p><p style="margin-left: 2em; color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">- html 가져오기 버튼</p><p style="margin-left: 2em; color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">- webBrowser 영역</p><p style="margin-left: 2em; color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">- 디버깅1 영역</p><p style="margin-left: 2em; color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">- 디버깅2 영역</p><p style="margin-left: 2em; color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="margin-left: 2em; color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="margin-left: 2em; color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">결과물는 간단합니다.</p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">해당 URL에 이동하여 webBrowser의 후킹(?) 콜백(?) 정보를 출력(디버깅1)하고</p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">scan버튼을 통해 html내용을 출력(디버깅2)하는 겁니다.</p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">본 편은(#1) 인터넷 검색 중 Tcube님의 포스팅을 몇번씩 읽어가면서 따라가기 방식으로 진행했습니다.</p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">다음편(#2) 를 이어가기 위하여 피치못하게 모방된 글을 작성하게 되었습니다.</p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">TCube님게 지식 공유에 대한 감사의 말씀드리며, 문제가 발생한다면 바로 포스팅 내리도록 하겠습니다.</p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">아래의 부분은 제가 기억하기 위함으로 작성한 글이기에 본 포스팅을 보시는 분은 Tcube님의 글을 보시는게 도움이 더 되실겁니다.</p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">다음편 #2는 저의 창작물로 찾아뵙도록하겠습니다.</p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><a class="tx-link" href="http://blog.naver.com/PostView.nhn?blogId=song4201&logNo=70112462220&categoryNo=0&parentCategoryNo=0&viewDate=&currentPage=1&postListTopCurrentPage=&isAfterWrite=true" target="_blank" style="text-decoration: underline; color: rgb(138, 138, 138);"><strong><span style="font-size: 14pt;">TCUBE</span></strong></a><strong></strong></p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p id="more15_0" class="moreless_top" style="padding-left: 18px; text-decoration: underline; color: rgb(138, 138, 138); font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size: 12px; line-height: 15.6px; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important; background-image: url(" images="" iconless.gif");="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" left="" top;="" background-repeat:="" no-repeat;"=""><span style="cursor: pointer;">접기</span></p><div id="content15_0" class="moreless_content" style="margin: 10px 0px; padding: 0px; border: 0px; line-height: 15.6px; font-family: 돋움, Dotum, AppleGothic, sans-serif; color: rgb(138, 138, 138); font-size: 12px;"><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><strong><span style="font-size: 12pt;"># 프로젝트 생성</span></strong></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span class="imageblock" style="margin: 5px 0px; display: inline-block; width: 514px; height: auto; max-width: 100%;"><span data-url="http://cfile24.uf.tistory.com/attach/24553E3A5315BA330F290C" data-lightbox="lightbox"><img src="http://cfile24.uf.tistory.com/image/24553E3A5315BA330F290C" width="514" height="383" filename="MFC를 이용한 HTML파서_02.jpg" filemime="image/jpeg" style="margin: 0px; padding: 0px; line-height: 1.3; cursor: pointer; max-width: 100%; height: auto;"></span></span></p><p style="float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span class="imageblock" style="margin: 5px 0px; display: inline-block; width: 499px; height: auto; max-width: 100%;"><img src="http://cfile27.uf.tistory.com/image/213D6F3A5315BA33188CE3" width="499" height="384" filename="MFC를 이용한 HTML파서_03.jpg" filemime="image/jpeg" style="margin: 0px; padding: 0px; line-height: 1.3; max-width: 100%; height: auto;"></span></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">MFC 응용프로그램 선택 -> 대화상자기반, 유니코드 라이브러리사용 체크 해제 -> 이후는 디폴트</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">유니코드 라이브러리 사용은 체크를 하는것이 좋은지 나쁜지는 정확히 알 수 없습니다.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">처음 체크한 상태로 프로젝트를 생성하니 계속 _T()를 사용해야하는 점이 귀찮아서 프로젝트 다시 만들었습니다.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="font-size: 12pt;"><strong># 레이아웃 설정</strong></span></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">도구상자에서 web browser를 눈 씻고 찾아도 안 나올 겁니다.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span class="imageblock" style="margin: 5px 0px; display: inline-block; width: 711px; height: auto; max-width: 100%;"><span data-url="http://cfile10.uf.tistory.com/attach/2150AC3B5315BF9818EA72" data-lightbox="lightbox"><img src="http://cfile10.uf.tistory.com/image/2150AC3B5315BF9818EA72" width="711" height="420" filename="MFC를 이용한 HTML파서_05.jpg" filemime="image/jpeg" style="margin: 0px; padding: 0px; line-height: 1.3; cursor: pointer; max-width: 100%; height: auto;"></span></span></p><p style="float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">Dialog 아무곳이나 마우스 오른쪽 클릭을 하시면 ActiveX 컨트롤 삽입을 클릭하시면</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span class="imageblock" style="margin: 5px 0px; display: inline-block; width: 501px; height: auto; max-width: 100%;"><img src="http://cfile29.uf.tistory.com/image/215BF63B5315BF9914B9C0" width="501" height="324" filename="MFC를 이용한 HTML파서_06.jpg" filemime="image/jpeg" style="margin: 0px; padding: 0px; line-height: 1.3; max-width: 100%; height: auto;"></span></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">이런 화면이 나옵니다. 중간 넘어서 Microsoft Web Browser를 선택하시면 됩니다.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">문법도 익숙하지 않을 텐데 툴 사용 자체가 저의 발목을 많이 잡네요.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span class="imageblock" style="margin: 5px 0px; display: inline-block; width: 880px; height: auto; max-width: 100%;"><span data-url="http://cfile6.uf.tistory.com/attach/252CA73B5315BE071C6B78" data-lightbox="lightbox"><img src="http://cfile6.uf.tistory.com/image/252CA73B5315BE071C6B78" width="880" height="590" filename="MFC를 이용한 HTML파서_04.jpg" filemime="image/jpeg" style="margin: 0px; padding: 0px; line-height: 1.3; cursor: pointer; max-width: 100%; height: auto;"></span></span></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">MFC를 만져본게 10년이 넘은 것 같습니다. 그 당시에는 Visual Studio 6.0 이였던걸로 기억납니다.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">가물가물한 기억으로 2012를 실행하고 적지않게 놀랐죠.. 어떻게 사용하는거야 이거??</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">우선 변수 등록은 Ctrl을 누른상태로 해당 컨퍼넌트를 더블클릭하면 멤버변수 추가 마법사가 나옵니다. 그곳에서 위에 보이는 화면처럼 입력 하시면 됩니다.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><strong>주의하실점은</strong></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">web browser의 변수 형식을 CWebbrowser2로 직접입력하셔야 합니다. 잘 등록되었다면</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">클래스뷰 창에 CWebbrowser2가 등록되신것을 확인 할 수 있습니다.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span class="imageblock" style="margin: 5px 0px; display: inline-block; width: 167px; height: auto; max-width: 100%;"><img src="http://cfile27.uf.tistory.com/image/214E9C3B5315C0AA1EE287" width="167" height="173" filename="MFC를 이용한 HTML파서_07.jpg" filemime="image/jpeg" style="margin: 0px; padding: 0px; line-height: 1.3; max-width: 100%; height: auto;"></span></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><a class="tx-link" href="http://blog.naver.com/PostView.nhn?blogId=song4201&logNo=70112678351&parentCategoryNo=&categoryNo=&viewDate=&isShowPopularPosts=false&from=postView" target="_blank" style="text-decoration: underline; color: rgb(138, 138, 138);">TCube</a> 참고</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="font-size: 12pt;"><strong># CWebbrowser2 이벤트 등록</strong></span></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">다음으로 web browser의 이벤트를 등록합니다.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">등록하기 앞서 webbrowser에는 무슨 이벤트가 있는걸까요?</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">예를 들어,</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">요청한 페이지 로딩이 완료되었다. 하면 DocumentComplete 이벤트,</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">이미지 등을 다운받는 경우에는 DownloadBegin 이벤트</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">윈도우 창이 뜨기 전에 발생하는 NewWindow2 이벤트 등이 있습니다.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">자세한 내용은 Tcube 블로그를 봐주세요.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><a class="tx-link" href="http://blog.naver.com/PostView.nhn?blogId=song4201&logNo=70112729393&parentCategoryNo=&categoryNo=&viewDate=&isShowPopularPosts=false&from=postView" target="_blank" style="text-decoration: underline; color: rgb(138, 138, 138);">TCube</a> 참고</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span class="imageblock" style="margin: 5px 0px; display: inline-block; width: 808px; height: auto; max-width: 100%;"><img src="http://cfile22.uf.tistory.com/image/233DAB3B5315C4E40AD5BB" width="808" height="835" filename="MFC를 이용한 HTML파서_08.jpg" filemime="image/jpeg" style="margin: 0px; padding: 0px; line-height: 1.3; max-width: 100%; height: auto;"></span></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">캘래스 뷰의 CHTEML_PaserDlg를 클릭하면 속성 탭을 확인 할 수 있습니다.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">번개모양을 클릭하여 이벤트 창에서 IDC_EXPLORER1의 이벤트 함수를 등록합니다.</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="879" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움; width: 879px;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 879px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> /**<br><span id="callbacknesttackintistorycom153892" style="width: 1px; height: 1px; float: right;"></span> * 인터넷 탐색하기 전에 발생<br> */<br>void CHTML_PaserDlg::<strong>BeforeNavigate2Webbrowser</strong>(LPDISPATCH pDisp, VARIANT* URL, VARIANT* Flags, VARIANT* TargetFrameName, VARIANT* PostData, VARIANT* Headers, BOOL* Cancel)<br>{<br> // TODO: 여기에 메시지 처리기 코드를 추가합니다.<br> USES_CONVERSION;<br> CString strEvent("BeforeNavigate2 : ");<br> strEvent += OLE2T(URL->bstrVal);</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> ctl_listEvent.InsertString(0, strEvent); // 리스트에 추가<br>}</p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 844px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">//브라우저 조작 등에 따른 상태 변화 이벤트 </p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">void CHTML_PaserDlg::<strong>CommandStateChangeWebbrowser</strong>(long Command, BOOL Enable)<br>{<br> // TODO: 여기에 메시지 처리기 코드를 추가합니다.<br> if (Enable == FALSE)<br> return;</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> CString strEvent;<br> <br> switch(Command)<br> {<br> case CSC_UPDATECOMMANDS:<br> // 도구 모음 버튼의 활성화 상태<br> strEvent.Format("CommandStateChange : Command=UpdateCommands(%ld) Enabled=%d", Command, Enable);<br> if (Enable)<br> strEvent = "CommandStateChange : 도구모음 활성화";<br> break;<br> case CSC_NAVIGATEFORWARD:<br> // 앞으로 버튼의 활성화 상태<br> //strEvent.Format("CommandStateChange : Command=NavigateForward(%ld) Enabled=%d", Command, Enable);<br> if (Enable)<br> strEvent = "CommandStateChange : 앞으로 이동 버튼 활성화";<br> break;<br> case CSC_NAVIGATEBACK:<br> // 뒤로 버튼의 활성화 상태<br> //strEvent.Format("CommandStateChange : Command=NavigateBack(%ld) Enabled=%d", Command, Enable);<br> if (Enable)<br> strEvent = "CommandStateChange : 뒤로 이동 버튼 활성화"; <br> break;<br> }</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> ctl_listEvent.InsertString(0, strEvent); // 리스트에 추가<br>}</p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 844px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">//웹페이지 로딩이 완료되었을 경우에 발생 </p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">void CHTML_PaserDlg::<strong>DocumentCompleteWebbowser</strong>(LPDISPATCH pDisp, VARIANT* URL)<br>{<br> // TODO: 여기에 메시지 처리기 코드를 추가합니다.<br> USES_CONVERSION;<br> CString strEvent("DocumentComplete : ");<br> strEvent += OLE2T(URL->bstrVal);<br> ctl_listEvent.InsertString(0, strEvent); // 리스트에 추가<br> <br> </p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> if (m_pDispCurrent && m_pDispCurrent == pDisp){<br> strEvent = "====================>Document is done";<br> ctl_listEvent.InsertString(0, strEvent); // 리스트에 추가<br> m_pDispCurrent = NULL;</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><br> m_pDispDocument = ctl_WebBrowser.get_Document(); // 브라우저에서 웹페이지를 받는다.<br> <br> // 새로운 웹페이지가 로딩되었으므로 기존의 웹페이지 데이터를 모두 해제한다.<br> if (m_pHTMLDocument2 != NULL){<br> m_pHTMLDocument2->Release();<br> m_pHTMLDocument2 = NULL;<br> }<br> <br> // 받아온 HTML을 IHTMLDocument2 형식으로 내보낸다.<br> HRESULT hr = m_pDispDocument->QueryInterface( IID_IHTMLDocument2, (LPVOID *)&m_pHTMLDocument2);<br> <br> // 정상적으로 HTMLDocument를 받아왔다면, 내보내기 변수를 해제한다.<br> if (hr == S_OK){<br> m_pDispDocument->Release();<br> m_pDispDocument = NULL;<br> }<br> }<br> <br>}</p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 844px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">// 이미지 등 파운로드 할 때 발생</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">void CHTML_PaserDlg::<strong>DownloadBeginWebbowser</strong>()<br>{<br> // TODO: 여기에 메시지 처리기 코드를 추가합니다.<br> CString strEvent("DownloadBegin");<br> ctl_listEvent.InsertString(0, strEvent); // 리스트에 추가<br>} </p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 844px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">// 다운로드 완료 되었을때 발생</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">void CHTML_PaserDlg::<strong>DownloadCompleteWebbowser</strong>()<br>{<br> // TODO: 여기에 메시지 처리기 코드를 추가합니다.<br> CString strEvent("DownloadComplete");<br> </p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> ctl_listEvent.InsertString(0, strEvent); // 리스트에 추가<br>} </p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 844px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">// 서버에 웹페이지 요청이 완료되었을때 호출</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> void CHTML_PaserDlg::<strong>NavigateComplete2Webbowser</strong>(LPDISPATCH pDisp, VARIANT* URL)<br>{<br> // TODO: 여기에 메시지 처리기 코드를 추가합니다.<br> USES_CONVERSION;<br> CString strEvent("NavigateComplete2 : ");<br> strEvent += OLE2T(URL->bstrVal);</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> ctl_listEvent.InsertString(0, strEvent); // 리스트에 추가</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> // NULL 인지 확인하여, 값이 없다면 최상위 페이지를 요청하는 것이므로<br> // 인자(파라미터) 값 pDisp 를 최상위 페이지로 값으로 간주 <br> if (m_pDispCurrent == NULL){<br> m_pDispCurrent = pDisp;<br> }<br>}</p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 844px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">void CHTML_PaserDlg::<strong>NewWindow2Webbowser</strong>(LPDISPATCH* ppDisp, BOOL* Cancel)<br>{<br> // TODO: 여기에 메시지 처리기 코드를 추가합니다.<br> CString strEvent("NewWindow2");<br> <br> ctl_listEvent.InsertString(0, strEvent); // 리스트에 추가<br>} </p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 844px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> void CHTML_PaserDlg::<strong>ProgressChangeWebbowser</strong>(long Progress, long ProgressMax)<br>{<br> // TODO: 여기에 메시지 처리기 코드를 추가합니다.<br> CString strEvent;<br> strEvent.Format("ProgressChange : Progress=%ld ProgressMax=%ld", Progress, ProgressMax);</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> ctl_listEvent.InsertString(0, strEvent); // 리스트에 추가<br>}</p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 844px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> void CHTML_PaserDlg::<strong>StatusTextChangeWebbowser</strong>(LPCTSTR Text)<br>{<br> // TODO: 여기에 메시지 처리기 코드를 추가합니다.<br> CString strEvent = Text;<br> if ( strEvent.IsEmpty() )<br> return;</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> strEvent = "StatusTextChange : ";<br> strEvent += Text;<br> <br> ctl_listEvent.InsertString(0, strEvent); // 리스트에 추가<br>}</p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 844px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> void CHTML_PaserDlg::<strong>TitleChangeWebbowser</strong>(LPCTSTR Text)<br>{<br> // TODO: 여기에 메시지 처리기 코드를 추가합니다.<br> CString strEvent("TitleChange : ");<br> strEvent += Text;<br> <br> ctl_listEvent.InsertString(0, strEvent); // 리스트에 추가<br>}</p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 844px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">void CHTML_PaserDlg::<strong>NavigateErrorWebbowser</strong>(LPDISPATCH pDisp, VARIANT* URL, VARIANT* Frame, VARIANT* StatusCode, BOOL* Cancel)<br>{<br> // TODO: 여기에 메시지 처리기 코드를 추가합니다.<br> USES_CONVERSION;<br> CString strEvent("NavigateError : ");<br> strEvent += OLE2T(URL->bstrVal);</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> ctl_listEvent.InsertString(0, strEvent); // 리스트에 추가<br>} </p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 844px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">// move 버튼 클릭 시 호출</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> void CHTML_PaserDlg::<strong>OnBnClickedButton1</strong>()<br>{<br> // TODO: 여기에 컨트롤 알림 처리기 코드를 추가합니다.<br> UpdateData(); <br> ctl_WebBrowser.Navigate(m_urlStr, NULL, NULL, NULL, NULL);<br> UpdateData(FALSE);<br>}</p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><table class="txc-table" cellspacing="0" cellpadding="0" width="844" border="0" style="font-size: 9pt; border: medium none; font-family: 돋움;"><tbody><tr><td style="margin: 0px; padding: 2px; border: 1px solid rgb(204, 204, 204); line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; height: 24px; width: 844px; background-color: rgb(238, 238, 238);"><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> void CHTML_PaserDlg::OnBnClickedButton2()<br>{</p><p style="margin-left: 2em; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> IHTMLDocument3 * pHTMLDocument3;<br> HRESULT hr = m_pHTMLDocument2->QueryInterface(IID_IHTMLDocument3, (LPVOID *)&pHTMLDocument3);</p><p style="margin-left: 2em; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> IHTMLElement * pDocumentElement;<br> hr = pHTMLDocument3->get_documentElement(&pDocumentElement);<br> pHTMLDocument3->Release();<br> <br> BSTR bstrHTML;<br> pDocumentElement->get_outerHTML(&bstrHTML);<br> // pDocumentElement->get_outerText(&bstrHTML); // text 전체 가져오기<br> pDocumentElement->Release();<br> <br> USES_CONVERSION;<br> ctl_strHTML = OLE2T(bstrHTML);<br> <br> UpdateData(FALSE);<br> SysFreeString(bstrHTML);<br></p><p style="margin-left: 2em; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;">// m_pHTMLDocument2 = NULL;</p><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><br>}</p></td></tr></tbody></table><p style="margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><a class="tx-link" href="http://blog.naver.com/PostView.nhn?blogId=song4201&logNo=70113307632&parentCategoryNo=&categoryNo=&viewDate=&isShowPopularPosts=false&from=postView" target="_blank" style="text-decoration: underline; color: rgb(138, 138, 138);">TCube</a> 참고</p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="font-size: 12pt;"><strong># 결과화면</strong></span></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="font-size: 12pt;"><strong></strong></span> </p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="font-size: 12pt;"><strong></strong></span> </p><p style="float: none; text-align: center; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span class="imageblock" style="margin: 5px 0px; display: inline-block; width: 880px; height: auto; max-width: 100%;"><span data-url="http://cfile8.uf.tistory.com/attach/214C833C5315D05A111200" data-lightbox="lightbox"><img src="http://cfile8.uf.tistory.com/image/214C833C5315D05A111200" width="880" height="558" filename="MFC를 이용한 HTML파서_02.jpg" filemime="image/jpeg" style="margin: 0px; padding: 0px; line-height: 1.3; cursor: pointer; max-width: 100%; height: auto;"></span></span></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="font-size: 12pt;"><strong></strong></span></p><p style="float: none; clear: none; margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important;"> </p></div><p><br></p>
삼실 에어컨 고장으로 임시 방편
http://www.webprogramer.kr/blog/P000000040/post.do
<blockquote><p><strong>삼실 에어컨 고장으로 임시 방편</strong> <br></p></blockquote><p><br></p><p><span style="line-height: 1;">옷걸이를 접어서 만듦</span></p><p><span style="line-height: 1;"><br></span></p><p><span style="line-height: 1;">냉장고에 작은페트명에 물담아서 얼리구 </span></p><p><span style="line-height: 1;"><br></span></p><p><span style="line-height: 1;">조금 효과가 있는거 같기도..</span></p><p><span style="line-height: 1;"><br></span></p><p><span style="line-height: 1;">물이 아래로 한방울씩 떨어진다.</span></p><p><span style="line-height: 1;"><br></span></p><p>덥다 더워</p><p><br></p><p>언제쯤 고쳐줄지 ㅠㅠ</p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1469594948469122993.jpg" data-filename="1469594948469122993.jpg"><br></p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1469594995446684850.jpg" data-filename="1469594995446684850.jpg"></p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1469595002423617127.jpg" data-filename="1469595002423617127.jpg"><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1469594905785891452.jpg" data-filename="1469594905785891452.jpg"></p><p><br></p><p><br></p><p><strong><span style="font-size: 24px;">3시간후...</span></strong></p><p><strong><span style="font-size: 24px;">.</span></strong></p><p><strong><span style="font-size: 24px;">.</span></strong></p><p><strong><span style="font-size: 24px;">.</span></strong></p><p><strong><span style="font-size: 24px;">.</span></strong></p><p><strong><span style="font-size: 24px;">.</span></strong></p><p><strong><span style="font-size: 24px;">.</span></strong></p><p><strong><span style="font-size: 24px;">얼음 다 녹구 물이 미지근 해짐 ㅠㅠ</span></strong></p><p><strong><span style="font-size: 24px;">다시 얼리는데 오래걸리는데</span></strong><br></p>
<img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1469604399172911039.jpg" data-filename="1469604399172911039.jpg"><p><br></p>
쿠쿠전자 쿠쿠밥솥 구매 모델명 CRP-FHV1010FD
http://www.webprogramer.kr/blog/P000000031/post.do
<blockquote><p><span style="font-weight: bold; font-size: 24px; color: rgb(57, 132, 198);">테스트용 포스팅 입니다.</span></p></blockquote><p><span style="line-height: 1;">기존에 쓰던 밥솥이 문제가 있어서 스테인레스 압력 밥솥을 사용하고 있었는데</span><br></p><p>스테인레스 압력밥솥도 계속 사용하다 보니 코팅이 벗겨지는 현상이 일어나서 </p><p>좀 괜찮은 밥솥을 구매하기로 했습니다.</p><p><br></p><p>와이프랑 고민끝에 고른 제품</p><p>쿠쿠 모델명 CRP-FHV1010FD</p><p>쿠첸과 엄청 고민을 했음.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1469159047094576480.jpg" data-filename="1469159047094576480.jpg" style="width: 100%;"><br></p><p><br></p><p>기다리던 택배가 온날.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1469159348262757114.jpg" data-filename="1469159348262757114.jpg" style="width: 100%;"><br></p><p><br></p><p>박스 개봉</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1469159318684806527.jpg" data-filename="1469159318684806527.jpg" style="width: 100%;"></p><p><br></p><p>큼지막하고 생각했던것보다 제품이 괜찮더군요.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1469159247641145965.jpg" data-filename="1469159247641145965.jpg" style="line-height: 1; width: 100%;"></p><p><br></p><p>전체적으로 디자인이 예쁩니다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1469159247644461363.jpg" data-filename="1469159247644461363.jpg" style="line-height: 1; width: 100%;"></p><p><br></p><p>에너지 효율도 1등급</p><p>eco기능이 있어서 전기가 조금 먹는다고 하네요.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1469159525509122424.jpg" data-filename="1469159525509122424.jpg" style="width: 100%;"></p><p><br></p><p>이제 내부를 한번 볼까요.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1469159573658481583.jpg" data-filename="1469159573658481583.jpg" style="width: 100%;"></p><p><br></p><p>밥솥 용기 입니다.</p><p>전에 쓰던것 보단 고급스럽네요.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1469159573659684967.jpg" data-filename="1469159573659684967.jpg" style="width: 100%;"></p><p><br></p><p>실제 작동 화면</p><p>이런 저런 편리한 기능이 있는게 눈에 보입니다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1469159643345122404.jpg" data-filename="1469159643345122404.jpg" style="width: 100%;"></p><p><br></p><p>저녁에 이 밭솥으로 밥을 지어 먹었는데 괘찮은듯 합니다.</p><p>나머지 사용기는 추후에..</p>
기상청 행정코드(지역코드) api
http://www.webprogramer.kr/blog/P000000280/post.do
<div class="se_component se_sectionTitle "><div class="se_sectionArea se_align-left"><div class="se_editArea"><div class="se_viewArea se_ff_nanumgothic se_fs_H1 " style="font-style: inherit; text-decoration: inherit;"><div class="se_editView"><div class="se_textView"><h4 class="se_textarea">기상청 행정코드(지역코드) api</h4><h4 class="se_textarea"><span style="color: rgb(51, 51, 51); font-size: 14px; line-height: 1;">시도코드 : http://www.kma.go.kr/DFSROOT/POINT/DATA/top.json.txt</span></h4><h4 class="se_textarea"><span style="font-size: 14px; line-height: 1; color: rgb(51, 51, 51);">구군코드 : </span><span style="font-size: 14px; line-height: 1;">http://www.kma.go.kr/DFSROOT/POINT/DATA/mdl.</span><span style="font-size: 14px; line-height: 1; color: rgb(255, 0, 0);">11</span><span style="font-size: 14px; line-height: 1;">.json.txt</span></h4><h4 class="se_textarea"><span style="font-size: 14px; line-height: 1;">읍면동코드 : http://www.kma.go.kr/DFSROOT/POINT/DATA/leaf.</span><span style="font-size: 14px; line-height: 1; color: rgb(255, 0, 0);">11110</span><span style="font-size: 14px; line-height: 1;">.json.txt</span></h4></div></div></div></div></div></div><div class="se_component se_paragraph default"><div class="se_sectionArea"><div class="se_editArea"><div class="se_viewArea se_ff_nanumgothic se_fs_T3 se_align-left"><div class="se_editView"><div class="se_textView"><div class="autosourcing-stub-extra"></div><p></p></div></div></div></div></div></div>
java Collection 정렬[펌]
http://www.webprogramer.kr/blog/P000000279/post.do
<p><div class="autosourcing-stub-extra"></div></p><div class="se_component_wrap"><div class="se_component se_documentTitle documentTitle_blog is-fill"><div class="se_sectionArea is-fill se_align-left"><div class="se_post_function"><a class="btn_stat pcol2 fil5 _postStat _returnFalse _param(http://stat.naver.com/article/total.nhn?contentId=http%3A%2F%2Fblog.naver.com%2Fsystemddc%2F220744069138&service=BLOG)" href="http://blog.naver.com/PostList.nhn?from=postList&blogId=systemddc&categoryNo=0&currentPage=1#" target="_blank "><span class="ico_stat"></span>통계</a> <div class="overflow_menu"><a class="btn_overflow_menu _open_overflowmenu _param(220744069138) _returnFalse" href="http://blog.naver.com/PostList.nhn?from=postList&blogId=systemddc&categoryNo=0&currentPage=1#">본문 기타 기능</a><div class="lyr_overflow_menu" id="overflowmenu-220744069138" style="display: none;"><a class="_modifyPost _returnFalse _param(220744069138|true)" href="http://blog.naver.com/PostList.nhn?from=postList&blogId=systemddc&categoryNo=0&currentPage=1#">수정하기<span class="ico_modify"></span></a><a class="_deletePost _returnFalse _param(220744069138|false)" href="http://blog.naver.com/PostList.nhn?from=postList&blogId=systemddc&categoryNo=0&currentPage=1#">삭제하기<span class="ico_del"></span></a></div></div></div><!-- --> <!-- SE_DOC_HEADER_CONTENTS_END --> <!-- SE_DOC_HEADER_TITLE_BOTTOM--> <div class="se_doc_title_bottom" id="SEDOC-1466668801984-732701089_se_doc_title_bottom"></div></div></div></div><div class="se_doc_header_end" id="SEDOC-1466668801984-732701089_se_doc_header_end"></div><div class="se_doc_contents_start" id="SEDOC-1466668801984-732701089_se_doc_contents_start"></div><p class="se_textarea"><!-- {{{$SE3-CONTENTS_HEADER}}} --> <!-- SE_DOC_HEADER_END --> <!-- SE_DOC_CONTENTS_START --> </p><div class="se_component_wrap sect_dsc __se_component_area"><div class="se_component se_paragraph default"><div class="se_sectionArea"><div class="se_editArea"><div class="se_viewArea se_ff_nanumgothic"><div class="se_editView"><div class="se_textView se_fs_T3"><p class="se_textarea"><!-- SE3-TEXT { --><a class="se_link" href="http://promc.tistory.com/entry/List-Map-Set-%EC%9D%98-%EC%A0%95%EB%A0%AC%EA%B8%B0%EB%8A%A5-%ED%8E%8C" target="_blank">http://promc.tistory.com/entry/List-Map-Set-%EC%9D%98-%EC%A0%95%EB%A0%AC%EA%B8%B0%EB%8A%A5-%ED%8E%8C</a><!-- } SE3-TEXT --></p></div></div></div></div></div></div><div class="se_component se_oglink og_bSize"><div class="se_sectionArea se_align-left"><div class="se_editArea" id="SEDOC-1466668801984-732701089_oglink_0"><div class="se_viewArea se_og_wrap"><!-- <div class="se_og_box"> --> <a class="se_og_box" href="http://promc.tistory.com/entry/List-Map-Set-%EC%9D%98-%EC%A0%95%EB%A0%AC%EA%B8%B0%EB%8A%A5-%ED%8E%8C" target="_blank"><div class="se_og_thumb"><img alt="" src="http://dthumb.phinf.naver.net/?src=%22https%3A%2F%2Ft1.daumcdn.net%2Fcssjs%2Ficon%2F557567EA016E200001%22&type=w480"> </div><div class="se_og_txt"><div class="se_og_tit">List , Map , Set 의 정렬기능 ( 펌 )</div><div class="se_og_desc">객체들을 조작하기 위한 자료구조로 자바는 배열이나 Collection Framework 내의 여러클래스를 제공하고 있습니다. Collection Framework는 크게 3가지 형태로 분류할 수 있는데 간단하게 살펴 보자면 - Map : key와 Value를 가지는 자료구조입니다. HashMap, Hashtable, TreeMap과 같은 클래스들을 자주 쓰죠. - List : 순서가 있고 중복이 허용되는 자료구조입니다. ArrayList, LinkedList, Vector... - Set : 중복을 허용하지..</div><div class="se_og_cp">promc.tistory.com</div></div><!-- </div> --> </a><!-- <a href="http://promc.tistory.com/entry/List-Map-Set-의-정렬기능-펌" target="_blank" class="se_og_link">본문으로 이동</a> --> </div><div class="autosourcing-stub-extra"></div></div></div></div></div>
[공유] [Ubuntu/Linux] 한글파일(hwp)을 텍스트(txt) 혹은 웹문서(html)로 변환
http://www.webprogramer.kr/blog/P000000278/post.do
<div align="left"><span style="font-weight: bold;">[Ubuntu/Linux] 한글파일(hwp)을 텍스트(txt) 혹은 웹문서(html)로 변환하자! :: 아프니까 개발자다</span></div><div align="left"><div class="og"><div class="box"><div class="thumb b_size"><br></div><div class="txt"><a href="http://storycompiler.tistory.com/197" target="_blank"><div class="tit"><a href="http://storycompiler.tistory.com/197" target="_blank">[Ubuntu/Linux] 한글파일(hwp)을 텍스트(txt) 혹은 웹문서(html)로 변환하자!</a></div><div class="tit"><br></div><div class="dsc"><a href="http://storycompiler.tistory.com/197" target="_blank">안녕하세요, 개발자 윤진입니다. 얼마 전에 우분투에서 사용할 수 있는 한글뷰어를 소개하였는데</a></div><div class="dsc"><a href="http://storycompiler.tistory.com/197" target="_blank">요, [Ubuntu/Linux] 한글과 컴퓨터의 한글 파일(...</a></div><div class="cp"><a href="http://storycompiler.tistory.com/197" target="_blank">storycompiler.tistory.com</a><div class="autosourcing-stub-extra"></div></div></a></div></div></div></div>
[공유] egovframework:파일변환 [eGovFrame]
http://www.webprogramer.kr/blog/P000000277/post.do
<div align="left"><div align="left"><span style="font-weight: bold;">egovframework:파일변환 [eGovFrame]</span></div><div align="left"><div class="og"><div class="box"><div class="thumb s_size"><br></div><div class="txt"><a href="http://www.egovframe.go.kr/wiki/doku.php?id=egovframework:%ED%8C%8C%EC%9D%BC%EB%B3%80%ED%99%98" target="_blank" style="font-weight: bold;"><div class="tit"><a href="http://www.egovframe.go.kr/wiki/doku.php?id=egovframework:%ED%8C%8C%EC%9D%BC%EB%B3%80%ED%99%98" target="_blank">egovframework:파일변환 [eGovFrame]</a></div><div class="dsc"></div><div class="cp"><a href="http://www.egovframe.go.kr/wiki/doku.php?id=egovframework:%ED%8C%8C%EC%9D%BC%EB%B3%80%ED%99%98" target="_blank">www.egovframe.go.kr</a></div></a></div></div></div><div class="autosourcing-stub-extra"></div></div></div><div align="left"><div class="autosourcing-stub-extra"></div></div>
전자정부 표준프레임워크 표준 Inspection 룰셋
http://www.webprogramer.kr/blog/P000000276/post.do
<div class="se_component se_sectionTitle "><div class="se_sectionArea se_align-left"><div class="se_editArea"><div class="se_viewArea se_ff_nanumgothic se_fs_H1 " style="font-style: inherit; text-decoration: inherit;"><div class="se_editView"><div class="se_textView"><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">전자정부 표준 프레임워크</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;"><!-- Not Allowed Attribute Filtered ( style="color: rgb(67, 105, 118); text-decoration: none; padding: 1px 0px 1px 18px; margin: 0px; background-image: url("http://localhost/dokuwiki/lib/tpl/arctic/images/urlextern.png"); background-color: transparent; background-position: 0px 1px; background-repeat: no-repeat;") --><a title="http://www.egovframe.go.kr/wiki/doku.php?id=egovframework:dev2:imp:inspection" class="con_link" href="http://www.egovframe.go.kr/wiki/doku.php?id=egovframework:dev2:imp:inspection" target="_blank" rel="nofollow">http://www.egovframe.go.kr/wiki/doku.php?id=egovframework:dev2:imp:inspection</a> 에서 확인가능 합니다.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;"> </p></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">전자정부 표준프레임워크 표준 Inspection 룰셋</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">PMD를 이용한 Code Inspection 시 기준이 되는 요소는 룰이며, 전자정부 표준프레임워크에서는 PMD가 제공하는 수 많은 룰 중에서 기본이 될 만한 것들을 간추려 전자정부 표준프레임워크 표준 Inspection 룰셋이라는 이름으로 구성하였다.<br>전자정부 표준프레임워크의 표준 Inspection 룰셋은 다음의 표와 같은 39개의 룰들로 구성된다. 개별 룰에 대한 상세한 설명은 <!-- Not Allowed Attribute Filtered ( style="color: rgb(67, 105, 118); text-decoration: none; padding: 1px 0px 1px 18px; margin: 0px; background-image: url("http://localhost/dokuwiki/lib/tpl/arctic/images/urlextern.png"); background-color: transparent; background-position: 0px 1px; background-repeat: no-repeat;") --><a title="http://www.egovframe.go.kr/wiki/doku.php?id=egovframework:dev2:imp:inspection:usetool#전자정부_표준_inspection_룰셋l#전자정부_표준_inspection_룰셋" class="con_link" href="http://www.egovframe.go.kr/wiki/doku.php?id=egovframework:dev2:imp:inspection:usetool#%EC%A0%84%EC%9E%90%EC%A0%95%EB%B6%80_%ED%91%9C%EC%A4%80_inspection_%EB%A3%B0%EC%85%8Bl%EC%A0%84%EC%9E%90%EC%A0%95%EB%B6%80_%ED%91%9C%EC%A4%80_inspection_%EB%A3%B0%EC%85%8B" target="_blank" rel="nofollow">전자정부 표준 inspection 룰셋</a>을 참고합니다.</p><div style="margin: 0px; padding: 0px;"><table class="__se_tbl_ext" style="margin: 0px 0px 1em; padding: 0px; font-size: 13.3px;"><thead style="margin: 0px; padding: 0px;"><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><th style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; height: 17px; text-align: center; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14.63px; vertical-align: middle; background-color: rgb(222, 231, 236);">번호</th><th style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; height: 17px; text-align: center; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14.63px; vertical-align: middle; background-color: rgb(222, 231, 236);">룰이름</th><th style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; height: 17px; text-align: center; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14.63px; vertical-align: middle; background-color: rgb(222, 231, 236);">설명</th></tr></thead><tbody style="margin: 0px; padding: 0px;"><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">01</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">EmptyCatchBlock</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">내용이 없는 Catch Block이 존재</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">02</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">EmptyIfStmt</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">빈 if 구문의 사용을 피하도록 함</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">03</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">EmptyWhileStmt</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">빈 while 구문이 사용되었음</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">04</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">EmptyTryBlock</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">내용이 없는 try 블록이 존재함</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">05</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">EmptyFinallyBlock</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">내용이 없는 finally 블록이 존재함</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">06</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">UnnecessaryConversionTemporary</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">기본 데이터 타입을 String으로 변환할 때 불필요한 임시 변환 작업을 피하도록 함</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">07</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">EmptyStatementNotInLoop</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">필요없는 문장 (;)이 있음</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">08</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">WhileLoopsMustUseBraces</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">중괄호없이 사용된 while문의 사용은 바람직하지 못한 코딩 습관임</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">09</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">AssignmentInOperand</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">피연산자내에 할당문이 사용됨. 해당 코드를 복잡하고 가독성이 떨어지게 만듬</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">10</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">UnnecessaryParentheses</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">괄호가 없어도 되는 상황에서 불필요한 괄호를 사용할 경우 마치 메소드 호출처럼 보여서 소스 코드의 가독성을 떨어뜨릴 수 있음</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">11</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">SimplifyBooleanExpressions</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">boolean 사용 시 불필요한 비교 연산을 피하도록 함</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">12</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">SwitchStmtsShouldHaveDefault</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">Switch구문에는 반드시 default label이 있어야 함</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">13</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">AvoidReassigningParameters</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">넘겨받는 메소드 parameter 값을 직접 변경하는 코드 탐지.</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">14</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">FinalFieldCouldBeStatic</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">final field를 static으로 변경하면 overhead를 줄일 수 있음</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">15</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">EqualsNull</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">null 값과 비교하기 위해 equals 메소드를 사용하였음</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">16</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">SimpleDateFormatNeedsLocale</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">SimpleDateFormat 인스턴스를 생성할때 Locale 을 지정하는 것이 바람직함</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">17</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">ImmutableField</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">생성자를 통해 할당된 변수를 Final로 선언하지 않았음</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">18</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">AssignmentToNonFinalStatic</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">static 필드의 안전하지않은 사용 가능성이 존재</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">19</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">AvoidSynchronizedAtMethodLevel</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">mothod 레벨의 synchronization 보다 block 레벨 synchronization 을 사용하는 것이 바람직함</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">20</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">AbstractClassWithoutAbstractMethod</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">Abstract Class내에 Abstract Method가 존재하지 않음</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">21</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">UncommentedEmptyMethod</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">빈 메소드에 빈메소드임을 나타내는 주석을 추가할 것</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">22</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">AvoidConstantsInterface</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">Interface는 클래스의 behavior 을 구현하는 데에만 사용해야 함</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">23</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">DuplicateImports</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">import문이 중복 선언 되었음</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">24</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">ImportFromSamePackage</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">동일 패키지에 있을 때는 import문을 사용할 필요가 없음</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">25</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">SystemPrintln</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">System.out.print 가 사용됨. 전용 로거를 사용할 것을 권장</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">26</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">VariableNamingConventions</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">final이 아닌 변수는 밑줄을 포함할 수 없음</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">27</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">MisleadingVariableName</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">non-field 이름이 m_ 으로 시작함'</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">28</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">AvoidArrayLoops</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">배열의 값을 루프문을 이용하여 복사하는 것 보다, System.arraycopy() 메소드를 이용하여 복사하는 것이 효율적이며 수행 속도가 빠름</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">29</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">UnnecessaryWrapperObjectCreation</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">불필요한 Wrapper Object가 생성되었음. 탐지된 코드는 삭제하고, 별도의 parse관련 전용 메소드 사용을 권장</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">30</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">AvoidThrowingRawExceptionTypes</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">가공되지 않은 Exception을 throw하는 것은 비추천</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">31</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">AvoidThrowingNullPointerException</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">NullPointerException을 throw하는 것은 비추천</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">32</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">StringInstantiation</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">불필요한 String Instance를 생성하는 코드를 탐지. 간단한 형태의 코드로 변경 필요</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">33</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">StringToString</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">String 객체에서 toString()함수를 사용하는 것은 불필요함. 해당 코드 제거 필요</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">34</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">InefficientStringBuffering</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">StringBuffer 함수내에서 비문자열 연산 이용하여 직접 결합하는 코드 사용을 탐지. append 메소드 사용을 권장</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">35</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">InefficientEmptyStringCheck</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">빈 문자열 확인을 위해 String.trim().length() 을 사용하는 것은 피하도록 함. whitespace/Non-whitespace 확인을 위한 별도의 로직 구현을 권장</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">36</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">UselessStringValueOf</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">String 을 append 할 경우, String.valueOf 함수를 사용할 필요 없음</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">37</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">UnusedPrivateField</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">사용되지 않는 Private field의 탐지</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(242, 242, 242);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">38</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">UnusedPrivateMethod</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">사용되지 않는 Private Method 선언을 탐지</td></tr><tr style="margin: 0px; padding: 0px; background-color: rgb(250, 250, 250);"><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">39</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">UnusedFormalParameter</td><td style="margin: 0px; padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; width: auto; color: rgb(102, 102, 102); line-height: 1.5; font-size: 14px; font-weight: bold;">메소드 선언 내에사용되지 않는 파라미터를 탐지</td></tr></tbody></table></div></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;"><br></h2><h1 style="border-color: rgb(204, 204, 204); margin-top: 0px; margin-bottom: 1em; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 26px; border-bottom-width: 1px; border-bottom-style: solid;"><br></h1><h1 style="border-color: rgb(204, 204, 204); margin-top: 0px; margin-bottom: 1em; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 26px; border-bottom-width: 1px; border-bottom-style: solid;">PMD 적용대상 Rule Set</h1><h4 class="se_textarea"><div style="margin: 0px 0px 0px 3px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">총 10개 룰셋이며, <code style="margin: 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); font-family: monospace, serif; white-space: nowrap; background-color: rgb(238, 238, 238);">필수</code>인 39개 룰을 적용합니다.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;"> </p><p style="text-align: center; line-height: 28px; clear: none; font-size: 16px; margin-right: auto; margin-bottom: 28px; margin-left: auto; float: none;"><span class="imageblock" style="width: 829px; height: auto; display: inline-block; max-width: 100%;"><img width="550" height="370" id="image/2443E0395450D0581F3F06" style="margin: auto; border-color: currentcolor; border-image-source: none; height: auto; display: block; cursor: pointer; max-width: 100%;" alt="" src=""></span></p><p style="line-height: 28px; font-size: 16px; margin-right: auto; margin-bottom: 28px; margin-left: auto;"> </p><div id="adBody" style="margin: 0px; padding: 0px; text-align: center;"><!-- Not Allowed Tag Filtered --><ins class="adsbygoogle" data-ad-client="ca-pub-9184373525576918" data-ad-slot="1959714988" data-ad-format="auto" data-adsbygoogle-status="done" style="display: block; height: 90px;"><ins id="aswift_2_expand" style="margin: 0px; padding: 0px; border: currentColor; border-image: none; width: 817px; height: 90px; display: inline-table; visibility: visible; background-color: transparent;"><!-- Not Allowed Tag Filtered --><ins id="aswift_2_anchor" style="display: block; border: none; height: 90px; margin: 0px; padding: 0px; position: relative; visibility: visible; width: 817px; background-color: transparent;"><!-- Not Allowed Tag Filtered --><iframe width="817" height="90" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" id="aswift_2" name="aswift_2" style="max-width: 100%; left: 0px; top: 0px;"></iframe></ins></ins></ins></div></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">Basic Rules</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">대부분의 개발자들이 동의하는 규칙: catch 블록들은 비어있어서는 안되고, equals()를 오버라이딩 할 때 마다 hashCode()를 오버라이드한다.</p></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">EmptyCatchBlock</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">빈 catch문의 사용을 지양한다. 내용이 없는 Catch Block이 존재. Exception 처리가 안될 수 있음.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">catch</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+exception" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">Exception</span></a> e<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">catch</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+exception" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">Exception</span></a> e<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
``<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">catch</span>시의 처리내용을 추가할것``
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">EmptyIfStmt</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">조건에 해당되는 수행문이 없는 if문의 사용을 지양한다.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">else</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">삭제 또는 반대 조건을 이용하여 처리
</pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">EmptyFinallyBlock</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">finally block이 비어있음</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">finally</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">빈 블럭 삭제
</pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">EmptyTryBlock</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">내용이 없는 <code style="margin: 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); font-family: monospace, serif; white-space: nowrap; background-color: rgb(238, 238, 238);">try</code> 블록이 존재함</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">try</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><div id="adFooter" style="margin: 0px; padding: 0px; text-align: center;"><!-- Not Allowed Tag Filtered --><ins class="adsbygoogle" data-ad-client="ca-pub-9184373525576918" data-ad-slot="1959714988" data-ad-format="auto" data-adsbygoogle-status="done" style="display: block; height: 90px;"><ins id="aswift_3_expand" style="margin: 0px; padding: 0px; border: currentColor; border-image: none; width: 777px; height: 90px; display: inline-table; visibility: visible; background-color: transparent;"><!-- Not Allowed Tag Filtered --><ins id="aswift_3_anchor" style="display: block; border: none; height: 90px; margin: 0px; padding: 0px; position: relative; visibility: visible; width: 777px; background-color: transparent;"><!-- Not Allowed Tag Filtered --><iframe width="777" height="90" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" id="aswift_3" name="aswift_3" style="max-width: 100%; left: 0px; top: 0px;"></iframe></ins></ins></ins></div><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">삭제
</pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">EmptyWhileStmt</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">빈 While 구문이 사용되었음.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">while</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-weight: bold;">true</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">삭제
</pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">EmptyStatementNotInLoop</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">loop 블럭에서 <code style="margin: 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); font-family: monospace, serif; white-space: nowrap; background-color: rgb(238, 238, 238);">";"</code> 만 포함한 구문의 사용을 지양한다. (불필요한 세미콜론은 삭제되어야 함)</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">while</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-weight: bold;">true</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">삭제
</pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">UnnecessaryConversionTemporary</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">기본 데이터(primitive type)를 String으로 변환할 때 불필요한 임시 변환 작업을 피하도록 함</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a> convert<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> x<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// this wastes an object</span>
<a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a> foo <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">new</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+integer" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">Integer</span></a><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>x<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">toString</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">return</span> foo<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span>
</pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a> convert<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> x<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// this is better</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">return</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+integer" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">Integer</span></a>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">toString</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>x<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">Braces Rules</h2><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">WhileLoopsMustUseBraces</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">중괄호({})없이 사용된 while문의 사용은 피하라</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">while</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>isdigit<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>c<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> c <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> get<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">while</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>isdigit<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>c<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
c <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> get<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">Controversial Rules</h2><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">AssignmentInOperand</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">코드를 복잡하게 하고 가독성이 떨어지는 피연산자에 할당하는 것을 지양한다.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">while</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>r <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> tQuery.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">fetch</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">!=</span> <span style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-weight: bold;">null</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
... <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">do</span> something
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">while</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-weight: bold;">true</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
r <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> tQuery.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">fetch</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">if</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>r <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">==</span> <span style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-weight: bold;">null</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">break</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span>
.. <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">do</span> something ..
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">DuplicateImports</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">import문이 중복 선언 되었음</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">중복 import 삭제
</pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">UnnecessaryParentheses</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">괄호가 없어도 되는 상황에서 불필요한 괄호를 사용할 경우 마치 메소드 호출처럼 보여서 소스 코드의 가독성을 떨어뜨릴 수 있음. 이에 불필요한 괄호를 삭제토록 함</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Foo <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">boolean</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">return</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-weight: bold;">true</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Foo <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">boolean</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">return</span> <span style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-weight: bold;">true</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">Design Rules</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">다양한 좋은 디자인 원리 체크, 이를 테면: switch 문장은 default 블록을 갖고 있어야 하고, 심하게 중첩된 if 블록은 피해야 하고, 매개변수들은 재할당되어서는 안되며, 더블(double)이 동일함(equality)과 비교되어서도 안된다.</p></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">AvoidReassigningParameters</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">파라미터값을 재할당 하지 않는다.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> WriteObject<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> nShapeId, SHPObject theObject<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">throws</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+exception" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">Exception</span></a><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
nShapeId <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> m_nRecords<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">++;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span>
</pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> WriteObject<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> nShapeId, SHPObject theObject<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">throws</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+exception" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">Exception</span></a><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> newShapeId <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> m_nRecords<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">++;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">AvoidSynchronizedAtMethodLevel</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">“mothod 레벨의 synchronization 보다 block 레벨 synchronization 을 사용하는 것이 바람직함. 새로운 코드가 메소드에 추가되었을때, 메소드 레벨 동기화는 역효과를 일으킨다. 블락레벨 동기화는 동기화가 필요한 코드가 동기화될 수 있도록 도울것이다.”</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">protected</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">static</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">synchronized</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> debug_println<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a> stText<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">System</span></a>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">out</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">println</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>stText<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">protected</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">static</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> debug_println<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a> stText<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">synchronized</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>stText<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">System</span></a>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">out</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">println</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>stText<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">AssignmentToNonFinalStatic</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">static 필드의 안전하지않은 사용 가능성</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">static</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> PK_IDX <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(204, 102, 204);">8</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">static</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">final</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> PK_IDX <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(204, 102, 204);">8</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">EqualsNull</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">null 값과 비교하기 위해 equals 함수를 사용하였음.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">if</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>A.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">equals</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-weight: bold;">null</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">if</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>A <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">==</span> <span style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-weight: bold;">null</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">FinalFieldCouldBeStatic</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">final field를 Static 으로 변경하면 overhead 를 줄일 수 있음.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">final</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> PK_IDX <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(204, 102, 204);">8</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">static</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">final</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> PK_IDX <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(204, 102, 204);">8</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">ImportFromSamePackage</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">동일 패키지에 있을 때는 import문을 사용할 필요가 없음</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">import 삭제
</pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">ImmutableField</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">생성자에서 Assign된 변수를 Final로 선언하지 않았음</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Foo <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">private</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> x<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span> <span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// could be final</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> Foo<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
x <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(204, 102, 204);">7</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Foo <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">private</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">final</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> x<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> Foo<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
x <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(204, 102, 204);">7</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">SimpleDateFormatNeedsLocale</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">SimpleDateFormat 인스턴스를 생성할때 Locale 을 지정하는 것이 바람직함</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+simpledateformat" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">SimpleDateFormat</span></a> sdf <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">new</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+simpledateformat" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">SimpleDateFormat</span></a><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+simpledateformat" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">SimpleDateFormat</span></a> sdf <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">new</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+simpledateformat" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">SimpleDateFormat</span></a><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"yyyy.MM.dd hh:mm:ss"</span>, <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+locale" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">Locale</span></a>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">KOREA</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">SimplifyBooleanExpressions</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">boolean 표현에서 불필요한 비교는 사용을 지양한다.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">if</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>bShell <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">==</span> <span style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-weight: bold;">true</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">if</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>bShell<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">SwitchStmtsShouldHaveDefault</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">Switch구문에는 반드시 default label이 있어야 함</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">switch</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>a<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">case</span> SeColumnDefinition.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">TYPE_BLOB</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">:</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">break</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">switch</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>a<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">case</span> SeColumnDefinition.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">TYPE_BLOB</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">:</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">break</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">default</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">:</span>
.. <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">do</span> Something ..
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">UncommentedEmptyMethod</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">Empty Method 가 사용되었음. 의도적으로 Empty Method 를 구현했다면 그에 대항하는 주석을 기재하는 것이 바람직함.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">static</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> main<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">[</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">]</span> args<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">불필요할 경우 삭제, 의도적이면 주석추가
</pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">AbstractClassWithoutAbstractMethod</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">추상클래스 정의 오류</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">Abstract Class내에 Abstract Method가 존재하지 않음
</pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">Class 로 변경
</pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">AvoidConstantsInterface</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">인터페이스에 상수 적용</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">interface</span> ParserTokens <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">final</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">static</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">short</span> OR<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span><span style="margin: 0px; padding: 0px; color: rgb(204, 102, 204);">257</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> method<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">interface</span> ParserTokens <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> method<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">Java Logging Rules</h2><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">SystemPrintln</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">개발 시 디버그 작업을 위해 사용한 System.out.println()문이 남아 있음. 불필요한 System.out.println()문은 시스템에 부하를 발생 시킨다.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">System</span></a>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">out</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">println</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"SHPType = "</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">+</span> theInfo.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">m_nShapeType</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">protected</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">static</span> Logger logger <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> Logger.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">getLogger</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>Main.<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">getName</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
logger.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">info</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"SHPType = "</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">+</span> theInfo.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">m_nShapeType</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">Naming Rules</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">표준 자바 네이밍 규약을 위한 테스트: 변수 이름들은 너무 짧아서는 안된다; 메소드 이름은 너무 길어서는 안된다; 클래스 이름은 대문자로 시작해야 하고, 메소드와 필드 이름들은 소문자로 시작해야 한다.</p></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">MisleadingVariableName</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">변수명에 잘못된 prefix 사용. non-field 이름이 m_ 으로 시작하지 말아야 함</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a> m_baz<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span> <span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// 메소드명이므로 X</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> m_boz <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(204, 102, 204);">42</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span> <span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// 지역변수이므로 X</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a> baz<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> boz <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(204, 102, 204);">42</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">VariableNamingConventions</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">다음 2가지 경우 중 하나입니다.</p><ol style="list-style: none; margin-right: 0px; margin-bottom: 1em; margin-left: 3.5em; padding: 0px; color: rgb(99, 140, 156); line-height: 1.5em; font-weight: bold;"><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">final 변수 이름이 대문자가 아님.</div></li><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">non-final 변수에 underscore 가 포함되어 있음.</div></li></ol><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">static</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">final</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a> m_stEnc <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"euc-kr"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">protected</span> FileIO m_theShp <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-weight: bold;">null</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">static</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">final</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a> ST_ENC <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"euc-kr"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">protected</span> FileIO mTheShp <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-weight: bold;">null</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">Optimizaion Rules</h2><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">AvoidArrayLoops</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">배열의 값을 루프문을 이용하여 복사하는 것 보다 System.arraycopy() 메소드를 이용하여 복사하는 것이 효율적이며 수행 속도가 빠름</p></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">UnnecessaryWrapperObjectCreation</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">불필요한 Wrapper Object가 생성되었음. Parsing 메소드를 직접적 호출하는 것이 바람직함.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> i<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
i <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+integer" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">Integer</span></a>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">valueOf</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>s<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">intValue</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span> <span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// this wastes an object</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> i2<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
i2 <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+integer" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">Integer</span></a>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">parseInt</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>s<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span> <span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// this is better</span></pre></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">Strict Exception Rules</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">예외 테스트: 메소드는 java.lang.Exception을 던지도록 선언되어서는 안되고, 예외는 플로우 제어에 사용되어서는 안되며, Throwable은 잡혀서는 안된다</p></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">AvoidThrowingRawExceptionTypes</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">단순히 RuntimeException, Throwable, Exception 또는 Error를 전달하지말고 더욱 명확한 오류 타입들로 전달해야 합니다.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">if</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>StringUtils.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">isEmpty</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>props.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">getString</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"smtp.config"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">throw</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">new</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+runtimeexception" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">RuntimeException</span></a><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"Bad Configuration for smtp.config"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">if</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>StringUtils.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">isEmpty</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>props.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">getString</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"smtp.config"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">throw</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">new</span> BadConfigurationException<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"smtp.config"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span>
<span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// Exception 처리를 위한 클래스를 생성합니다.</span><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> BadConfigurationException <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">extends</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+exception" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">Exception</span></a> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> BadConfigurationException <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a> message<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
... 처리...
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">AvoidThrowingNullPointerException</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">NullPointerException을 throw하는것을 지양한다. 대신 IllegalArgumentException 사용을 고려하라.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Foo <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">throw</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">new</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+nullpointerexception" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">NullPointerException</span></a><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Foo <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">throw</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">new</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+illegalargumentexception" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">IllegalArgumentException</span></a><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">String and StringBuffer Rules</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">스트링 관련 작업을 할 때 발생하는 일반적인 문제들 규명. 스트링 리터럴 중복, String 구조체 호출, String 객체에 toString() 호출하기 등.</p></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">StringToString</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">String object에서 toString() 호출을 지양한다.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">sb.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">append</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">" Where pnu = '"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">append</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>pnuSgg.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">toString</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">append</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"';"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">sb.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">append</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">" Where pnu = '"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">append</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>pnuSgg<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">append</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"';"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">InefficientStringBuffering</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">“StringBuffer 함수에서 nonliteral 을 직접 concatenate 하지 말 것. Nonliteral conatenation 는 별도로 처리할 것.”</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Foo <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// Avoid this</span>
<a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+stringbuffer" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">StringBuffer</span></a> sb<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">new</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+stringbuffer" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">StringBuffer</span></a><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">""</span>tmp <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">""</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">+</span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">System</span></a>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">getProperty</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">""</span>java.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">io</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">tmpdir</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">""</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Foo <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// use instead something like this</span>
<a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+stringbuffer" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">StringBuffer</span></a> sb <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">new</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+stringbuffer" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">StringBuffer</span></a><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">""</span>tmp <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">""</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
sb.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">append</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+system" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">System</span></a>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">getProperty</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">""</span>java.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">io</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">tmpdir</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">""</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">StringInstantiation</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">필요없는 Instance가 생성되어 있음</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Foo <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">private</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a> bar <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">new</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"bar"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Foo <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">private</span> <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a> bar <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"bar"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">InefficientEmptyStringCheck</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">Empty String 을 체크하기 위해 String.trim().length() 을 사용하는 것은 피하도록 함. Character.isWhitespace()를 사용하는 것이 바람직함</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">isWhitespace를 이용하여 공백을 체크하는 로직으로 변경처리
</pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">UselessStringValueOf</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">“String 을 append 할 경우, String.valueOf 함수를 사용할 필요 없음. Valueof() 대신 직접 사용하는 것이 바람직함.”</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">return</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118);" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string" target="_blank"><span style="margin: 0px; padding: 0px; color: rgb(0, 0, 102);">String</span></a>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">valueOf</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>obj<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">+</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"<span style="margin: 0px; padding: 0px; color: rgb(0, 0, 153); font-weight: bold;">\n</span>"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">getBytes</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">return</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>obj<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">+</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"<span style="margin: 0px; padding: 0px; color: rgb(0, 0, 153); font-weight: bold;">\n</span>"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span>.<span style="margin: 0px; padding: 0px; color: rgb(0, 102, 0);">getBytes</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span></pre></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">Unused Code Rules</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">결코 읽히지 않은 프라이빗 필드와 로컬 변수, 접근할 수 없는 문장, 결코 호출되지 않는 프라이빗 메소드 등을 찾기</p></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">UnusedFormalParameter</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">사용하지 않는 파라미터는 메소드의 파라미터에서 제외한다.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정전</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">private</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">static</span> Geometry getLineGeometryFromSeShape<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>GeometryFactory tFactory, <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">[</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">]</span> parts, <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">[</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">]</span> subParts, SDEPoint<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">[</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">]</span> points<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// parts 와 subParts 를 사용하지 않음.</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">수정후</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">private</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">static</span> Geometry getLineGeometryFromSeShape<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span>GeometryFactory tFactory, SDEPoint<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">[</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">]</span> points<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">UnusedPrivateField</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">사용되지 않는 값이 할당된 private field를 지양한다.</p></div></h4><h3 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 40px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 23px; border-bottom-style: none;">UnusedPrivateMethod</h3><h4 class="se_textarea"><div style="margin: 0px 0px 0px 43px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">사용되지 않는 private method 사용을 지양한다.</p></div></h4><h1 style="border-color: rgb(204, 204, 204); margin-top: 0px; margin-bottom: 1em; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 26px; border-bottom-width: 1px; border-bottom-style: solid;">PMD 룰 적용 방법 (이클립스)</h1><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">플러그인 설치</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">이클립스 실행 후</p><ol style="list-style: none; margin-right: 0px; margin-bottom: 1em; margin-left: 3.5em; padding: 0px; color: rgb(99, 140, 156); line-height: 1.5em; font-weight: bold;"><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">Help → Install New Software</div></li><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">Add</div></li></ol><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">입력</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);">Name: PMD
Location: <a class="con_link" style="margin: 0px; padding: 0px; color: rgb(67, 105, 118); cursor: help; display: inline !important;" href="http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/" target="_blank" rel="noreferrer">http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/</a></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;"> </p><p style="text-align: center; line-height: 28px; clear: none; font-size: 16px; margin-right: auto; margin-bottom: 28px; margin-left: auto; float: none;"><span class="imageblock" style="width: 300px; height: auto; display: inline-block; max-width: 100%;"><img width="300" height="112" id="image/260D8A3E5450D05920FB41" style="margin: auto; border-color: currentcolor; border-image-source: none; height: auto; display: block; cursor: pointer; max-width: 100%;" alt="" src=""></span></p><p style="line-height: 28px; font-size: 16px; margin-right: auto; margin-bottom: 28px; margin-left: auto;"> </p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">대상 이클립스 선택</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;"> </p><p style="text-align: center; line-height: 28px; clear: none; font-size: 16px; margin-right: auto; margin-bottom: 28px; margin-left: auto; float: none;"><span class="imageblock" style="width: 300px; height: auto; display: inline-block; max-width: 100%;"><img width="300" height="235" id="image/2113F23E5450D05A159181" style="margin: auto; border-color: currentcolor; border-image-source: none; height: auto; display: block; cursor: pointer; max-width: 100%;" alt="" src=""></span></p><p style="line-height: 28px; font-size: 16px; margin-right: auto; margin-bottom: 28px; margin-left: auto;"> </p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">이후 설치 진행하시면 됩니다.</p></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">룰셋 등록</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><ol style="list-style: none; margin-right: 0px; margin-bottom: 1em; margin-left: 3.5em; padding: 0px; color: rgb(99, 140, 156); line-height: 1.5em; font-weight: bold;"><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">Window → Preferences</div></li><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">PMD → Rule Configuration</div></li><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">Clear all 클릭 → 기존 내용을 모두 지움</div></li><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">Import rule set 클릭</div></li><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">파일선택 ( pmd-rule_전자정부 )</div></li><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">Import by Copy 체크 박스 선택</div></li><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">OK 버튼 클릭</div></li><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">Apply 버튼 클릭</div></li></ol><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;"> </p><p style="text-align: center; line-height: 28px; clear: none; font-size: 16px; margin-right: auto; margin-bottom: 28px; margin-left: auto; float: none;"><span class="imageblock" style="width: 600px; height: auto; display: inline-block; max-width: 100%;"><img width="550" height="437" id="image/217E2D3C5450D05C0CA83F" style="margin: auto; border-color: currentcolor; border-image-source: none; height: auto; display: block; cursor: pointer; max-width: 100%;" alt="" src=""></span></p><p style="line-height: 28px; font-size: 16px; margin-right: auto; margin-bottom: 28px; margin-left: auto;"> </p><blockquote style="margin-bottom: 1em; padding: 0px 0px 0px 3px; line-height: 30px; font-size: 18px; border-left-color: rgb(204, 204, 204); border-left-width: 2px; quotes: none;"><div style="margin: 0px; padding: 0px; display: inline;">임포트시에 OK 버튼이 활성화 안되는 것은 이클립스 버전이 다르기 때문입니다. 신버전 이클립스를 사용하는경우에는<pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; font-size: 14px; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><rule ref="rulesets/basic.xml/UnusedNullCheckInEquals"> 부분을
<rule ref="rulesets/java/basic.xml/UnusedNullCheckInEquals"> 이렇게 변경해야 합니다.
</pre></div></blockquote></div></h4><h1 style="border-color: rgb(204, 204, 204); margin-top: 0px; margin-bottom: 1em; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 26px; border-bottom-width: 1px; border-bottom-style: solid;">PMD 실행</h1><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">PMD Check</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><ol style="list-style: none; margin-right: 0px; margin-bottom: 1em; margin-left: 3.5em; padding: 0px; color: rgb(99, 140, 156); line-height: 1.5em; font-weight: bold;"><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">프로젝트 마우스 우클릭</div></li><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">PMD → Check Code with PMD</div></li></ol><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;"><br><span id="callbacknestsurpassingtistorycom4681085" style="width: 1px; height: 1px; float: right;"></span></p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">Violations Overview 창에서 PMD 결과를 확인하실 수 있습니다.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;"><br></p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">Violations Outline 창에서 Error Message 와 Line 을 확인하실 수 있습니다.</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;"> </p></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;"><br></h2><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">PMD 해제</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">PMD로 위반 부분을 모두 수정 하기전에, 빌드를 해야 할 상황이라면 PMD 해제를 합니다.</p><ol style="list-style: none; margin-right: 0px; margin-bottom: 1em; margin-left: 3.5em; padding: 0px; color: rgb(99, 140, 156); line-height: 1.5em; font-weight: bold;"><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">프로젝트 마우스 우클릭</div></li><li style="list-style: decimal; margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-weight: normal;">PMD → Clear PMD Violation</div></li></ol><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;"> </p></div></h4><h1 style="border-color: rgb(204, 204, 204); margin-top: 0px; margin-bottom: 1em; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 26px; border-bottom-width: 1px; border-bottom-style: solid;">PMD 룰 제외 방법</h1><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">Annotation</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">JDK 1.5 이상에서 사용</p><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">전체 룰 적용</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// This will suppress all the PMD warnings in this class</span>
@SuppressWarnings<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"PMD"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Bar <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> foo<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">룰 한개 적용</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// This will suppress UnusedLocalVariable warnings in this class</span>
@SuppressWarnings<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"PMD.UnusedLocalVariable"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Bar <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> foo<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">룰셋 적용</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// This will suppress UnusedLocalVariable and UnusedPrivateMethod warnings in this class</span>
@SuppressWarnings<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">"unused"</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Bar <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> foo<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">private</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> foobar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div></h4><h2 style="border-color: rgb(204, 204, 204); margin: 0px 0px 1em 20px; padding: 0.5em 0px 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; clear: left; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 24px; border-bottom-width: 1px; border-bottom-style: solid;">NOPMD</h2><h4 class="se_textarea"><div style="margin: 0px 0px 0px 23px; padding: 0px; text-align: justify; color: rgb(51, 51, 51); line-height: 21.6px; font-family: 나눔고딕, NanumGothic, 돋움, Dotum, helvetica, sans-serif, tahoma; font-size: 14px;"><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">NO PMD</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Bar <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// 'bar' is accessed by a native method, so we want to suppress warnings for it</span>
<span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">private</span> <span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span> <span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">//NOPMD</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre><p style="line-height: 28px; font-size: 16px; margin-bottom: 1em;">supress warnings</p><pre style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding: 0.5em; border-style: dashed; border-image-source: none; line-height: 20px; font-family: monospace, serif; white-space: pre-wrap; width: auto !important; background-color: rgb(247, 249, 250);"><span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">public</span> <span style="margin: 0px; padding: 0px; color: rgb(177, 177, 0);">class</span> Foo <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">void</span> bar<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">(</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">)</span> <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">{</span>
<span style="margin: 0px; padding: 0px; color: rgb(153, 51, 51);">int</span> x <span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">=</span> <span style="margin: 0px; padding: 0px; color: rgb(204, 102, 204);">2</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">;</span> <span style="margin: 0px; padding: 0px; color: rgb(128, 128, 128); font-style: italic;">// TURN_OFF_WARNINGS</span>
<span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span><span style="margin: 0px; padding: 0px; color: rgb(102, 204, 102);">}</span></pre></div><p></p><div class="autosourcing-stub-extra"></div><p></p></h4></div></div></div></div></div></div><div class="se_component se_paragraph default"><div class="se_sectionArea"><div class="se_editArea"><div class="se_viewArea se_ff_nanumgothic"><div class="se_editView"><div class="se_textView se_fs_T3"><div class="autosourcing-stub-extra"></div><p></p></div></div></div></div></div></div>
PMD요구수준 [펌]네이버개발자센터
http://www.webprogramer.kr/blog/P000000275/post.do
<p><span style="color: rgb(102, 102, 102); line-height: 1;">하루업무가 종료되기전 오늘 짠코드들을 PMD 및 Findbugs로 돌린다.</span></p><p><span style="color: rgb(102, 102, 102); line-height: 1;">현재 진행중인 프로젝트 요구사항으로 .<br></span><br></p><p class="se_textarea" style="text-align: left;"><span style="color: rgb(102, 102, 102); display: inline !important; background-color: rgb(255, 255, 255);"><br></span></p><pre class="prettyprint linenums prettyprinted"><ol class="linenums"><li class="L0"><code class="language-java"><span style="color: rgb(102, 102, 0);">.</span></code></li><li class="L1"><code class="language-java"><span class="pun">.</span></code></li><li class="L2"><code class="language-java"><span class="pun">.</span></code></li><li class="L3"><code class="language-java"><span class="pun">.</span></code></li><li class="L4"><code class="language-java"><span class="pun">.</span></code></li><li class="L5"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">01.</span><span class="pln"> </span><span class="typ">EmptyCatchBlock</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">빈</span><span class="pln"> </span><span class="kwd">catch</span><span class="pun">문</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> doSomething</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="kwd">try</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="typ">FileInputStream</span><span class="pln"> fis </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">FileInputStream</span><span class="pun">(</span><span class="str">"/tmp/bugger"</span><span class="pun">);</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="kwd">catch</span><span class="pln"> </span><span class="pun">(</span><span class="typ">IOException</span><span class="pln"> ioe</span><span class="pun">)</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="com">// </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="typ">Catch</span><span class="pln"> </span><span class="typ">Block</span><span class="pun">에</span><span class="pln"> </span><span class="pun">반드시</span><span class="pln"> </span><span class="pun">예외를</span><span class="pln"> </span><span class="pun">다루는</span><span class="pln"> </span><span class="pun">코드를</span><span class="pln"> </span><span class="pun">작성</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"></code></li><li class="L8"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">02.</span><span class="pln"> </span><span class="typ">EmptyIfStmt</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">빈</span><span class="pln"> </span><span class="kwd">if</span><span class="pun">문</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="kwd">void</span><span class="pln"> bar</span><span class="pun">(</span><span class="kwd">int</span><span class="pln"> x</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">x </span><span class="pun">==</span><span class="pln"> </span><span class="lit">1</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="com">// </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">빈</span><span class="pln"> </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">구문의</span><span class="pln"> </span><span class="pun">사용을</span><span class="pln"> </span><span class="pun">피하도록</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">03.</span><span class="pln"> </span><span class="typ">EmptyWhileStmt</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">빈</span><span class="pln"> </span><span class="kwd">while</span><span class="pun">문</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">void</span><span class="pln"> bar</span><span class="pun">(</span><span class="kwd">int</span><span class="pln"> a</span><span class="pun">,</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> b</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="kwd">while</span><span class="pln"> </span><span class="pun">(</span><span class="pln">a </span><span class="pun">==</span><span class="pln"> b</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="com">// </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">빈</span><span class="pln"> </span><span class="kwd">while</span><span class="pln"> </span><span class="pun">구문</span><span class="pln"> </span><span class="pun">사용을</span><span class="pln"> </span><span class="pun">피하도록</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">04.</span><span class="pln"> </span><span class="typ">EmptyTryBlock</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">빈</span><span class="pln"> </span><span class="kwd">try</span><span class="pln"> </span><span class="pun">블록</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> bar</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="kwd">try</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="kwd">catch</span><span class="pln"> </span><span class="pun">(</span><span class="typ">Exception</span><span class="pln"> e</span><span class="pun">)</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pln"> e</span><span class="pun">.</span><span class="pln">printStackTrace</span><span class="pun">();</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">내용이</span><span class="pln"> </span><span class="pun">없는</span><span class="pln"> </span><span class="kwd">try</span><span class="pln"> </span><span class="pun">블록이</span><span class="pln"> </span><span class="pun">없어야</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"></code></li><li class="L8"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">05.</span><span class="pln"> </span><span class="typ">EmptyFinallyBlock</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">빈</span><span class="pln"> </span><span class="kwd">finally</span><span class="pln"> </span><span class="pun">블록</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> bar</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">try</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="kwd">int</span><span class="pln"> x</span><span class="pun">=</span><span class="lit">3</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="kwd">finally</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="com">// </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">내용이</span><span class="pln"> </span><span class="pun">없는</span><span class="pln"> </span><span class="kwd">finally</span><span class="pln"> </span><span class="pun">블록이</span><span class="pln"> </span><span class="pun">존재하지</span><span class="pln"> </span><span class="pun">말아야</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"></code></li><li class="L5"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"></code></li><li class="L7"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">06.</span><span class="pln"> </span><span class="typ">UnnecessaryConversionTemporary</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">불필요한</span><span class="pln"> </span><span class="typ">String</span><span class="pln"> </span><span class="pun">변환작업</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="typ">String</span><span class="pln"> convert</span><span class="pun">(</span><span class="kwd">int</span><span class="pln"> x</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="typ">String</span><span class="pln"> foo </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">Integer</span><span class="pun">(</span><span class="pln">x</span><span class="pun">).</span><span class="pln">toString</span><span class="pun">();</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="kwd">return</span><span class="pln"> foo</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">기본</span><span class="pln"> </span><span class="pun">데이터</span><span class="pln"> </span><span class="pun">타입을</span><span class="pln"> </span><span class="typ">String</span><span class="pun">으로</span><span class="pln"> </span><span class="pun">변환할</span><span class="pln"> </span><span class="pun">때</span><span class="pln"> </span><span class="pun">불필요한</span><span class="pln"> </span><span class="pun">임시</span><span class="pln"> </span><span class="pun">변환</span><span class="pln"> </span><span class="pun">작업을</span><span class="pln"> </span><span class="pun">피하도록</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"></code></li><li class="L6"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">07.</span><span class="pln"> </span><span class="typ">EmptyStatementNotInLoop</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">필요없는</span><span class="pln"> </span><span class="pun">;문장</span><span class="pln"> </span><span class="pun">존재</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">MyClass</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> doit</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="typ">System</span><span class="pun">.</span><span class="pln">out</span><span class="pun">.</span><span class="pln">println</span><span class="pun">(</span><span class="str">"look at the extra semicolon"</span><span class="pun">);;</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">필요없는</span><span class="pln"> </span><span class="pun">문장</span><span class="pln"> </span><span class="pun">(;)이</span><span class="pln"> </span><span class="pun">없어야</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"></code></li><li class="L5"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"></code></li><li class="L7"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">08.</span><span class="pln"> </span><span class="typ">WhileLoopsMustUseBraces</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">중괄호</span><span class="pln"> </span><span class="pun">없는</span><span class="pln"> </span><span class="kwd">while</span><span class="pun">문</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> doSomething</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="kwd">while</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">true</span><span class="pun">)</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> x</span><span class="pun">++;</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">중괄호없이</span><span class="pln"> </span><span class="pun">사용된</span><span class="pln"> </span><span class="kwd">while</span><span class="pun">문의</span><span class="pln"> </span><span class="pun">사용은</span><span class="pln"> </span><span class="pun">바람직하지</span><span class="pln"> </span><span class="pun">못한</span><span class="pln"> </span><span class="pun">코딩</span><span class="pln"> </span><span class="pun">습관임</span><span class="pln"> </span><span class="pun">(피해야</span><span class="pln"> </span><span class="pun">함)</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"></code></li><li class="L6"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">09.</span><span class="pln"> </span><span class="typ">AssignmentInOperand</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">피연산자</span><span class="pln"> </span><span class="pun">내</span><span class="pln"> </span><span class="pun">할당문</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> bar</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="kwd">int</span><span class="pln"> x </span><span class="pun">=</span><span class="pln"> </span><span class="lit">2</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln"> </span><span class="pun">(</span><span class="pln">x </span><span class="pun">=</span><span class="pln"> getX</span><span class="pun">()</span><span class="pln"> </span><span class="pun">)</span><span class="pln"> </span><span class="pun">==</span><span class="pln"> </span><span class="lit">3</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="typ">System</span><span class="pun">.</span><span class="pln">out</span><span class="pun">.</span><span class="pln">println</span><span class="pun">(</span><span class="str">"3!"</span><span class="pun">);</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> getX</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="kwd">return</span><span class="pln"> </span><span class="lit">3</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">피연산자내에</span><span class="pln"> </span><span class="pun">할당문이</span><span class="pln"> </span><span class="pun">없어야</span><span class="pln"> </span><span class="pun">함.</span><span class="pln"> </span><span class="pun">해당</span><span class="pln"> </span><span class="pun">코드를</span><span class="pln"> </span><span class="pun">복잡하고</span><span class="pln"> </span><span class="pun">가독성이</span><span class="pln"> </span><span class="pun">떨어지게</span><span class="pln"> </span><span class="pun">만듬</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">10.</span><span class="pln"> </span><span class="typ">UnnecessaryParentheses</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">불필요한</span><span class="pln"> </span><span class="pun">괄호사용</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">boolean</span><span class="pln"> bar</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="kwd">return</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">true</span><span class="pun">);</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">괄호가</span><span class="pln"> </span><span class="pun">없어도</span><span class="pln"> </span><span class="pun">되는</span><span class="pln"> </span><span class="pun">상황에서</span><span class="pln"> </span><span class="pun">불필요한</span><span class="pln"> </span><span class="pun">괄호를</span><span class="pln"> </span><span class="pun">사용할</span><span class="pln"> </span><span class="pun">경우</span><span class="pln"> </span><span class="pun">마치</span><span class="pln"> </span><span class="pun">메소드</span><span class="pln"> </span><span class="pun">호출처럼</span><span class="pln"> </span><span class="pun">보여서</span><span class="pln"> </span><span class="pun">소스</span><span class="pln"> </span><span class="pun">코드의</span><span class="pln"> </span><span class="pun">가독성을</span><span class="pln"> </span><span class="pun">떨어뜨릴</span><span class="pln"> </span><span class="pun">수</span><span class="pln"> </span><span class="pun">있음</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">11.</span><span class="pln"> </span><span class="typ">SimplifyBooleanExpressions</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">불필요</span><span class="pln"> </span><span class="kwd">boolean</span><span class="pln"> </span><span class="pun">연산</span><span class="pln"> </span><span class="pun">시도</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Bar</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">boolean</span><span class="pln"> bar </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="pln">isFoo</span><span class="pun">()</span><span class="pln"> </span><span class="pun">==</span><span class="pln"> </span><span class="kwd">true</span><span class="pun">);</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> isFoo</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="kwd">return</span><span class="pln"> </span><span class="kwd">false</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="kwd">boolean</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span><span class="pun">시</span><span class="pln"> </span><span class="pun">불필요한</span><span class="pln"> </span><span class="pun">비교</span><span class="pln"> </span><span class="pun">연산을</span><span class="pln"> </span><span class="pun">피하도록</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">12.</span><span class="pln"> </span><span class="typ">SwitchStmtsShouldHaveDefault</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="kwd">default</span><span class="pln"> </span><span class="pun">없는</span><span class="pln"> </span><span class="kwd">switch</span><span class="pln"> </span><span class="pun">구문</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> bar</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="kwd">int</span><span class="pln"> x </span><span class="pun">=</span><span class="pln"> </span><span class="lit">2</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="kwd">switch</span><span class="pln"> </span><span class="pun">(</span><span class="pln">x</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="kwd">case</span><span class="pln"> </span><span class="lit">2</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="kwd">int</span><span class="pln"> j </span><span class="pun">=</span><span class="pln"> </span><span class="lit">8</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="typ">Switch</span><span class="pun">구문에는</span><span class="pln"> </span><span class="pun">반드시</span><span class="pln"> </span><span class="kwd">default</span><span class="pln"> label</span><span class="pun">이</span><span class="pln"> </span><span class="pun">있어야</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"></code></li><li class="L6"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"></code></li><li class="L8"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">13.</span><span class="pln"> </span><span class="typ">AvoidReassigningParameters</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pun">설명:</span><span class="pln"> parameter </span><span class="pun">값</span><span class="pln"> </span><span class="pun">재할당</span><span class="pln"> </span><span class="pun">시도</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> foo</span><span class="pun">(</span><span class="typ">String</span><span class="pln"> bar</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pln"> bar </span><span class="pun">=</span><span class="pln"> </span><span class="str">"something else"</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">넘겨받는</span><span class="pln"> </span><span class="pun">메소드</span><span class="pln"> parameter </span><span class="pun">값을</span><span class="pln"> </span><span class="pun">직접</span><span class="pln"> </span><span class="pun">변경하지</span><span class="pln"> </span><span class="pun">말아야</span><span class="pln"> </span><span class="pun">함.</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"></code></li><li class="L6"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"></code></li><li class="L8"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">14.</span><span class="pln"> </span><span class="typ">FinalFieldCouldBeStatic</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="kwd">final</span><span class="pln"> field</span><span class="pun">의</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="pun">전환</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">final</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> BAR </span><span class="pun">=</span><span class="pln"> </span><span class="lit">42</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="kwd">final</span><span class="pln"> field</span><span class="pun">를</span><span class="pln"> </span><span class="kwd">static</span><span class="pun">으로</span><span class="pln"> </span><span class="pun">변경하면</span><span class="pln"> overhead</span><span class="pun">를</span><span class="pln"> </span><span class="pun">줄일</span><span class="pln"> </span><span class="pun">수</span><span class="pln"> </span><span class="pun">있음</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"></code></li><li class="L6"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">15.</span><span class="pln"> </span><span class="typ">EqualsNull</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">설명:</span><span class="pln"> equals</span><span class="pun">()을</span><span class="pln"> </span><span class="pun">이용한</span><span class="pln"> </span><span class="kwd">null</span><span class="pln"> </span><span class="pun">비교</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Bar</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="kwd">void</span><span class="pln"> foo</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="typ">String</span><span class="pln"> x </span><span class="pun">=</span><span class="pln"> </span><span class="str">"foo"</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">x</span><span class="pun">.</span><span class="pln">equals</span><span class="pun">(</span><span class="kwd">null</span><span class="pun">))</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pln"> doSomething</span><span class="pun">();</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="kwd">null</span><span class="pln"> </span><span class="pun">값과</span><span class="pln"> </span><span class="pun">비교하기</span><span class="pln"> </span><span class="pun">위해</span><span class="pln"> equals </span><span class="pun">메소드를</span><span class="pln"> </span><span class="pun">사용하지</span><span class="pln"> </span><span class="pun">말아야</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"></code></li><li class="L7"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"></code></li><li class="L9"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">16.</span><span class="pln"> </span><span class="typ">SimpleDateFormatNeedsLocale</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">지역코드없는</span><span class="pln"> </span><span class="typ">SimpleDateFormat</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="typ">SimpleDateFormat</span><span class="pln"> sdf </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">SimpleDateFormat</span><span class="pun">(</span><span class="str">"pattern"</span><span class="pun">);</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="typ">SimpleDateFormat</span><span class="pln"> </span><span class="pun">인스턴스를</span><span class="pln"> </span><span class="pun">생성할때</span><span class="pln"> </span><span class="typ">Locale</span><span class="pln"> </span><span class="pun">을</span><span class="pln"> </span><span class="pun">지정하는</span><span class="pln"> </span><span class="pun">것이</span><span class="pln"> </span><span class="pun">바람직함</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"></code></li><li class="L5"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"></code></li><li class="L7"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">17.</span><span class="pln"> </span><span class="typ">ImmutableField</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">생성자</span><span class="pln"> </span><span class="pun">지정</span><span class="pln"> </span><span class="pun">변수의</span><span class="pln"> </span><span class="kwd">final</span><span class="pln"> </span><span class="pun">미적용</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> x</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="typ">Foo</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pln"> x </span><span class="pun">=</span><span class="pln"> </span><span class="lit">7</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> foo</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">int</span><span class="pln"> a </span><span class="pun">=</span><span class="pln"> x </span><span class="pun">+</span><span class="pln"> </span><span class="lit">2</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">생성자를</span><span class="pln"> </span><span class="pun">통해</span><span class="pln"> </span><span class="pun">할당된</span><span class="pln"> </span><span class="pun">변수를</span><span class="pln"> </span><span class="typ">Final</span><span class="pun">로</span><span class="pln"> </span><span class="pun">선언하는</span><span class="pln"> </span><span class="pun">것이</span><span class="pln"> </span><span class="pun">바람직함</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"></code></li><li class="L9"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"></code></li><li class="L1"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">18.</span><span class="pln"> </span><span class="typ">AssignmentToNonFinalStatic</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="pun">필드의</span><span class="pln"> </span><span class="pun">잘못된</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">StaticField</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> x</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="typ">FinalFields</span><span class="pun">(</span><span class="kwd">int</span><span class="pln"> y</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> x </span><span class="pun">=</span><span class="pln"> y</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="pun">필드의</span><span class="pln"> </span><span class="pun">안전하지</span><span class="pln"> </span><span class="pun">않은</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span><span class="pun">가능성이</span><span class="pln"> </span><span class="pun">존재</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">19.</span><span class="pln"> </span><span class="typ">AvoidSynchronizedAtMethodLevel</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">설명:</span><span class="pln"> synchronization</span><span class="pun">의</span><span class="pln"> </span><span class="pun">과다적용</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">synchronized</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> foo</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> mothod </span><span class="pun">레벨의</span><span class="pln"> synchronization </span><span class="pun">보다</span><span class="pln"> block </span><span class="pun">레벨</span><span class="pln"> synchronization </span><span class="pun">을</span><span class="pln"> </span><span class="pun">사용하는</span><span class="pln"> </span><span class="pun">것이</span><span class="pln"> </span><span class="pun">바람직함</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"></code></li><li class="L9"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"></code></li><li class="L1"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">20.</span><span class="pln"> </span><span class="typ">AbstractClassWithoutAbstractMethod</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">추상클래스</span><span class="pln"> </span><span class="pun">정의</span><span class="pln"> </span><span class="pun">오류</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">abstract</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">void</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> method1</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="com">// ... </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">void</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> method2</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="com">// ... </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="typ">Abstract</span><span class="pln"> </span><span class="typ">Class</span><span class="pun">내에</span><span class="pln"> </span><span class="typ">Abstract</span><span class="pln"> </span><span class="typ">Method</span><span class="pun">가</span><span class="pln"> </span><span class="pun">존재하지</span><span class="pln"> </span><span class="pun">않음</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">21.</span><span class="pln"> </span><span class="typ">UncommentedEmptyMethod</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">빈</span><span class="pln"> </span><span class="pun">메소드</span><span class="pln"> </span><span class="pun">주석표기</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> doSomething</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">빈</span><span class="pln"> </span><span class="pun">메소드에</span><span class="pln"> </span><span class="pun">빈메소드임을</span><span class="pln"> </span><span class="pun">나타내는</span><span class="pln"> </span><span class="pun">주석을</span><span class="pln"> </span><span class="pun">추가할</span><span class="pln"> </span><span class="pun">것</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"></code></li><li class="L9"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"></code></li><li class="L1"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">22.</span><span class="pln"> </span><span class="typ">AvoidConstantsInterface</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">인터페이스에</span><span class="pln"> </span><span class="pun">상수</span><span class="pln"> </span><span class="pun">적용</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">interface</span><span class="pln"> </span><span class="typ">ConstantsInterface</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="kwd">final</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> CONSTANT1 </span><span class="pun">=</span><span class="pln"> </span><span class="lit">0</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="kwd">final</span><span class="pln"> </span><span class="typ">String</span><span class="pln"> CONSTANT2 </span><span class="pun">=</span><span class="pln"> </span><span class="str">"1"</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="typ">Interface</span><span class="pun">는</span><span class="pln"> </span><span class="pun">클래스의</span><span class="pln"> behavior </span><span class="pun">을</span><span class="pln"> </span><span class="pun">구현하는</span><span class="pln"> </span><span class="pun">데에만</span><span class="pln"> </span><span class="pun">사용해야</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"></code></li><li class="L8"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">23.</span><span class="pln"> </span><span class="typ">DuplicateImports</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="kwd">import</span><span class="pun">문의</span><span class="pln"> </span><span class="pun">중복</span><span class="pln"> </span><span class="pun">선언</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">import</span><span class="pln"> java</span><span class="pun">.</span><span class="pln">lang</span><span class="pun">.</span><span class="typ">String</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="kwd">import</span><span class="pln"> java</span><span class="pun">.</span><span class="pln">lang</span><span class="pun">.*;</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="kwd">import</span><span class="pun">문은</span><span class="pln"> </span><span class="pun">중복</span><span class="pln"> </span><span class="pun">선언이</span><span class="pln"> </span><span class="pun">없어야</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"></code></li><li class="L8"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">24.</span><span class="pln"> </span><span class="typ">ImportFromSamePackage</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">불필요한</span><span class="pln"> </span><span class="kwd">import</span><span class="pun">문</span><span class="pln"> </span><span class="pun">선언</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">package</span><span class="pln"> foo</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="kwd">import</span><span class="pln"> foo</span><span class="pun">.</span><span class="typ">Buz</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="kwd">import</span><span class="pln"> foo</span><span class="pun">.*;</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Bar</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">동일</span><span class="pln"> </span><span class="pun">패키지에</span><span class="pln"> </span><span class="pun">있을</span><span class="pln"> </span><span class="pun">때는</span><span class="pln"> </span><span class="kwd">import</span><span class="pun">문을</span><span class="pln"> </span><span class="pun">사용할</span><span class="pln"> </span><span class="pun">필요가</span><span class="pln"> </span><span class="pun">없음</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"></code></li><li class="L9"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"></code></li><li class="L1"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">25.</span><span class="pln"> </span><span class="typ">SystemPrintln</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="typ">System</span><span class="pun">.</span><span class="pln">out</span><span class="pun">.</span><span class="pln">print </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> testA </span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="typ">System</span><span class="pun">.</span><span class="pln">out</span><span class="pun">.</span><span class="pln">println</span><span class="pun">(</span><span class="str">"Entering test"</span><span class="pun">);</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="typ">System</span><span class="pun">.</span><span class="pln">out</span><span class="pun">.</span><span class="pln">print </span><span class="pun">사용을</span><span class="pln"> </span><span class="pun">피해야</span><span class="pln"> </span><span class="pun">함.</span><span class="pln"> </span><span class="pun">전용</span><span class="pln"> </span><span class="pun">로거를</span><span class="pln"> </span><span class="pun">사용할</span><span class="pln"> </span><span class="pun">것을</span><span class="pln"> </span><span class="pun">권장</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"></code></li><li class="L9"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"></code></li><li class="L1"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">26.</span><span class="pln"> </span><span class="typ">VariableNamingConventions</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">변수명에</span><span class="pln"> </span><span class="pun">밑줄</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="kwd">final</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> MY_NUM </span><span class="pun">=</span><span class="pln"> </span><span class="lit">0</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="typ">String</span><span class="pln"> myTest </span><span class="pun">=</span><span class="pln"> </span><span class="str">""</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="typ">DataModule</span><span class="pln"> dmTest </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">DataModule</span><span class="pun">();</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="kwd">final</span><span class="pun">이</span><span class="pln"> </span><span class="pun">아닌</span><span class="pln"> </span><span class="pun">변수는</span><span class="pln"> </span><span class="pun">밑줄을</span><span class="pln"> </span><span class="pun">포함하지</span><span class="pln"> </span><span class="pun">말아야</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"></code></li><li class="L9"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"></code></li><li class="L1"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">27.</span><span class="pln"> </span><span class="typ">MisleadingVariableName</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">변수명에</span><span class="pln"> </span><span class="pun">잘못된</span><span class="pln"> prefix </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> bar</span><span class="pun">(</span><span class="typ">String</span><span class="pln"> m_baz</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">int</span><span class="pln"> m_boz </span><span class="pun">=</span><span class="pln"> </span><span class="lit">42</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> non</span><span class="pun">-</span><span class="pln">field </span><span class="pun">이름이</span><span class="pln"> m_ </span><span class="pun">으로</span><span class="pln"> </span><span class="pun">시작하지</span><span class="pln"> </span><span class="pun">말아야</span><span class="pln"> </span><span class="pun">함</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"></code></li><li class="L9"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"></code></li><li class="L1"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">28.</span><span class="pln"> </span><span class="typ">AvoidArrayLoops</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">루프문을</span><span class="pln"> </span><span class="pun">이용한</span><span class="pln"> </span><span class="pun">배열복사</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Test</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> bar</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">int</span><span class="pun">[]</span><span class="pln"> a </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="kwd">int</span><span class="pun">[</span><span class="lit">10</span><span class="pun">];</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="kwd">int</span><span class="pun">[]</span><span class="pln"> b </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="kwd">int</span><span class="pun">[</span><span class="lit">10</span><span class="pun">];</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">for</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pln"> i</span><span class="pun">=</span><span class="lit">0</span><span class="pun">;</span><span class="pln">i</span><span class="pun"><</span><span class="lit">10</span><span class="pun">;</span><span class="pln">i</span><span class="pun">++)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> b</span><span class="pun">[</span><span class="pln">i</span><span class="pun">]=</span><span class="pln">a</span><span class="pun">[</span><span class="pln">i</span><span class="pun">];</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">배열의</span><span class="pln"> </span><span class="pun">값을</span><span class="pln"> </span><span class="pun">루프문을</span><span class="pln"> </span><span class="pun">이용하여</span><span class="pln"> </span><span class="pun">복사하는</span><span class="pln"> </span><span class="pun">것</span><span class="pln"> </span><span class="pun">보다,</span><span class="pln"> </span><span class="typ">System</span><span class="pun">.</span><span class="pln">arraycopy</span><span class="pun">()</span><span class="pln"> </span><span class="pun">메소드를</span><span class="pln"> </span><span class="pun">이용하여</span><span class="pln"> </span><span class="pun">복사하는</span><span class="pln"> </span><span class="pun">것이</span><span class="pln"> </span><span class="pun">효율적이며</span><span class="pln"> </span><span class="pun">수행</span><span class="pln"> </span><span class="pun">속도가</span><span class="pln"> </span><span class="pun">빠름</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"></code></li><li class="L3"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"></code></li><li class="L5"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">29.</span><span class="pln"> </span><span class="typ">UnnecessaryWrapperObjectCreation</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">불필요한</span><span class="pln"> </span><span class="typ">WrapperObject</span><span class="pln"> </span><span class="pun">생성</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> convert</span><span class="pun">(</span><span class="typ">String</span><span class="pln"> s</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="kwd">int</span><span class="pln"> i</span><span class="pun">,</span><span class="pln"> i2</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> i </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Integer</span><span class="pun">.</span><span class="pln">valueOf</span><span class="pun">(</span><span class="pln">s</span><span class="pun">).</span><span class="pln">intValue</span><span class="pun">();</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> i2 </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Integer</span><span class="pun">.</span><span class="pln">valueOf</span><span class="pun">(</span><span class="pln">i</span><span class="pun">).</span><span class="pln">intValue</span><span class="pun">();권장방안:</span><span class="pln"> </span><span class="pun">불필요한</span><span class="pln"> </span><span class="typ">Wrapper</span><span class="pln"> </span><span class="typ">Object</span><span class="pun">가</span><span class="pln"> </span><span class="pun">생성되었음.</span><span class="pln"> </span><span class="pun">탐지된</span><span class="pln"> </span><span class="pun">코드는</span><span class="pln"> </span><span class="pun">삭제하고,</span><span class="pln"> </span><span class="pun">별도의</span><span class="pln"> parse</span><span class="pun">관련</span><span class="pln"> </span><span class="pun">전용</span><span class="pln"> </span><span class="pun">메소드</span><span class="pln"> </span><span class="pun">사용을</span><span class="pln"> </span><span class="pun">권장</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">30.</span><span class="pln"> </span><span class="typ">AvoidThrowingRawExceptionTypes</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">비가공</span><span class="pln"> </span><span class="typ">Exception</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> bar</span><span class="pun">()</span><span class="pln"> </span><span class="kwd">throws</span><span class="pln"> </span><span class="typ">Exception</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="kwd">throw</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">Exception</span><span class="pun">();</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">가공되지</span><span class="pln"> </span><span class="pun">않은</span><span class="pln"> </span><span class="typ">Exception</span><span class="pun">을</span><span class="pln"> </span><span class="kwd">throw</span><span class="pun">하는</span><span class="pln"> </span><span class="pun">것은</span><span class="pln"> </span><span class="pun">비추천</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">31.</span><span class="pln"> </span><span class="typ">AvoidThrowingNullPointerException</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="typ">NullPointerException</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">void</span><span class="pln"> bar</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="kwd">throw</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">NullPointerException</span><span class="pun">();</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="typ">NullPointerException</span><span class="pun">을</span><span class="pln"> </span><span class="kwd">throw</span><span class="pun">하는</span><span class="pln"> </span><span class="pun">것은</span><span class="pln"> </span><span class="pun">비추천</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">32.</span><span class="pln"> </span><span class="typ">StringInstantiation</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">불필요</span><span class="pln"> </span><span class="typ">String</span><span class="pln"> </span><span class="typ">Instance</span><span class="pln"> </span><span class="pun">생성</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="typ">String</span><span class="pln"> bar </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">String</span><span class="pun">(</span><span class="str">"bar"</span><span class="pun">);</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">불필요한</span><span class="pln"> </span><span class="typ">String</span><span class="pln"> </span><span class="typ">Instance</span><span class="pun">를</span><span class="pln"> </span><span class="pun">생성하는</span><span class="pln"> </span><span class="pun">코드가</span><span class="pln"> </span><span class="pun">없어야</span><span class="pln"> </span><span class="pun">함.</span><span class="pln"> </span><span class="pun">간단한</span><span class="pln"> </span><span class="pun">형태의</span><span class="pln"> </span><span class="pun">코드로</span><span class="pln"> </span><span class="pun">변경</span><span class="pln"> </span><span class="pun">필요</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">33.</span><span class="pln"> </span><span class="typ">StringToString</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">불필요한</span><span class="pln"> toString</span><span class="pun">()</span><span class="pln"> </span><span class="pun">메소드</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="typ">String</span><span class="pln"> baz</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="typ">String</span><span class="pln"> bar </span><span class="pun">=</span><span class="pln"> </span><span class="str">"howdy"</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">return</span><span class="pln"> bar</span><span class="pun">.</span><span class="pln">toString</span><span class="pun">();</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="typ">String</span><span class="pln"> </span><span class="pun">객체에서</span><span class="pln"> toString</span><span class="pun">()함수를</span><span class="pln"> </span><span class="pun">사용하는</span><span class="pln"> </span><span class="pun">것은</span><span class="pln"> </span><span class="pun">불필요함.</span><span class="pln"> </span><span class="pun">해당</span><span class="pln"> </span><span class="pun">코드</span><span class="pln"> </span><span class="pun">제거</span><span class="pln"> </span><span class="pun">필요</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"></code></li><li class="L1"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"></code></li><li class="L3"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">34.</span><span class="pln"> </span><span class="typ">InefficientStringBuffering</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="typ">StringBuffer</span><span class="pln"> </span><span class="pun">함수내</span><span class="pln"> </span><span class="pun">결합코드</span><span class="pln"> </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pun">오류코드:</span><span class="typ">StringBuffer</span><span class="pln"> sb </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">StringBuffer</span><span class="pun">(</span><span class="pln"> </span><span class="str">"tmp ="</span><span class="pln"> </span><span class="pun">+</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="typ">System</span><span class="pun">.</span><span class="pln">getProperty</span><span class="pun">(</span><span class="str">"java.io.tmpdir"</span><span class="pun">)</span><span class="pln"> </span><span class="pun">);권장방안:</span><span class="pln"> </span><span class="typ">StringBuffer</span><span class="pln"> </span><span class="pun">함수내에서</span><span class="pln"> </span><span class="pun">비문자열</span><span class="pln"> </span><span class="pun">연산</span><span class="pln"> </span><span class="pun">이용하여</span><span class="pln"> </span><span class="pun">직접</span><span class="pln"> </span><span class="pun">결합하는</span><span class="pln"> </span><span class="pun">코드</span><span class="pln"> </span><span class="pun">사용을</span><span class="pln"> </span><span class="pun">탐지.</span><span class="pln"> append </span><span class="pun">메소드</span><span class="pln"> </span><span class="pun">사용을</span><span class="pln"> </span><span class="pun">권장</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"></code></li><li class="L8"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">35.</span><span class="pln"> </span><span class="typ">InefficientEmptyStringCheck</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">빈문자열</span><span class="pln"> </span><span class="pun">확인</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="kwd">void</span><span class="pln"> bar</span><span class="pun">(</span><span class="typ">String</span><span class="pln"> string</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pln"> </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">string </span><span class="pun">!=</span><span class="pln"> </span><span class="kwd">null</span><span class="pln"> </span><span class="pun">&&</span><span class="pln"> string</span><span class="pun">.</span><span class="pln">trim</span><span class="pun">().</span><span class="pln">size</span><span class="pun">()</span><span class="pln"> </span><span class="pun">></span><span class="pln"> </span><span class="lit">0</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> doSomething</span><span class="pun">();</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">빈</span><span class="pln"> </span><span class="pun">문자열</span><span class="pln"> </span><span class="pun">확인을</span><span class="pln"> </span><span class="pun">위해</span><span class="pln"> </span><span class="typ">String</span><span class="pun">.</span><span class="pln">trim</span><span class="pun">().</span><span class="pln">length</span><span class="pun">()</span><span class="pln"> </span><span class="pun">을</span><span class="pln"> </span><span class="pun">사용하는</span><span class="pln"> </span><span class="pun">것은</span><span class="pln"> </span><span class="pun">피하도록</span><span class="pln"> </span><span class="pun">함.</span><span class="pln"> whitespace</span><span class="pun">/</span><span class="typ">Non</span><span class="pun">-</span><span class="pln">whitespace </span><span class="pun">확인을</span><span class="pln"> </span><span class="pun">위한</span><span class="pln"> </span><span class="pun">별도의</span><span class="pln"> </span><span class="pun">로직</span><span class="pln"> </span><span class="pun">구현을</span><span class="pln"> </span><span class="pun">권장</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">36.</span><span class="pln"> </span><span class="typ">UselessStringValueOf</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">불필요한</span><span class="pln"> </span><span class="typ">String</span><span class="pun">.</span><span class="pln">valueOf </span><span class="pun">사용</span><span class="pln"> </span></code></li><li class="L4"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="typ">String</span><span class="pln"> convert</span><span class="pun">(</span><span class="kwd">int</span><span class="pln"> i</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="typ">String</span><span class="pln"> s</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L6"><code class="language-java"><span class="pln"> s </span><span class="pun">=</span><span class="pln"> </span><span class="str">"a"</span><span class="pln"> </span><span class="pun">+</span><span class="pln"> </span><span class="typ">String</span><span class="pun">.</span><span class="pln">valueOf</span><span class="pun">(</span><span class="pln">i</span><span class="pun">);</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">return</span><span class="pln"> s</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="typ">String</span><span class="pln"> </span><span class="pun">을</span><span class="pln"> append </span><span class="pun">할</span><span class="pln"> </span><span class="pun">경우,</span><span class="pln"> </span><span class="typ">String</span><span class="pun">.</span><span class="pln">valueOf </span><span class="pun">함수를</span><span class="pln"> </span><span class="pun">사용할</span><span class="pln"> </span><span class="pun">필요</span><span class="pln"> </span><span class="pun">없음</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"></code></li><li class="L0"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">37.</span><span class="pln"> </span><span class="typ">UnusedPrivateField</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">미사용</span><span class="pln"> </span><span class="kwd">private</span><span class="pln"> field </span></code></li><li class="L4"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Something</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> FOO </span><span class="pun">=</span><span class="pln"> </span><span class="lit">2</span><span class="pun">;</span><span class="pln"> </span><span class="com">// Unused </span></code></li><li class="L6"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> i </span><span class="pun">=</span><span class="pln"> </span><span class="lit">5</span><span class="pun">;</span><span class="pln"> </span><span class="com">// Unused </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> j </span><span class="pun">=</span><span class="pln"> </span><span class="lit">6</span><span class="pun">;</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">int</span><span class="pln"> addOne</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pln"> </span><span class="kwd">return</span><span class="pln"> j</span><span class="pun">++;</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L2"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">사용되지</span><span class="pln"> </span><span class="pun">않는</span><span class="pln"> </span><span class="typ">Private</span><span class="pln"> field</span><span class="pun">의</span><span class="pln"> </span><span class="pun">탐지</span><span class="pln"> </span><span class="pun">→</span><span class="pln"> </span><span class="pun">해당</span><span class="pln"> </span><span class="pun">소스</span><span class="pln"> </span><span class="pun">확인</span><span class="pln"> </span><span class="pun">후,</span><span class="pln"> </span><span class="pun">삭제</span><span class="pln"> </span><span class="pun">등의</span><span class="pln"> </span><span class="pun">조치</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"></code></li><li class="L6"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">38.</span><span class="pln"> </span><span class="typ">UnusedPrivateMethod</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">미사용</span><span class="pln"> </span><span class="kwd">private</span><span class="pln"> method </span></code></li><li class="L8"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Something</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> foo</span><span class="pun">()</span><span class="pln"> </span><span class="pun">{}</span><span class="pln"> </span><span class="com">// unused </span></code></li><li class="L0"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">사용되지</span><span class="pln"> </span><span class="pun">않는</span><span class="pln"> </span><span class="typ">Private</span><span class="pln"> </span><span class="typ">Method</span><span class="pln"> </span><span class="pun">선언을</span><span class="pln"> </span><span class="pun">탐지</span><span class="pln"> </span><span class="pun">→</span><span class="pln"> </span><span class="pun">해당</span><span class="pln"> </span><span class="pun">소스</span><span class="pln"> </span><span class="pun">확인</span><span class="pln"> </span><span class="pun">후,</span><span class="pln"> </span><span class="pun">삭제</span><span class="pln"> </span><span class="pun">등의</span><span class="pln"> </span><span class="pun">조치</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"><span class="pun">--------------------------------------------------------------------------------</span><span class="pln"> </span></code></li><li class="L3"><code class="language-java"></code></li><li class="L4"><code class="language-java"><span class="typ">Rule</span><span class="pun">#</span><span class="lit">39.</span><span class="pln"> </span><span class="typ">UnusedFormalParameter</span><span class="pln"> </span></code></li><li class="L5"><code class="language-java"><span class="pun">설명:</span><span class="pln"> </span><span class="pun">미사용</span><span class="pln"> method parameter </span></code></li><li class="L6"><code class="language-java"><span class="pun">오류코드:</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Foo</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L7"><code class="language-java"><span class="pln"> </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> bar</span><span class="pun">(</span><span class="typ">String</span><span class="pln"> howdy</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span></code></li><li class="L8"><code class="language-java"><span class="pln"> </span><span class="com">// howdy is not used </span></code></li><li class="L9"><code class="language-java"><span class="pln"> </span><span class="pun">}</span><span class="pln"> </span></code></li><li class="L0"><code class="language-java"><span class="pun">}권장방안:</span><span class="pln"> </span><span class="pun">메소드</span><span class="pln"> </span><span class="pun">선언</span><span class="pln"> </span><span class="pun">내에사용되지</span><span class="pln"> </span><span class="pun">않는</span><span class="pln"> </span><span class="pun">파라미터를</span><span class="pln"> </span><span class="pun">탐지</span><span class="pln"> </span><span class="pun">→</span><span class="pln"> </span><span class="pun">해당</span><span class="pln"> </span><span class="pun">소스</span><span class="pln"> </span><span class="pun">확인</span><span class="pln"> </span><span class="pun">후,</span><span class="pln"> </span><span class="pun">삭제</span><span class="pln"> </span><span class="pun">등의</span><span class="pln"> </span><span class="pun">조치</span><span class="pln"> </span></code></li><li class="L1"><code class="language-java"></code></li><li class="L2"><code class="language-java"></code></li><li class="L3"><code class="language-java"><span class="pln"> </span><span class="pun">[펌]네이버개발자센터</span></code></li></ol></pre><p><br></p>
Java] 경위도 좌표 거리계산 (두 지점간의 거리) (펌)
http://www.webprogramer.kr/blog/P000000274/post.do
<p><div class="autosourcing-stub-extra"></div></p><p class="se_textarea" style="text-align: left;">요즘 모바일 웹이나 앱을 이용하다보면 스마트폰의 현재 위치를 기반으로 특정 거리안에 있는 정보를 사용자에게 제공하는 서비스들을 쉽게 접할 수 있다.<br>이때 해당 정보를 보여주기 위해서는 현재 위치와 특정 정보가 존재하는 위치. <br>즉 두 지점간의 거리를 계산해야 가까운 순서대로 정렬을 하거나 거리를 가지고 필터링을 할 수 있다.<br>오늘은 두 좌표간의 거리를 계산하는 방법을 소개한다. <br><a class="se_link" href="http://www.geodatasource.com/developers/java" target="_blank">http://www.geodatasource.com/developers/java</a> 에 있는 해당 계산식에 미터 단위(meter) 를 추가하였다. <br>(국내에서는 미터단위를 많이 사용하기 때문...)<br>테스트 지점은 서울 역삼역, 선릉역 두 지점의 거리를 계산하였으며 구글 지도와 비교했을때 큰 오차는 발생하지 않았다.</p><p class="se_textarea" style="text-align: left;"><br></p><pre class="prettyprint linenums"><code class="language-java">public class LocationDistance {
public static void main(String[] args) {
// 마일(Mile) 단위
double distanceMile =
distance(37.504198, 127.047967, 37.501025, 127.037701, "");
// 미터(Meter) 단위
double distanceMeter =
distance(37.504198, 127.047967, 37.501025, 127.037701, "meter");
// 킬로미터(Kilo Meter) 단위
double distanceKiloMeter =
distance(37.504198, 127.047967, 37.501025, 127.037701, "kilometer");
System.out.println(distanceMile) ;
System.out.println(distanceMeter) ;
System.out.println(distanceKiloMeter) ;
}
/**
* 두 지점간의 거리 계산
*
* @param lat1 지점 1 위도
* @param lon1 지점 1 경도
* @param lat2 지점 2 위도
* @param lon2 지점 2 경도
* @param unit 거리 표출단위
* @return
*/
private static double distance(double lat1, double lon1, double lat2, double lon2, String unit) {
double theta = lon1 - lon2;
double dist = Math.sin(deg2rad(lat1)) * Math.sin(deg2rad(lat2)) + Math.cos(deg2rad(lat1)) * Math.cos(deg2rad(lat2)) * Math.cos(deg2rad(theta));
dist = Math.acos(dist);
dist = rad2deg(dist);
dist = dist * 60 * 1.1515;
if (unit == "kilometer") {
dist = dist * 1.609344;
} else if(unit == "meter"){
dist = dist * 1609.344;
}
return (dist);
}
// This function converts decimal degrees to radians
private static double deg2rad(double deg) {
return (deg * Math.PI / 180.0);
}
// This function converts radians to decimal degrees
private static double rad2deg(double rad) {
return (rad * 180 / Math.PI);
}
}
아래 URL을 방문하면 그밖의 언어로 된 계산식을 확인 할 수 있다.
http://www.geodatasource.com/developers/
</code></pre><p class="se_textarea" style="text-align: left;"><br></p>
네이버지도 메모
http://www.webprogramer.kr/blog/P000000273/post.do
<p><br></p><pre class="prettyprint linenums"><code class="language-javascript"><script type="text/javascript" src="<c:out>" target="_blank">http://openapi.map.naver.com/openapi/v2/maps.js?clientId=<c:out value="${clientId}"/>"></script>
<!--For Commons Validator Client Side-->
<script type="text/javascript" src="<c:url value='/common/validator.do'/>"></script>
<validator:javascript formName="assignVO" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javaScript" language="javascript" defer="defer">
var pointPoition = "";
var mapStatus = "1";
var poiValue = "";
var mapValueX = "";
var mapValueY = "";
var oMarkerParam = new Array();
//이전마커
var preoMarker;
//이전포인트
var preoPoint;
//라벨지
var preoLabel;
$(function() {
var dates = $("#orgnTime, #desnTime").datepicker({
prevText: '이전 달',
nextText: '다음 달',
monthNames: ['1월','2월','3월','4월','5월','6월','7월','8월','9월','10월','11월','12월'],
monthNamesShort: ['1월','2월','3월','4월','5월','6월','7월','8월','9월','10월','11월','12월'],
dayNames: ['일','월','화','수','목','금','토'],
dayNamesShort: ['일','월','화','수','목','금','토'],
dayNamesMin: ['일','월','화','수','목','금','토'],
dateFormat: 'yymmdd',
showMonthAfterYear: true,
yearSuffix: '년',
onSelect: function( selectedDate ) {
var option = this.id == "orgnTime" ? "minDate" : "maxDate",
instance = $( this ).data( "datepicker" ),
date = $.datepicker.parseDate(
instance.settings.dateFormat ||
$.datepicker._defaults.dateFormat,
selectedDate, instance.settings );
dates.not( this ).datepicker( "option", option, date );
}
});
if('${insertYn}' == "Y") {
alert('<c:out value="${message}"/>');
var opener;
getDialogArguments();
if (window.dialogArguments) {
opener = window.dialogArguments; // Support IE
} else {
opener = window.opener; // Support Chrome, Firefox, Safari, Opera
}
opener.document.location.href="<c:url value='/drt/assign/assignManage.do'/>";
parent.window.close();
}
//지도
var oCenterPoint = new nhn.api.map.LatLng("${mapCenterInfo.gpsYcrd}", "${mapCenterInfo.gpsXcrd}"); // Y, X
nhn.api.map.setDefaultPoint('LatLng');
oMap = new nhn.api.map.Map('naver_map', {
point : oCenterPoint,
zoom : 11, // - 초기 줌 레벨은 11
enableWheelZoom : true,
enableDragPan : true,
enableDblClickZoom : false,
mapMode : 0,
activateTrafficMap : false,
activateBicycleMap : false,
minMaxLevel : [ 1, 14 ],
size : new nhn.api.map.Size(640, 400)
});
/* 중심점 써클 그리기
var circle = new nhn.api.map.Circle({
strokeColor : "red",
strokeOpacity : 1,
strokeWidth : 1,
fillColor : "blue",
fillOpacity : 0.5
});
var radius = 5; // - radius의 단위는 meter
circle.setCenterPoint(new nhn.api.map.LatLng("${mapCenterInfo.gpsYcrd}", "${mapCenterInfo.gpsXcrd}")); // - circle 의 중심점을 지정한다.
circle.setRadius(radius); // - circle 의 반지름을 지정하며 단위는 meter이다.
circle.setStyle("strokeColor", "blue"); // - 선의 색깔을 지정함.
circle.setStyle("strokeWidth", 3); // - 선의 두께를 지정함.
circle.setStyle("strokeOpacity", 1); // - 선의 투명도를 지정함.
circle.setStyle("fillColor", "none"); // - 채우기 색상. none 이면 투명하게 된다.
oMap.addOverlay(circle);
*/
var markerCount = 0;
// 컨트롤 설정
var mapZoom = new nhn.api.map.ZoomControl();
mapZoom.setPosition({right:10, top:10}); // - 줌 컨트롤 위치 지정.
oMap.addControl(mapZoom);
//마커 이미지, 사이즈 설정
var oSize = new nhn.api.map.Size(31, 38); //마커사이즈대로 설정
var oOffset = new nhn.api.map.Size(31, 38);
var oIconOn = new nhn.api.map.Icon('http://static.naver.com/maps2/icons/pin_spot2.png', oSize, oOffset);
var oInfoWnd = new nhn.api.map.InfoWindow();
oInfoWnd.setVisible(false);
oMap.addOverlay(oInfoWnd);
oInfoWnd.setPosition({
top : 20,
left :20
});
var oLabel = new nhn.api.map.MarkerLabel(); // - 마커 라벨 선언.
oMap.addOverlay(oLabel); // - 마커 라벨 지도에 추가. 기본은 라벨이 보이지 않는 상태로 추가됨.
oInfoWnd.attach('changeVisible', function(oCustomEvent) {
if (oCustomEvent.visible) {
oLabel.setVisible(false);
}
});
/*
var oPolyline = new nhn.api.map.Polyline([], {
strokeColor : '#f00', // - 선의 색깔
strokeWidth : 5, // - 선의 두께
strokeOpacity : 0.5 // - 선의 투명도
}); // - polyline 선언, 첫번째 인자는 선이 그려질 점의 위치. 현재는 없음.
oMap.addOverlay(oPolyline); // - 지도에 선을 추가함.
*/
oMap.attach('mouseenter', function(oCustomEvent) {
var oTarget = oCustomEvent.target;
// 마커위에 마우스 올라간거면
if (oTarget instanceof nhn.api.map.Marker) {
var oMarker = oTarget;
oLabel.setVisible(true, oMarker); // - 특정 마커를 지정하여 해당 마커의 title을 보여준다.
}
});
oMap.attach('mouseleave', function(oCustomEvent) {
var oTarget = oCustomEvent.target;
// 마커위에서 마우스 나간거면
if (oTarget instanceof nhn.api.map.Marker) {
oLabel.setVisible(false);
}
});
//icon 이미지를 바꿔서 사용할 수 있습니다.
var oMarker = new nhn.api.map.Marker(oIconOn, { title : '${mapCenterInfo.addrNm}', zIndex : 1 });
oMarker.setPoint(oCenterPoint);
oMap.addOverlay(oMarker);
// 마커라벨 표시
var oLabel1 = new nhn.api.map.MarkerLabel(); // 마커 라벨 선언
//oMap.addOverlay(oLabel1);// 마커 라벨 지도에 추가. 기본은 라벨이 보이지 않는 상태로 추가됨
oLabel1.setVisible(true, oMarker);// 마커 라벨 보이기
//이전마커, 포인트, 라벨 저장
preoMarker = oMarker;
preoPoint = oCenterPoint;
preoLabel = oLabel1;
//마커 추가
/* var oPoint = new nhn.api.map.LatLng("36.3518983", "127.3813287");
var oMarker = new nhn.api.map.Marker(oIconOn, { title : '건설사', zIndex : 1 });
//변수전달 방법, 배열사용
oMarkerParam[0] = '변수값1';
oMarker.setPoint(oPoint);
oMap.addOverlay(oMarker);
*/
//첫 마커의 설명창만 보이게 설정
/*
oMap.setCenter(oMarker.getPoint());
infoWindow.setContent('설명창 내용33, 변수='+oMarkerParam[0]);
infoWindow.setPoint(oMarker.getPoint());
infoWindow.setVisible(true);
infoWindow.setPosition({right : 5, top : 20});
infoWindow.autoPosition();
*/
// 마커라벨 표시
/* var oLabel1 = new nhn.api.map.MarkerLabel(); // 마커 라벨 선언
oMap.addOverlay(oLabel1);// 마커 라벨 지도에 추가. 기본은 라벨이 보이지 않는 상태로 추가됨
oLabel1.setVisible(true, oMarker);// 마커 라벨 보이기
var oPoint = new nhn.api.map.LatLng("36.35189", "127.3822286");
var oMarker = new nhn.api.map.Marker(oIconOn, { title : 'XX건설', zIndex : 1 });
//변수전달 방법, 배열사용
oMarkerParam[0] = '변수값2';
oMarker.setPoint(oPoint);
oMap.addOverlay(oMarker);
// 마커라벨 표시
var oLabel1 = new nhn.api.map.MarkerLabel(); // 마커 라벨 선언
oMap.addOverlay(oLabel1);// 마커 라벨 지도에 추가. 기본은 라벨이 보이지 않는 상태로 추가됨
oLabel1.setVisible(true, oMarker);// 마커 라벨 보이기
*/
/*
oMap.attach('click', function(oCustomEvent) {
var oTarget = oCustomEvent.target;
var oMarkerId = oCustomEvent.target.getTitle();
// 마커 클릭하면
if (oTarget instanceof nhn.api.map.Marker) {
//oTarget.setIcon(oIconOn);
oMap.setCenter(oMarker.getPoint());
infoWindow.setContent('설명창 내용, 변수='+oMarkerParam[oMarkerId]);
infoWindow.setPoint(oTarget.getPoint());
infoWindow.setVisible(true);
infoWindow.setPosition({right : 5, top : 20});
infoWindow.autoPosition();
return;
}
});
*/
oMap.attach('click', function(oCustomEvent) {
var oPoint = oCustomEvent.point;
var oTarget = oCustomEvent.target;
oInfoWnd.setVisible(false);
//이전 포인트 삭제
if(preoMarker != undefined) {
if (oTarget instanceof nhn.api.map.Marker) {
} else {
oMap.removeOverlay(preoMarker);
//라벨삭제
oLabel1.setVisible(false, oMarker);
}
}
/*
var stroPoint = oPoint+"";
var arr = new Array();
arr = stroPoint.split(',');
//포인트
var sPoints_1 = new Array();
var sPoint0_1 = new nhn.api.map.LatLng(arr[0], arr[1]);
var oMarker0_1 = new nhn.api.map.Marker(oIconOn, { title : '중심점테스트' });
oMarker0_1.setPoint(sPoint0_1);
oMap.addOverlay(oMarker0_1);
sPoints_1 = sPoint0_1;
//if( pointCnt_1 > 1 ){
// oMap.setBound(sPoints_1);
//}
*/
// 마커 클릭하면
if (oTarget instanceof nhn.api.map.Marker) {
// 겹침 마커 클릭한거면
if (oCustomEvent.clickCoveredMarker) {
return;
}
// - InfoWindow 에 들어갈 내용은 setContent 로 자유롭게 넣을 수 있습니다. 외부 css를 이용할 수 있으며,
// - 외부 css에 선언된 class를 이용하면 해당 class의 스타일을 바로 적용할 수 있습니다.
// - 단, DIV 의 position style 은 absolute 가 되면 안되며,
// - absolute 의 경우 autoPosition 이 동작하지 않습니다.
/*
oInfoWnd.setContent('<DIV style="border-top:1px solid; border-bottom:2px groove black; border-left:1px solid; border-right:2px groove black;margin-bottom:1px;color:black;background-color:white; width:auto; height:auto;">'+
'<span style="color: #000000 !important;display: inline-block;font-size: 12px !important;font-weight: bold !important;letter-spacing: -1px !important;white-space: nowrap !important; padding: 2px 5px 2px 2px !important">' +
'Hello World ' + oTarget.getPoint()
+'<span></div>');
oInfoWnd.setPoint(oTarget.getPoint());
oInfoWnd.setPosition({right : 5, top : 10});
oInfoWnd.setVisible(true);
oInfoWnd.autoPosition();
*/
return;
}
//var oMarker = new nhn.api.map.Marker(oIconOn, { title : '마커 : ' + oPoint.toString() });
var oMarker = new nhn.api.map.Marker(oIconOn, { title : '신규장소'});
preoMarker = oMarker;
preoPoint = oPoint;
oMarker.setPoint(oPoint);
oMap.addOverlay(oMarker);
//선택한곳으 중심점으로 이동
oMap.setCenter(oPoint, mapZoom);
//var aPoints = oPolyline.getPoints(); // - 현재 폴리라인을 이루는 점을 가져와서 배열에 저장.
//aPoints.push(oPoint); // - 추가하고자 하는 점을 추가하여 배열로 저장함.
//oPolyline.setPoints(aPoints); // - 해당 폴리라인에 배열에 저장된 점을 추가함
//선택값 초기화
valueReset();
//포커스 이동및시안성좋게
$('#poiNm').focus();
$('#poiNm').css('backgroundColor', '#F5A9A9');
$('#poiNm').fadeTo('slow', 0.5, function () {
$(this).css('backgroundColor', '#FFFFFF');
});
//선택한 좌표 저장
var arry = new Array();
arry = oPoint.toString().split(",");
if(arry.length > 0) {
if(arry[0].length > 10) {
arry[0] = arry[0].substring(0, 10);
}
if(arry[1].length > 10) {
arry[1] = arry[1].substring(0, 10);
}
mapValueX = arry[0];
mapValueY = arry[1];
}
});
//관리자 지역 차고지 주변 목록 조회
//좌표셋팅
mapValueX = "${mapCenterInfo.gpsXcrd}";
mapValueY = "${mapCenterInfo.gpsYcrd}";
selectionPointLoding("1");
$("#poiList").on("click", function(){
if(pointPoition == "") {
return;
}
var pointX = "";
var pointY = "";
var pointNm = "";
if(pointPoition == "1") {
pointX = $("#orgnPoiX").val();
pointY = $("#orgnPoiY").val();
pointNm = $("#orgnPoiNoNm").val();
} else {
pointX = $("#desnPoiX").val();
pointY = $("#desnPoiY").val();
pointNm = $("#desnPoiNoNm").val();
}
//마커 이미지, 사이즈 설정
var oSize = new nhn.api.map.Size(31, 38); //마커사이즈대로 설정
var oOffset = new nhn.api.map.Size(31, 38);
var oIconOn = new nhn.api.map.Icon('http://static.naver.com/maps2/icons/pin_spot2.png', oSize, oOffset);
var poiPoint = new nhn.api.map.LatLng(pointY, pointX); // Y, X
var oMarker = new nhn.api.map.Marker(oIconOn, { title : pointNm });
oMarker.setPoint(poiPoint);
oMap.addOverlay(oMarker);
//이전 마커 삭제
oMap.removeOverlay(preoMarker);
preoLabel.setVisible(false, preoMarker);
var mapZoom = new nhn.api.map.ZoomControl();
mapZoom.setPosition({right:10, top:10}); // - 줌 컨트롤 위치 지정.
oMap.addControl(mapZoom);
//선택한곳으 중심점으로 이동
oMap.setCenter(poiPoint, mapZoom);
//이전마커 및 포인트에 저장
preoMarker = oMarker;
preoPoint = poiPoint;
});
});
//리셋
function windowReset() {
$("#favTr").hide();
document.assignVO.reset();
//검색어 초기화
$("#searchKeyword").val("");
//등록어 초기화
$("#poiNm").val("");
//차고지 기준 주변목록 가져오기
selectionPointLoding("1");
}
function assignInsert() {
if(!validateAssignVO(document.assignVO)){
return;
}else{
//전화번호체크
var regExp = /^\d{3}-\d{3,4}-\d{4}$/;
if (!regExp.test( $("#apmtTlno").val())) {
alert("전화번호가 잘못 되었습니다. 자릿수 및 숫자, - 를 포함한 숫자만 입력하세요.");
return
}
if(confirm("예약정보를 등록 하시겠습니까?")) {
$("#orgnTime").val($("#orgnTime").val()+$("#orgnTimeHh").val()+$("#orgnTimeMi").val());
$("#desnTime").val($("#desnTime").val()+$("#desnTimeHh").val()+$("#desnTimeMi").val());
$("#assignVO").attr("target", "insertIfrm");
$("#assignVO").attr("action", "<c:url value='/drt/assign/insert.do'/>").submit();
}
}
}
function setPoint(v) {
pointPoition = v;
}
function mapSearch() {
if($("#searchKeyword").val() == "") {
alert("검색어를 입력해주세요.");
$("#searchKeyword").focus();
return;
}
//초기화
/*
poiValue = "";
mapValueX = "";
mapValueY = "";
*/
//맵검색목록
selectionPointLoding("2");
}
//주변목록
function selectionPointLoding(type) {
//최초 주변목록 인지 검색인지 구분한다.
var typeUrl = "";
if(type == "1") {
typeUrl = "<c:url value='/drt/assign/poiList.do'/>";
} else {
typeUrl = "<c:url value='/drt/assign/poiSearchList.do'/>";
}
$.ajax({
url: typeUrl,
type: 'post',
data: {
gpsXcrd: mapValueX,
gpsYcrd: mapValueY,
searchKeyword: $("#searchKeyword").val()
},
success: function(data) {
$("#poiList").children().remove();
var poiListTag = "";
var pioCnt = 1;
if(data.poiList.length > 0) {
$.each(data.poiList, function(key, val) {
poiListTag +=
"<li style='border-bottom:1px solid #e6e6e6; margin-left: 5px;'>"+
"<a href='#none' onclick=\"javascript:selectionPoint('"+val.poiNo+"', '"+val.poiNm+"', '"+val.gpsXcrd+"', '"+val.gpsYcrd+"');\">"+(pioCnt++)+"."+val.poiNm+"</a>"+
"</li>";
});
$("#poiList").append(poiListTag);
} else {
poiListTag =
"<li style='border-bottom:1px solid #e6e6e6; margin-left: 5px;'>"+
"주변 목록 없음."+
"</li>";
$("#poiList").append(poiListTag);
}
},
error: function(data){
console.log(data);
return;
}
});
}
function selectionPoint(poiNo, nm, poiX, pioY) {
if(pointPoition == "") {
alert("출발지 인지 목적지 인지 먼저 선택해주세요.");
return;
}
if(pointPoition == "1") {
$("#orgnPoiNo").val(poiNo);
$("#orgnPoiNoNm").val(nm);
$("#orgnPoiX").val(poiX);
$("#orgnPoiY").val(pioY);
} else {
$("#desnPoiNo").val(poiNo);
$("#desnPoiNoNm").val(nm);
$("#desnPoiX").val(poiX);
$("#desnPoiY").val(pioY);
}
}
//POI등록
function settingPoi() {
if(pointPoition == "") {
alert("출발지 인지 목적지 인지 먼저 선택해주세요.");
return;
}
if($("#poiNm").val() == "") {
alert("신규로 등록할 장소명을 입력해주세요.");
$("#poiNm").focus();
return;
}
//POI 등록
$.ajax({
url: "<c:url value='/drt/assign/poiInsert.do'/>",
type: 'post',
data: {
poiNm: $("#poiNm").val(),
gpsXcrd: mapValueX,
gpsYcrd: mapValueY
},
success: function(data) {
settingPoiValue(data.result);
},
error: function(data){
console.log(data);
return;
}
});
}
//등록된POI값으로 셋팅
function settingPoiValue(value) {
if(pointPoition == "1") {
$("#orgnPoiNoNm").val($("#poiNm").val());
$("#orgnPoiNo").val(value);
$("#orgnPoiX").val(mapValueX);
$("#orgnPoiY").val(mapValueY);
} else {
$("#desnPoiNoNm").val($("#poiNm").val());
$("#desnPoiNo").val(value);
$("#desnPoiX").val(mapValueX);
$("#desnPoiY").val(mapValueY);
}
console.log("value : "+value+", pointPoition : "+pointPoition);
//초기화
pointPoition = "";
$("#searchKeyword").val("");
$("#poiNm").val("");
}
//기존이력 가져오기
function loadMyLocation() {
if($("#apmtTlno").val() == "") {
alert("전화번호를 입력해주세요.");
return;
}
//전화번호체크
var regExp = /^\d{3}-\d{3,4}-\d{4}$/;
if (!regExp.test( $("#apmtTlno").val())) {
alert("전화번호가 잘못 되었습니다. 자릿수 및 숫자, - 를 포함한 숫자만 입력하세요.");
return
}
$.ajax({
url: "<c:url value='/drt/assign/favList.do'/>",
type: 'post',
data: {
apmtTlno: $("#apmtTlno").val()
},
success: function(data) {
$("#favList").children().remove();
var favListTag = "";
var cnt = 1;
if(data.favList.length > 0) {
$.each(data.favList, function(key, val) {
favListTag +=
"<li style='border-bottom:1px solid #e6e6e6; margin-left: 5px;'>"+
"<a href='#none' onclick=\"javascript:favSelectionPoint('"+val.apmtTlno+"', '"+val.apmtNm+"', '"+val.orgnPoiNoNm+"', '"+val.orgnPoiNo+"', '"+val.orgnPoiNoNm+"', '"+val.orgnPoiX+"', '"+val.orgnPoiY+"', '"+val.desnPoiNo+"', '"+val.desnPoiNoNm+"', '"+val.desnPoiX+"', '"+val.desnPoiY+"');\">"+(cnt++)+".<strong>출발지</strong> : "+val.orgnPoiNoNm+" -> <strong>도착지</strong> : "+val.desnPoiNoNm+"</a>"+
"</li>";
});
$("#favTr").toggle(350);
} else {
alert("기존 이력이 존재하지 않습니다.");
return;
}
$("#favList").append(favListTag);
},
error: function(data){
console.log(data);
return;
}
});
}
//기존이력 선택시 셋팅
function favSelectionPoint(apmtTlno, apmtNm, orgnPoiNoNm, orgnPoiNo, orgnPoiNoNm, orgnPoiX, orgnPoiY, desnPoiNo, desnPoiNoNm, desnPoiX, desnPoiY){
$("#apmtTlno").val(apmtTlno);
$("#apmtNm").val(apmtNm);
$("#orgnPoiNoNm").val(orgnPoiNoNm);
$("#orgnPoiNo").val(orgnPoiNo);
$("#orgnPoiNoNm").val(orgnPoiNoNm);
$("#orgnPoiX").val(orgnPoiX);
$("#orgnPoiY").val(orgnPoiY);
$("#desnPoiNo").val(desnPoiNo);
$("#desnPoiNoNm").val(desnPoiNoNm);
$("#desnPoiX").val(desnPoiX);
$("#desnPoiY").val(desnPoiY);
$("#favTr").toggle(350);
}
//선택값 초기화
function valueReset() {
$("#poiNm").val("");
if(pointPoition == "1") {
$("#orgnPoiNo").val("");
$("#orgnPoiNoNm").val("");
$("#orgnPoiX").val("");
$("#orgnPoiY").val("");
} else {
$("#desnPoiNo").val("");
$("#desnPoiNoNm").val("");
$("#desnPoiX").val("");
$("#desnPoiY").val("");
}
}
</script>
걍메모
</code></pre><p><br></p>
DBMS 위도경도를 이용한 두 위치간 거리 구하기
http://www.webprogramer.kr/blog/P000000272/post.do
<div class="se_component se_sectionTitle "><div class="se_sectionArea se_align-left"><div class="se_editArea"><div class="se_viewArea se_ff_nanumgothic se_fs_H2 " style="font-style: inherit; text-decoration: inherit;"><div class="se_editView"><div class="se_textView"><h5 class="se_textarea">현재 프로젝트에서 사용할 일이 있어서 </h5><h5 class="se_textarea">검색해보았다.</h5><h5 class="se_textarea"><br></h5><h5 class="se_textarea">Mysql 일경우<!-- } SE3-TEXT --></h5></div></div></div></div></div></div><div class="se_component se_paragraph default"><div class="se_sectionArea"><div class="se_editArea"><div class="se_viewArea se_ff_nanumgothic"><div class="se_editView"><div class="se_textView se_fs_T3"><p class="se_textarea"><!-- SE3-TEXT { -->두 지점의 위도(latitude)와 경도(longitude)를 알고 있을 경우,<br>직경거리를 구항 경우가 발생하였다.<br>대략의 구조를 기술한다.<br>1. 한글 주소를 이용 위도와 경도를 구한다.<br> - 네이버 오픈 api 를 이용, 개발 키를 발급 받아서 처리가능하다<br>2. 주소의 위도와 경도를 저장한다.<br>3. 비교할 주소의 위도와 경도를 이용 아래 쿼리를 수행한다.<br> 위치1(lat1,lng1)과 위치2(lat2, lng2)의 거리가 5km 이하인 목록을 20개 검색<br> SELECT id, ( 6371 * acos( cos( radians(lat1) ) * cos( radians( lat2 ) )<br> * cos( radians( lng2 ) - radians(lng1) )<br> + sin( radians(lat1) ) * sin( radians( lat2 ) ) ) ) AS distance<br> FROM markers<br> HAVING distance < 5<br> ORDER BY distance<br> LIMIT 0 , 20;<br><br><!-- } SE3-TEXT --></p></div></div></div></div></div></div><div class="se_component se_sectionTitle "><div class="se_sectionArea se_align-left"><div class="se_editArea"><div class="se_viewArea se_ff_nanumgothic se_fs_H2 " style="font-style: inherit; text-decoration: inherit;"><div class="se_editView"><div class="se_textView"><h5 class="se_textarea"><!-- SE3-TEXT { -->Altibase 일경우<!-- } SE3-TEXT --></h5></div></div></div></div></div></div><div class="se_component se_paragraph default"><div class="se_sectionArea"><div class="se_editArea"><div class="se_viewArea se_ff_nanumgothic"><div class="se_editView"><div class="se_textView se_fs_T3"><p class="se_textarea"><!-- SE3-TEXT { -->-- ROUND(6371000.0*ACOS((SIN((3.141592/180)*Y좌표칼럼)*SIN((3.141592/180)*현재위치의Y좌표))+(COS((3.141592/180)*Y좌표칼럼)*COS((3.141592/180)*현재위치의Y좌표)*COS((3.141592/180)*(X좌표칼럼-현재위치의X좌표))))/1000,2) <= 500(500미터이내)<br><br>select <br> a.*<br>from<br>(<br> select poi_nm, area_id,<br> ROUND(6371000.0*ACOS((SIN((3.141592/180)*gps_ycrd)*SIN((3.141592/180)*36.3518983))+(COS((3.141592/180)*gps_ycrd)*COS((3.141592/180)*36.3518983)*COS((3.141592/180)*(gps_xcrd-127.3813287))))/1000, 2) as dist<br> from TB_DRT_USER_POI<br>) a<br>where a.dist <= 500<br>ORDER BY a.dist<br><br><br>-- 펌<br></p><div class="autosourcing-stub-extra"></div><p></p></div></div></div></div></div></div>
페블타임 이틀사용기
http://www.webprogramer.kr/blog/P000000271/post.do
<p>페블타임 구매후 이틀째 뭔가 업데이트가 되었네요</p><p>앱으로 가보니 이렇게 추가되었습니다</p><p>페블 헬쓰?! ㅎ</p><p>만보계 같은 기능 인가봅니다</p><p>걸이, 칼로리, 걸음수 등이 표시됩니다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470983187328987786.jpg" data-filename="1470983187328987786.jpg" style="width: 100%;"></p><p><br></p><p>수면시간, 숙면시간, 일어난시간 표시</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470983190872367744.jpg" data-filename="1470983190872367744.jpg" style="width: 100%;"></p><p><br></p><p>한번충전으로 이틀째 카톡, 전화, 문자, 기타알림</p><p>이 있었는데 밤10시30분 배터리 20% 남았네요</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470983194030771593.jpg" data-filename="1470983194030771593.jpg" style="width: 100%;"></p><p><br></p><p>시간이 지나니 이런 메세지를 보여주네요</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470983196849576969.jpg" data-filename="1470983196849576969.jpg" style="width: 100%;"></p><p><br></p><p>지금은 페블기본 워치페이스를 사용중입니다<br>깔끔해서</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470983199304644211.jpg" data-filename="1470983199304644211.jpg" style="width: 100%;"></p><div align="left">배터리충전을 해야겠네요</div><div align="left"><br>15분이면 완충이라 너무좋아요</div><div align="left"><img class="m20 _attach_space" alt="" src="http://static.naver.net/blank.gif"></div><div align="left">이상 짧은 사용기를 마칩니다<div class="autosourcing-stub-extra"></div></div><div class="autosourcing-stub-extra"></div>
페블타임 라운드 개봉 및 사용기
http://www.webprogramer.kr/blog/P000000270/post.do
<hr><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;">기다리던 페블타임 라운드가 도착했다.</span></span></p><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;">직배송으로 2주 정도 걸린듯하다.</span></span></p><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;">임시공휴일까지 껴서 몇일 더 걸렸다.</span></span></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;">관세는 부과 되지 않았다</span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982457038395560.jpg" data-filename="1470982457038395560.jpg" style="width: 597.656px;"><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><strong></strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong>2주간 험하게 왔는지 포장지 겉면이 손상되어있었다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982462069300736.jpg" data-filename="1470982462069300736.jpg" style="width: 597.656px;"><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><strong>포장지를 뜯어 보니 뽁뽁이로 얇게 포장이 되어 있었지만</strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong>내용물은 안전했다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982465507912396.jpg" data-filename="1470982465507912396.jpg" style="width: 597.656px;"><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><strong>케이스가 깔끔한편 이다.</strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong>구매한 모델은 페블타임 라운드 실버 20MM 누벅 브라운</strong><br style="clear: both;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982468362638513.jpg" data-filename="1470982468362638513.jpg" style="width: 597.656px;"><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><div class="autosourcing-stub-extra"></div></p><p><strong>케이스 뒷면 애플로고와 안드로이드 로고가 눈에 띈다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982471545477564.jpg" data-filename="1470982471545477564.jpg" style="width: 597.656px;"><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><strong>케이스 옆면</strong><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982477138128100.jpg" data-filename="1470982477138128100.jpg" style="width: 597.656px;"><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><strong>개봉 시작</strong><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982489828428821.jpg" data-filename="1470982489828428821.jpg" style="width: 597.656px;"><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><strong>뒷면 비닐을 제거 하고</strong><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982494108245229.jpg" data-filename="1470982494108245229.jpg" style="width: 597.656px;"><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><div class="autosourcing-stub-extra"></div></p><p><strong>덮개를 들어올리면 열리는 구조로 되어 있다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982497713414834.jpg" data-filename="1470982497713414834.jpg" style="width: 597.656px;"><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><span style="font-family: 돋움, Dotum; font-size: 10pt;"><span style="font-weight: 700;"><br></span></span></p><p><div class="autosourcing-stub-extra"></div></p><p><strong>케이스 안에 페블 스티커가 들어있다. 꼭 아이폰 구매했을때 애플 스티커랑 비슷하다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982501402943032.jpg" data-filename="1470982501402943032.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><div class="autosourcing-stub-extra"></div></p><p><strong>간단한 설명서와 스티커가 들어있다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982504716217943.jpg" data-filename="1470982504716217943.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong>페블타임 라운드 깔끔하니 좋은거 같다.</strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong>실버에 가죽 밴드가 잘어울린다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982509869568419.jpg" data-filename="1470982509869568419.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong>시계가 이렇게 감겨 있다.</strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong>가죽밴드가 나쁘진 않지만 살짝 품질이 떨어져 보인다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982512824486180.jpg" data-filename="1470982512824486180.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong>가까이 찍어보았다.</strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong>시계줄을 긁으면 하얗게 자국이 남는다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982516050656088.jpg" data-filename="1470982516050656088.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong>착용샷 왠지 어색하다 시계를 착용한지 10년이 훌쩍 넘어버렸다.</strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong>착용감은 좋은편이고 가벼워서 좋았다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982519329799326.jpg" data-filename="1470982519329799326.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982522321286637.jpg" data-filename="1470982522321286637.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><br></p><p><strong>충전케이블 아답터는 없구 케이블만 있다.</strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong>케이블은 좋은편이다. 이거 잃어 버리면 어떻게 되는거지..</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982525145478347.jpg" data-filename="1470982525145478347.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><div class="autosourcing-stub-extra"></div></p><p><strong>시계와 맞닺는 부분이 자석으로 되어 있다</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982527822157950.jpg" data-filename="1470982527822157950.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><div class="autosourcing-stub-extra"></div></p><p><strong>시계가 왔으니 저번에 사놓은 보호필름을 붙이기로 했다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982530580597010.jpg" data-filename="1470982530580597010.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><div class="autosourcing-stub-extra"></div></p><p><strong>구성품은 필름 2개, 극세사크리너, 먼지제거 스티커, 밀대</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982533364526789.jpg" data-filename="1470982533364526789.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong>필름을 붙이고 충전 시작</strong></p><p><strong>충전시간은 15분이면 완충 된다는데..</strong><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982537548937531.jpg" data-filename="1470982537548937531.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><div class="autosourcing-stub-extra"></div></p><p><strong>밑부분 자석이라 착하고 붙는다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982540645627455.jpg" data-filename="1470982540645627455.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong>충전케이블은 아이폰 아답터를 이용하였다.</strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong>아이폰에 페블 앱을 깔고 페어링 하고 난다음 업데이트 중이다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982544110680864.jpg" data-filename="1470982544110680864.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong>업데이트 완료 후 언어 선택 화면이 나온다</strong></p><p><strong>한글 지원은 공식적으로 없다.</strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong>우선 영문으로 선택 하였다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982547546986182.jpg" data-filename="1470982547546986182.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong>인터넷을 검색하여 한글 패치를 하였다.</strong></p><p><strong>페블타임 한글적용 방법 페이지 : </strong><a class="con_link" href="http://andrwj.com/blog/?p=2854" target="_blank">http://andrwj.com/blog/?p=2854</a> </p><div><strong>페블타임 한글 파일 : </strong><a class="con_link" href="http://me2.do/F0beIQhm" target="_blank">http://me2.do/F0beIQhm</a> </div><div><strong><span style="font-size: 10pt;"></span></strong></div><div><strong><span style="font-size: 10pt;">한글패치 적용방법에 의하면 안드로이드 폰으로 적용해야 한다고 해서</span></strong></div><div><strong><span style="font-size: 10pt;">안드로이드 폰으로 페어링한 후 한글패치를 진행했다.<div class="autosourcing-stub-extra"></div></span></strong></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/147098254992274312.jpg" data-filename="147098254992274312.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong><span style="font-size: 10pt;">한글이 잘나온다.</span></strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong><span style="font-size: 10pt;"><span>알람을 맞춰보았다. 일반 전자시계 처럼 켜지 않고도 보인다.</span></span></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982640054873028.jpg" data-filename="1470982640054873028.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong><span style="font-size: 10pt;">워치 페이스 변경</span></strong></p><p><strong><span style="font-size: 10pt;">다양하지만 우선 이걸로 시간 지남에 따라 애니메이션 효과가 나타난다.</span></strong><strong><span style="font-size: 10pt;"></span></strong><strong><span style="font-size: 10pt;"></span></strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong><span style="font-size: 10pt;"><span>다른 워치 페이스를 사용하면 날씨 및 온도도 나온다.</span></span></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982643567863067.jpg" data-filename="1470982643567863067.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong><span style="font-size: 10pt;">이것저것 눌러보았다.</span></strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong><span style="font-size: 10pt;"><span>조작은 간편 하고 기능도 복잡한 기능이 없다.</span></span></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982647414757439.jpg" data-filename="1470982647414757439.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><div class="autosourcing-stub-extra"></div></p><p><strong><span style="font-size: 10pt;"><span>페블앱으로 워치 페이스 추가한 화면 </span></span></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982650913362243.png" data-filename="1470982650913362243.png" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><div class="autosourcing-stub-extra"></div></p><p><strong><span style="font-size: 10pt;"><span>기본앱 및 Misfit이라는걸 설치했다.</span></span></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982668176151518.png" data-filename="1470982668176151518.png" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong><span style="font-size: 10pt;">알림설정</span></strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong><span style="font-size: 10pt;"><span>카톡, 전화, 문자 모든 알림이 와서 편리하다.</span></span></strong><strong><span style="font-size: 10pt;"><span></span></span></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982654686240094.png" data-filename="1470982654686240094.png" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong><span style="font-size: 10pt;">이것저것 해보고 퇴근 후 집에서 배터리 용량을 확인해보니</span></strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong><span style="font-size: 10pt;"><span>66%인가 그랬다. 15분 충전으로 이틀 간다는게 맞나보다.</span></span></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982686678343325.jpg" data-filename="1470982686678343325.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong><span style="font-size: 10pt;">Misfit 앱 화면</span></strong></p><p><strong><span style="font-size: 10pt;">걸음수 및 수면시간 기타 등등 정보가 나온다.</span></strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong><span style="font-size: 10pt;"><span>그냥 깔아보기는 했지만 기본제공되는 앱에 비슷한 기능이 있다.<br style="clear: both;"></span></span></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982690868231153.jpg" data-filename="1470982690868231153.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong><span style="font-size: 10pt;">앱에서 워치 페이스를 변경할 수 있지만</span></strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong><span style="font-size: 10pt;"><span>시계에서도 변경 가능하다</span></span></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982693719967329.jpg" data-filename="1470982693719967329.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><div class="autosourcing-stub-extra"></div></p><p><strong><span style="font-size: 10pt;"><span>내일을 위해 완충 하였다.</span></span></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982696810336803.jpg" data-filename="1470982696810336803.jpg" style="width: 100%;"><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><span style="font-family: 돋움,Dotum; font-size: 10pt;"><strong><br></strong></span></p><p><strong><span style="font-size: 10pt;">처음으로 스마트 워치를 구매 했는데 잘구매 한거 같다.</span></strong></p><p><strong><span style="font-size: 10pt;">디자인도 만족 스럽고 워치 페이스 및 노티 기능만 으로도 만족한다.</span></strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong><span style="font-size: 10pt;">추후 사용후기는 다음에..</span></strong></p>
Centos7 transmission 설치
http://www.webprogramer.kr/blog/P000000269/post.do
<p><strong><span style="font-size: 10pt;">Centos7에 </span><span style="font-size: 10pt;">transmission 설치</span></strong></p><p><strong><br></strong></p><p><strong><span style="font-size: 10pt;">1. # yum install epel-release</span></strong></p><p><br><strong><span style="font-size: 10pt;">2. # yum install transmission transmission-daemon</span></strong></p><p><strong><span style="font-size: 10pt;"></span></strong></p><p><strong><span style="font-size: 10pt;">2.1 # transmission-daemon --version</span></strong></p><p><strong><br></strong></p><p><strong>3. # vi /etc/init.d/transmission-daemon</strong></p><p><strong><br></strong></p><p><strong># DAEMON_USER="transmission"<br></strong></p><p><strong><br></strong></p><p><strong>DAEMON_USER="root"</strong></p><p><strong># DAEMON_ARGS="-T --blocklist -g $TRANSMISSION_HOME/.config/transmission"<br>DAEMON_ARGS="-g $TRANSMISSION_HOME/.config/transmission"</strong></p><p><strong><br></strong></p><p><strong>4. # vi /var/lib/transmission/.config/transmission/settings.json(빨간색 부분 수정)</strong></p><p><strong><br></strong></p><p><strong>{<br> "alt-speed-down": 50,<br> "alt-speed-enabled": false,<br> "alt-speed-time-begin": 540,<br> "alt-speed-time-day": 127,<br> "alt-speed-time-enabled": false,<br> "alt-speed-time-end": 1020,<br> "alt-speed-up": 50,<br> "bind-address-ipv4": "0.0.0.0",<br> "bind-address-ipv6": "::",<br> "blocklist-enabled": false,<br> <span style="color: rgb(255, 0, 0);">"blocklist-url": "tp://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz",</span><br> "cache-size-mb": 4,<br> "dht-enabled": true,<br> <span style="color: rgb(255, 0, 0);">"download-dir": "/home/data_files/torrent/END",</span><br> "download-queue-enabled": true,<br> "download-queue-size": 5,<br> "encryption": 1,<br> "idle-seeding-limit": 30,<br> "idle-seeding-limit-enabled": false,<br> <span style="color: rgb(255, 0, 0);">"incomplete-dir": "/home/data_files/torrent/ING",</span><br> "incomplete-dir-enabled": false,<br> "lpd-enabled": false,<br> "message-level": 1,<br> "peer-congestion-algorithm": "",<br> "peer-id-ttl-hours": 6,<br> "peer-limit-global": 200,<br> "peer-limit-per-torrent": 50,<br> "peer-port": 51413,<br> "peer-port-random-high": 65535,<br> "peer-port-random-low": 49152,<br> "peer-port-random-on-start": false,<br> "peer-socket-tos": "default",<br> "pex-enabled": true,<br> "port-forwarding-enabled": true,<br> "preallocation": 1,<br> "prefetch-enabled": true,<br> "queue-stalled-enabled": true,<br> "queue-stalled-minutes": 30,<br> "ratio-limit": 2,<br> "ratio-limit-enabled": false,<br> "rename-partial-files": true,<br> "rpc-authentication-required": true,<br> "rpc-bind-address": "0.0.0.0",<br> "rpc-enabled": true,<br> <span style="color: rgb(255, 0, 0);">"rpc-password": "1111",</span><br> <span style="color: rgb(255, 0, 0);">"rpc-port": 9091,</span><br> <span style="color: rgb(255, 0, 0);">"rpc-url": "/transmission/",</span><br> <span style="color: rgb(255, 0, 0);">"rpc-username": "test",</span><br> "rpc-whitelist": "*.*.*.*",<br> "rpc-whitelist-enabled": true,<br> "scrape-paused-torrents-enabled": true,<br> "script-torrent-done-enabled": false,<br> "script-torrent-done-filename": "",<br> "seed-queue-enabled": false,<br> "seed-queue-size": 10,<br> "speed-limit-down": 100,<br> "speed-limit-down-enabled": false,<br> "speed-limit-up": 100,<br> "speed-limit-up-enabled": false,<br> "start-added-torrents": true,<br> "trash-original-torrent-files": false,<br> "umask": 18,<br> "upload-slots-per-torrent": 14,<br> "utp-enabled": true<br>}</strong></p><p><strong><br></strong></p><p><strong>5. 방화벽 오픈 </strong></p><p><strong>vi /etc/firewalld/zones/public.xml</strong></p><p><strong><br></strong></p><p><strong>방화벽에 포트 추가</strong></p><p><strong><port protocol="tcp" port="9091"></port></strong></p><p><strong><br></strong></p><p><strong>방화벽 재시작</strong></p><p><strong>systemctl restart firewalld.service</strong></p><p><strong><br></strong></p><p><strong>허용포트 확인</strong></p><p><strong>firewall-cmd --list-ports</strong></p><p><strong><br></strong></p><p><strong>6. 시작시 자동실행되게 설정</strong></p><p><strong>chkconfig transmission-daemon on</strong></p><p><strong><br></strong></p><p><strong>7. 재시작 systemctl restart transmission-daemon</strong></p><p><strong></strong></p><p><strong>8. 확인 <a class="con_link" href="http://[ip/" target="_blank">http://[IP</a> of Server]:9091</strong></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p><strong>아이디/비밀번호를 입력후 아래와 같은 화면을 확인할 수 있다.</strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982239825194247.png" data-filename="1470982239825194247.png" style="width: 100%;"><strong><br></strong></p>
Altibase Table 정보 조회 Query
http://www.webprogramer.kr/blog/P000000268/post.do
<p>Altibase Table 정보 조회 Query<br> <br> SELECT A.USER_NAME AS 'USER_NAME',<br> B.TABLE_NAME AS 'TABLE_NAME',<br> C.COLUMN_ORDER + 1 AS 'NO',<br> C.COLUMN_NAME AS 'COLUMN_NAME',<br> CASE C.DATA_TYPE<br> WHEN '1' THEN 'CHAR(' || C.PRECISION || ')'<br> WHEN '2' THEN 'NUMERIC(' || C.PRECISION || NVL2(C.SCALE, ',' || C.SCALE, NULL) || ')'<br> WHEN '4' THEN 'INTEGER(' || C.PRECISION || ')'<br> WHEN '8' THEN 'DOUBLE'<br> WHEN '9' THEN 'DATETIME'<br> WHEN '12' THEN 'VARCHAR(' || C.PRECISION || ')'<br> END AS 'TYPE',<br> DECODE(C.IS_NULLABLE, 'T', NULL, 'F', 'Y') AS 'IS NOT NULL',<br> C.DEFAULT_VAL AS 'DEFAULT',<br> DECODE(E.IS_UNIQUE, 'T', 'Y', 'F', 'N') AS 'IS_UNIQUE',<br> CASE<br> WHEN D.USER_ID IS NOT NULL THEN E.INDEX_NAME<br> ELSE NULL<br> END AS 'REMK'<br> FROM SYSTEM_.SYS_USERS_ A INNER JOIN SYSTEM_.SYS_TABLES_ B ON A.USER_ID = B.USER_ID<br> AND A.USER_NAME = UPPER('drt') /*스키마 이름 입력 또는 계정 이름 입력.*/<br> INNER JOIN SYSTEM_.SYS_COLUMNS_ C ON B.USER_ID = C.USER_ID<br> AND B.TABLE_ID = C.TABLE_ID<br> AND B.TABLE_TYPE = 'T'<br> AND UPPER(B.TABLE_NAME) = UPPER('TB_DRT_MNGR_INFO') /*테이블 명을 입력합니다. */<br> LEFT OUTER JOIN SYSTEM_.SYS_INDEX_COLUMNS_ D ON C.USER_ID = D.USER_ID<br> AND C.TABLE_ID = D.TABLE_ID<br> AND C.COLUMN_ID = D.COLUMN_ID LEFT OUTER JOIN SYSTEM_.SYS_INDICES_ E ON D.USER_ID = E.USER_ID<br> AND D.TABLE_ID = E.TABLE_ID<br> AND D.INDEX_ID = E.INDEX_ID<br> WHERE 0 =<br> CASE<br> WHEN INSTR(B.TABLE_NAME, 'BACK') != 0 THEN 1<br> WHEN INSTR(B.TABLE_NAME, '_BK') != 0 THEN 1<br> WHEN INSTR(B.TABLE_NAME, '08') != 0 THEN 1<br> WHEN INSTR(B.TABLE_NAME, '09') != 0 THEN 1<br> WHEN INSTR(B.TABLE_NAME, 'TEMP') != 0 THEN 1<br> WHEN INSTR(B.TABLE_NAME, 'TEST') != 0 THEN 1<br> ELSE 0<br> END<br> ORDER BY A.USER_ID,<br> B.TABLE_NAME,<br> C.COLUMN_ORDER<br> ;</p><p><br></p><p><br></p><p>-- 테이블 컬럼, 커멘트 조회</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p> SELECT B.TABLE_NAME,<br> C.COLUMN_ORDER,<br> C.COLUMN_NAME,<br> D.COMMENTS<br> FROM SYSTEM_.SYS_USERS_ A INNER JOIN SYSTEM_.SYS_TABLES_ B ON A.USER_ID = B.USER_ID<br> AND A.USER_NAME = UPPER('유저명') INNER JOIN SYSTEM_.SYS_COLUMNS_ C ON B.USER_ID = C.USER_ID<br> AND B.TABLE_ID = C.TABLE_ID<br> AND B.TABLE_TYPE = 'T'<br> AND UPPER(B.TABLE_NAME) = UPPER('테이블명') LEFT OUTER JOIN SYSTEM_.SYS_COMMENTS_ D ON B.TABLE_NAME = D.TABLE_NAME<br> AND C.COLUMN_NAME = D.COLUMN_NAME<br> ORDER BY C.COLUMN_ORDER</p>
페블타임 라운드 구매
http://www.webprogramer.kr/blog/P000000267/post.do
<p>페블타임 라운드 구매</p><p><span style="color: rgb(0, 0, 250);"><a class="con_link" href="http://www.pebble.com/" target="_blank"><u>http://www.pebble.com</u></a></span></p><p><span style="color: rgb(0, 0, 250);"><a class="con_link" href="http://www.pebble.com/" target="_blank"><u><br></u></a></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982037050712499.jpg" data-filename="1470982037050712499.jpg" style="width: 100%;"><span style="color: rgb(0, 0, 250);"><a class="con_link" href="http://www.pebble.com/" target="_blank"><u><br></u></a></span></p><p><span style="color: rgb(0, 0, 250);"><a class="con_link" href="http://www.pebble.com/" target="_blank"><u><br></u></a></span></p><p><span>공식 홈페이지에서 </span></p><p><span>한국까지 직배송된다</span></p><p><span>무료 배송으로 선택</span></p><p><span>빠른 배송은 25달러 추가됨</span></p><p><span>199달러 인데 10% 할인 쿠폰 적용</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982040343356503.jpg" data-filename="1470982040343356503.jpg" style="width: 100%;"><span style="color: rgb(0, 0, 250);"><a class="con_link" href="http://www.pebble.com/" target="_blank"><u><br></u></a></span></p><p><span style="color: rgb(0, 0, 250);"><a class="con_link" href="http://www.pebble.com/" target="_blank"><u><br></u></a></span></p><p>구매 완료</p><p>무료 배송이니 몇주 걸린다구 한다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/14709820433341864.jpg" data-filename="14709820433341864.jpg" style="width: 100%;"><span style="color: rgb(0, 0, 250);"><a class="con_link" href="http://www.pebble.com/" target="_blank"><u><br></u></a></span></p><p><span style="color: rgb(0, 0, 250);"><a class="con_link" href="http://www.pebble.com/" target="_blank"><u><br></u></a></span></p><p>보호 필름도 구매<span style="color: rgb(0, 0, 250);"><u><a class="con_link" href="http://www.pebble.com/" target="_blank"><br></a></u></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470982046492209818.jpg" data-filename="1470982046492209818.jpg" style="width: 100%;"><span style="color: rgb(0, 0, 250);"><a class="con_link" href="http://www.pebble.com/" target="_blank"><u><br></u></a></span></p><p>후기는 제품오면.<span style="color: rgb(0, 0, 250);"><u><a class="con_link" href="http://www.pebble.com/" target="_blank"><br></a></u></span></p><div class="autosourcing-stub-extra"></div>
루어 낚시 전북 원수제
http://www.webprogramer.kr/blog/P000000266/post.do
<p><p>투표 하고 나서</p><p>아는 동생들과 루어낚시</p><p>베스가 잘잡힌다는 원수제를 갔다</p><div class="autosourcing-stub-extra"></div>
<a href="http://map.naver.com/?dlevel=12&pinType=site&pinId=17544435&x=127.0911375&y=36.02365&enc=b64" target="_blank"><img width="100%" height="418" alt="지도" src="http://prt.map.naver.com/mashupmap/print?key=p1470981658162_-1776803741" border="0"></a></p><p><br></p><p>모두 1마리 이상씩 잡구 다음을 기약 하며 기분좋게 왔다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981919226391368.jpg" data-filename="1470981919226391368.jpg" style="width: 100%;"><br></p>
두계천 낚시
http://www.webprogramer.kr/blog/P000000265/post.do
<p>오랜만에 나홀로 낚시</p><p>두계천 가는길</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981300393961589.jpg" data-filename="1470981300393961589.jpg" style="width: 100%;"></p><p><br></p><div align="left">두계천 도착<br>뒤쪽엔 기차길이 있어 기차가 지나간다</div><div align="left"><img class="m20 _attach_space" alt="" src="http://static.naver.net/blank.gif"><div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981305350997776.jpg" data-filename="1470981305350997776.jpg" style="width: 100%;"></p><p><br></p><p>앞쪽은 두계천<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981308923325216.jpg" data-filename="1470981308923325216.jpg" style="width: 100%;"></p><p><br></p><p>오랜만에<br>할려니 매듭이 잘되지 않는다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981312404902733.jpg" data-filename="1470981312404902733.jpg" style="width: 100%;"></p><p><br></p><p>낚시 시작<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981315259604175.jpg" data-filename="1470981315259604175.jpg" style="width: 100%;"></p><p><br></p><p>한참 시간이 지났지만</p><p>입질도 없고 작은 물고기도 보이지 않는다</p><p>예전엔 물고기가 잘잡혔던곳인데</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981318848434189.jpg" data-filename="1470981318848434189.jpg" style="width: 100%;"></p><p>물고기는 못잡았지만,</p><p><span>조용한곳에서 물흐르는소리 새소리 들으니 너무 좋았다</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981321537375586.jpg" data-filename="1470981321537375586.jpg" style="width: 100%;"></p><p><br></p><p>결국 한마리도 못잡고 경치 구경했다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981324300293973.jpg" data-filename="1470981324300293973.jpg" style="width: 100%;"></p><p><br></p><p>4시간 남짓 하고 집에 가는길</p><p>언제 또 혼자 낚시하러 갈수 있으려나..</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981327388345840.jpg" data-filename="1470981327388345840.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981329733191471.jpg" data-filename="1470981329733191471.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
키보드 청소
http://www.webprogramer.kr/blog/P000000263/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981096815723905.jpg" data-filename="1470981096815723905.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981099748720238.jpg" data-filename="1470981099748720238.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981102686439809.jpg" data-filename="1470981102686439809.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147098110537067187.jpg" data-filename="147098110537067187.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470981108735124068.jpg" data-filename="1470981108735124068.jpg" style="width: 100%;"></p><p>프로젝트 철수도 했고</p><p>오랜만에 키보드 청소</p><p>키캡 분리는 쉽다 </p><p>스페이스바가 조금 까다롭지만 </p><p>키캡분리 하고 닦고 키캡조립 하는데 </p><p>생각보다 시간이 걸렸다 </p><div class="autosourcing-stub-extra"></div>
야식?
http://www.webprogramer.kr/blog/P000000264/post.do
<p>저녁밥을 일찍 먹고</p><p>맥주도 먹었는데</p><p>배고파서 먹었다 </p><p>이러면 안되는데.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147098120887519315.jpg" data-filename="147098120887519315.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
프로 젝트 철수
http://www.webprogramer.kr/blog/P000000262/post.do
<p>프로젝트 철수<br><br>7개월 근무<br><br>뭔가 시원섭섭</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980996187936827.jpg" data-filename="1470980996187936827.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
Spring Security 권한관련 [펌]
http://www.webprogramer.kr/blog/P000000261/post.do
<p><strong><span style="font-size: 14pt;">권한</span></strong></p><p><strong><span style="font-size: 11pt;"></span></strong></p><p>현재 정의 된 사용자 권한은 아래와 같다.</p><p><strong>ROLE_USER (회원)<br>ROLE_USER_VERIFIED (인증된 회원)<br>ROLE_USER_NON_VERIFIED (인증되지 않은 회원)<br>ROLE_ADMIN (관리자)</strong></p><p><strong></strong><br>로그인을 한 회원은 기본적으로 ROLE_USER 권한을 가지고 있고, 기타 회원에 해당하는 권한을 중복으로 가지게 된다.</p><p><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);">//예) 인증이 완료된 회원 </span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);">ROLE_USER, ROLE_USER_VERIFIED </span></p><p><strong><span style="color: rgb(255, 255, 255); font-size: 12pt; background-color: rgb(142, 142, 142);"></span><br><span style="font-size: 12pt;">@Secured Annotation 을 이용한 권한 체크</span></strong></p><p>기본적으로는 모든 사용자가 모든기능에 접근 가능하고, 기능별로 권한체크를 하여 사용을 제한한다. 이를위해 @Secured Annotation 을 이용하여 권한은 제한한다. @Secured 는 Spring에서 생성된 Bean에서 사용가능하고, Class와 Method 모두 에서 설정 가능하다. Website 를 위한 권한은 보통 Controller 또는 Controller의 Method 에 설정한다.</p><p><strong><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> // Controller Class의 전역설정</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> @Controller</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> @Secured("ROLE_USER")</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> @RequestMapping(value="/sample")</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> public class SampleController extends BasicLayoutController {</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> ...</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> }</span></strong><br>Method 에서 체크할 경우.</p><p><strong><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> // 로그인 여부 체크</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> @Secured("ROLE_USER")</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> @RequestMapping(value = "/{categoryId}/create", method = RequestMethod.DELETE)</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> public String create() {</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> ...</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> }</span></strong><br>여려 권한 체크도 가능하다.</p><p><strong><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> // 회원과 관리자 모두에게 제공</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> @Secured({"ROLE_USER", "ROLE_ADMIN"})</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> @RequestMapping(value = "/{categoryId}/create", method = RequestMethod.DELETE)</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> public String create() {</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> ...</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> }</span></strong><br>로그인 여부 체크를 위해서는 ROLE_USER가 있는지를 체크하면 된다.</p><p><br></p><p><strong><span style="font-size: 12pt;">JSTL 을 이용한 권한 체크</span></strong></p><p>JSP 에서 권한에 따른 View Handling 을 위해서는 Spring Security 에서 제공하는 TagLib 을 이용한다.</p><p><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"><strong><%@ taglib prefix="sec" uri="</strong></span><a class="con_link" href="http://www.springframework.org/security/tags" target="_blank"><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"><strong>http://www.springframework.org/security/tags</strong></span></a><strong><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);">" %></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"><ul class="nav navbar-nav navbar-right"></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> <!-- 회원 권한이 없을 때 --></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> <sec:authorize ifNotGranted="ROLE_USER"></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> <li><a href="/user/sign_up">회원가입</a></li></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> <li><a href="/user/login">로그인</a></li></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> </sec:authorize></span></strong></p><p><strong><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> <!-- 회원 권한이 있을 때 --></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> <sec:authorize ifAnyGranted="ROLE_USER"></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> <li><a href="/user/logout">로그아웃</a></li></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> </sec:authorize></span></strong></p><p><strong><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> <!-- 여러 권한 체크 --></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> <sec:authorize ifAnyGranted="ROLE_USER, ROLE_ADMIN"></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> <li><a href="/user/edit">정보수정</a></li></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> </sec:authorize></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"></span></strong></p><p><strong><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"></ul></span></strong></p><p><strong><span style="color: rgb(255, 255, 255); font-size: 12pt; background-color: rgb(142, 142, 142);"></span><br><span style="font-size: 12pt;">로그인 세션 객체</span></strong></p><p>Spring Security를 이용하면 Authentication Bean 이 생성된다. 이를 Controller 에서 주입 받거나, JSP 에서 JSTL Tag 를 이용하여 접근 할 수 있다.</p><p>로그인 한 사용자의 정보는 net.okjsp.user.model.User의 instance 객체로 저장되며, Authentication에 principal property 로 저장 된다.</p><p>Controller를 통한 Authentication 객체 접근</p><p><strong><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> @Secured("ROLE_USER")</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> @RequestMapping(value = "/{categoryId}/create", method = RequestMethod.POST)</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> public String create(</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> Sample sample,</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> Authentication authentication) { // Authentication 를 주입 받음</span></strong></p><p><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"><strong> User user = (User) authentication.getPrincipal(); // Authentication 저장된 principal 객체를 User 객체로 Cast</strong></span></p><p><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"><strong> sample.setWriteId(user.getUserId()); // User 객체를 이용한 로그인 회원 정보 접근</strong></span></p><p><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"><strong> sampleBoardService.create(sample);</strong></span></p><p><strong><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> return "redirect:/sample/"+categoryId;</span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"> }</span></strong></p><p><strong><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"></span></strong><br><strong><span style="font-size: 12pt;">JSTL Tag 를 통한 Authentication 객체 접근</span></strong></p><p>위해서는 Spring Security 에서 제공하는 TagLib 을 이용하면 authentication Tag 를 통하여 Authentication Bean 에 접근 가능하다.</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"><strong><%@ taglib prefix="sec" uri="</strong></span><a class="con_link" href="http://www.springframework.org/security/tags" target="_blank"><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"><strong>http://www.springframework.org/security/tags</strong></span></a><strong><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);">" %></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);"><sec:authentication var="user" property="principal" /></span><br><span style="color: rgb(255, 255, 255); background-color: rgb(142, 142, 142);">${user.nickName} (${user.loginId}) 님! 안녕하세요.</span></strong></p>
Egovframework DBCP Datasource 설정 및 속성
http://www.webprogramer.kr/blog/P000000260/post.do
<p><span style="font-size: 10pt;">bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"></span><br><span style="font-size: 10pt;"> <property name="driverClassName" value="${jdbc.driver}" /></span><br><span style="font-size: 10pt;"> <property name="url" value="${jdbc.url}" /></span><br><span style="font-size: 10pt;"> <property name="username" value="${jdbc.username}" /></span><br><span style="font-size: 10pt;"> <property name="password" value="${jdbc.password}" /></span><br><span style="font-size: 10pt;"> <property name="initialSize" value="100" /></span><br><span style="font-size: 10pt;"> <property name="maxActive" value="150" /></span><br><span style="font-size: 10pt;"> <property name="maxWait" value="10000" /></span><br><span style="font-size: 10pt;"> <property name="maxIdle" value="30" /></span><br><span style="font-size: 10pt;"> <property name="minIdle" value="20" /></span><br><span style="font-size: 10pt;"> <property name="testOnBorrow" value="true" /></span><br><span style="font-size: 10pt;"> <property name="testOnReturn" value="true" /></span><br><span style="font-size: 10pt;"> <property name="validationQuery" value="select 1 from dual" /></span><br><span style="font-size: 10pt;"> <property name="testWhileIdle" value="true" /></span><br><span style="font-size: 10pt;"> <property name="timeBetweenEvictionRunsMillis" value="130000" /></span><br><span style="font-size: 10pt;"> <property name="minEvictableIdleTimeMillis" value="120000" /></span><br><span style="font-size: 10pt;"> <property name="numTestsPerEvictionRun" value="20" /></span><br><span style="font-size: 10pt;"> <property name="removeAbandonedTimeout" value="30" /></span><br><span style="font-size: 10pt;"> <property name="removeAbandoned" value="true" /></span><br><span style="font-size: 10pt;"> <property name="logAbandoned" value="false" /></span><br><span style="font-size: 10pt;"></bean></span></p><p><br></p><p><br></p><p><br></p><p><br></p><p><strong><span style="font-size: 10pt;">정의한 값</span></strong><span style="font-size: 10pt;"> </span><br><span style="font-size: 10pt;">1. initialSize : 풀의 초기 커넥션 갯수</span><br><span style="font-size: 10pt;">2. maxActive : 최대 커넥션 갯수</span><br><span style="font-size: 10pt;">3. maxWait : 커넥션이 존재하지 않을 때, 커넥션을 얻기까지 대기하는 최대 대기시간</span><br><span style="font-size: 10pt;">4. maxIdle : Idle상태에 풀이 소유한 최대 커넥션 갯수</span><br><span style="font-size: 10pt;">5. testOnBorrow : 풀에서 커넥션을 가져올시 커넥션의 유효성 검사</span><br><span style="font-size: 10pt;">6. testOnReturn : 풀에 커넥션을 리턴할 때 커넥션의 유효성 검사</span><br><span style="font-size: 10pt;">7. validationQuery : validate Query</span><br><span style="font-size: 10pt;">8. testWhileIdle : Idle상태에 커넥션의 유효성 검사</span><br><span style="font-size: 10pt;">9. timeBetweenEvictionRunsMillis : 설정된 주기를 통해 Evict(유효하지 않는 커넥션/정의된 시간이 만료된 커넥션을 풀에서 제거) 쓰레드를 수행</span><br><span style="font-size: 10pt;">10. minEvictableIdleTimeMiilis : Evict 쓰레드를 수행시, 만료여부를 체크할 시간을 정의</span><br><span style="font-size: 10pt;">11. numTestsPerEvictionRun : Evict 쓰레드를 수행시 수행할 커넥션의 갯수</span><br><span style="font-size: 10pt;">12. removeAbandonedTimeout : 유효하지 않은 커넥션의 삭제시의 타임아웃</span><br><span style="font-size: 10pt;">13. removeAbandoned : 유효하지 않는 커넥션의 제거 여부</span><br><span style="font-size: 10pt;">14. logAbandoned : 유효하지 않는 커넥션을 생성한 코드 위치 로그생성 여부</span></p><p><br></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong><span style="font-size: 10pt;">정의하지 않은 값</span></strong><br><span style="font-size: 10pt;">1. defaultAutoCommit : 생성된 커넥션의 기본 auto commit 여부</span><br><span style="font-size: 10pt;">2. defaultReadOnly : 생성된 커넥션의 기본 read-only 여부</span><br><span style="font-size: 10pt;">3. defaultTransactionIsolation : 생성된 커넥션의 기본 트랜잭션 격리 수준</span><br><span style="font-size: 10pt;">4. defaultCatalog : 생성된 커넥션의 기본 카탈로그</span><br><span style="font-size: 10pt;">5. connectionInitSqls : ?</span><br><span style="font-size: 10pt;">6. poolPreparedStatements : Prepared Statements 사용 여부</span><br><span style="font-size: 10pt;">7. maxOpenPreparedStatements : Prepared Statements 최대 Open 갯수</span><br><span style="font-size: 10pt;">8. accessToUnderlyingConnectionAllowed : ?</span><br><span style="font-size: 10pt;">9. minIdle : Idle상태에 풀이 소유한 최소 커넥션 갯수</span><br></p>
크 B5XP5 구매
http://www.webprogramer.kr/blog/P000000259/post.do
<p><br></p><p>블랙야크 B5XP5</p><p>할인이 많이 되서 고민끝에</p><p>구매했다</p><p>파란색과검정색중 고르다</p><p>파란색으로 결정</p><div><br></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980644278807399.jpg" data-filename="1470980644278807399.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980647790384326.jpg" data-filename="1470980647790384326.jpg" style="width: 100%;"></p><p><br></p><div align="left">원가 68만원 정도인데 해가 지나니<br>이것저것 할인 받아서 32만원에 구매</div><div align="left"><img class="m20 _attach_space" alt="" src="http://static.naver.net/blank.gif"><div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980651341368582.jpg" data-filename="1470980651341368582.jpg" style="width: 100%;"></p><p><br></p><p><span>안쪽<br>목부분과 손목 부분이 부들부들 하니 맘에 든다</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980653876340050.jpg" data-filename="1470980653876340050.jpg" style="width: 100%;"></p><p><br></p><div align="left">야크온 설치하는곳</div><div align="left"><img class="m20 _attach_space" alt="" src="http://static.naver.net/blank.gif"></div><div align="left">기계를 별도로 구매할 필요는 없을듯<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980656375795783.jpg" data-filename="1470980656375795783.jpg" style="width: 100%;"></p><p><br></p><p>뒷목부분<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980658909920664.jpg" data-filename="1470980658909920664.jpg" style="width: 100%;"></p><p><br></p><p>뒷면<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980661902394035.jpg" data-filename="1470980661902394035.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147098066602674886.jpg" data-filename="147098066602674886.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980668813403256.jpg" data-filename="1470980668813403256.jpg" style="width: 100%;"></p><p><br></p><p><span>조인성 처럼 이런 핏은 안나오겠지만</span></p><p><span>입어보니 가볍고 따뜻해서 만족스럽다</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980671213573200.jpg" data-filename="1470980671213573200.jpg" style="width: 100%;"></p><p><br></p><div class="autosourcing-stub-extra"></div>
BBQ 피규어
http://www.webprogramer.kr/blog/P000000258/post.do
<p>프리랜서 모임</p><p>차장님이 사준 피규어</p><p>BBQ 치킨 피규어</p><p>BBQ 다른 피규어에 비해 사이즈가 크고</p><p>그나마 나은듯</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980520556849477.jpg" data-filename="1470980520556849477.jpg" style="width: 100%;"></p><p><br></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980523216547670.jpg" data-filename="1470980523216547670.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980525709358670.jpg" data-filename="1470980525709358670.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980528072106636.jpg" data-filename="1470980528072106636.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
catalina.out 용량 초기화
http://www.webprogramer.kr/blog/P000000257/post.do
<p>서비스를 무중단으로 사용할 수 있다.</p><p><br></p><p>tomcat 로그 catalina.out 초기화 명령어</p><p><br></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>cat /dev/null > catalina.out</p>
맛짬뽕 개시
http://www.webprogramer.kr/blog/P000000255/post.do
<p>맛짬뽕 </p><p>사람들이 맛있다고 해서 끓여 보았다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980171562219983.jpg" data-filename="1470980171562219983.jpg" style="width: 100%;"></p><p><br></p><p>내입맛엔 맛있었다.</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>3일쉬는 동안 2번끓여 먹을정도로 괜찮았다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470980175790185033.jpg" data-filename="1470980175790185033.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div><p></p>
거실용 노트북 dell latitude e5410 청소
http://www.webprogramer.kr/blog/P000000256/post.do
<p align="left">거실용 노트북</p><p align="left">연식이 되다 보니 쿨러에서 소리가 난다. </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p align="left" style="text-align: left;">우선 드라이버와 구리스 준비</p><p align="left" style="text-align: left;"><br></p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470980253971212349.jpg" data-filename="1470980253971212349.jpg" style="width: 100%;"></p><p align="left" style="text-align: left;"><br></p><p align="left" style="text-align: left;"><div class="autosourcing-stub-extra"></div></p><p align="left" style="text-align: left;">나사 한개를 풀고 뒷판을 뜯으면 아래와 같이 보인다.</p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470980256705773293.jpg" data-filename="1470980256705773293.jpg" style="width: 100%;"></p><p align="left" style="text-align: left;"><br></p><p align="left">쿨러 나사 2개를 풀면 쉽게 분리 가능하다.</p><p align="left"><div class="autosourcing-stub-extra"></div><p></p></p><p align="left" style="text-align: left;">먼지를 제거해주고</p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470980259891658741.jpg" data-filename="1470980259891658741.jpg" style="width: 100%;"></p><p align="left" style="text-align: left;"><br></p><p align="left"><span style="line-height: 1;">이제 방열판을 분리 후 먼지제거 하고 굳어 있는 구리스를 닦아냈다.</span><br></p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470980262486997115.jpg" data-filename="1470980262486997115.jpg" style="width: 100%;"></p><p align="left" style="text-align: left;"><br></p><p align="left" style="text-align: left;"><div class="autosourcing-stub-extra"></div></p><p align="left" style="text-align: left;">cpu에 기존에 말라있던 구리스를 닦아 내고 새로 발라주었다</p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470980264844651388.jpg" data-filename="1470980264844651388.jpg" style="width: 100%;"></p><p align="left" style="text-align: left;"><br></p><p align="left">역순으로 조립</p><p align="left">구형 모델이라 그런지 열이 많이 발생하는거 같다.</p><p align="left"><div class="autosourcing-stub-extra"></div><p></p></p><p align="left" style="text-align: left;">깨끗이 청소했는데도 좀 사용하면 쿨러 소리가 자주 난다.</p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/147098033030539502.jpg" data-filename="147098033030539502.jpg" style="width: 100%;"><br></p>
서울 인터뷰
http://www.webprogramer.kr/blog/P000000253/post.do
<p><span style="line-height: 1;">반차 내고 서울로</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979724905688032.jpg" data-filename="1470979724905688032.jpg" style="width: 100%;"></p><p><br></p><p>올라가는길 고속도로 휴게소</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979740790893391.jpg" data-filename="1470979740790893391.jpg" style="width: 100%;"></p><p><br></p><p>63빌딩<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979744290923756.jpg" data-filename="1470979744290923756.jpg" style="width: 100%;"><br></p><p><br></p><p>비가와서 올라갈때 3시간</p><p>내려올때 3시간 <span style="line-height: 1;"> </span></p><p>힘들었다</p><div class="autosourcing-stub-extra"></div>
아틀란틱 컨벡터 1500w구매
http://www.webprogramer.kr/blog/P000000254/post.do
<p><span style="line-height: 1;">아틀란틱 컨벡터 1500w 구매</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979884583100900.jpg" data-filename="1470979884583100900.jpg" style="width: 100%;"></p><p><br></p><p>구성품<br>본체, 바퀴<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979892441831265.jpg" data-filename="1470979892441831265.jpg" style="width: 100%;"></p><p><br></p><p><span>바퀴추가 2마넌<br>좀 약해보인다</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147097989573462220.jpg" data-filename="147097989573462220.jpg" style="width: 100%;"></p><p><br></p><p>본체 가볍고 얇은편이다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979899550269648.jpg" data-filename="1470979899550269648.jpg" style="width: 100%;"></p><p><br></p><p><span>소비전력 1500 보다는 낮다</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979910692562989.jpg" data-filename="1470979910692562989.jpg" style="width: 100%;"></p><p><br></p><p><span>뒷모습 벽걸이용 쇠?가 달려있다<br>벽걸이 안할시 뺄수있음</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979915047274315.jpg" data-filename="1470979915047274315.jpg" style="width: 100%;"></p><p><br></p><p>조작버튼<br>뭐별거 없다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979919859819211.jpg" data-filename="1470979919859819211.jpg" style="width: 100%;"></p><p><br></p><p>손잡이<br>약해보인다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979923392898611.jpg" data-filename="1470979923392898611.jpg" style="width: 100%;"></p><p><br></p><p><span>작동<br>조용하다<br>따뜻허니 괜찮다</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979926155824009.jpg" data-filename="1470979926155824009.jpg" style="width: 100%;"></p><p><br></p><div class="autosourcing-stub-extra"></div>
전조등 교체
http://www.webprogramer.kr/blog/P000000243/post.do
<p>잘켜지던 전조등이 갑자기</p><p>양쪽다 한번에 나갔다</p><p>홈플러스에서</p><p>전조등구매해서 장착</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147097831712484836.jpg" data-filename="147097831712484836.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978322412751891.jpg" data-filename="1470978322412751891.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978326325303751.jpg" data-filename="1470978326325303751.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978328982756708.jpg" data-filename="1470978328982756708.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978331637285236.jpg" data-filename="1470978331637285236.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978336263691729.jpg" data-filename="1470978336263691729.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978338798978017.jpg" data-filename="1470978338798978017.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978341216454201.jpg" data-filename="1470978341216454201.jpg" style="width: 100%;"></p><p><br></p><div class="autosourcing-stub-extra"></div>,
거실pc 판매
http://www.webprogramer.kr/blog/P000000245/post.do
<p>거실용 pc 청소</p><p>사용을 안하게 되서</p><p>중고로 판매</p><p>잘가라</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978569895886975.jpg" data-filename="1470978569895886975.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978573290796263.jpg" data-filename="1470978573290796263.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978575963614150.jpg" data-filename="1470978575963614150.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978578235822038.jpg" data-filename="1470978578235822038.jpg" style="width: 100%;"></p><p><br></p><p>깨끗이 청소하고 판매</p><div class="autosourcing-stub-extra"></div>
유키두 수도꼭지 사용
http://www.webprogramer.kr/blog/P000000252/post.do
<div align="left">유키두 수도꼭지</div><div align="left"><span style="line-height: 1;"><br></span></div><div align="left"><span style="line-height: 1;">욕조에 장착</span></div><div align="left"><span style="line-height: 1;"><br></span><span style="line-height: 1;">아기가 좋아해서</span></div><div align="left"><br></div><div align="left">잘산거 같다</div><div align="left"><img class="m20 _attach_space" alt="" src="http://static.naver.net/blank.gif"><div class="autosourcing-stub-extra"><br></div><div class="autosourcing-stub-extra"><img src="http://www.webprogramer.kr/upload/blog/editor/147097960193011070.jpg" data-filename="147097960193011070.jpg" style="width: 100%;"></div><div class="autosourcing-stub-extra"><img src="http://www.webprogramer.kr/upload/blog/editor/1470979605053815743.jpg" data-filename="1470979605053815743.jpg" style="width: 100%;"></div><div class="autosourcing-stub-extra"><img src="http://www.webprogramer.kr/upload/blog/editor/1470979607833147502.jpg" data-filename="1470979607833147502.jpg" style="width: 100%;"><br></div></div>
목욕용품 구매
http://www.webprogramer.kr/blog/P000000251/post.do
<p>아기 목욕용품 구매</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979468094443488.jpg" data-filename="1470979468094443488.jpg" style="width: 100%;"></p><p><br></p><p>욕조<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979472385417152.jpg" data-filename="1470979472385417152.jpg" style="width: 100%;"><br></p>
와이프선물
http://www.webprogramer.kr/blog/P000000250/post.do
<p>와이프 생일겸 결혼기념일 선물</p><p>그동안 모은돈 다 소진ㅠㅠ</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979316503754544.jpg" data-filename="1470979316503754544.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979319702414098.jpg" data-filename="1470979319702414098.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979322825109289.jpg" data-filename="1470979322825109289.jpg" style="width: 100%;"></p><p><br></p><div class="autosourcing-stub-extra"></div>
Iptime 외장하드 케이스
http://www.webprogramer.kr/blog/P000000249/post.do
<p><span style="line-height: 1;">남는 노트북 하드</span><br></p><p>외장하드로 장착</p><p>가격도 저렴하고 디자인도 괜찮은듯</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979154849989627.jpg" data-filename="1470979154849989627.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979158248257445.jpg" data-filename="1470979158248257445.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979161913669781.jpg" data-filename="1470979161913669781.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979182801918881.jpg" data-filename="1470979182801918881.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979185926392352.jpg" data-filename="1470979185926392352.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
램업그레드
http://www.webprogramer.kr/blog/P000000248/post.do
<p>노트북 메모리 업그레이드</p><p>Ddr3 8g 2개</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979064341411771.jpg" data-filename="1470979064341411771.jpg" style="width: 100%;"></p><p><br></p><p><span>기존 4g 2개는 중고나라로 ㄱ ㄱ</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470979067320435322.jpg" data-filename="1470979067320435322.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
삼성 850 pro 256g 장착
http://www.webprogramer.kr/blog/P000000247/post.do
<p></p><p>c드라이브가 128g 라서 용량이 너무 딸려서 </p><p>삼성 ssd 850 pro 256 구매</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978821918734133.jpg" data-filename="1470978821918734133.jpg" style="width: 100%;"></p><p><br></p><p><span>As 10년 이라는 장점</span></p><p><span>때문에 선택</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978825963567712.jpg" data-filename="1470978825963567712.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147097882868991241.jpg" data-filename="147097882868991241.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978847668924949.jpg" data-filename="1470978847668924949.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978853100684244.jpg" data-filename="1470978853100684244.jpg" style="width: 100%;"></p><p><br></p><p>멀티부스터에 있던하드를 떼어내구<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978856877859758.jpg" data-filename="1470978856877859758.jpg" style="width: 100%;"></p><p><br></p><p><span>기존에 사용하던 ssd 128g</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147097886069959533.jpg" data-filename="147097886069959533.jpg" style="width: 100%;"></p><p><br></p><p>삼성 ssd 장착<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147097886368550271.jpg" data-filename="147097886368550271.jpg" style="width: 100%;"></p><p><br></p><p><span>기존 ssd를 멀티부스터에 장착</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978866643396843.jpg" data-filename="1470978866643396843.jpg" style="width: 100%;"></p><p><br></p><p>윈도우설치<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978870104984929.jpg" data-filename="1470978870104984929.jpg" style="width: 100%;"><br></p>
대전 상소동산림욕장
http://www.webprogramer.kr/blog/P000000246/post.do
<p>상소동 산림욕장</p><p>나드리</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978681642738146.jpg" data-filename="1470978681642738146.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978685449395836.jpg" data-filename="1470978685449395836.jpg" style="width: 100%;"></p><p><br></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978688624296179.jpg" data-filename="1470978688624296179.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978691308210437.jpg" data-filename="1470978691308210437.jpg" style="width: 100%;"></p><p><br></p>
아기거울
http://www.webprogramer.kr/blog/P000000244/post.do
<p>아기 뒷자석 거울</p><p>저렴하고 괜찮은듯</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978507369211015.jpg" data-filename="1470978507369211015.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
삼실 에서받은 종이접기
http://www.webprogramer.kr/blog/P000000242/post.do
<p>PM님이 주신 종이접기</p><p>쌀관련 솔루션을 이용하는 조합에서 준것 같다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978015490178171.jpg" data-filename="1470978015490178171.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978022900105242.jpg" data-filename="1470978022900105242.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978028301763070.jpg" data-filename="1470978028301763070.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978033043709087.jpg" data-filename="1470978033043709087.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978036533898472.jpg" data-filename="1470978036533898472.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470978041230552110.jpg" data-filename="1470978041230552110.jpg" style="width: 100%;"><br></p>
자동차 도어체커 소음
http://www.webprogramer.kr/blog/P000000241/post.do
<p>차량문을 열고 닫을때 끼익 끼익 소리가나서</p><p>구입 했다</p><p>3m 윤활방청제, 실리콘 윤활제</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977827357821334.jpg" data-filename="1470977827357821334.jpg" style="width: 100%;"></p><p><br></p><p><span>도어체커 부분에 윤활 방청제를 뿌린다</span></p><p><span>녹물같은게 조금 나온다</span></p><p><span>문을 열었다 닫았다를 반복했다</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977832294405730.jpg" data-filename="1470977832294405730.jpg" style="width: 100%;"></p><p><br></p><p></p><p><span>실리콘 윤활제를 골고루 뿌린다</span></p><p><span>문을 열었다 닫았다를 반복한다</span></p><p><span>문짝 모두 이렇게 작업을 했다</span></p><p><span>소리가 나지않는다</span></p><p><span>얼마나 갈런지..</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977840832498937.jpg" data-filename="1470977840832498937.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
현관문 손잡이 교체
http://www.webprogramer.kr/blog/P000000240/post.do
<p>기존 현관문 손잡이</p><p>오래 되니까 빡빡해져서 교체하기로함</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977645836515706.jpg" data-filename="1470977645836515706.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977654483274442.jpg" data-filename="1470977654483274442.jpg" style="width: 100%;"></p><p><br></p><p>오래된 흔적이 보인다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147097766217071279.jpg" data-filename="147097766217071279.jpg" style="width: 100%;"></p><p><br></p><p>우선 안쪽에서 풀면 된다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977665541808166.jpg" data-filename="1470977665541808166.jpg" style="width: 100%;"></p><p><br></p><p>손잡이을 분리 하니 이런 모양이다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977668842361294.jpg" data-filename="1470977668842361294.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977671771462484.jpg" data-filename="1470977671771462484.jpg" style="line-height: 1; width: 100%;"><br></p><p><br></p><p>철물점 가서 새로 사온 손잡이<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977674603475391.jpg" data-filename="1470977674603475391.jpg" style="width: 100%;"></p><p><br></p><p>역순으로 장착완료</p><p>정말 간단히 교체 하였다 10분 내외</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977677590214273.jpg" data-filename="1470977677590214273.jpg" style="width: 100%;"></p><p><br></p><div align="left">문열기도편하고 좋다</div><div align="left"><img class="m20 _attach_space" alt="" src="http://static.naver.net/blank.gif"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977680436600431.jpg" data-filename="1470977680436600431.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
장마대비 유막제거 와이퍼 교체
http://www.webprogramer.kr/blog/P000000237/post.do
<p>와이퍼랑</p><p>유막제거제</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977180022986706.jpg" data-filename="1470977180022986706.jpg" style="width: 100%;"></p><p><br></p><p>와이퍼설치하구 유막제거전</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977183354617534.jpg" data-filename="1470977183354617534.jpg" style="width: 100%;"></p><p><span style="line-height: 1;">유막제거 사진은 못찍음</span><br></p><p>다른 유막제거제보단 괜찮은듯</p><div class="autosourcing-stub-extra"></div>
퀴니버즈 컵홀더 장착
http://www.webprogramer.kr/blog/P000000238/post.do
<p>유모차 걸이랑</p><p>컵홀더 구매</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977319270765714.jpg" data-filename="1470977319270765714.jpg" style="width: 100%;"></p><p><br></p><p>컵홀더 장착</p><p>이제 불편하게 커피를 들고 다니지 않아도 된다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977322448172180.jpg" data-filename="1470977322448172180.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>,
와이프 장비 브라운 mq 775 구입
http://www.webprogramer.kr/blog/P000000239/post.do
<p>브라운 핸드 블랜더 mq 775</p><p>애기 이유식</p><p>과일 갈아먹기</p><p>야채 다지기</p><p>슬라이스</p><p>채썰기</p><p>반죽 등에 사용 한다구 하는데...</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977487976682451.jpg" data-filename="1470977487976682451.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977490865813745.jpg" data-filename="1470977490865813745.jpg" style="width: 100%;"></p><p><br></p><p>스테인 레스 라서 괘안은듯<br>뭔가 구성품이 많다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977497067508110.jpg" data-filename="1470977497067508110.jpg" style="width: 100%;"></p><p><br></p><p><span>누르면 점점 빨리 회전한다</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977501725596411.jpg" data-filename="1470977501725596411.jpg" style="width: 100%;"></p><p><br></p><div align="left">채썰기랑 슬라이스용 칼날</div><div align="left"><img class="m20 _attach_space" alt="" src="http://static.naver.net/blank.gif"><div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977506581403954.jpg" data-filename="1470977506581403954.jpg" style="width: 100%;"></p><p><br></p><p>이통에 넣구 슬라이스 하구 채썰구</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470977511412300572.jpg" data-filename="1470977511412300572.jpg" style="width: 100%;"><br></p><p>잘몰겠당</p><p>사용기는 나중에</p><div class="autosourcing-stub-extra"></div><div class="autosourcing-stub-extra"></div>
태평동 오또에메쪼
http://www.webprogramer.kr/blog/P000000236/post.do
<p>태평동 오또에메쪼<br><br>오랜만에 와이프랑 둘이 외식<br><br>식전빵 괜찮음</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470976864035311312.jpg" data-filename="1470976864035311312.jpg" style="width: 100%;"></p><p><br></p><p>까르보나라</p><p>와이프가 맛있다구함</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470976867166997809.jpg" data-filename="1470976867166997809.jpg" style="width: 100%;"></p><p><br></p><p>난 등심돈까스</p><p>맛있게먹음<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470976870562924551.jpg" data-filename="1470976870562924551.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470976873506737573.jpg" data-filename="1470976873506737573.jpg" style="width: 100%;"></p><p><br></p><p>가격도 많이 비싸지 않으면서 괜찮았음</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470976876713173701.jpg" data-filename="1470976876713173701.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
탁상 시계
http://www.webprogramer.kr/blog/P000000234/post.do
<p><br></p><p>잘보이면서 디자인 괜찮은 탁상 시계를 구매하였다.</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470976532043972303.jpg" data-filename="1470976532043972303.jpg" style="width: 100%;"></p><p><br></p><p>구성품<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470976536466426493.jpg" data-filename="1470976536466426493.jpg" style="width: 100%;"></p><p><br></p><p>오래오래 가라구 듀라셀로 <span style="line-height: 1;">AAA 사이즈 4개</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470976539870624491.jpg" data-filename="1470976539870624491.jpg" style="width: 100%;"></p><p><br></p><p>숫자가 크니까 잘보인다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470976542551589440.jpg" data-filename="1470976542551589440.jpg" style="width: 100%;"></p><p><br></p><p>선반에 설치 완료<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147097654528317877.jpg" data-filename="147097654528317877.jpg" style="width: 100%;"></p><p><br></p><p>디자인도 괜찮고 시간이 잘보여서 좋았지만...</p><p><br></p><p>듀라셀 4개를 하루간 이틀이 지나니 흐려졌다.</p><p><br></p><p>건전지가 너무 빨리 달아 결국 환불하였다.</p><p><br></p><p><br></p>
병규 이야기 포장
http://www.webprogramer.kr/blog/P000000235/post.do
<p>병규 이야기 포장<br><br>병규 이야기 가츠</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147097676061836963.jpg" data-filename="147097676061836963.jpg" style="width: 100%;"></p><p><br></p><p>양념</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470976765343675058.jpg" data-filename="1470976765343675058.jpg" style="width: 100%;"></p><p><br></p><p>피자 가츠<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470976768449246309.jpg" data-filename="1470976768449246309.jpg" style="width: 100%;"></p><p><br></p><p>주변 돈까스중에서</p><p>젤나은듯하다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470976772879702560.jpg" data-filename="1470976772879702560.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
등산
http://www.webprogramer.kr/blog/P000000233/post.do
<div align="left">날씨도 좋고</div><div align="left"><br></div><div align="left">바람도 시원하니</div><div align="left"><br></div><div align="left">등산하기 좋았다</div><div align="left"><img class="m20 _attach_space" alt="" src="http://static.naver.net/blank.gif"><div class="autosourcing-stub-extra"><img src="http://www.webprogramer.kr/upload/blog/editor/1470976180259141541.jpg" data-filename="1470976180259141541.jpg" style="width: 100%;"></div><div class="autosourcing-stub-extra"><br></div><div class="autosourcing-stub-extra"><br></div><div class="autosourcing-stub-extra">집에 오는길</div><div class="autosourcing-stub-extra">낮시간이라 한가하다</div><div class="autosourcing-stub-extra"><div class="autosourcing-stub-extra"></div></div><div class="autosourcing-stub-extra"><img src="http://www.webprogramer.kr/upload/blog/editor/1470976184919978223.jpg" data-filename="1470976184919978223.jpg" style="width: 100%;"></div><div class="autosourcing-stub-extra"><br></div></div>
거실 선반 타공판작업
http://www.webprogramer.kr/blog/P000000232/post.do
<p></p><p><span style="line-height: 1;">벽선반 타공판 작업</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975751324637837.jpg" data-filename="1470975751324637837.jpg" style="width: 100%;"></p><p><br></p><p>구성품 확인<br>타공판이 나왔다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975761534230177.jpg" data-filename="1470975761534230177.jpg" style="width: 100%;"></p><p><br></p><p>본격적으로 풀어 해치기<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975764597656130.jpg" data-filename="1470975764597656130.jpg" style="width: 100%;"></p><p><br></p><p>우선 가로 작업 부터<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975767393116945.jpg" data-filename="1470975767393116945.jpg" style="width: 100%;"></p><p><br></p><p></p><p>수평계 붙이고<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975772825573762.jpg" data-filename="1470975772825573762.jpg" style="width: 100%;"></p><p><br></p><p>드릴로 뚫을곳을 살짝 표시해 놓는다</p><p>드릴및 칼블럭 작업은 못찍었다</p><p>너무 씨끄러워서 빨리 하느라</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975776005171927.jpg" data-filename="1470975776005171927.jpg" style="width: 100%;"></p><p><br></p><p></p><p><span style="line-height: 1;">우선 걸어본다</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975781994322817.jpg" data-filename="1470975781994322817.jpg" style="width: 100%;"></p><p><br></p><p>세로로 붙인거랑 뚫다보니 높이가 맞지 않음</p><p>별로 신경쓰일 정도는 아니라서 걍 놔둠</p><p>혹시나 해서 벽걸이 tv 내려 놓음</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975853598145721.jpg" data-filename="1470975853598145721.jpg" style="width: 100%;"></p><p><br></p><p>세로로 붙일거 이제 타공판에 작업 할라구 내림</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975857649314918.jpg" data-filename="1470975857649314918.jpg" style="width: 100%;"></p><p><br></p><p>선반 3개랑 주머니 2개 붙이고 벽에 걸었다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975860293841014.jpg" data-filename="1470975860293841014.jpg" style="width: 100%;"></p><p><br></p><p>가로로 놓을거 배치중<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147097586522165226.jpg" data-filename="147097586522165226.jpg" style="width: 100%;"></p><p><br></p><p>가로도 붙임<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975887068278431.jpg" data-filename="1470975887068278431.jpg" style="width: 100%;"></p><p><br></p><p>한번 꾸며 보았다</p><p>타공판이 철이라 자석이 유용하고</p><p>걸수있는걸 사면 걸수도 있다</p><p>주머니엔 지저분 했던 우편물 함으로 사용</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/147097589107770968.jpg" data-filename="147097589107770968.jpg" style="width: 100%;"></p><p><br></p><p>전체적으로 이러하다<br>tv다이 에 있던것들을 올려보았다</p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975894825322951.jpg" data-filename="1470975894825322951.jpg" style="width: 100%;"></p><p><br></p><p>가로 타공판<br>뭔가 정리가 필요 한듯하다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975897932683439.jpg" data-filename="1470975897932683439.jpg" style="width: 100%;"></p><p>잘한것 같기도 하고 그냥 그런거 같기도 하다</p>
소라 양파 장아찌 만들기
http://www.webprogramer.kr/blog/P000000231/post.do
<p>소라 양파 장아찌를 만들려구</p><p><span style="line-height: 1;">농수산 시장에서 소라를 2kg </span><span style="line-height: 1;">사왔다</span><br></p><p>우선 회한접시 하구</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974958142432830.jpg" data-filename="1470974958142432830.jpg" style="width: 100%;"></p><p><br></p><p>좀무게가 나간다 큰놈 작은놈 섞어서 2kg 달라구함</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974965791595009.jpg" data-filename="1470974965791595009.jpg" style="width: 100%;"></p><p><br></p><p><br></p><p>소라를 세척하기전 물에 담가 놓았다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974968899599818.jpg" data-filename="1470974968899599818.jpg" style="width: 100%;"></p><p><br></p><p>흰양파 자색양파 혼합으로 </p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/14709749717222503.jpg" data-filename="14709749717222503.jpg" style="width: 100%;"></p><p><br></p><p>서투른 칼솜씨로 손질 시작</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974975606764030.jpg" data-filename="1470974975606764030.jpg" style="width: 100%;"></p><p><br></p><p>양파 10개 까는데 눈물 콧물이 막 나왔다 ㅠㅠ</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974979883648140.jpg" data-filename="1470974979883648140.jpg" style="width: 100%;"></p><p><br></p><p><br></p><p>재료는 양파, 고추, 마늘<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974986107680349.jpg" data-filename="1470974986107680349.jpg" style="width: 100%;"></p><p><br></p><p>담을 그릇준비<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974992467344869.jpg" data-filename="1470974992467344869.jpg" style="width: 100%;"></p><p><br></p><p>재료를 담았다 <br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974995744136028.jpg" data-filename="1470974995744136028.jpg" style="width: 100%;"></p><p><br></p><p>소라 씻기<br>칫솔로 깨끗이 슥삭슥삭</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974998556364196.jpg" data-filename="1470974998556364196.jpg" style="width: 100%;"></p><p><br></p><p><span>삶는다 <br>펄펄끓는물에 5분정도 삶음</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975001453427952.jpg" data-filename="1470975001453427952.jpg" style="width: 100%;"></p><p><br></p><p>채에 올려서 물을뺐다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975004313882621.jpg" data-filename="1470975004313882621.jpg" style="width: 100%;"></p><p><br></p><p>이제 소라 살을 빼낼차례<br>젓가락 하나면 쉽게 뺀다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975007962396958.jpg" data-filename="1470975007962396958.jpg" style="width: 100%;"></p><p><br></p><p>쿡찔러서 돌돌돌 뺀다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975011153838649.jpg" data-filename="1470975011153838649.jpg" style="width: 100%;"></p><p><br></p><p>일케 쏘옥 빠진다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147097501551993462.jpg" data-filename="147097501551993462.jpg" style="width: 100%;"></p><p><br></p><p><span style="line-height: 1;">크다</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975018559405856.jpg" data-filename="1470975018559405856.jpg" style="width: 100%;"></p><p><br></p><p>다빼내고<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975021348854023.jpg" data-filename="1470975021348854023.jpg" style="width: 100%;"></p><p><br></p><p>칼로 적당히 썰었다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975024855867575.jpg" data-filename="1470975024855867575.jpg" style="width: 100%;"></p><p><br></p><p>간장을 끓이는걸 못찍었다<br>물, 간장, 설탕, 식초를 1:1:1:1로 섞은뒤<br>팔팔끓인후 재료에 부었다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975028180278343.jpg" data-filename="1470975028180278343.jpg" style="width: 100%;"></p><p><br></p><p>먹음직 스럽다. 잘된거 같다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975031227717523.jpg" data-filename="1470975031227717523.jpg" style="width: 100%;"></p><p><br></p><p>식혀서 냉장고에 보관후 먹으면 된다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975034875670267.jpg" data-filename="1470975034875670267.jpg" style="width: 100%;"></p><p><br></p><p>식초가 모자라 동그란통에는 넣지 못했다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470975038087446590.jpg" data-filename="1470975038087446590.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
출출해서 맘스터치
http://www.webprogramer.kr/blog/P000000230/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974620433956574.jpg" data-filename="1470974620433956574.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470974620446885154.jpg" data-filename="1470974620446885154.jpg" style="width: 100%;"><br></p>
꼬막 무침
http://www.webprogramer.kr/blog/P000000228/post.do
<p>농수산 시장 갔다 사온 꼬막<br><br>인터넷 보구 꼬막무침 시작</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969865202650214.jpg" data-filename="1470969865202650214.jpg" style="width: 100%;"></p><p><br></p><p>우선 물로 깨끗이 빡빡씻는다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969867715432431.jpg" data-filename="1470969867715432431.jpg" style="width: 100%;"></p><p><br></p><p>소금을 풀고 오래 놔둔다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969870723782693.jpg" data-filename="1470969870723782693.jpg" style="width: 100%;"></p><p><br></p><p>잠깐 짬이나서 수산시장에서 사온 회를 먹구</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969873213307117.jpg" data-filename="1470969873213307117.jpg" style="width: 100%;"></p><p><br></p><p>양념장을만든다<br>간장, 고추가루, 깨소금, 파, 마늘, 매실액, 참기름</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096987588724967.jpg" data-filename="147096987588724967.jpg" style="width: 100%;"></p><p><br></p><p>양념을 잘 섞어준다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969878287768620.jpg" data-filename="1470969878287768620.jpg" style="width: 100%;"></p><p><br></p><p>이제 삶을 준비<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969880668935933.jpg" data-filename="1470969880668935933.jpg" style="width: 100%;"></p><p><br></p><p>담을 그릇과 양념장을 준비 한다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096988796614554.jpg" data-filename="147096988796614554.jpg" style="width: 100%;"></p><p><br></p><p>끓이는중<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969908936751825.jpg" data-filename="1470969908936751825.jpg" style="width: 100%;"></p><p><br></p><p>꼬막입이 몇개 열린걸보니 다익은듯</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969911890556730.jpg" data-filename="1470969911890556730.jpg" style="width: 100%;"></p><p><br></p><p>채에 물을 걸러낸다<br>찬물에 헹구지 않는다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969915317733076.jpg" data-filename="1470969915317733076.jpg" style="width: 100%;"></p><p><br></p><p>양념 바르기 준비끝<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969918170151223.jpg" data-filename="1470969918170151223.jpg" style="width: 100%;"></p><p><br></p><div align="left">반이상 바른상태</div><div align="left"><img class="m20 _attach_space" alt="" src="http://static.naver.net/blank.gif">생각보다 오래걸린다.</div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969921016467532.jpg" data-filename="1470969921016467532.jpg" style="width: 100%;"></p><p><br></p><p>끝<br>맛나보인다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096992423046044.jpg" data-filename="147096992423046044.jpg" style="width: 100%;"></p><p>꼬막 무침이랑 밥한공기 뚝딱</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969926763935797.jpg" data-filename="1470969926763935797.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
tv 벽걸이로 바꾸기
http://www.webprogramer.kr/blog/P000000229/post.do
<p>tv 벽걸이 브라켓 도착</p><p>2만원대에 벽걸이를 할수있어 저렴하다</p><p>더싼곳이있지만 그건 중국산이라 국산을</p><p><span style="line-height: 1;">구매했다</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974292566520718.jpg" data-filename="1470974292566520718.jpg" style="width: 100%;"></p><p><br></p><p>작업할 tv<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974297131250775.jpg" data-filename="1470974297131250775.jpg" style="width: 100%;"></p><p><br></p><p>브라켓 부품 확인<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974300440804565.jpg" data-filename="1470974300440804565.jpg" style="width: 100%;"></p><p><br></p><div align="left">전체 구성품<br>단순 하다</div><div align="left"><img class="m20 _attach_space" alt="" src="http://static.naver.net/blank.gif"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974303174283301.jpg" data-filename="1470974303174283301.jpg" style="width: 100%;"></p><p><br></p><p>tv vesa홀 확인 200*200 사이즈</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974305991992008.jpg" data-filename="1470974305991992008.jpg" style="width: 100%;"></p><p><br></p><p><span>vesa 홀에 tv를 걸을수있는걸 연결한다</span></p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974310000247030.jpg" data-filename="1470974310000247030.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974314234688106.jpg" data-filename="1470974314234688106.jpg" style="width: 100%;"></p><p><br></p><p>이런식 으로 연결함<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974317432117817.jpg" data-filename="1470974317432117817.jpg" style="width: 100%;"></p><p><br></p><p>양쪽 연결한 형태<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974320355877320.jpg" data-filename="1470974320355877320.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974339346340319.jpg" data-filename="1470974339346340319.jpg" style="width: 100%;"></p><p><br></p><p>수평맞춘 후 콘크리트 뚫을곳을 표시한다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974343389636654.jpg" data-filename="1470974343389636654.jpg" style="width: 100%;"></p><p><br></p><p>수평계를 이용해 수평을 맞춘다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974346236676559.jpg" data-filename="1470974346236676559.jpg" style="width: 100%;"></p><p><br></p><p>드릴로 뚫을곳을 표시 한곳</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974349252983930.jpg" data-filename="1470974349252983930.jpg" style="width: 100%;"></p><p><br></p><p>드릴로 뚫는다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974352332763816.jpg" data-filename="1470974352332763816.jpg" style="width: 100%;"></p><p><br></p><p>드릴로 뚫은곳에 나사로 고정했다<br>아주 단단히</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974356509436737.jpg" data-filename="1470974356509436737.jpg" style="width: 100%;"></p><p><br></p><p>이제 받침대를분리 하기위해 나사를푼다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974359966733618.jpg" data-filename="1470974359966733618.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974363193230496.jpg" data-filename="1470974363193230496.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974366192935696.jpg" data-filename="1470974366192935696.jpg" style="width: 100%;"></p><p><br></p><p>설치<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974370671622435.jpg" data-filename="1470974370671622435.jpg" style="width: 100%;"></p><p><br></p><p>빠지지않게 나사조이고 각도 조절</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974375164739776.jpg" data-filename="1470974375164739776.jpg" style="width: 100%;"></p><p><br></p><p>뒷면 위에서 본모습 아무 미동도 없이 단단히 고정됨</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470974379657465093.jpg" data-filename="1470974379657465093.jpg" style="width: 100%;"><br></p><p><br></p><div class="autosourcing-stub-extra"></div>
5단 고릴라랙 구매
http://www.webprogramer.kr/blog/P000000227/post.do
<p>이마트 트레이 더스 에서 구매한<br><br>5단 고릴라 랙<br><br>무게가 무려 54kg 꽤 무겁다<br><br>혼자 집까지 가져오느라 힘들었다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969614585213944.jpg" data-filename="1470969614585213944.jpg" style="width: 100%;"></p><p><br></p><p>간신히베란다 까지 옮김<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969617772837721.jpg" data-filename="1470969617772837721.jpg" style="width: 100%;"></p><p><br></p><p>구성품 확인중<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969621387126870.jpg" data-filename="1470969621387126870.jpg" style="width: 100%;"></p><p><br></p><p>바닥 부분받치는 부분<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969624165244811.jpg" data-filename="1470969624165244811.jpg" style="width: 100%;"></p><p><br></p><p>설명서 참고후 조립준비<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096963650256181.jpg" data-filename="147096963650256181.jpg" style="width: 100%;"></p><p><br></p><p>바닥 지지대 부터 조립<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969655458905587.jpg" data-filename="1470969655458905587.jpg" style="width: 100%;"></p><p><br></p><p>조립중<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969659459656961.jpg" data-filename="1470969659459656961.jpg" style="width: 100%;"></p><p><br></p><p>조립완료<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969662830156523.jpg" data-filename="1470969662830156523.jpg" style="width: 100%;"></p><p><br></p><p>튼튼 허니 좋다<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969667314814129.jpg" data-filename="1470969667314814129.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969671066423041.jpg" data-filename="1470969671066423041.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
다음 프로젝트 가기전 집에서 휴식중
http://www.webprogramer.kr/blog/P000000226/post.do
<p>다음 프로젝트 가기전 집에서 휴식중</p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>여유롭고 좋다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969480056160479.jpg" data-filename="1470969480056160479.jpg" style="width: 100%;"><br></p>
회사 회식
http://www.webprogramer.kr/blog/P000000224/post.do
<p>퇴사전 마지막 회식</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969346459306682.jpg" data-filename="1470969346459306682.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969349455921746.jpg" data-filename="1470969349455921746.jpg" style="width: 100%;"><br></p>
카시트 설치
http://www.webprogramer.kr/blog/P000000221/post.do
<p>구매한 다이치 카시트 설치<span style="line-height: 1;"> </span></p><p>ISOFIX 베이스 먼저 설치<span style="line-height: 1;"> </span></p><p>차량 시트에 보면 ISOFIX라고 써있는 곳에 양쪽 을 끼워야 한다.<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>우선 시트에 얇은 수건을 깔고 위치를 맞춘다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969000148621137.jpg" data-filename="1470969000148621137.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969003528912935.jpg" data-filename="1470969003528912935.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096900737317125.jpg" data-filename="147096900737317125.jpg" style="width: 100%;"></p><p><br></p><p>차량에 고정</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969010049573539.jpg" data-filename="1470969010049573539.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>량에 찰칵 하고 끼워진 상태</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969012774838681.jpg" data-filename="1470969012774838681.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>잘끼워졌을경우 양쪽 부분이 빨간색이였던 부분이 녹색으로 바뀐다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969016196144853.jpg" data-filename="1470969016196144853.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>받침대를 밑으로 내려서 높이를 맞춘다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969019411252673.jpg" data-filename="1470969019411252673.jpg" style="width: 100%;"></p><p><br></p><p>카시트를 올려놓는다.<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969021934767198.jpg" data-filename="1470969021934767198.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>찰칵 하구 끼운다. 모두 녹색으면 제대로 설치한상태</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969024720400424.jpg" data-filename="1470969024720400424.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969028317506146.jpg" data-filename="1470969028317506146.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>설치한상태 아래 부분을 보면 시트를 단계 별로 눕히고 세울 수 있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969032043182084.jpg" data-filename="1470969032043182084.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969036280615654.jpg" data-filename="1470969036280615654.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>아직 애기 라서 4단계로 설정</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969038758294829.jpg" data-filename="1470969038758294829.jpg" style="width: 100%;"></p><p><br></p><p>최종 설치한 모습<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969041366341659.jpg" data-filename="1470969041366341659.jpg" style="width: 100%;"></p><p><div class="autosourcing-stub-extra"></div></p><p>그다음엔 안전벨트로 고정을 해야 하는데 사진을 안찍었다. </p>
블루베리
http://www.webprogramer.kr/blog/P000000225/post.do
<p><div class="autosourcing-stub-extra"></div></p><p><span style="line-height: 1;">장모님이 한움큼 쥐어준 블루베리</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969408233285357.jpg" data-filename="1470969408233285357.jpg" style="width: 100%;"><span style="line-height: 1;"><br></span></p><p><span style="line-height: 1;"><br></span></p><p>익어가는 블루베리<span style="line-height: 1;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969411169635930.jpg" data-filename="1470969411169635930.jpg" style="width: 100%;"><span style="line-height: 1;"><br></span></p><p><span style="line-height: 1;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969414204410007.jpg" data-filename="1470969414204410007.jpg" style="width: 100%;"><span style="line-height: 1;"><br></span></p><p><span style="line-height: 1;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969416804972000.jpg" data-filename="1470969416804972000.jpg" style="width: 100%;"><span style="line-height: 1;"><br></span><br></p>
엑스포는 철거중
http://www.webprogramer.kr/blog/P000000223/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969289485635129.jpg" data-filename="1470969289485635129.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470969289490787211.jpg" data-filename="1470969289490787211.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/147096928949056982.jpg" data-filename="147096928949056982.jpg" style="width: 100%;"><br></p>
울동네 놀부보쌈
http://www.webprogramer.kr/blog/P000000222/post.do
<p>관저동 놀부보쌈</p><p>비싸긴 하지만 </p><p>맛이 <span style="line-height: 1;">괜찮다.</span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096922202575513.jpg" data-filename="147096922202575513.jpg" style="width: 100%;"><span style="line-height: 1;"><br></span></p><p><span style="line-height: 1;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969225036129659.jpg" data-filename="1470969225036129659.jpg" style="width: 100%;"><span style="line-height: 1;"><br></span></p><p><span style="line-height: 1;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969227689874909.jpg" data-filename="1470969227689874909.jpg" style="width: 100%;"><span style="line-height: 1;"><br></span></p><p><span style="line-height: 1;"><br></span></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470969230446852590.jpg" data-filename="1470969230446852590.jpg" style="width: 100%;"><span style="line-height: 1;"><br></span></p>
가습기 구매 에어미스트 촉촉
http://www.webprogramer.kr/blog/P000000214/post.do
<p>신생아에게 습도가 중요하기 때문에 가습기를 구매했다.</p><p>외형은 이러하다.<span style="line-height: 1;"> </span></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>가벼운 편이다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968209627540403.jpg" data-filename="1470968209627540403.jpg" style="width: 100%;"></p><p><br></p><p>전원버튼 과 조절기<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968212409916050.jpg" data-filename="1470968212409916050.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968215071830333.jpg" data-filename="1470968215071830333.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>상단에 뚜껑을 열어 물을 보충하기 편하게 되어 있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968217688698707.jpg" data-filename="1470968217688698707.jpg" style="width: 100%;"></p><p><br></p><p>뒷면</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968220929377129.jpg" data-filename="1470968220929377129.jpg" style="width: 100%;"></p><p><br></p><p>분과 본체 분리된 모양<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096822451824177.jpg" data-filename="147096822451824177.jpg" style="width: 100%;"></p><p><br></p><p>물을 채우고 작동을 해봤다.<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>통안이 뿌옇게 변하면서 밖으로 나온다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968226906129991.jpg" data-filename="1470968226906129991.jpg" style="width: 100%;"></p><p><br></p><p><span style="line-height: 1;">사진엔 잘보이지 않지만 가습이 잘된다</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968229366215112.jpg" data-filename="1470968229366215112.jpg" style="width: 100%;"><br></p>
회사점심 시간 맥도날드
http://www.webprogramer.kr/blog/P000000215/post.do
<p>날씨도 좋고<span style="line-height: 1;"> </span></p><p>오늘점심은 뭐먹지 하다가<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>맥드라이브 이용하구 갑천으로 ㄱㄱ</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968384005647349.jpg" data-filename="1470968384005647349.jpg" style="width: 100%;"><br></p>
쿠첸 무선전기 포트 구매
http://www.webprogramer.kr/blog/P000000217/post.do
<p>기존에 사용하던 전기포트가 낡기도 하고 플라스틱 재질이라서 좀 그랬는데<span style="line-height: 1;"> </span></p><p>이번에 새로 장만하였다.<span style="line-height: 1;"> </span></p><p>궁극적인 구매목적은 전기포트의 기능중의 하나가 애기 분유타기에 적합한 온도로<span style="line-height: 1;"> </span></p><p>물을 데울수 있는기능이다.<span style="line-height: 1;"> </span></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>가열과 보온 기능이 있다.</p><div><br></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968550113215189.jpg" data-filename="1470968550113215189.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968553743334125.jpg" data-filename="1470968553743334125.jpg" style="width: 100%;"></p><p><br></p><p>외형이 깔끔하구 좋다.<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968556146480840.jpg" data-filename="1470968556146480840.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968558532867033.jpg" data-filename="1470968558532867033.jpg" style="width: 100%;"></p><p><br></p><p>가열이나 선택보온을 눌르고 온도부분을 터치하면 온도를 맞춘다.<span style="line-height: 1;"> </span></p><p>40도에 맞추고 가열하면 분유타기 좋은 온도다<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>1분도 안걸려서 분유탈때 아주 유용하다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968560909158271.jpg" data-filename="1470968560909158271.jpg" style="width: 100%;"></p><p><br></p>
이비가 짬뽕 포장
http://www.webprogramer.kr/blog/P000000220/post.do
<p>주말 토요일 이비가 짬뽕 전화해서 포장되냐구 물어보니<span style="line-height: 1;"> </span></p><p>짬뽕이랑 탕수육 포장된다구 하여 점심되기전에 잽싸게 가서 포장해왔다.<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>와이프랑 이비가짬뽕이랑 찹쌀탕수육으로 아점을 먹었다.</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968858963195220.jpg" data-filename="1470968858963195220.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968861942782993.jpg" data-filename="1470968861942782993.jpg" style="width: 100%;"></p><p>맛있다.</p>
허치버터칩 큰거 받음.
http://www.webprogramer.kr/blog/P000000219/post.do
<p><div class="autosourcing-stub-extra"></div></p><p>허니버터칩 큰봉지를 받았다.</p><p>최과장님 한테서.. ㅋㅋ</p><p>차트렁크에서 계속나온다는.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968788072109519.jpg" data-filename="1470968788072109519.jpg" style="width: 100%;"><br></p>
회사점심 맥드라이브와 엑스포 철거중
http://www.webprogramer.kr/blog/P000000218/post.do
<p><div class="autosourcing-stub-extra"></div></p><p>오늘점심도 맥드라이브 이용 갑천에서</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968662812245087.jpg" data-filename="1470968662812245087.jpg" style="width: 100%;"></p><p><br></p><p>엑스포는 철거중<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968666137959241.jpg" data-filename="1470968666137959241.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968668779263737.jpg" data-filename="1470968668779263737.jpg" style="width: 100%;"></p><p><br></p>
보령시청에서 집 가는길 성주터널
http://www.webprogramer.kr/blog/P000000216/post.do
<p>보령시청으로 출근 했다가<span style="line-height: 1;"> </span></p><p>일하고 저녁먹구 출발하니 8시 30쯤<span style="line-height: 1;"> </span></p><p>으. 피곤 허다 요세 잠도 잘못잤는데 일찍 보령으로 출근하고<span style="line-height: 1;"> </span></p><p>도착예정시간은 10시 넘어서 비는 내리고 어두 컴컴 차는 한대도 없고<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>나혼자만 가고 있는듯 하다.</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470968483072172617.jpg" data-filename="1470968483072172617.jpg" style="width: 100%;"><br></p>
mysql 설치해놓구 비밀번호 모른다고 ㅠ
http://www.webprogramer.kr/blog/P000000213/post.do
<h2 style="font-variant-numeric: normal; font-weight: bold; font-size: 1.5em; line-height: 1.3; font-family: sans-serif; margin: 1em 0px 0.25em; padding: 0px; overflow: hidden; border-bottom: 1px solid rgb(170, 170, 170); widows: 1; font-stretch: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="mw-headline" id="mysqld_.EC.A4.91.EC.A7.80" style="font-family: 나눔고딕, "맑은 고딕";">mysqld 중지</span></h2><h2 style="font-variant-numeric: normal; font-weight: bold; font-size: 1.5em; line-height: 1.3; font-family: sans-serif; margin: 1em 0px 0.25em; padding: 0px; overflow: hidden; border-bottom: 1px solid rgb(170, 170, 170); widows: 1; font-stretch: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><div class="mw-geshi mw-code mw-content-ltr" style="font-variant-numeric: normal; font-weight: normal; font-size: 15px; line-height: 1.3em; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; padding: 1em; border-radius: 3px; border: 1px solid rgb(221, 221, 221); direction: ltr; font-stretch: normal; background-color: rgb(249, 249, 249);" dir="ltr"><div class="cli source-cli" style="margin: 0.08em !important; padding: 0.6em !important; border-radius: 3px; line-height: normal; font-family: monospace, monospace; font-size: 1em; background-color: rgb(0, 0, 0) !important;"><pre class="de1" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.2em; font-family: monospace, monospace; margin-bottom: 0px; padding: 0px; border-radius: 3px; border: 0px white; vertical-align: top; font-stretch: normal;"><span style="color: rgb(0, 0, 0);">[root<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">@</span>localhost ~]# service mysqld stop
Stopping MySQL: [ OK ]</span></pre></div></div></h2><h2 style="font-variant-numeric: normal; font-weight: bold; font-size: 1.5em; line-height: 1.3; font-family: sans-serif; margin: 1em 0px 0.25em; padding: 0px; overflow: hidden; border-bottom: 1px solid rgb(170, 170, 170); widows: 1; font-stretch: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="mw-headline" id="mysqld_safe_.EC.8B.A4.ED.96.89" style="font-family: 나눔고딕, "맑은 고딕";">mysqld_safe 실행</span></h2><h2 style="font-variant-numeric: normal; font-weight: bold; font-size: 1.5em; line-height: 1.3; font-family: sans-serif; margin: 1em 0px 0.25em; padding: 0px; overflow: hidden; border-bottom: 1px solid rgb(170, 170, 170); widows: 1; font-stretch: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><div class="mw-geshi mw-code mw-content-ltr" style="font-variant-numeric: normal; font-weight: normal; font-size: 15px; line-height: 1.3em; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; padding: 1em; border-radius: 3px; border: 1px solid rgb(221, 221, 221); direction: ltr; font-stretch: normal; background-color: rgb(249, 249, 249);" dir="ltr"><div class="cli source-cli" style="margin: 0.08em !important; padding: 0.6em !important; border-radius: 3px; line-height: normal; font-family: monospace, monospace; font-size: 1em; background-color: rgb(0, 0, 0) !important;"><pre class="de1" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.2em; font-family: monospace, monospace; margin-bottom: 0px; padding: 0px; border-radius: 3px; border: 0px white; vertical-align: top; font-stretch: normal;"><span style="color: rgb(0, 0, 0);">[root<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">@</span>localhost ~]# /usr/bin/mysqld_safe --skip-grant <span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">&</span>
[1] 32055
Starting mysqld daemon with databases from /var/lib/mysql</span></pre></div></div></h2><h2 style="font-variant-numeric: normal; font-weight: bold; font-size: 1.5em; line-height: 1.3; font-family: sans-serif; margin: 1em 0px 0.25em; padding: 0px; overflow: hidden; border-bottom: 1px solid rgb(170, 170, 170); widows: 1; font-stretch: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="mw-headline" id=".EC.83.88_.ED.8C.A8.EC.8A.A4.EC.9B.8C.EB.93.9C_.EC.A7.80.EC.A0.95" style="font-family: 나눔고딕, "맑은 고딕";">새 패스워드 지정</span></h2><h2 style="font-variant-numeric: normal; font-weight: bold; font-size: 1.5em; line-height: 1.3; font-family: sans-serif; margin: 1em 0px 0.25em; padding: 0px; overflow: hidden; border-bottom: 1px solid rgb(170, 170, 170); widows: 1; font-stretch: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><div class="mw-geshi mw-code mw-content-ltr" style="font-variant-numeric: normal; font-weight: normal; font-size: 15px; line-height: 1.3em; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; padding: 1em; border-radius: 3px; border: 1px solid rgb(221, 221, 221); direction: ltr; font-stretch: normal; background-color: rgb(249, 249, 249);" dir="ltr"><div class="bash source-bash" style="margin: 0.08em !important; padding: 0.6em !important; border-radius: 3px; line-height: normal; font-family: monospace, monospace; font-size: 1em;"><pre class="de1" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.2em; font-family: monospace, monospace; margin-bottom: 0px; padding: 0px; border-radius: 3px; border: 0px white; vertical-align: top; font-stretch: normal;"><span style="color: rgb(0, 0, 0);"><span class="sy0" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">/</span>usr<span class="sy0" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">/</span>bin<span class="sy0" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">/</span>mysql <span class="re5" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">-uroot</span> mysql</span></pre></div></div><p style="font-variant-numeric: normal; font-weight: normal; font-size: 15px; line-height: 24.01px; font-family: 나눔고딕, "맑은 고딕"; margin-top: 0.5em; margin-bottom: 0.5em; font-stretch: normal;">패스워드로 변경</p><div class="mw-geshi mw-code mw-content-ltr" style="font-variant-numeric: normal; font-weight: normal; font-size: 15px; line-height: 1.3em; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; padding: 1em; border-radius: 3px; border: 1px solid rgb(221, 221, 221); direction: ltr; font-stretch: normal; background-color: rgb(249, 249, 249);" dir="ltr"><div class="sql source-sql" style="margin: 0.08em !important; padding: 0.6em !important; border-radius: 3px; line-height: normal; font-family: monospace, monospace; font-size: 1em;"><pre class="de1" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.2em; font-family: monospace, monospace; margin-bottom: 0px; padding: 0px; border-radius: 3px; border: 0px white; vertical-align: top; font-stretch: normal;"><span style="color: rgb(0, 0, 0);"><span class="kw1" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">update</span> <span class="kw1" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">user</span> <span class="kw1" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">set</span> password<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">=</span>password<span class="br0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">(</span><span class="st0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">'패스워드'</span><span class="br0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">)</span> <span class="kw1" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">where</span> <span class="kw1" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">user</span><span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">=</span><span class="st0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">'root'</span>;
<span class="kw1" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">flush</span> privileges;
quit</span></pre></div></div><dl style="font-variant-numeric: normal; font-weight: normal; font-size: 15px; line-height: 24.01px; font-family: 나눔고딕, "맑은 고딕"; margin-top: 0.2em; margin-bottom: 0.5em; font-stretch: normal;"><dt style="margin-bottom: 0.1em;">실행 예시</dt></dl><div class="mw-geshi mw-code mw-content-ltr" style="font-variant-numeric: normal; font-weight: normal; font-size: 15px; line-height: 1.3em; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; padding: 1em; border-radius: 3px; border: 1px solid rgb(221, 221, 221); direction: ltr; font-stretch: normal; background-color: rgb(249, 249, 249);" dir="ltr"><div class="cli source-cli" style="margin: 0.08em !important; padding: 0.6em !important; border-radius: 3px; line-height: normal; font-family: monospace, monospace; font-size: 1em; background-color: rgb(0, 0, 0) !important;"><pre class="de1" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.2em; font-family: monospace, monospace; margin-bottom: 0px; padding: 0px; border-radius: 3px; border: 0px white; vertical-align: top; font-stretch: normal;"><span style="color: rgb(0, 0, 0);">[root<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">@</span>localhost ~]# /usr/bin/mysql -uroot mysql
Reading table information <span class="kw1" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">for</span> completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.77 Source distribution
Type 'help;' or '\h' <span class="kw1" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">for</span> help. Type '\c' to clear the buffer.
mysql<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">></span> update user <span class="kw3" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">set</span> password=password<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">(</span>'P<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">@</span>ssw0rd'<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">)</span> where user='root';
Query OK, 3 rows affected <span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">(</span>0.00 sec<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">)</span>
Rows matched: 3 Changed: 3 Warnings: 0
mysql<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">></span> flush privileges;
Query OK, 0 rows affected <span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">(</span>0.00 sec<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">)</span>
mysql<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">></span> quit
Bye</span></pre></div></div></h2><h2 style="font-variant-numeric: normal; font-weight: bold; font-size: 1.5em; line-height: 1.3; font-family: sans-serif; margin: 1em 0px 0.25em; padding: 0px; overflow: hidden; border-bottom: 1px solid rgb(170, 170, 170); widows: 1; font-stretch: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span class="mw-headline" id="mysqld_.EC.9E.AC.EC.8B.9C.EC.9E.91" style="font-family: 나눔고딕, "맑은 고딕";">mysqld 재시작</span></h2><h2 style="font-variant-numeric: normal; font-weight: bold; font-size: 1.5em; line-height: 1.3; font-family: sans-serif; margin: 1em 0px 0.25em; padding: 0px; overflow: hidden; border-bottom: 1px solid rgb(170, 170, 170); widows: 1; font-stretch: normal; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><div class="mw-geshi mw-code mw-content-ltr" style="font-variant-numeric: normal; font-weight: normal; font-size: 15px; line-height: 1.3em; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; padding: 1em; border-radius: 3px; border: 1px solid rgb(221, 221, 221); direction: ltr; font-stretch: normal; background-color: rgb(249, 249, 249);" dir="ltr"><div class="cli source-cli" style="margin: 0.08em !important; padding: 0.6em !important; border-radius: 3px; line-height: normal; font-family: monospace, monospace; font-size: 1em; background-color: rgb(0, 0, 0) !important;"><pre class="de1" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.2em; font-family: monospace, monospace; margin-bottom: 0px; padding: 0px; border-radius: 3px; border: 0px white; vertical-align: top; font-stretch: normal;"><span style="color: rgb(0, 0, 0);">[root<span class="sy0" style="font-size: 1em; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">@</span>localhost ~]# service mysqld restart
STOPPING server from pid file /var/run/mysqld/mysqld.pid
120229 13:08:54 mysqld ended
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
[1]+ <span class="kw1" style="font-size: 1em; font-weight: bold; padding: 0.15em 0px 0px !important; font-family: 나눔고딕코딩, Consolas, monospace, "Courier New" !important;">Done</span> /usr/bin/mysqld_safe --skip-grant</span></pre></div></div><p style="line-height: 1.5em; font-family: 나눔고딕, "맑은 고딕"; margin-bottom: 0.1em; margin-left: 1.6em;"> </p><p style="line-height: 1.5em; font-family: 나눔고딕, "맑은 고딕"; margin-bottom: 0.1em; margin-left: 1.6em;">이제 잘된다. </p><div class="autosourcing-stub-extra" style="color: black;"></div><p style="color: black;"></p></h2>
gpin 적용하면서(펌)
http://www.webprogramer.kr/blog/P000000212/post.do
<h2 style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: "Malgun Gothic", sans-serif; widows: 1;"><a class="con_link" style="color: rgb(0, 0, 0);" href="http://knight76.tistory.com/entry/%EC%9D%B8%EC%A6%9D-%EA%B3%B5%EB%B6%80-ipin-%EC%A4%91%EB%B3%B5%EA%B0%80%EC%9E%85%ED%99%95%EC%9D%B8%EC%A0%95%EB%B3%B4di" target="_blank"><u><font color="#0066cc">인증 공부 (i-pin, 중복가입확인정보-di, 회원연계정보-ci)</font></u></a></h2><p style="font-variant-numeric: normal; line-height: 21px; font-family: "Malgun Gothic", sans-serif; padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px; widows: 1; font-stretch: normal;"><span class="category"><a class="con_link" style="color: rgb(0, 0, 0);" href="http://knight76.tistory.com/category/scribbling" target="_blank"><u><font color="#0066cc">scribbling</font></u></a> </span><span class="date">2013/06/28 19:25</span></p><div class="article" style="font-variant-numeric: normal; line-height: 21px; font-family: "Malgun Gothic", sans-serif; margin: 0px; padding: 0px; widows: 1; font-stretch: normal;"><div class="tt_article_useless_p_margin" style="margin: 0px; padding: 0px;"><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><br></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><br></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><a class="con_link" style="color: rgb(0, 0, 0);" href="https://www.google.co.kr/#newwindow=1&sclient=psy-ab&q=%EC%95%84%EC%9D%B4%ED%95%80+pdf&oq=%EC%95%84%EC%9D%B4%ED%95%80+pdf&gs_l=hp.3...255.5786.0.5930.13.12.1.0.0.2.199.1178.9j3.12.0...0.0.0..1c.1j4.17.psy-ab.DwM2AfZGiVs&pbx=1&bav=on.2,or.r_cp.r_qf.&bvm=bv.48572450,d.aGc&fp=d38eb1edf2d069c0&biw=1163&bih=587" target="_blank"><u><font color="#0066cc">아이핀 2.0 도입서</font></u></a> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><br></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><br></p><div class="txc-textbox" style="margin: 0px; padding: 10px; border: 1px solid rgb(219, 232, 251); border-image: none; background-color: rgb(219, 232, 251);"><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><br class="Apple-interchange-newline">IPIN- 이용자의 본인확인을 수행한 이후에 본인확인기관이 이용자에게 부여하는 13자리 정보 (발급기관정보 2자 리 이 외는 난수값) i-PIN 인증 정보가 웹사이트에 전달될 때는 성명, 생년월일, 성별, 중복가입확인정보(DI) (64byte), 연계정보(88byte), 내∙외국인 정보, 연령대 정보 등 이용자 관련 개인정보가 암호화되어 전달됩니다. 모든 i-PIN 정보의 3, 4번째 자리는 각 i-PIN을 제공하는 본인확인 기관을 식별할 수 있는 코드이며, 한국신용평가정보는 16으로 고정되어 있습니다.(예: 181632-1234567)</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><br><span id="callbacknestknight76tistorycom18581401" style="width: 1px; height: 1px; float: right;"></span></p><div style="margin: 0px; padding: 0px;">중복가입확인정보(DI) <span style="line-height: 1.5; font-size: 9pt;">- 회원가입 또는 글쓰기 권한을 얻고자하는 웹사이트 내에서만 유일하게 이용자를 식별할 수 있는 64byte 정보. </span>기존 i-PIN 시스템에서는 특정 개인을 식별하기 위한 중복가입확인정보를 웹사이트별로 다르게 제공하고 있어 같은 이용자임에도 불구하고 동일인임을 식별할 수 없었습니다.</div><div style="margin: 0px; padding: 0px;"><br></div><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">연계정보(CI)<span style="line-height: 1.5; font-size: 9pt;"> - 서비스 연계를 위한 웹사이트간 공동 식별자로 88byte 암호화 된 정보. </span>업자간 제휴서비스 등 연계가 이루어져 있다면 이용자의 연계정보(CI, Connec- ting Information)정보도 저장해야 합니다.서로 다른 웹사이트간에도 동일 이용자를 구분할 수 있는 연계정보(CI, Connecting Information)를 아이핀 2.0에서 도입하였습니다. 주민등록번호를 연계정보(CI)로 변환하는 행위는 사업 자 요청 시 본인확인기관에서 제공합니다.</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><span style="line-height: 1.5; font-size: 9pt;"><br></span></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">한신평이 45% 점유율</p></div><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><br></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><br></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><a class="con_link" style="color: rgb(0, 0, 0);" href="https://www.google.co.kr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&ved=0CEEQFjAC&url=http%3A%2F%2Fwww.tta.or.kr%2Fdata%2FreportDown.jsp%3Fnews_num%3D1832&ei=FGTNUcmPEYn-iAfbw4HIBQ&usg=AFQjCNFxs0Nj9vBadU3efpay4DzbDwZV0g&sig2=OkFRyZYKTvX977v2GOuxAA&bvm=bv.48572450,d.aGc" target="_blank"><u><font color="#0066cc">인터넷상의 개인식별번호 서비스 및 표준</font></u></a></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><u><br></u></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><u><br></u></p><p style="text-align: center; padding-top: 0px; padding-bottom: 0px; clear: none; margin-bottom: 0px; float: none;"><span class="imageblock" style="width: 423px; height: auto; display: inline-block;"><!-- Not Allowed Attribute Filtered ( target="_blank" rel="lightbox") --><span dir="http://cfile7.uf.tistory.com/original/276C444B51D2833F20D4C1"><u><font color="#0066cc"><img width="423" height="316" id="image/276C444B51D2833F20D4C1" style="border-color: currentcolor; border-image-source: none; width: auto; height: auto; cursor: pointer; max-width: 100%;" alt="" src=""></font></u></span></span></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><u><br></u></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><u><br></u></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><u><br></u></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">네이버 쪽 정보</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><a class="con_link" style="color: rgb(0, 0, 0);" href="http://mktg.naver.com/privacy/privacy_3_6.html" target="_blank"><u><font color="#0066cc">http://mktg.naver.com/privacy/privacy_3_6.html</font></u></a></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><u><br></u></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">확인필요</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><a class="con_link" style="color: rgb(0, 0, 0);" href="http://blog.naver.com/PostView.nhn?blogId=matoker&logNo=30166121917" target="_blank"><u><font color="#0066cc">http://blog.naver.com/PostView.nhn?blogId=matoker&logNo=30166121917</font></u></a></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">퍼옴.<a class="con_link" href="http://knight76.tistory.com/1858" target="_blank">http://knight76.tistory.com/1858</a></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">-------------------------------------------------------------------------------------------------------------------------------------</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><span style="color: rgb(255, 255, 255); font-size: 24pt; background-color: rgb(255, 94, 0);">참고.2</span></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">이 포스팅은 IPIN 또는 G-PIN을 설치보았거나, 최초 설치를 하기 위한 분들을 위한 내용입니다.</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p align="center" style="text-align: center; padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><span style="color: rgb(255, 255, 255); background-color: rgb(255, 102, 0);">[G-PIN] 공공아이핀 설치하기 (Linux) 바로가기</span> <a class="con_link" style="color: rgb(0, 0, 0);" href="http://matoker.com/30163525308" target="_blank"><u><font color="#0066cc">http://matoker.com/30163525308</font></u></a></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p align="center" style="text-align: center; padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><strong><span style="color: rgb(0, 158, 37); font-size: 11pt;">아이핀 또는 공공아이핀은 인터넷상의 주민등록번호를 대체하기 위해 나왔다고 보면 되겠다.</span></strong></p><p align="center" style="text-align: center; padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><strong><span style="color: rgb(0, 158, 37); font-size: 11pt;">기존에 인터넷상에서 개인을 식별할 수 있는 키를 주민등록번호를 사용했지만,</span></strong></p><p align="center" style="text-align: center; padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><strong><span style="color: rgb(0, 158, 37); font-size: 11pt;">주민등록번호의 무분별한 수집 및 해킹으로 인한 개인정보유출 등이 빈번해 지면서 이를 대체 하기 위해서 아이핀 서비스가 도입되었고, </span></strong><strong><span style="color: rgb(0, 158, 37); font-size: 11pt;">공공기관용 아이핀 서비스를 이컬어 '공공 아이핀(G-PIN)' 이라고 한다.</span></strong></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">위 아이핀 서비스를 도입하게 되면 주민번호를 사용하지 않는 대신에 개인을 식별하기 위해서 아래와 같이2개의 값을 준다.</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><span style="color: rgb(255, 255, 255); background-color: rgb(255, 0, 0);"><strong>CI </strong>(connecting information)</span> : 연계정보( 사이트 간 )</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">>> 사업자가 제휴서비스가 불가능하여 이러한 불편을 극복하고자 서로 다른 웹사이트간에도 동일 이용자를 구분할 수 있는 연계정보(Connecting Information)를 새롭게 도입함</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">연계정보를 이용하면 주민등록번호로 가입하더라도 동일인 확인이 가능함</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><span style="color: rgb(255, 255, 255); background-color: rgb(255, 0, 0);"><strong>DI </strong>(duplication information)</span> : 중복가입 확인정보</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">>> 이용자를 유일하게 식별하는 중복가입확인정보(DI)</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">대략 이런 내용이다..</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p align="center" style="text-align: center; padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">-------------------------------------------------------------------------------------------------------------</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p align="center" style="text-align: center; padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><span style="color: rgb(239, 0, 124);"><strong><span style="font-size: 12pt;">본론으로 들어가서 아이핀 인증으로 받은 DI값과</span></strong></span></p><p align="center" style="text-align: center; padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><span style="color: rgb(239, 0, 124);"><strong><span style="font-size: 12pt;">실명인증, 본인확인서비스 등과 같은 신용정보기관의 서비스를</span></strong></span></p><p align="center" style="text-align: center; padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><span style="color: rgb(239, 0, 124);"><strong><span style="font-size: 12pt;"> 추가로 설치하고 인증해서 받은 DI값이 틀린 경우가 있다.</span></strong></span></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">이럴 경우에는 실명인증 또는 본인확인서비스를 사용하는 신용정보기관에 i-PIN 또는 G-PIN에 발급받은 SP_ID (사이트_아이디)</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">12자리 코드를 알려주면 신용정보기관에서 DI값을 아이핀 서비스에 맞게 맞춰준다.</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">즉, 아이핀으로 인증하나.. 그냥 실명인증하나.. 주민번호를 대체할 수 있는 DI값이 동일한것으로 나오게 된다는 것이다.</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p align="center" style="text-align: center; padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><span style="color: rgb(239, 0, 124);"><strong><span style="font-size: 12pt;">아이핀을 여러개 발급 받았을 때에 대해서 알아보자</span></strong></span></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">예를 들어 A라는 업체가 <a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.aaa.com/" target="_blank"><u><font color="#0066cc">http://www.aaa.com</font></u></a> 이라는 사이트에서 아이핀을 도입하고 실명인증 서비스도 도입했다고 치자</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">그리고 아이핀의 SP_ID 값과 실명인증의 등록키를 일치 시켜서 동일한 DI값을 받고 있는 상태라고 하자</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">이때에 A라는 업체가 <a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.bbb.com/" target="_blank"><u><font color="#0066cc">http://www.bbb.com</font></u></a> 이라는 사이트를 추가로 구축을 하고 아이핀을 신규로 발급받아 도입했다고 치자</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">그리고 실명인증은 신규로 도입하지 않고 기존에 쓰던것을 가져다가 쓸려고 한다면 예를 들어 키값이 아래와 같은 상황이 된다.</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.aaa.com/" target="_blank"><u><font color="#0066cc">http://www.aaa.com</font></u></a></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">아이핀 서비스 SP_ID : HK134DFHF930</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">실명인증 : HK134DFHF930</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.bbb.com/" target="_blank"><u><font color="#0066cc">http://www.bbb.com</font></u></a></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">아이핀 서비스 SP_ID : DS2DF342DF9D</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">위에서 도입한 기존 실명인증 : HK134DFHF930</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">그러면 <a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.bbb.com/" target="_blank"><u><font color="#0066cc">http://www.bbb.com</font></u></a> 사이트에서 사용자가 아이핀으로 인증받았을 때와 실명인증으로 인증받았을때의 DI값이</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">다르게 나오게 된다. 동일한 사람임에도 불구하고 DI값이 다르게 나오면 중복가입이 되는 문제나.. 실명인증으로 가입했는데</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">아이핀으로 아이디 또는 비번찾기시에 없는 사용자라고 나온다. (문제가 심각하다)</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">문제 해결 방법은 2가지 이다.</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.bbb.com/" target="_blank"><u><font color="#0066cc">http://www.bbb.com</font></u></a> 에서 사용할 실명인증을 신규 발급 받아서 키를 맞추면 된다. (단, 신규 계약으로 돈이 추가로 발생할 것이다.)</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">다른 방법으로는 I-PIN 또는 G-PIN 에 전화를 해서 <a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.bbb.com/" target="_blank"><u><font color="#0066cc">http://www.bbb.com</font></u></a> 사이트와 <a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.aaa.com/" target="_blank"><u><font color="#0066cc">http://www.aaa.com</font></u></a> 사이트를 모두 알려주고,</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.bbb.com/" target="_blank"><u><font color="#0066cc">http://www.bbb.com</font></u></a> 사이의 DI값을 <a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.aaa.com/" target="_blank"><u><font color="#0066cc">http://www.aaa.com</font></u></a> 에서 사용하는 키로 적용해 달라고 하면 된다..</p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p align="center" style="text-align: center; padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><strong><span style="color: rgb(255, 0, 0); font-size: 11pt; background-color: rgb(255, 167, 0);">결론은 전화해서 상황을 얘기하고 싱크를 맞추면 된다는 것이다.</span></strong></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"> </p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><span style="color: rgb(255, 0, 0);">(혹시나 하는 마음에 위 같은 경우에 </span><a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.aaa.com/" target="_blank"><span style="color: rgb(255, 0, 0);"><u>http://www.aaa.com</u></span></a><span style="color: rgb(255, 0, 0);"> 사이트의 키로 맞춰야지 맞는 것이다. </span><a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.bbb.com/" target="_blank"><span style="color: rgb(255, 0, 0);"><u>http://www.bbb.com</u></span></a><span style="color: rgb(255, 0, 0);"> 사이트 키로</span></p><p style="padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px;"><span style="color: rgb(255, 0, 0);">맞춰도 2개의 아이핀이나 실명인증시 DI값이 같아질지 모르나.. </span><a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.bbb.com/" target="_blank"><span style="color: rgb(255, 0, 0);"><u>http://www.bbb.com</u></span></a><span style="color: rgb(255, 0, 0);"> 사이트 키로 맞추면 </span><a class="con_link" style="color: rgb(0, 0, 0);" href="http://www.aaa.com/" target="_blank"><span style="color: rgb(255, 0, 0);"><u>http://www.aaa.com</u></span></a><span style="color: rgb(255, 0, 0);"> 에서 기존 회원들의 DI값과 달라지기 때문에 절대... 기존 사이트에서 쓰던 키값을 바꾸면 안된다.)</span></p><div class="autosourcing-stub-extra"></div><p></p></div></div>
아이허브 구매
http://www.webprogramer.kr/blog/P000000210/post.do
<p>두번째로 아이허브에서 구매<span style="line-height: 1;"> </span></p><p>감자칩 맥주랑 먹을거 ㅋ<span style="line-height: 1;"> </span></p><p>와이프 칼슘, DHA, 유산균</p><p>내꺼 영양제</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>우리 애기 비타민 D</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967427803336549.jpg" data-filename="1470967427803336549.jpg" style="width: 100%;"><br></p>
발뮤다 에어엔진 공기 청정기 구매
http://www.webprogramer.kr/blog/P000000211/post.do
<p>요즘 미세 먼지가 많다고 하고<span style="line-height: 1;"> </span></p><p>조만간 산후조리원에 있는 애기가 집으로 오게되서 애기 건강을 위해서<span style="line-height: 1;"> </span></p><p>고르고 골라서 사게 된게 발뮤다 에어엔진 공기 청정기다.<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>케이스 외관 원래 리본이 저기에 묶여 있었는데 힘을 많이 줬더니 뜯어졌다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967626777409708.jpg" data-filename="1470967626777409708.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967630343322371.jpg" data-filename="1470967630343322371.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967633062239033.jpg" data-filename="1470967633062239033.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>내용물을 어떻게 꺼내는지 그림으로 설명이 잘되어 있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967636324574640.jpg" data-filename="1470967636324574640.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967639011217187.jpg" data-filename="1470967639011217187.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967641957584429.jpg" data-filename="1470967641957584429.jpg" style="width: 100%;"></p><p><div class="autosourcing-stub-extra"></div></p><p align="left" style="text-align: left;"><br></p><p align="left" style="text-align: left;">설명서와 같이 딸려온 가습기 광고지 보니까 사고 싶은 마음이 생긴다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967647507890644.jpg" data-filename="1470967647507890644.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967655020658187.jpg" data-filename="1470967655020658187.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>박스 외부에 제품 보호를 위해 스폰지로 감싸져 있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096765800688676.jpg" data-filename="147096765800688676.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967661624692715.jpg" data-filename="1470967661624692715.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967664733743494.jpg" data-filename="1470967664733743494.jpg" style="width: 100%;"></p><p><br></p><p></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>꽤 세로 높이가 높은편이다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967669204305.jpg" data-filename="1470967669204305.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967672657263092.jpg" data-filename="1470967672657263092.jpg" style="width: 100%;"></p><p><br></p><p>좌우 공기 흡입구<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967675329929956.jpg" data-filename="1470967675329929956.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096767826738039.jpg" data-filename="147096767826738039.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967682005799258.jpg" data-filename="1470967682005799258.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967684904998942.jpg" data-filename="1470967684904998942.jpg" style="width: 100%;"></p><p><br></p><p>발뮤다 360도 효소필터 </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>필터는 1년에 1번 교체</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967687620715233.jpg" data-filename="1470967687620715233.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>필터 뒷판 뚜껑에 필터 설치법</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967691296804495.jpg" data-filename="1470967691296804495.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>필터 설치 안에 밀어넣구 밑에 버튼을 LOCK로 바꾸면 간단히 설치가 된다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967694988240558.jpg" data-filename="1470967694988240558.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096769751283434.jpg" data-filename="147096769751283434.jpg" style="width: 100%;"></p><p><br></p><p>제트 엔진 모드로 작동중</p><p>바람을 빨아들이면 위로 바람을 내보낸다.</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>제트엔진 모드는 꽤 강력하다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967700464570911.jpg" data-filename="1470967700464570911.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967703198420545.jpg" data-filename="1470967703198420545.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967706061961822.jpg" data-filename="1470967706061961822.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>필터 청소할때가 되면 저부분에 표시가 된다는데..</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967709245350889.jpg" data-filename="1470967709245350889.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967711694877224.jpg" data-filename="1470967711694877224.jpg" style="width: 100%;"><br></p>
오랜만에 맥시칸 치킨 시켜묵음
http://www.webprogramer.kr/blog/P000000207/post.do
<p><div class="autosourcing-stub-extra"></div></p><p>늦게 퇴근 해서 저녁으로 먹었다.</p><p>늦게 이런거 먹으면 안되는데..</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967116440485290.jpg" data-filename="1470967116440485290.jpg" style="width: 100%;"><br></p>
라인레인저 피규어 모니터에 고정시킴
http://www.webprogramer.kr/blog/P000000208/post.do
<p><div class="autosourcing-stub-extra"></div></p><p>일이 많은데;; 6시 이후에 뻘짓</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967195297306209.jpg" data-filename="1470967195297306209.jpg" style="width: 100%;"><br></p>
다이치 퍼스트 세븐 터치 픽스 카시트
http://www.webprogramer.kr/blog/P000000209/post.do
<p>우리 아기 만날 날이 얼마 남지 않아서 카시트를 구매했다.<span style="line-height: 1;"> </span></p><p>가격대비 젤나은거 같아서.<span style="line-height: 1;"> </span></p><p>ISOFIX가 베이스 타입이라서 설치 분리가 편하다구 한다.<span style="line-height: 1;"> </span></p><p>색상은 오가닉 탠저린<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>카시트와 ISOFIX</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967317175909230.jpg" data-filename="1470967317175909230.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967320848557901.jpg" data-filename="1470967320848557901.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967333550108674.jpg" data-filename="1470967333550108674.jpg" style="width: 100%;"></p><p><br></p><p></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>자동차 바닥에 지지 할수 있게 접었다 폈다 할수 있고 길이를 늘릴수 있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096733661532792.jpg" data-filename="147096733661532792.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>한눈에 쉽게 장착이 잘되었는지 색깔로 표시해준다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967339396338192.jpg" data-filename="1470967339396338192.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967341987948836.jpg" data-filename="1470967341987948836.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967344446454062.jpg" data-filename="1470967344446454062.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967347314542027.jpg" data-filename="1470967347314542027.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967349962531544.jpg" data-filename="1470967349962531544.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470967352677406545.jpg" data-filename="1470967352677406545.jpg" style="width: 100%;"></p><p><br></p><p>장착화면은 다음에.<br></p><p> </p>
owncloud7버전에서 8로 업그레이드시 오류 나서 ㅠ
http://www.webprogramer.kr/blog/P000000206/post.do
<p>DATE oc_appconfig SET configvalue='no' WHERE appid = 'calendar' AND configkey = 'enabled';</p><p><br>UPDATE oc_appconfig SET configvalue='no' WHERE appid = 'contacts' AND configkey = 'enabled';</p><p><span style="line-height: 1;"><br></span></p><p><span style="line-height: 1;">일케 고침</span><br></p>
라인레인저 피규어 코니
http://www.webprogramer.kr/blog/P000000205/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966997850119388.jpg" data-filename="1470966997850119388.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470966997852245484.jpg" data-filename="1470966997852245484.jpg" style="width: 100%;"><br></p>
[펌] XML DATA
http://www.webprogramer.kr/blog/P000000204/post.do
<h2><a class="con_link" href="http://mhhan.tistory.com/entry/XML%EC%9D%98-CData" target="_blank">XML의 CData</a></h2><div class="category"><a class="con_link" href="http://mhhan.tistory.com/category/Programming" target="_blank">Programming</a></div><p><!-- close titleWrap --> <!-- 포스트 본문 내용 --> </p><div class="article"><span class="Apple-style-span" style="font-family: Tahoma;">오늘 오전시간을 XML CDATA Section 오류 디버깅을 하면서 보냈다. MySQL DB에 있는 테이블을 XML로 덤프하여 색인용 원시 텍스트파일을 만드는 작업을 하던 도중에 복병(?)을 만났기 때문이다. Python으로 MySQL 테이블을 읽어 print 문을 사용하여 XML 파일을 생성하고 난 후에 Java SAXParser로 읽는 작업이었는데 "org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x{2}) was found in the CDATA section" 오류가 났다. 4백만건이 넘는 대용량 테이블이었기 때문에 Java SAXParser에서 이 오류를 한번 볼 때 마다 Python code를 점검하여 다시 덤프받느라 고생했다.<br><br>색인용 원시 텍스트파일 포멧은 주로 텍스트 파일을 사용한다. 색인 원문이 저장된 장비와 검색장비 간에 플랫폼이 다를때 발생하는 endian 문제를 피하기 위해서다. XML은 이런 장점에 더해 문서 구조를 더 잘 표현할 수 있는 장점이 있어 일부 검색엔진의 경우 색인용 원시 텍스트파일로 UTF-8 인코딩된 XML을 사용하기도 한다. 검색 콜렉션을 담고 있는 대용량 DB 테이블에서 색인용 XML을 덤프받을때 덤프 속도 문제로 DOMWriter와 같은 validation을 하는 XML Generator를 사용하지 않고 print를 사용해 validation 없이 종종 직접 생성한다. 또 골치아프고 속도를 느리게 만드는 char escaping을 하지 않기 위해 CDATA 섹션으로 필드를 감싼 형태로 덤프하곤한다.<br><br>현업에서 이런 방식으로 XML을 많이 사용하기 때문에 위 오류에 대한 대처 방안을 구글 검색을 통해 쉽게 찾을 줄 알았다. 한시간 가량이나 구글링을 해서야 원인을 찾았다. SAXParseException은 validation 없이 CDATA 섹션을 만들기 때문이었다. 데이터베이스에 레코드를 넣을 때 print문을 사용해 직접 덤프하도록 준비해서 넣지 않기 때문에 제어문자와 같은 unicode도 함께 저장되어 덤프 후 XML을 다시 파싱할 때 이런 종류의 문자를 파싱할 때SAXParse 오류가 발생한다. 파싱 오류를 해결하려면 CDATA 섹션안에 들어가면 안되는 unicode range를 print문으로 XML을 덤프할 때 제거해야 한다. 이 unicode range는 <a class="con_link" style="color: rgb(196, 80, 80);" href="http://www.w3.org/TR/2004/REC-xml-20040204/#NT-Char" target="_blank">XML 스펙 1.0</a>에 다음과 같이 명기되어 있다.<br><br><h5><a name="char32" class="con_link" id="char32" target="_blank">Character Range</a></h5><a name="char32" class="con_link" id="char32" target="_blank"></a><a name="char32" class="con_link" id="char32" target="_blank"></a><table class="scrap __se_tbl_ext" summary="Scrap"><tbody><tr valign="baseline"><td><a name="NT-Char" class="con_link" id="NT-Char" target="_blank">[2] </a></td><td><code>Char</code></td><td> ::= </td><td><code>#x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]</code></td><td><i>/* any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. */</i></td></tr></tbody></table><br><br><h5><a name="IDA1C2S" class="con_link" id="IDA1C2S" target="_blank">CDATA Sections</a></h5><a name="IDA1C2S" class="con_link" id="IDA1C2S" target="_blank"></a><a name="IDA1C2S" class="con_link" id="IDA1C2S" target="_blank"></a><table class="scrap __se_tbl_ext" summary="Scrap"><tbody><tr valign="baseline"><td><a name="NT-CDSect" class="con_link" id="NT-CDSect" target="_blank">[18] </a></td><td><code>CDSect</code></td><td> ::= </td><td><code><a class="con_link" style="color: rgb(196, 80, 80);" href="http://www.w3.org/TR/2004/REC-xml-20040204/#NT-CDStart" target="_blank"><font color="#0000cc">CDStart</font></a> <a class="con_link" style="color: rgb(196, 80, 80);" href="http://www.w3.org/TR/2004/REC-xml-20040204/#NT-CData" target="_blank"><font color="#0000cc">CData</font></a> <a class="con_link" style="color: rgb(196, 80, 80);" href="http://www.w3.org/TR/2004/REC-xml-20040204/#NT-CDEnd" target="_blank"><font color="#0000cc">CDEnd</font></a></code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="NT-CDStart" class="con_link" id="NT-CDStart" target="_blank">[19] </a></td><td><code>CDStart</code></td><td> ::= </td><td><code>'<![CDATA['</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="NT-CData" class="con_link" id="NT-CData" target="_blank">[20] </a></td><td><code>CData</code></td><td> ::= </td><td><code>(<a class="con_link" style="color: rgb(196, 80, 80);" href="http://www.w3.org/TR/2004/REC-xml-20040204/#NT-Char" target="_blank"><font color="#0000cc">Char</font></a>* - (<a class="con_link" style="color: rgb(196, 80, 80);" href="http://www.w3.org/TR/2004/REC-xml-20040204/#NT-Char" target="_blank"><font color="#0000cc">Char</font></a>* ']]>' <a class="con_link" style="color: rgb(196, 80, 80);" href="http://www.w3.org/TR/2004/REC-xml-20040204/#NT-Char" target="_blank"><font color="#0000cc">Char</font></a>*))</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="NT-CDEnd" class="con_link" id="NT-CDEnd" target="_blank">[21] </a></td><td><code>CDEnd</code></td><td> ::= </td><td><code>']]>'</code></td></tr></tbody></table><br><span id="callbacknestmhhantistorycom71614" style="width: 1px; height: 1px; float: right;"></span> <br>위를 보면 CDATA 섹션안의 문자열에는 2가지 들어가지 말아야 하는 조건이 있다.<br><br>첫째. CDATA 종료열인 ']]>' 문자열이 들어가면 안된다.<br>둘째. 유니코드 문자만 포함되어야 한다. 특히, 제어문자들은 포함되지 말아야 한다.<br><br>위 조건을 만족하도록 print문으로 XML 파일을 만들면 SAXParseException이 나타나지 않는다. 비록 문자들을 모두 scan하면서 위 조건에 맞는지 조사해야 하기 때문에 수백만 건이 포함된 테이블을 XML로 덤프할 때는 조사 시간이 누적되어 월씬 덤프하는데 오래 걸리게 되지만 SAXException을 구경하는 것 보다는 좋다.<br><br>대용량 문서 때문에 validation을 하지 않는 방식으로 XML을 생성해야만 하는 경우에 가장 좋은 방법은 데이터베이스에 넣을 때 아에 위 문자들이 들어가지 않도록 방지하거나 제거하는 것이다.<br><br> @윤종완</span><div> <span class="Apple-style-span" style="font-family: Tahoma;"><br></span></div><div><span class="Apple-style-span" style="font-family: Tahoma;"><span class="Apple-style-span" style="color: rgb(102, 102, 102); line-height: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"><pre class="codeSample" style="padding: 1em; border-color: rgb(240, 240, 240); border-image-source: none; width: 794px; font-family: Courier, sans-serif; margin-right: 32px; margin-left: 32px; position: relative; background-color: rgb(248, 248, 248);"> <span class="TPcomment" style="color: rgb(0, 128, 0);">/**
* This method ensures that the output String has only
* valid XML unicode characters as specified by the
* XML 1.0 standard. For reference, please see
* <a href="http://www.w3.org/TR/2000/REC-xml-20001006#NT-Char">the
* standard</a>. This method will return an empty
* String if the input is null or empty.
*
* @param in The String whose non-valid characters we want to remove.
* @return The in String, stripped of non-valid characters.
*/</span>
<span class="TPkeyword1" style="color: rgb(0, 0, 255);">public </span><span class="TPkeyword2" style="color: rgb(0, 0, 128);">String </span>stripNonValidXMLCharacters<span class="TPbracket" style="color: rgb(255, 0, 0);">(</span><span class="TPkeyword2" style="color: rgb(0, 0, 128);">String </span>in<span class="TPbracket" style="color: rgb(255, 0, 0);">) {</span>
<span class="TPkeyword2" style="color: rgb(0, 0, 128);">StringBuffer </span>out <span class="TPoperator" style="color: rgb(0, 0, 0);">= </span><span class="TPkeyword1" style="color: rgb(0, 0, 255);">new </span><span class="TPkeyword2" style="color: rgb(0, 0, 128);">StringBuffer</span><span class="TPbracket" style="color: rgb(255, 0, 0);">()</span>; <span class="TPcomment" style="color: rgb(0, 128, 0);">// Used to hold the output.</span>
<span class="TPkeyword1" style="color: rgb(0, 0, 255);">char </span>current; <span class="TPcomment" style="color: rgb(0, 128, 0);">// Used to reference the current character.</span>
<span class="TPkeyword1" style="color: rgb(0, 0, 255);">if </span><span class="TPbracket" style="color: rgb(255, 0, 0);">(</span>in <span class="TPoperator" style="color: rgb(0, 0, 0);">== </span><span class="TPkeyword1" style="color: rgb(0, 0, 255);">null </span><span class="TPoperator" style="color: rgb(0, 0, 0);">|| </span><span class="TPbracket" style="color: rgb(255, 0, 0);">(</span><span class="TPstring" style="color: rgb(0, 128, 128);">""</span>.equals<span class="TPbracket" style="color: rgb(255, 0, 0);">(</span>in<span class="TPbracket" style="color: rgb(255, 0, 0);">))) </span><span class="TPkeyword1" style="color: rgb(0, 0, 255);">return </span><span class="TPstring" style="color: rgb(0, 128, 128);">""</span>; <span class="TPcomment" style="color: rgb(0, 128, 0);">// vacancy test.</span>
<span class="TPkeyword1" style="color: rgb(0, 0, 255);">for </span><span class="TPbracket" style="color: rgb(255, 0, 0);">(</span><span class="TPkeyword1" style="color: rgb(0, 0, 255);">int </span>i <span class="TPoperator" style="color: rgb(0, 0, 0);">= </span><span class="TPnumber" style="color: rgb(0, 0, 0);">0</span>; i <span class="TPoperator" style="color: rgb(0, 0, 0);">< </span>in.length<span class="TPbracket" style="color: rgb(255, 0, 0);">()</span>; i<span class="TPoperator" style="color: rgb(0, 0, 0);">++</span><span class="TPbracket" style="color: rgb(255, 0, 0);">) {</span>
current <span class="TPoperator" style="color: rgb(0, 0, 0);">= </span>in.charAt<span class="TPbracket" style="color: rgb(255, 0, 0);">(</span>i<span class="TPbracket" style="color: rgb(255, 0, 0);">)</span>; <span class="TPcomment" style="color: rgb(0, 128, 0);">// NOTE: No IndexOutOfBoundsException caught here; it should not happen.</span>
<span class="TPkeyword1" style="color: rgb(0, 0, 255);">if </span><span class="TPbracket" style="color: rgb(255, 0, 0);">((</span>current <span class="TPoperator" style="color: rgb(0, 0, 0);">== </span><span class="TPnumber" style="color: rgb(0, 0, 0);">0x9</span><span class="TPbracket" style="color: rgb(255, 0, 0);">) </span><span class="TPoperator" style="color: rgb(0, 0, 0);">||</span>
<span class="TPbracket" style="color: rgb(255, 0, 0);">(</span>current <span class="TPoperator" style="color: rgb(0, 0, 0);">== </span><span class="TPnumber" style="color: rgb(0, 0, 0);">0xA</span><span class="TPbracket" style="color: rgb(255, 0, 0);">) </span><span class="TPoperator" style="color: rgb(0, 0, 0);">||</span>
<span class="TPbracket" style="color: rgb(255, 0, 0);">(</span>current <span class="TPoperator" style="color: rgb(0, 0, 0);">== </span><span class="TPnumber" style="color: rgb(0, 0, 0);">0xD</span><span class="TPbracket" style="color: rgb(255, 0, 0);">) </span><span class="TPoperator" style="color: rgb(0, 0, 0);">||</span>
<span class="TPbracket" style="color: rgb(255, 0, 0);">((</span>current <span class="TPoperator" style="color: rgb(0, 0, 0);">>= </span><span class="TPnumber" style="color: rgb(0, 0, 0);">0x20</span><span class="TPbracket" style="color: rgb(255, 0, 0);">) </span><span class="TPoperator" style="color: rgb(0, 0, 0);">&& </span><span class="TPbracket" style="color: rgb(255, 0, 0);">(</span>current <span class="TPoperator" style="color: rgb(0, 0, 0);"><= </span><span class="TPnumber" style="color: rgb(0, 0, 0);">0xD7FF</span><span class="TPbracket" style="color: rgb(255, 0, 0);">)) </span><span class="TPoperator" style="color: rgb(0, 0, 0);">||</span>
<span class="TPbracket" style="color: rgb(255, 0, 0);">((</span>current <span class="TPoperator" style="color: rgb(0, 0, 0);">>= </span><span class="TPnumber" style="color: rgb(0, 0, 0);">0xE000</span><span class="TPbracket" style="color: rgb(255, 0, 0);">) </span><span class="TPoperator" style="color: rgb(0, 0, 0);">&& </span><span class="TPbracket" style="color: rgb(255, 0, 0);">(</span>current <span class="TPoperator" style="color: rgb(0, 0, 0);"><= </span><span class="TPnumber" style="color: rgb(0, 0, 0);">0xFFFD</span><span class="TPbracket" style="color: rgb(255, 0, 0);">)) </span><span class="TPoperator" style="color: rgb(0, 0, 0);">||</span>
<span class="TPbracket" style="color: rgb(255, 0, 0);">((</span>current <span class="TPoperator" style="color: rgb(0, 0, 0);">>= </span><span class="TPnumber" style="color: rgb(0, 0, 0);">0x10000</span><span class="TPbracket" style="color: rgb(255, 0, 0);">) </span><span class="TPoperator" style="color: rgb(0, 0, 0);">&& </span><span class="TPbracket" style="color: rgb(255, 0, 0);">(</span>current <span class="TPoperator" style="color: rgb(0, 0, 0);"><= </span><span class="TPnumber" style="color: rgb(0, 0, 0);">0x10FFFF</span><span class="TPbracket" style="color: rgb(255, 0, 0);">)))</span>
out.append<span class="TPbracket" style="color: rgb(255, 0, 0);">(</span>current<span class="TPbracket" style="color: rgb(255, 0, 0);">)</span>;
<span class="TPbracket" style="color: rgb(255, 0, 0);">}</span>
<span class="TPkeyword1" style="color: rgb(0, 0, 255);">return </span>out.toString<span class="TPbracket" style="color: rgb(255, 0, 0);">()</span>;
<span class="TPbracket" style="color: rgb(255, 0, 0);">} </span></pre></span><br><font size="3">주1) </font><a class="con_link" style="color: rgb(196, 80, 80);" href="http://cse-mjmcl.cse.bris.ac.uk/blog/2007/02/14/1171465494443.html" target="_blank"><font size="3">마크 맥라렌의 블로그</font></a><font size="3">에 둘째 조건을 체크해 오류 문자를 제거하는 Java 코드를 소개하고 있다. 관련된 trackback도 읽으면 도움이 된다.<br><br>주2) 위 방법은 XML 1.0 스펙을 준수하는 XML Parser에 적용된다. XML 1.1 스펙을 보면 Char Range가 좀 다르다.</font><a class="con_link" style="color: rgb(196, 80, 80);" href="http://www.w3.org/TR/2004/REC-xml11-20040204/#charsets" target="_blank"><font size="3">XML 1.1</font></a><font size="3">을 준수하는 Xerces와 같은 경우에는 다른 현명한 방법을 제공하고 있을지도 모르겠다<div class="autosourcing-stub-extra"></div></font></span></div></div>
라인레인저스 이벤트 피규어 썬더브라운
http://www.webprogramer.kr/blog/P000000203/post.do
<p>라인레인저스 이벤트로온 피규어</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>뭐가 왔을까 궁금했는데.</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966840499567280.jpg" data-filename="1470966840499567280.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966843445225361.jpg" data-filename="1470966843445225361.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966848568355797.jpg" data-filename="1470966848568355797.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/14709668518754744.jpg" data-filename="14709668518754744.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966854618219177.jpg" data-filename="1470966854618219177.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966860579228169.jpg" data-filename="1470966860579228169.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966864435745317.jpg" data-filename="1470966864435745317.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966867020570094.jpg" data-filename="1470966867020570094.jpg" style="width: 100%;"><br></p>
마우스를 구매하니 장패드를 사은품으로 줌
http://www.webprogramer.kr/blog/P000000202/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966681993153439.jpg" data-filename="1470966681993153439.jpg" style="width: 100%;">마우스 구입후 </p><p>사은품으로 받은 장패드 </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>넓찍허니좋다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966676630805886.jpg" data-filename="1470966676630805886.jpg" style="width: 100%;"></p><p><br></p>
기가바이트 M6980 마우스 구매
http://www.webprogramer.kr/blog/P000000201/post.do
<p><span style="line-height: 1;">기다리던 마우스가 왔다.</span><span style="line-height: 1;"> </span><br></p><p>오랜 시간 마우스를 사용해서 대칭인 마우스보단 편할듯 싶어서 장만했다.<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>박스포장</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966548953776803.jpg" data-filename="1470966548953776803.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966552867935470.jpg" data-filename="1470966552867935470.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>박스를 열어보니 플라스틱 상자가 나왔다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096655606241663.jpg" data-filename="147096655606241663.jpg" style="width: 100%;"></p><p><br></p><p>마우스 모양</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>기능 버튼이 여러개 있다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966558934141364.jpg" data-filename="1470966558934141364.jpg" style="width: 100%;"></p><p><div class="autosourcing-stub-extra"></div></p><p>손에 잘감기는 느낌이긴 하다.</p>
nas 서버 셋팅
http://www.webprogramer.kr/blog/P000000192/post.do
<p>참고 : <a class="con_link" href="http://diveis.tistory.com/109" target="_blank">http://diveis.tistory.com/109</a> </p><p></p><p> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">아파치 웹서버를 컴파일 하기전에 필요한 apr, apr-util, pcre를 먼저 설치해야한다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>[apr 설치]</b></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 소스다운</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#wget <a class="con_link" href="http://archive.apache.org/dist/apr/apr-1.5.1.tar.gz" target="_blank">http://archive.apache.org/dist/apr/apr-1.5.1.tar.gz</a></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 압축해제</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#tar xvfz apr-1.5.1.tar.gz</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 경로 이동</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#cd /usr/local/src/apr-1.5.1</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 환경설정</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#./configure --prefix=/usr/local/apr</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 컴파일</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#make</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 설치</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#make install</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>[apr-util 설치]</b></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 소스다운</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#wget <a class="con_link" href="http://archive.apache.org/dist/apr/apr-util-1.5.3.tar.gz" target="_blank">http://archive.apache.org/dist/apr/apr-util-1.5.3.tar.gz</a></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 압축해제</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#tar xvfz apr-util-1.5.3.tar.gz</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 경로 이동</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#cd /usr/local/src/apr-util-1.5.3</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 환경설정</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 컴파일</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#make</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 설치</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#make install</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>[pcre 설치]</b></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 소스다운</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#wget <a class="con_link" href="http://downloads.sourceforge.net/pcre/pcre-8.35.tar.bz2" target="_blank">http://downloads.sourceforge.net/pcre/pcre-8.35.tar.bz2</a></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 압축해제</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#tar xvf pcre-8.35.tar.bz2</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 경로이동</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#cd pcre-8.35</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 환경설정</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#./configure --prefix=/usr/local</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 컴파일</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#make</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- 설치</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#make install</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">* root사용자로 로그인 하여 작업을 진행한다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#yum install openssl-devel.x86_64</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">mod_ssl 때문에 Open SSL패키지를 설치한다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#cd /usr/local/src</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">컴파일할 아파치 소스를 다운 받을 디렉토리로 이동한다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#wget <a class="con_link" href="http://ftp.kaist.ac.kr/Apache/httpd/httpd-2.4.10.tar.gz" target="_blank">http://ftp.kaist.ac.kr/Apache/httpd/httpd-2.4.10.tar.gz</a></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">아파치 소스를 다운로드 한다. 현재 오늘 날짜를 기준으로 Apache 2.4.10이 최신 버젼이다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#tar xvfz httpd-2.4.10.tar.gz</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">압축을 해제한다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">[mpm 접속시 최대 접속자수 설정]</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">아파치 웹서버의 경우 MPM(Multi Processing Module)방식에는 prefork와 worker로 나뉜다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- prefork는 독립적인 메모리를 사용하여 안정적이지만 많은 메모리를 사용하게 된다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- worker는 고성능의 멀티코어 프로세서 기반에서 유용하고, 더 적은 메모리를 사용하기에 통신량이 많은 경우 더 유리하다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">* 젠드가드는 prefork에서만 설치된다. 뭔지 모르면 그냥 이걸로 한다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">컴파일전 환경설정에서 —with-mpm 옵션으로 설정할 수 있고, 설치방식에 따라 최대 접속자수를 지정해야 하고, 설정하지 않을경우 기본값으로 설치가 된다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- prefork 설정시</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="line-height: 1.5; font-size: 9pt;"># vi server/mpm/prefork/prefork.c (73</span><span style="line-height: 1.5; font-size: 9pt;">번 라인:버젼 따라 위치는 다를수 있음)</span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">DEFAULT_SERVER_LIMIT의 상수값을 변경해준다. 난 1024로 수정했다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">- worker 설정시</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"># vi server/mpm/worker/worker.c (84번 라인:버젼 따라 위치는 다를수 있음)</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">DEFAULT_SERVER_LIMIT의 상수값을 64정도로 수정해준다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#./configure --prefix=/usr/local/apache \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--enable-rule=SHARED_CORE \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--enable-so \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--enable-rewrite \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--enable-vhost-alias \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--enable-ssl \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--enable-proxy \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--enable-shared=max \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--enable-modules=shared \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--enable-mods-shared=all \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--with-apr=/usr/local/apr \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--with-charset=utf-8 \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--with-mpm=prefork \</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">--with-apr-util=/usr/local/apr-util</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">컴파일에 필요한 환경설정 이다. 나의 경우 젠드가드를 설치해야 하는 문제로 prefork로 설정해야 한다. </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#make</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">아파치 웹서버를 컴파일 한다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#make install</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">/usr/local/apache 디렉토리에 컴파일된 아파치의 바이너리 코드를 설치한다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">#vi /usr/local/apache/conf/httpd.conf</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">ServerName 항목을 찾아서 주석을 해제한다.(205번 라인:아파치 버젼에 따라 다를수 있음)<br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); clear: none; float: none; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">slotmen_shm_module 모듈도 로드 될 수있도록 주석을 해제해준다.<span style="line-height: 1.5; font-size: 9pt;">(137번 라인:아파치 버젼에 따라 다를수 있음</span><span style="line-height: 1.5; font-size: 9pt;">)</span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="line-height: 1.5; font-size: 9pt;"><br></span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="line-height: 1.5; font-size: 9pt;">#/usr/local/apache/bin/apachectl restart</span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">아파치 웹서버를 구동시켜본다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">같은 네트워크에 있는 다른 컴퓨터에서 리눅스 서버의 아이피주소를 입력해본다. 만약 가상머신에 설치한 리눅스라면 메인 시스템의 웹브라우저에서 가상머신의 아이피주소를 입력해보면 된다. </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">아래와 같이 나온다면 성공적인 설치가 된 것이다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; text-align: center; color: rgb(102, 102, 102); clear: none; float: none; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); clear: none; float: none; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p lang="en-US" style="margin: 0in; color: rgb(102, 102, 102); font-family: Calibri; font-size: 11pt; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="font-family: Dotum, 돋움; font-size: 9pt;">#</span><span style="line-height: 1.5; font-family: Dotum, 돋움; font-size: 9pt;">cp /usr/local/apache/bin/apachectl /etc/init.d/httpd</span></p><p lang="en-US" style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; margin: 0in; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important;"><font face="Dotum, 돋움">실행 스크립트 복사</font></p><p lang="en-US" style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; margin: 0in; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important;"><font face="Dotum, 돋움"><br></font></p><p lang="en-US" style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; margin: 0in; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important;"><font face="Dotum, 돋움">#chmod 755 /etc/init.d/httpd</font></p><p lang="en-US" style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; margin: 0in; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important;"><font face="Dotum, 돋움">권한 부여</font></p><p lang="en-US" style="margin: 0in; color: rgb(102, 102, 102); font-family: Calibri; font-size: 11pt; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="font-family: Dotum, 돋움; font-size: 9pt;"><br></span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); clear: none; float: none; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="font-family: Dotum, 돋움; font-size: 9pt;">#vi /etc/rc.d/rc.local</span><br></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); clear: none; float: none; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="font-family: Dotum, 돋움; font-size: 9pt;">rc.local에 아래 명령을 입력해주면 부팅시 자동으로 아파치 웹서버를 구동할 것이다.</span></p><p><span style="font-family: Dotum, 돋움; font-size: 9pt;"><div class="autosourcing-stub-extra"></div><p></p></span></p><p style="font: 12px/18px dotum; text-align: left; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; padding-top: 0px !important; padding-bottom: 0px !important; clear: none; margin-top: 0px !important; margin-bottom: 0px !important; word-spacing: 0px; float: none; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">/usr/local/apache/bin/apachectl start </p>
최과장님이 준 허니 버터칩
http://www.webprogramer.kr/blog/P000000200/post.do
<p>최과장님이 준 허니 버터칩</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966355916997517.jpg" data-filename="1470966355916997517.jpg" style="width: 100%;"><br></p>
아이허브 구매한 제품이 왔다
http://www.webprogramer.kr/blog/P000000199/post.do
<p>아이허브 에서 구매한 제품이 왔다.</p><p>해외 직구 했는데 너무나 손쉽게 그리고 빨리 왔다. </p><p>영양제 구매 하기에는 좋다.<span style="line-height: 1;"> </span></p><p><span style="line-height: 1;"><br></span></p><p>감자칩 그냥 먹을만 한것같은데 일부러 사먹고 싶지는 않다.<span style="line-height: 1;"> </span></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>유산균, 귤젤리 비타민, 철분제는 좋은것 같다.</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966279747568585.jpg" data-filename="1470966279747568585.jpg" style="width: 100%;"> </p>
아이허브 이용해봄
http://www.webprogramer.kr/blog/P000000197/post.do
<p>아이허브 이런곳이 있는지 몰랐네요.<span style="line-height: 1;"> </span></p><p>참좋은것 같아요.<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>과장랑 와이프 영양제 몇개 구매해봤습니다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966121485560908.png" data-filename="1470966121485560908.png" style="width: 100%;"></p><p>과자, 철분제, 유산균, 귤젤리 구매했습니다.<span style="line-height: 1;"> </span></p><p>과자 빼구 임산부 한테 좋다하고 합니다.<span style="line-height: 1;"> </span></p><p>아이허브 링크<span style="line-height: 1;"> </span></p><div><a class="con_link" href="http://www.iherb.com/?rcode=KCZ781" target="_blank">http://www.iherb.com?rcode=KCZ781</a> <div class="autosourcing-stub-extra"></div></div>
자동차 에어필터, 에어컨 필터 구매
http://www.webprogramer.kr/blog/P000000198/post.do
<p>구매한 자동차 에어컨필터와 에어 필터가 왔다.<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>보쉬꺼 나름 괜찮은듯</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966208614271914.jpg" data-filename="1470966208614271914.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966212022924507.jpg" data-filename="1470966212022924507.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966214878876155.jpg" data-filename="1470966214878876155.jpg" style="width: 100%;"></p><p><br></p><p>설치는 쉬운편</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470966217830612407.jpg" data-filename="1470966217830612407.jpg" style="width: 100%;"> </p>
Install OwnCloud 7 on CentOS 7 / RHEL 7
http://www.webprogramer.kr/blog/P000000196/post.do
<p><div class="post_footer_contents"><div class="post-tag pcol2 _param(true|false)" id="tagList_220255695307" style="display: none; cursor: default;"><a class="_showTagEditBox _rosRestrict _tagRosRestrict _param(EDIT|220255695307) _returnFalse" id="tagEditLink_220255695307" href="http://blog.naver.com/PostList.nhn?from=postList&blogId=systemddc&categoryNo=0&currentPage=18#"><img width="23" height="11" alt="edit" src="http://blogimgs.naver.net/nblog/btn_edit_2.gif"></a> </div><div class="post-tag pcol2" style="display: none;"><input title="태그를 입력해 주세요" class="tag_inp" type="text" value=""> <a class="pcol2 _saveTag _rosRestrict _returnFalse _param(220255695307)" href="http://blog.naver.com/PostList.nhn?from=postList&blogId=systemddc&categoryNo=0&currentPage=18#">태그저장</a> <img width="1" height="11" class="fil3 pcol2b" alt="" src="http://blogimgs.naver.net/imgs/nblog/spc.gif"> <a class="pcol2 _cancelTag _returnFalse _param(220255695307)" href="http://blog.naver.com/PostList.nhn?from=postList&blogId=systemddc&categoryNo=0&currentPage=18#">취소</a> <span style="display: none;"></span> </div><div class="autosourcing-stub-extra"></div></div></p><div id="postViewArea"><div class="post-view pcol2 _param(2) _postViewArea220255695307" id="post-view220255695307"><p>Here is the small guide to setup <a class="con_link" href="http://www.itzgeek.com/tag/owncloud" target="_blank" rel="nofollow">ownCloud 7</a> on <a class="con_link" href="http://www.itzgeek.com/tag/centos-7" target="_blank" rel="nofollow">CentOS 7</a>.</p><h3><span style="text-decoration: underline;"><span style="color: rgb(128, 0, 0);"><strong>Prerequisites:</strong></span></span></h3><p>As mentioned earlier, it is based on <a class="con_link" href="http://www.itzgeek.com/tag/php" target="_blank" rel="nofollow">PHP</a> and database combination, database can be any of the above four. So install PHP, Apache web server and MySQL server on <a class="con_link" href="http://www.itzgeek.com/tag/centos-7" target="_blank" rel="nofollow">CentOS 7</a>. For demo purpose i installed both SQLite and MySQL on CentOS, we will talk about reason behind later.</p><div align="left" class="wp_syntax" style="padding-bottom: 15px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="dos" style="font-family: monospace;">yum install httpd php php-mysql mariadb-server mariadb sqlite php-dom php-mbstring php-gd php-pdo wget</pre></td></tr></tbody></table></div><p>Set SELinux to allow OwnCloud to write the data.</p><div align="left" class="wp_syntax" style="padding-bottom: 0px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="dos" style="font-family: monospace;">setsebool -P httpd_unified 1</pre></td></tr></tbody></table></div><p>Allow apache in firewall.</p><div align="left" class="wp_syntax" style="padding-bottom: 0px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="dos" style="font-family: monospace;">firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload</pre></td></tr></tbody></table></div><p>Start Apache and MariaDB.</p><div align="left" class="wp_syntax" style="padding-bottom: 0px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="dos" style="font-family: monospace;">systemctl start httpd.service
systemctl start mariadb.service</pre></td></tr></tbody></table></div><p>Auto start the service at system start-up.</p><div align="left" class="wp_syntax" style="padding-bottom: 0px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="dos" style="font-family: monospace;">systemctl enable httpd.service
systemctl enable mariadb.service</pre></td></tr></tbody></table></div><h3><span style="color: rgb(128, 0, 0); text-decoration: underline;"><strong>Download and Setup:</strong></span></h3><p>Download ownCloud from official website or enter the fallowing command on terminal.</p><div align="left" class="wp_syntax" style="padding-bottom: 0px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="dos" style="font-family: monospace;">wget https://download.owncloud.org/community/owncloud-7.0.0.tar.bz2</pre></td></tr></tbody></table></div><p>Extract the archive.</p><div align="left" class="wp_syntax" style="padding-bottom: 0px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="dos" style="font-family: monospace;">tar -jxvf owncloud-7.0.0.tar.bz2 -C /var/www/html/</pre></td></tr></tbody></table></div><p>Allow the web server to read and write the files on cloud directory.</p><div align="left" class="wp_syntax" style="padding-bottom: 0px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="dos" style="font-family: monospace;">chown -R apache.apache /var/www/html/owncloud/</pre></td></tr></tbody></table></div><h4><strong><span style="color: rgb(128, 0, 0); text-decoration: underline;">Create Database:</span></strong><span style="color: rgb(128, 0, 0); text-decoration: underline;"> </span></h4><p>If you are setting up a MariaDB for the first time, here is the tutorial on <a title="Securing MySQL server with mysql_secure_installation" class="con_link" href="http://www.itzgeek.com/how-tos/mini-howtos/securing-mysql-server-with-mysql_secure_installation.html" target="_blank" rel="nofollow">Securing MariaDB</a>. MariaDB server must be started before creating the database, login to MySQL server.</p><div align="left" class="wp_syntax" style="padding-bottom: 0px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="dos" style="font-family: monospace;">mysql -u root -p</pre></td></tr></tbody></table></div><p>Create database called “clouddb”</p><div align="left" class="wp_syntax" style="padding-bottom: 0px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="mysql" style="font-family: monospace;"><span style="color: rgb(153, 0, 153); font-weight: bold;">create</span> <span style="color: rgb(153, 0, 153); font-weight: bold;">database</span> clouddb<span style="color: rgb(0, 0, 51);">;</span></pre></td></tr></tbody></table></div><p>Allow “clouddbuser” to access the “clouddb” database on localhost with predefined password.</p><div align="left" class="wp_syntax" style="padding-bottom: 0px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="mysql" style="font-family: monospace;"><span style="color: rgb(153, 0, 153); font-weight: bold;">grant</span> <span style="color: rgb(153, 0, 153); font-weight: bold;">all</span> <span style="color: rgb(153, 0, 153); font-weight: bold;">on</span> clouddb.<span style="color: rgb(204, 0, 153);">*</span> <span style="color: rgb(153, 0, 153); font-weight: bold;">to</span> <span style="color: rgb(0, 128, 0);">'clouddbuser'</span>@<span style="color: rgb(0, 128, 0);">'localhost'</span> identified by <span style="color: rgb(0, 128, 0);">'password'</span><span style="color: rgb(0, 0, 51);">;</span></pre></td></tr></tbody></table></div><h4><span style="color: rgb(128, 0, 0); text-decoration: underline;"><strong>Configure Apache server:</strong></span></h4><p>While configuring Apache web server, it is recommended that you to enable <span style="color: rgb(0, 0, 128);"><strong>.htaccess</strong></span> to get a enhanced security features, by default .htaccess is disabled in Apache server. To enable it, open your virtual host file and make <strong><span style="color: rgb(0, 0, 128);">AllowOverride </span></strong>is set to <tt><strong><span style="color: rgb(0, 0, 128);">All</span></strong>.</tt>For example, here i used external config file instead of modifying main file.</p><div align="left" class="wp_syntax" style="padding-bottom: 0px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="dos" style="font-family: monospace;">vi /etc/httpd/conf.d/owncloud.conf</pre></td></tr></tbody></table></div><p>Add the following.</p><div class="command"><IfModule mod_alias.c><br>Alias /owncloud /var/www/html/owncloud<br></IfModule><br><Directory “/var/www/html/owncloud”><br>Options Indexes FollowSymLinks<br>AllowOverride All<br>Order allow,deny<br>allow from all<br></Directory></div><p>Remember to restart all services related to Apache server.</p><div align="left" class="wp_syntax" style="padding-bottom: 0px;"><table class="__se_tbl_ext"><tbody><tr><td class="code"><pre class="dos" style="font-family: monospace;">systemctl restart httpd.service</pre></td></tr></tbody></table></div><p><span style="color: rgb(128, 0, 0); text-decoration: underline;"><strong>Configure ownCloud:</strong></span><br>Open up web browser, point a URL to <span style="color: rgb(0, 0, 128);"><strong><a class="con_link" href="http://your-ip-address/owncloud" target="_blank">http://your-ip-address/owncloud</a></strong></span> ( <strong><span style="color: rgb(0, 0, 128);"><a class="con_link" href="http://your-custom-domain/" target="_blank">http://Your-custom-domain</a></span></strong>). Browser will automatically take you to ownCloud setup page where it must be configured before going to live. Enter admin user name, password, data folder location and database details. You can choose any one of the database from SQLite or MySQL. If you choose SQLite database, you do not require to enter database details. where as MySQL database requires database user, password and data base name.</p><p></p><figure class="wp-caption aligncenter" id="attachment_7303" style="width: 640px;"><img width="640" height="622" class="wp-image-7303" alt="CentOS 7 - OwnCloud 7 DB Details" src=""><figcaption class="wp-caption-text">CentOS 7 – OwnCloud 7 DB Details</figcaption></figure><p></p><p>Alternately you can download ownCloud client to upload the files.</p><p></p><figure class="wp-caption aligncenter" id="attachment_7304" style="width: 640px;"><img width="640" height="483" class="wp-image-7304" alt="CentOS 7 - OwnCloud 7 Sync Options" src=""><figcaption class="wp-caption-text">CentOS 7 – OwnCloud 7 Sync Options</figcaption></figure><p></p><p>Home page will look like this, you can start uploading the contents using upload button.</p><figure class="wp-caption aligncenter" id="attachment_7305" style="width: 640px;"><p><img width="640" height="509" class="wp-image-7305" alt="CentOS 7 - OwnCloud 7 Home Page" src=""><!-- Not Allowed Tag Filtered --><figcaption class="wp-caption-text">C</figcaption></p><p> </p><p> </p><p style="font: 13px/18px "Helvetica Neue", Helvetica, Arial, sans-serif; margin: 0px 0px 9px; color: rgb(51, 51, 51); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">@ /etc/httpd/conf/httpd.conf</p><pre style="font: 12px/18px Monaco, Menlo, Consolas, "Courier New", monospace; margin: 0px 0px 9px; padding: 8px; border-radius: 4px; border: 1px solid currentColor; color: rgb(51, 51, 51); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; display: block; white-space: pre-wrap; -ms-word-break: break-all; -ms-word-wrap: break-word; font-size-adjust: none; font-stretch: normal; background-color: rgb(245, 245, 245); -webkit-text-stroke-width: 0px;">LoadModule php5_module modules/libphp5.so <br>AddType application/x-httpd-php .php .php3 .php4 .php5 .html .htm .inc <br>DirectoryIndex index.html index.htm index.php</pre></figure></div></div>
apache 데몬 실행 권한 설정
http://www.webprogramer.kr/blog/P000000195/post.do
<p><span style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: verdana, gulim, dotum; color: rgb(102, 102, 102); font-stretch: normal;">apachectl 은 httpd 데몬을 띄우는 일종의 alias로 작동한다.</span><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: verdana, gulim, dotum; color: rgb(102, 102, 102); font-stretch: normal;"><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: verdana, gulim, dotum; color: rgb(102, 102, 102); font-stretch: normal;"><span style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: verdana, gulim, dotum; color: rgb(102, 102, 102); font-stretch: normal;">apachectl 에서 옵션(-k)가 없을 경우 디폴트 옵션으로 적용한다.</span><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: verdana, gulim, dotum; color: rgb(102, 102, 102); font-stretch: normal;"><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: verdana, gulim, dotum; color: rgb(102, 102, 102); font-stretch: normal;"><span style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: verdana, gulim, dotum; color: rgb(102, 102, 102); font-stretch: normal;">그래서 apachectl start 를 실행하면 내부적으로는 httpd -k start 로 동작한다.</span><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: verdana, gulim, dotum; color: rgb(102, 102, 102); font-stretch: normal;"><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: verdana, gulim, dotum; color: rgb(102, 102, 102); font-stretch: normal;"><span style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: verdana, gulim, dotum; color: rgb(102, 102, 102); font-stretch: normal;">그런데 아래와 같은 오류가 발생한다.</span><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: verdana, gulim, dotum; color: rgb(102, 102, 102); font-stretch: normal;"> </p><blockquote><!-- Not Allowed Tag Filtered --><font color="#008000">Permission denied: make_sock: could not bind to address [::]:80<br>Permission denied: make_sock: could not bind to address 0.0.0.0:80<br>no listening sockets available, shutting down<br>Unable to open logs</font></blockquote><p><!-- Not Allowed Attribute Filtered ( style="BACKGROUND: url(http://www.freeism.co.kr/tc/skin/blog/customize/1/images/iconBlockquote.gif) no-repeat; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(102,102,102); FONT: 12px/19px verdana, gulim, dotum; PADDING-LEFT: 28px; MARGIN: 10px 20px; LETTER-SPACING: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px") --><div class="autosourcing-stub-extra"></div><p></p></p><p><span style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;">apache 데몬을 root 권한이 아닌 사용자 계정으로 로딩하기 위해서 소유권을 바꿨더니 발생한다.</span><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><span style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;">기본적으로 예약된 포트는 root 권한 이외의 계정으로는 오픈할 수 없기 때문이다.</span><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><span style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;">이럴 때는,</span><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><font color="#0000ff" style="font: 12px/19px verdana, gulim, dotum; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;">chown root.root httpd<br>chmod +s httpd</font><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><span style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;">를 해주면, httpd의 권한이 </span><font color="#0000ff" style="font: 12px/19px verdana, gulim, dotum; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;">-rwsr-sr-x</font><span style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"> 로 변경된다.</span><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><span style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;">그리고 freeism(사용자 계정)으로 소유권이 지정된 ( 즉, </span><font color="#0000ff" style="font: 12px/19px verdana, gulim, dotum; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;">chown freeism.freeism apachectl</font><span style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"> )</span><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><span style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;">apachectl 을 통해서 httpd 데몬을 로딩하면,</span><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><br style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><span style="font: 12px/19px verdana, gulim, dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;">사용자 계정으로 마치 root 처럼 데몬을 띄워준다.</span></p>
퀴니버즈구매
http://www.webprogramer.kr/blog/P000000194/post.do
<p><br></p><p>퀴니 버즈 유모차 구매<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470965834431158831.jpg" data-filename="1470965834431158831.jpg" style="width: 100%;"></p><p><br></p><p>바퀴랑 본체<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470965839131397068.jpg" data-filename="1470965839131397068.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470965841869222057.jpg" data-filename="1470965841869222057.jpg" style="line-height: 1; width: 100%;"><br></p><p><br></p><p>다풀어 놨더니 지저분<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470965844917395164.jpg" data-filename="1470965844917395164.jpg" style="width: 100%;"></p><p><br></p><p><span style="line-height: 1;">바퀴끼우고 세움</span><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470965847899112819.jpg" data-filename="1470965847899112819.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470965852720897341.jpg" data-filename="1470965852720897341.jpg" style="width: 100%;"></p><p><br></p><p>바람넣고<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470965858625270659.jpg" data-filename="1470965858625270659.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470965863182571948.jpg" data-filename="1470965863182571948.jpg" style="width: 100%;"></p><p><br></p><p>시트? 장착 조립완료<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470965866494909541.jpg" data-filename="1470965866494909541.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096587127243818.jpg" data-filename="147096587127243818.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470965874409171809.jpg" data-filename="1470965874409171809.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470965877481579380.jpg" data-filename="1470965877481579380.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470965880229930330.jpg" data-filename="1470965880229930330.jpg" style="width: 100%;"></p><p>온라인으로 정품등록도 했다</p><div class="autosourcing-stub-extra"></div>
인코딩 찾기
http://www.webprogramer.kr/blog/P000000193/post.do
<p><div class="autosourcing-stub-extra"></div></p><p> String word = request.getParameter("filename");<br> System.out.println("utf-8(1) : " + new String(word.getBytes("utf-8"), "euc-kr"));<br> System.out.println("utf-8(2) : " + new String(word.getBytes("utf-8"), "ksc5601"));<br> System.out.println("utf-8(3) : " + new String(word.getBytes("utf-8"), "x-windows-949"));<br> System.out.println("utf-8(4) : " + new String(word.getBytes("utf-8"), "iso-8859-1"));<br> <br> System.out.println("iso-8859-1(1) : " + new String(word.getBytes("iso-8859-1"), "euc-kr"));<br> System.out.println("iso-8859-1(2) : " + new String(word.getBytes("iso-8859-1"), "ksc5601"));<br> System.out.println("iso-8859-1(3) : " + new String(word.getBytes("iso-8859-1"), "x-windows-949"));<br> System.out.println("iso-8859-1(4) : " + new String(word.getBytes("iso-8859-1"), "utf-8"));<br> <br> System.out.println("euc-kr(1) : " + new String(word.getBytes("euc-kr"), "ksc5601"));<br> System.out.println("euc-kr(2) : " + new String(word.getBytes("euc-kr"), "utf-8"));<br> System.out.println("euc-kr(3) : " + new String(word.getBytes("euc-kr"), "x-windows-949"));<br> System.out.println("euc-kr(4) : " + new String(word.getBytes("euc-kr"), "iso-8859-1"));<br> <br> System.out.println("ksc5601(1) : " + new String(word.getBytes("ksc5601"), "euc-kr"));<br> System.out.println("ksc5601(2) : " + new String(word.getBytes("ksc5601"), "utf-8"));<br> System.out.println("ksc5601(3) : " + new String(word.getBytes("ksc5601"), "x-windows-949"));<br> System.out.println("ksc5601(4) : " + new String(word.getBytes("ksc5601"), "iso-8859-1"));<br> <br> System.out.println("x-windows-949(1) : " + new String(word.getBytes("x-windows-949"), "euc-kr"));<br> System.out.println("x-windows-949(2) : " + new String(word.getBytes("x-windows-949"), "utf-8"));<br> System.out.println("x-windows-949(3) : " + new String(word.getBytes("x-windows-949"), "ksc5601"));<br> System.out.println("x-windows-949(4) : " + new String(word.getBytes("x-windows-949"), "iso-8859-1"));</p>
설치 프로그램 메모
http://www.webprogramer.kr/blog/P000000190/post.do
<p>설치</p><p>JAVA 7</p><p>TOMCAT 7</p><p>MYSQL 5.6 -> mariadb</p><p> </p><p>JAVA_HOME=/home/java</p><p>CATALINA_HOME=/home/tomcat</p><p>CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/lib/jsp-api.jar:$CATALINA_HOME/lib/servlet-api.jar</p><p>PATH=$PATH:$JAVA_HOME/bin:$CATALINA_HOME/bin</p><p>export JAVA_HOME CLASSPATH PATH CATALINA_HOME</p><p> </p><p>참고<br><a class="con_link" href="http://blog.keypointer.co.kr/?p=53" target="_blank">http://blog.keypointer.co.kr/?p=53</a></p><p><br>cmake \<br>-DCMAKE_INSTALL_PREFIX=/home/db_server/mysql \<br>-DMYSQL_DATADIR=/home/db_server/mysql/data \<br>-DMYSQL_UNIX_ADDR=/home/db_server/mysql/mysql.sock \<br>-DSYSCONFDIR=/etc \<br>-DMYSQL_TCP_PORT=3306 \<br>-DMYSQL_USER=mysql \<br>-DDEFAULT_CHARSET=utf8 \<br>-DDEFAULT_COLLATION=utf8_general_ci \<br>-DWITH_EXTRA_CHARSETS=all \<br>-DENABLED_LOCAL_INFILE=1 \<br>-DWITH_INNOBASE_STORAGE_ENGINE=1 \<br>-DWITH_ARCHIVE_STORAGE_ENGINE=1 \<br>-DWITH_BLACKHOLE_STORAGE_ENGINE=1</p><p> </p><p>mysql] ln -s /home/db_server/mysql/bin/mysql /usr/bin/mysql<br>ln -s /home/db_server/mysql/bin/mysqldump /usr/sbin/mysqldump<br>ln -s /home/db_server/mysql/bin/mysql_config /usr/sbin/mysql_config<br>ln -s /home/db_server/mysql/bin/mysqladmin /usr/sbin/mysqladmin</p><p> </p><p>ln -s /home/db_server/mysql/support-files/mysql.server /etc/rc.d/init.d/mysql<br>chkconfig --add mysql<br>chkconfig --level 24 mysql off<br>service mysql start</p><p><div class="autosourcing-stub-extra"></div><p></p><p></p><p><br>echo "/home/db_server/mysql/lib" >> /etc/ld.so.conf<br>ldconfig</p>
MySQL에서 Access denied for user 'root'@'localhost' (using password: YES)
http://www.webprogramer.kr/blog/P000000191/post.do
<p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126);"><span style="margin: 0px; padding: 0px; font-size: 14pt;"><strong style="margin: 0px; padding: 0px;">MySQL에서 Access denied for user</strong></span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(203, 137, 179) !important; border-bottom-color: rgb(204, 51, 153); -ms-word-wrap: break-word;" href="mailto:'root'@'localhost'" target="_blank"><span style="margin: 0px; padding: 0px; font-size: 14pt;"><strong style="margin: 0px; padding: 0px;">'root'@'localhost'</strong></span></a><span style="margin: 0px; padding: 0px; font-size: 14pt;"><strong style="margin: 0px; padding: 0px;"> (using password: YES)라는 오류 해결하기</strong>:</span></p><p><br style="margin: 0px; padding: 0px; color: rgb(102, 102, 102); line-height: 20px; font-family: Helvetica, AppleGothic, Gulim, 굴림, sans-serif;"></p><p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126);"><span style="margin: 0px; padding: 0px; font-size: 14pt;"># <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">mysql -u root -p</span></span></p><p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126);"><span style="margin: 0px; padding: 0px; font-size: 14pt;">Enter password:</span></p><p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126);"><span style="margin: 0px; padding: 0px; font-size: 14pt;">ERROR 1045 (28000): Access denied for user</span><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(203, 137, 179) !important; border-bottom-color: rgb(204, 51, 153); -ms-word-wrap: break-word;" href="mailto:'root'@'localhost'" target="_blank"><span style="margin: 0px; padding: 0px; font-size: 14pt;">'root'@'localhost'</span></a><span style="margin: 0px; padding: 0px; font-size: 14pt;"> (using password: YES)</span></p><p><br style="margin: 0px; padding: 0px; color: rgb(102, 102, 102); line-height: 20px; font-family: Helvetica, AppleGothic, Gulim, 굴림, sans-serif;"></p><p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126);"><span style="margin: 0px; padding: 0px; font-size: 14pt;">이러한 오류의 경우에는 MySQL의 패스워드를 </span><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; font-size: 14pt;">재설정</span></strong><span style="margin: 0px; padding: 0px; font-size: 14pt;">해줘야 한다:</span></p><p><br style="margin: 0px; padding: 0px; color: rgb(102, 102, 102); line-height: 20px; font-family: Helvetica, AppleGothic, Gulim, 굴림, sans-serif;"></p><p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126);"><span style="margin: 0px; padding: 0px; font-size: 14pt;"># <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">service mysql stop</span></span></p><p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126);"><span style="margin: 0px; padding: 0px; font-size: 14pt;"># <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">mysqld --skip-grant-tables &</span></span></p><p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126);"><span style="margin: 0px; padding: 0px; font-size: 14pt;"># <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">mysql -u root</span></span></p><p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126);"><span style="margin: 0px; padding: 0px; font-size: 14pt;">mysql> <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">use mysql;</span></span></p><p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126);"><span style="margin: 0px; padding: 0px; font-size: 14pt;">mysql> <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">update user set password=password('password를 입력한다') where user='root';</span></span></p><p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126);"><span style="margin: 0px; padding: 0px; font-size: 14pt;">mysql> <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">flush privileges;</span></span></p><p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126);"><span style="margin: 0px; padding: 0px; font-size: 14pt;">mysql><span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">quit</span></span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p style="padding: 0px; text-align: justify; color: rgb(138, 131, 126); margin-right: 0px; margin-left: 0px;"><span style="margin: 0px; padding: 0px; font-size: 14pt;"># <span style="margin: 0px; padding: 0px; color: rgb(255, 0, 0);">service mysql start</span></span></p>
Centos 7 APM 설치 [펌] - 2
http://www.webprogramer.kr/blog/P000000189/post.do
<h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 환경 설정</h6><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">로그를 “/var/log/httpd” 폴더로 저장하기 위해서 설정하기 전에 폴더를 생성한다.</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_243238" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host httpd-2.4.6] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">mkdir</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/var/log/httpd</code></div></div></td></tr></tbody></table></div></div><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">설치시 환경 설정 경로(–sysconfdir)를 “/etc/httpd” 폴더로 설정했기 때문에 “/etc/httpd” 폴더에 설정 파일들이 생성되어 있다.</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_548938" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">5</div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">6</div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">7</div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">8</div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">9</div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">10</div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">11</div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">12</div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">13</div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">14</div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">15</div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">16</div><div class="line number17 index16 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">17</div><div class="line number18 index17 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">18</div><div class="line number19 index18 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">19</div><div class="line number20 index19 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">20</div><div class="line number21 index20 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">21</div><div class="line number22 index21 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">22</div><div class="line number23 index22 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">23</div><div class="line number24 index23 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">24</div><div class="line number25 index24 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">25</div><div class="line number26 index25 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">26</div><div class="line number27 index26 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">27</div><div class="line number28 index27 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">28</div><div class="line number29 index28 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">29</div><div class="line number30 index29 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">30</div><div class="line number31 index30 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">31</div><div class="line number32 index31 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">32</div><div class="line number33 index32 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">33</div><div class="line number34 index33 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">34</div><div class="line number35 index34 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">35</div><div class="line number36 index35 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">36</div><div class="line number37 index36 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">37</div><div class="line number38 index37 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">38</div><div class="line number39 index38 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">39</div><div class="line number40 index39 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">40</div><div class="line number41 index40 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">41</div><div class="line number42 index41 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">42</div><div class="line number43 index42 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">43</div><div class="line number44 index43 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">44</div><div class="line number45 index44 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">45</div><div class="line number46 index45 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">46</div><div class="line number47 index46 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">47</div><div class="line number48 index47 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">48</div><div class="line number49 index48 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">49</div><div class="line number50 index49 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">50</div><div class="line number51 index50 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">51</div><div class="line number52 index51 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">52</div><div class="line number53 index52 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">53</div><div class="line number54 index53 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">54</div><div class="line number55 index54 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">55</div><div class="line number56 index55 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">56</div><div class="line number57 index56 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">57</div><div class="line number58 index57 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">58</div><div class="line number59 index58 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">59</div><div class="line number60 index59 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">60</div><div class="line number61 index60 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">61</div><div class="line number62 index61 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">62</div><div class="line number63 index62 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">63</div><div class="line number64 index63 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">64</div><div class="line number65 index64 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">65</div><div class="line number66 index65 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">66</div><div class="line number67 index66 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">67</div><div class="line number68 index67 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">68</div><div class="line number69 index68 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">69</div><div class="line number70 index69 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">70</div><div class="line number71 index70 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">71</div><div class="line number72 index71 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">72</div><div class="line number73 index72 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">73</div><div class="line number74 index73 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">74</div><div class="line number75 index74 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">75</div><div class="line number76 index75 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">76</div><div class="line number77 index76 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">77</div><div class="line number78 index77 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">78</div><div class="line number79 index78 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">79</div><div class="line number80 index79 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">80</div><div class="line number81 index80 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">81</div><div class="line number82 index81 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">82</div><div class="line number83 index82 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">83</div><div class="line number84 index83 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">84</div><div class="line number85 index84 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">85</div><div class="line number86 index85 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">86</div><div class="line number87 index86 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">87</div><div class="line number88 index87 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">88</div><div class="line number89 index88 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">89</div><div class="line number90 index89 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">90</div><div class="line number91 index90 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">91</div><div class="line number92 index91 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">92</div><div class="line number93 index92 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">93</div><div class="line number94 index93 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">94</div><div class="line number95 index94 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">95</div><div class="line number96 index95 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">96</div><div class="line number97 index96 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">97</div><div class="line number98 index97 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">98</div><div class="line number99 index98 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">99</div><div class="line number100 index99 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">100</div><div class="line number101 index100 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">101</div><div class="line number102 index101 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">102</div><div class="line number103 index102 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">103</div><div class="line number104 index103 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">104</div><div class="line number105 index104 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">105</div><div class="line number106 index105 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">106</div><div class="line number107 index106 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">107</div><div class="line number108 index107 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">108</div><div class="line number109 index108 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">109</div><div class="line number110 index109 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">110</div><div class="line number111 index110 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">111</div><div class="line number112 index111 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">112</div><div class="line number113 index112 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">113</div><div class="line number114 index113 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">114</div><div class="line number115 index114 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">115</div><div class="line number116 index115 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">116</div><div class="line number117 index116 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">117</div><div class="line number118 index117 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">118</div><div class="line number119 index118 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">119</div><div class="line number120 index119 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">120</div><div class="line number121 index120 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">121</div><div class="line number122 index121 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">122</div><div class="line number123 index122 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">123</div><div class="line number124 index123 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">124</div><div class="line number125 index124 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">125</div><div class="line number126 index125 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">126</div><div class="line number127 index126 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">127</div><div class="line number128 index127 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">128</div><div class="line number129 index128 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">129</div><div class="line number130 index129 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">130</div><div class="line number131 index130 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">131</div><div class="line number132 index131 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">132</div><div class="line number133 index132 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">133</div><div class="line number134 index133 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">134</div><div class="line number135 index134 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">135</div><div class="line number136 index135 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">136</div><div class="line number137 index136 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">137</div><div class="line number138 index137 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">138</div><div class="line number139 index138 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">139</div><div class="line number140 index139 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">140</div><div class="line number141 index140 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">141</div><div class="line number142 index141 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">142</div><div class="line number143 index142 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">143</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 933px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host httpd-2.4.6] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">cd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/etc/httpd</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host httpd] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">vi</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">httpd.conf</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># 사용할 모듈의 주석을 제거하여 활성화한다</code></div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">LoadModule slotmem_shm_module modules</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/mod_slotmem_shm</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.so</code></div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">LoadModule dav_module modules</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/mod_dav</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.so</code></div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">LoadModule vhost_alias_module modules</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/mod_vhost_alias</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.so</code></div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">LoadModule negotiation_module modules</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/mod_negotiation</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.so</code></div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">LoadModule rewrite_module modules</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/mod_rewrite</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.so</code></div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">...</code></div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># 그룹 계정 비활성화</code></div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><IfModule unixd_module></code></div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># If you wish httpd to run as a different user or group, you must run</code></div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># httpd as root initially and it will switch.</code></div><div class="line number17 index16 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number18 index17 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># User/Group: The name (or #number) of the user/group to run httpd as.</code></div><div class="line number19 index18 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># It is usually good practice to create a dedicated user and group for</code></div><div class="line number20 index19 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># running httpd, as with most system services.</code></div><div class="line number21 index20 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number22 index21 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">User daemon</code></div><div class="line number23 index22 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">Group </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#-1</code></div><div class="line number24 index23 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/IfModule</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">></code></div><div class="line number25 index24 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number26 index25 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># 관리자 이메일</code></div><div class="line number27 index26 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">ServerAdmin keypointer@gmail.com</code></div><div class="line number28 index27 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number29 index28 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># 서버 이름</code></div><div class="line number30 index29 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">ServerName <a class="con_link" href="http://www.keypointer.co.kr/" target="_blank">www.keypointer.co.kr:80</a></code></div><div class="line number31 index30 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number32 index31 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># 루트 디렉토리</code></div><div class="line number33 index32 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">DocumentRoot </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 158, 123) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">"/usr/local/httpd/htdocs"</code></div><div class="line number34 index33 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><Directory </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 158, 123) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">"/usr/local/httpd/htdocs"</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">></code></div><div class="line number35 index34 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number36 index35 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># Possible values for the Options directive are "None", "All",</code></div><div class="line number37 index36 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># or any combination of:</code></div><div class="line number38 index37 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews</code></div><div class="line number39 index38 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number40 index39 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># Note that "MultiViews" must be named *explicitly* --- "Options All"</code></div><div class="line number41 index40 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># doesn't give it to you.</code></div><div class="line number42 index41 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number43 index42 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># The Options directive is both complicated and important. Please see</code></div><div class="line number44 index43 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># <a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://httpd.apache.org/docs/2.4/mod/core.html" target="_blank">http://httpd.apache.org/docs/2.4/mod/core.html</a>#options</code></div><div class="line number45 index44 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># for more information.</code></div><div class="line number46 index45 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number47 index46 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">Options FollowSymLinks</code></div><div class="line number48 index47 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number49 index48 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number50 index49 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># AllowOverride controls what directives may be placed in .htaccess files.</code></div><div class="line number51 index50 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># It can be "All", "None", or any combination of the keywords:</code></div><div class="line number52 index51 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># AllowOverride FileInfo AuthConfig Limit</code></div><div class="line number53 index52 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number54 index53 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">AllowOverride None</code></div><div class="line number55 index54 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number56 index55 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number57 index56 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># Controls who can get stuff from this server.</code></div><div class="line number58 index57 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number59 index58 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">Require all granted</code></div><div class="line number60 index59 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/Directory</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">></code></div><div class="line number61 index60 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number62 index61 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># 폴더로 접근할 때 실행하는 인덱스 파일 설정</code></div><div class="line number63 index62 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number64 index63 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># DirectoryIndex: sets the file that Apache will serve if a directory</code></div><div class="line number65 index64 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># is requested.</code></div><div class="line number66 index65 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number67 index66 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><IfModule dir_module></code></div><div class="line number68 index67 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">DirectoryIndex index.html</code></div><div class="line number69 index68 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/IfModule</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">></code></div><div class="line number70 index69 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number71 index70 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># 로그 파일 저장 위치</code></div><div class="line number72 index71 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># ErrorLog: The location of the error log file.</code></div><div class="line number73 index72 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># If you do not specify an ErrorLog directive within a <VirtualHost></code></div><div class="line number74 index73 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># container, error messages relating to that virtual host will be</code></div><div class="line number75 index74 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># logged here. If you *do* define an error logfile for a <VirtualHost></code></div><div class="line number76 index75 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># container, that host's errors will be logged there and not here.</code></div><div class="line number77 index76 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number78 index77 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">ErrorLog </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 158, 123) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">"/var/log/httpd/error_log"</code></div><div class="line number79 index78 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><IfModule log_config_module></code></div><div class="line number80 index79 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number81 index80 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># The following directives define some format nicknames for use with</code></div><div class="line number82 index81 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># a CustomLog directive (see below).</code></div><div class="line number83 index82 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number84 index83 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">LogFormat </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 158, 123) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">combined</code></div><div class="line number85 index84 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">LogFormat </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 158, 123) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">"%h %l %u %t \"%r\" %>s %b"</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">common</code></div><div class="line number86 index85 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number87 index86 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><IfModule logio_module></code></div><div class="line number88 index87 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># You need to enable mod_logio.c to use %I and %O</code></div><div class="line number89 index88 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">LogFormat </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 158, 123) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O"</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">combinedio</code></div><div class="line number90 index89 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/IfModule</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">></code></div><div class="line number91 index90 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number92 index91 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number93 index92 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># The location and format of the access logfile (Common Logfile Format).</code></div><div class="line number94 index93 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># If you do not define any access logfiles within a <VirtualHost></code></div><div class="line number95 index94 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># container, they will be logged here. Contrariwise, if you *do*</code></div><div class="line number96 index95 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># define per-<VirtualHost> access logfiles, transactions will be</code></div><div class="line number97 index96 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># logged therein and *not* in this file.</code></div><div class="line number98 index97 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number99 index98 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">CustomLog </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 158, 123) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">"/var/log/httpd/access_log"</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">common</code></div><div class="line number100 index99 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number101 index100 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number102 index101 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># If you prefer a logfile with access, agent, and referer information</code></div><div class="line number103 index102 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># (Combined Logfile Format) you can use the following directive.</code></div><div class="line number104 index103 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number105 index104 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#CustomLog "logs/access_log" combined</code></div><div class="line number106 index105 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/IfModule</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">></code></div><div class="line number107 index106 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number108 index107 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># 설정 파일 import</code></div><div class="line number109 index108 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># Server-pool management (MPM specific)</code></div><div class="line number110 index109 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">Include </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/etc/httpd/extra/httpd-mpm</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.conf</code></div><div class="line number111 index110 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># Language settings</code></div><div class="line number112 index111 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">Include </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/etc/httpd/extra/httpd-languages</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.conf</code></div><div class="line number113 index112 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># Virtual hosts</code></div><div class="line number114 index113 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#Include /etc/httpd/extra/httpd-vhosts.conf</code></div><div class="line number115 index114 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># Distributed authoring and versioning (WebDAV)</code></div><div class="line number116 index115 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">Include </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/etc/httpd/extra/httpd-dav</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.conf</code></div><div class="line number117 index116 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number118 index117 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-----------------------------------------------------------------</code></div><div class="line number119 index118 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number120 index119 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host httpd] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">vi</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">extra</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/httpd-mpm</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.conf</code></div><div class="line number121 index120 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number122 index121 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number123 index122 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># PidFile: The file in which the server should record its process</code></div><div class="line number124 index123 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># identification number when it starts.</code></div><div class="line number125 index124 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number126 index125 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># Note that this is the default PidFile for most MPMs.</code></div><div class="line number127 index126 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number128 index127 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number129 index128 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">PidFile </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 158, 123) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">"/var/log/httpd/httpd.pid"</code></div><div class="line number130 index129 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number131 index130 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">----------------------------------------------------------------</code></div><div class="line number132 index131 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number133 index132 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host httpd] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">vi</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">extra</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/httpd-languages</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.conf</code></div><div class="line number134 index133 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number135 index134 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">DefaultLanguage ko</code></div><div class="line number136 index135 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number137 index136 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># LanguagePriority allows you to give precedence to some languages</code></div><div class="line number138 index137 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># in case of a tie during content negotiation.</code></div><div class="line number139 index138 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number140 index139 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># Just list the languages in decreasing order of preference. We have</code></div><div class="line number141 index140 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># more or less alphabetized them here. You probably want to change this.</code></div><div class="line number142 index141 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number143 index142 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">LanguagePriority ko en ca cs da de el eo es et fr he hr it ja ltz </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">nl</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">nn no pl pt pt-BR ru sv </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">tr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">zh-CN zh-TW</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 서비스 등록</h6><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">apachectl 스크립트는 chkconfig 로 동작할 수 있도록 수정해야 한다.</p><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">Symbolic Link 를 만들고 apachectl 스크립트의 상단 부분을 아래와 같이 수정해야만 서비스로 추가가 가능하다.</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_755915" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">5</div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">6</div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">7</div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">8</div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">9</div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">10</div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">11</div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">12</div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">13</div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">14</div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">15</div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">16</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 942px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host httpd] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">ln</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-s </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/httpd/bin/apachectl</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/etc/rc</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.d</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/init</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.d</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/httpd</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host httpd] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">vi</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/httpd/bin/apachectl</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#!/bin/sh</code></div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># Apache This starts and stops Apache.</code></div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># chkconfig: 35 20 80</code></div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># description: Apache Web Service</code></div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">#</code></div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># Licensed to the Apache Software Foundation</code></div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">...</code></div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">----------------------------------------------------------------</code></div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host httpd] service httpd start</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 공유 라이브러리 추가</h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_807884" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host httpd] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">echo</code> <code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 158, 123) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">"/usr/local/httpd/module"</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">>> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/etc/ld</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.so.conf</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host httpd] ldconfig</code></div></div></td></tr></tbody></table></div></div><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"> </p><h2 style="margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 26px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">PHP 설치</h2><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 의존 라이브러리 설치</h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_539635" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">5</div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">6</div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">7</div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">8</div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">9</div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">10</div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">11</div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">12</div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">13</div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">14</div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">15</div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">16</div><div class="line number17 index16 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">17</div><div class="line number18 index17 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">18</div><div class="line number19 index18 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">19</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 942px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libxml2-devel</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">bzip2</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-devel</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libcurl-devel</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">gdbm-devel</code></div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libvpx yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libvpx-devel</code></div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libjpeg-turbo-devel</code></div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libpng-devel</code></div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libXpm libXpm-devel</code></div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">freetype-devel</code></div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">t1lib t1lib-devel</code></div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">gmp-devel</code></div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libc-client libc-client-devel</code></div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">pam-devel</code></div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libicu libicu-devel</code></div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">openldap-devel</code></div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">readline-devel</code></div><div class="line number17 index16 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libedit-devel</code></div><div class="line number18 index17 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libtidy libtidy-devel</code></div><div class="line number19 index18 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libxslt libxslt-devel</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- libmcrypt 설치</h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_830808" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 1061px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">5</div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">6</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 1028px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host downloads] wget http:</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">//sourceforge</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.net</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/projects/mcrypt/files/Libmcrypt/2</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.5.8</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/libmcrypt-2</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.5.8.</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">tar</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.gz</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/download</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host downloads] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">tar</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">zxvf libmcrypt-2.5.8.</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">tar</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.gz</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host downloads] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">cd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">libmcrypt-2.5.8</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host libmcrypt-2.5.8] .</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/configure</code></div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host libmcrypt-2.5.8] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">make</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">make</code> <code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code></div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host libmcrypt-2.5.8] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">ln</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-s </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/lib/libmcrypt</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.so.4 </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/lib64/libmcrypt</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.so.4</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; line-height: 1.1; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">- MySQL 라이브러리 참조</span></h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_272752" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">ln</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-s </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/mysql/lib</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/mysql/lib64</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 소스를 다운로드 받고 압축 해제</h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_208019" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host ~] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">cd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/root/downloads</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host downloads] wget http:</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">//kr1</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.php.net</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/get/php-5</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.5.4.</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">tar</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.gz</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/from/this/mirror</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host downloads] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">tar</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">zxvf php-5.5.4.</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">tar</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.gz</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 컴파일과 설치</h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_2814" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">5</div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">6</div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">7</div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">8</div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">9</div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">10</div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">11</div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">12</div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">13</div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">14</div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">15</div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">16</div><div class="line number17 index16 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">17</div><div class="line number18 index17 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">18</div><div class="line number19 index18 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">19</div><div class="line number20 index19 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">20</div><div class="line number21 index20 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">21</div><div class="line number22 index21 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">22</div><div class="line number23 index22 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">23</div><div class="line number24 index23 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">24</div><div class="line number25 index24 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">25</div><div class="line number26 index25 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">26</div><div class="line number27 index26 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">27</div><div class="line number28 index27 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">28</div><div class="line number29 index28 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">29</div><div class="line number30 index29 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">30</div><div class="line number31 index30 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">31</div><div class="line number32 index31 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">32</div><div class="line number33 index32 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">33</div><div class="line number34 index33 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">34</div><div class="line number35 index34 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">35</div><div class="line number36 index35 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">36</div><div class="line number37 index36 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">37</div><div class="line number38 index37 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">38</div><div class="line number39 index38 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">39</div><div class="line number40 index39 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">40</div><div class="line number41 index40 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">41</div><div class="line number42 index41 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">42</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 942px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host downloads] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">cd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">php-5.5.4</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host php-5.5.4] .</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/configure</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--prefix=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/php</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">\</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-apxs2=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/httpd/bin/apxs</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-config-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">file</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-path=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/etc/httpd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">\</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-mysql=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/mysql</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-mysql-sock=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/var/mysql</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">\</code></div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-mysqli=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/mysql/bin/mysql_config</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">\</code></div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-pdo-mysql=shared,</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/mysql</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">\</code></div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-regex=php --with-libxml-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">dir</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">\</code></div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-openssl --with-pcre-regex \</code></div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-zlib --with-bz2 --with-curl \</code></div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-gdbm --with-db4=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-dbm \</code></div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-pcre-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">dir</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-openssl-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">dir</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">\</code></div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-libxml-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">dir</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">\</code></div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-gd \</code></div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-vpx-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">dir</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-jpeg-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">dir</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-png-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">dir</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">\</code></div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-zlib-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">dir</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-xpm-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">dir</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">\</code></div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-freetype-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">dir</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-t1lib=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">\</code></div><div class="line number17 index16 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-gettext --with-gmp --with-mhash \</code></div><div class="line number18 index17 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-imap --with-imap-ssl \</code></div><div class="line number19 index18 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-kerberos \</code></div><div class="line number20 index19 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-icu-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">dir</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">\</code></div><div class="line number21 index20 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-ldap --with-ldap-sasl \</code></div><div class="line number22 index21 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-libmbfl --with-onig \</code></div><div class="line number23 index22 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-mcrypt \</code></div><div class="line number24 index23 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-libedit --with-readline \</code></div><div class="line number25 index24 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-tidy \</code></div><div class="line number26 index25 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-libexpat-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">dir</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-xmlrpc --with-xsl \</code></div><div class="line number27 index26 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-pear --with-pic \</code></div><div class="line number28 index27 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--with-libdir=lib64 \</code></div><div class="line number29 index28 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-bcmath --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-calendar \</code></div><div class="line number30 index29 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-exif --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">ftp</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-pcntl \</code></div><div class="line number31 index30 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-gd-native-ttf --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-gd-jis-conv \</code></div><div class="line number32 index31 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-intl --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-mbstring \</code></div><div class="line number33 index32 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-shmop --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-sockets \</code></div><div class="line number34 index33 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-sysvmsg --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-sysvsem --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-sysvshm \</code></div><div class="line number35 index34 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-wddx --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-zip \</code></div><div class="line number36 index35 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-mysqlnd \</code></div><div class="line number37 index36 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-dba=shared --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-mod-charset \</code></div><div class="line number38 index37 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-dom --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-mbregex --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-inline-optimization \</code></div><div class="line number39 index38 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-sigchild --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-soap \</code></div><div class="line number40 index39 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-maintainer-zts \</code></div><div class="line number41 index40 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-opcache=no</code></div><div class="line number42 index41 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host php-5.5.4] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">make</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">make</code> <code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">install</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; line-height: 1.1; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">- 환경 설정</span></h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_361595" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">5</div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">6</div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">7</div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">8</div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">9</div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">10</div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">11</div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">12</div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">13</div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">14</div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">15</div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">16</div><div class="line number17 index16 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">17</div><div class="line number18 index17 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">18</div><div class="line number19 index18 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">19</div><div class="line number20 index19 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">20</div><div class="line number21 index20 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">21</div><div class="line number22 index21 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">22</div><div class="line number23 index22 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">23</div><div class="line number24 index23 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">24</div><div class="line number25 index24 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">25</div><div class="line number26 index25 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">26</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 942px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host php-5.5.4] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">cp</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">php.ini-production </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/etc/httpd/php</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.ini</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host php-5.5.4] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">vi</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/etc/httpd/php</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.ini</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; PHP's default character </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">set</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">is </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">set</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">to empty.</code></div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; http:</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">//php</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.net</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/default-charset</code></div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">default_charset = </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 158, 123) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">"UTF-8"</code></div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; Whether to allow HTTP </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">file</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">uploads.</code></div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; http:</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">//php</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.net</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/file-uploads</code></div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">file_uploads = On</code></div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; Temporary directory </code><code class="shell keyword" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: aqua !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">for</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">HTTP uploaded files (will use system default </code><code class="shell keyword" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: aqua !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">if</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">not</code></div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; specified).</code></div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; http:</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">//php</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.net</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/upload-tmp-dir</code></div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">upload_tmp_dir = </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/tmp</code></div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number17 index16 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; Maximum allowed size </code><code class="shell keyword" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: aqua !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">for</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">uploaded files.</code></div><div class="line number18 index17 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; http:</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">//php</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.net</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/upload-max-filesize</code></div><div class="line number19 index18 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">upload_max_filesize = 50M</code></div><div class="line number20 index19 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number21 index20 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; Maximum number of files that can be uploaded via a single request</code></div><div class="line number22 index21 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">max_file_uploads = 20</code></div><div class="line number23 index22 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number24 index23 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; Defines the default timezone used by the </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">date</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">functions</code></div><div class="line number25 index24 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">; http:</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">//php</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.net</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/date</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.timezone</code></div><div class="line number26 index25 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">date</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.timezone = </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 158, 123) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">"Asia/Seoul"</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- Apache 설정</h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_289618" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">5</div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">6</div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">7</div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">8</div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">9</div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">10</div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">11</div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">12</div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">13</div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">14</div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">15</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 942px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host php-5.5.4] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">vi</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/etc/httpd/httpd</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.conf</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 125, 39) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"># PHP 모듈이 정상적으로 추가되었는지 확인</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">LoadModule php5_module modules</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/libphp5</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.so</code></div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><IfModule mime_module></code></div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">... 중략 ...</code></div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">AddType application</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/x-httpd-php</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.php .html </code></div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell spaces" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; color: rgb(136, 136, 136); font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">AddType application</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/x-httpd-php-source</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.phps</code></div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/IfModule</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">></code></div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host php-5.5.4] service httpd restart</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- PATH 추가</h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_177542" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host php-5.5.4] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">ln</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-s </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/php/bin/php</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/bin/php</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host php-5.5.4] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">ln</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-s </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/php/bin/php-config</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/bin/php-config</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">[root@host php-5.5.4] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">ln</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">-s </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/php/bin/phpize</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/bin/phpize</code></div></div></td></tr></tbody></table></div></div><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">– 테스트</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_196277" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 10px !important; vertical-align: baseline !important; float: none !important; position: absolute !important; z-index: 10 !important; box-sizing: content-box !important; background: rgb(153, 0, 0);"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">root@host php-5.5.4] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(129, 206, 249) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">echo</code> <code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 158, 123) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">"<?php phpinfo() ?>"</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">/usr/local/httpd/htdocs/index</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: normal; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; overflow: visible !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;">.html</code></div></div></td></tr></tbody></table></div></div><div class="wp-caption aligncenter" id="attachment_129" style="margin: 5px auto 20px; padding: 10px; border: 1px solid rgb(230, 230, 230); width: 687px; text-align: center; font-family: inherit; vertical-align: baseline; max-width: 100%; font-stretch: inherit; background: rgb(242, 242, 242);"><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom: 1px dotted currentcolor; display: block; font-stretch: inherit; border-top-width: 0px !important; border-right-width: 0px !important; border-left-width: 0px !important;" href="http://blog.keypointer.co.kr/wp-content/uploads/2013/10/test.png" target="_blank"><div class="autosourcing-stub-extra"><img src="http://www.webprogramer.kr/upload/blog/editor/1470964796131412689.png" data-filename="1470964796131412689.png" style="width: 100%;"></div></a></div>
Centos 7 APM 설치 [펌] -1
http://www.webprogramer.kr/blog/P000000188/post.do
<h1 class="entry-title" style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 2em; font-weight: 900; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">CentOS에 APM (Apache,PHP,MySQL) 소스 설치</h1><h2 class="entry-meta" style="margin: 2px 0px 20px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); line-height: 1.4; font-family: Lato, sans-serif; font-size: 12px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;"> </h2><div class="entry-content" style="font-variant-numeric: normal; line-height: 19px; font-family: Arial, sans-serif; margin: 0px; padding: 0px; border: 0px currentcolor; width: 1000px; color: rgb(85, 85, 85); letter-spacing: 0px; vertical-align: baseline; position: relative; font-stretch: inherit;"><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">우선 필요한 Application 을 다운로드한다.</p><ul style="margin-right: 0px; margin-left: 0px; padding: 0px 0px 0px 20px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><li style="margin: 0px; padding: 0px; border: 0px currentcolor; text-align: left; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">MySQL<br>– 최신버전 : 5.6.14<br>– 다운로드 페이지 : <a title="MySQL 다운로드 페이지" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://dev.mysql.com/downloads/mysql/#downloads" target="_blank">http://dev.mysql.com/downloads/mysql/#downloads</a> – Select Platform 의 콤보박스에서 Source Code 를 선택하여 가장 마지막 항목을 다운로드 한다. (Generic Linux (Architecture Independent), Compressed TAR Archive)<br>– 다운로드 URL : <a title="MySQL 다운로드 URL" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.14.tar.gz/from/http://cdn.mysql.com/" target="_blank">http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.14.tar.gz/from/http://cdn.mysql.com/</a></li><li style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">Apache Portable Runtime<br>– 최신버전 : APR 1.4.8. APR-util 1.5.2, APR-iconv 1.2.1<br>– 다운로드 페이지 : <a title="APR 다운로드 페이지" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://apr.apache.org/download.cgi" target="_blank">http://apr.apache.org/download.cgi</a><br>– APR 다운로드 URL : <a title="APR 다운로드 URL" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://mirror.apache-kr.org//apr/apr-1.4.8.tar.gz" target="_blank">http://mirror.apache-kr.org//apr/apr-1.4.8.tar.gz</a><br>– APR-util 다운로드 URL : <a title="APR-util 다운로드 URL" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://mirror.apache-kr.org//apr/apr-util-1.5.2.tar.gz" target="_blank">http://mirror.apache-kr.org//apr/apr-util-1.5.2.tar.gz</a></li><li style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">Apache HTTP Server<br>– 최신버전 : 2.4.6<br>– 다운로드 페이지 : <a title="Apache 다운로드 페이지" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://apache.org/dyn/closer.cgi" target="_blank">http://apache.org/dyn/closer.cgi</a> – mirror 에서 다운받는 경우 http 폴더로 들어가서 다운로드한다.<br>– 다운로드 URL : <a title="Apache 다운로드 URL" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://mirror.apache-kr.org/httpd/httpd-2.4.6.tar.gz" target="_blank">http://mirror.apache-kr.org/httpd/httpd-2.4.6.tar.gz</a></li><li style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">PHP<br>– 최신버전 : 5.5.4<br>– 다운로드 페이지 : <a title="PHP 다운로드 페이지" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://php.net/downloads.php" target="_blank">http://php.net/downloads.php<br>-</a> 다운로드 URL : <a title="PHP 다운로드 URL" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://kr1.php.net/get/php-5.5.4.tar.gz/from/this/mirror" target="_blank">http://kr1.php.net/get/php-5.5.4.tar.gz/from/this/mirror</a></li></ul><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"> </p><blockquote style="border-width: 0px 0px 0px 10px; margin-top: 1em; margin-bottom: 1em; padding: 0px 0px 0px 12px; font-family: inherit; font-size: 14px; vertical-align: baseline; border-left-color: rgb(204, 204, 204); quotes: none; font-stretch: inherit;"><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">의존 라이브러리 설치</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_595310" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 978px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 961px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">5</div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">6</div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">7</div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">8</div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">9</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 928px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">yum groupinstall </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(255,="" 158,="" 123)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">"Development Tools"</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">wget</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">cmake</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">ncurses-devel</code></div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">libtool-ltdl</code></div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">expat-devel</code></div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">db4-devel</code></div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">pcre-devel</code></div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">yum </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">install</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">openssl-devel</code></div></div></td></tr></tbody></table></div></div></blockquote><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"> </p><h2 style="margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 26px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">MySQL 설치</h2><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 관리 계정 생성</h6><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">아래는 “dba” 그룹 계정과 “mysql” 계정으로 생성하였다.</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_75556" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host ~] groupadd dba</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host ~] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">useradd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-M -c </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(255,="" 158,="" 123)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">"MySQL"</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-d </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/var/mysql</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-g dba -s </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/bin/nologin</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">mysql</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 소스를 다운로드 받고 압축 해제</h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_622887" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 1052px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 1019px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host ~] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">mkdir</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">downloads</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host ~] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">cd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/root/downloads</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host downloads] wget http:</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">//dev</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.mysql.com</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/get/Downloads/MySQL-5</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.6</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/mysql-5</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.6.14.</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">tar</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.gz</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/from/http</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">:</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">//cdn</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.mysql.com/</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host downloads] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">tar</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">zxvf mysql-5.6.14.</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">tar</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.gz</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; line-height: 1.1; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">- 컴파일과 설치</span></h6><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">5.5 미만 버전에서는 configure 로 makefile 파일을 만들었는데 5.5 이상 버전부터 cmake 를 이용하여 makefile 을 생성하고 컴파일하도록 변경되었다.</p><blockquote style="border-width: 0px 0px 0px 10px; margin-top: 1em; margin-bottom: 1em; padding: 0px 0px 0px 12px; font-family: inherit; font-size: 14px; vertical-align: baseline; border-left-color: rgb(204, 204, 204); quotes: none; font-stretch: inherit;"><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">cmake 는 멀티플랫폼을 지원하는 make 대용 개발 도구로 플랫폼 별로 make 파일을 만들어주는 meta make 이다.</p><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">자세한 설명은 [<a title="cmake" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://ko.wikipedia.org/wiki/CMake" target="_blank">wiki:CMake</a>] 에서 확인한다.</p></blockquote><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">cmake 를 이용해 설치 옵션과 함께 makefile 을 생성하고 컴파일 및 설치를 진행한다.</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_889545" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">5</div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">6</div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">7</div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">8</div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">9</div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">10</div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">11</div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">12</div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">13</div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">14</div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">15</div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">16</div><div class="line number17 index16 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">17</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 942px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host downloads] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">cd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">mysql-5.6.11</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql-5.6.11] cmake \</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DCMAKE_INSTALL_PREFIX=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/mysql</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">\</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DMYSQL_DATADIR=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/var/mysql/data</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">\</code></div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DMYSQL_UNIX_ADDR=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/var/mysql/mysql</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.sock \</code></div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DSYSCONFDIR=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/etc</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">\</code></div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DMYSQL_TCP_PORT=3306 \</code></div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DMYSQL_USER=mysql \</code></div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DDEFAULT_CHARSET=utf8 \</code></div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DDEFAULT_COLLATION=utf8_general_ci \</code></div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DWITH_EXTRA_CHARSETS=all \</code></div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DENABLED_LOCAL_INFILE=1 \</code></div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DWITH_INNOBASE_STORAGE_ENGINE=1 \</code></div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DWITH_ARCHIVE_STORAGE_ENGINE=1 \</code></div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-DWITH_BLACKHOLE_STORAGE_ENGINE=1</code></div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number17 index16 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql-5.6.11] gmake; gmake </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">install</code></div></div></td></tr></tbody></table></div></div><blockquote style="border-width: 0px 0px 0px 10px; margin-top: 1em; margin-bottom: 1em; padding: 0px 0px 0px 12px; font-family: inherit; font-size: 14px; vertical-align: baseline; border-left-color: rgb(204, 204, 204); quotes: none; font-stretch: inherit;"><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">이외의 MySQL 설치 옵션은 아래 URL을 참고한다.</p><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a title="MySQL 설치 옵션" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://dev.mysql.com/doc/refman/5.6/en/source-configuration-options.html" target="_blank">http://dev.mysql.com/doc/refman/5.6/en/source-configuration-options.html</a></p></blockquote><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 데이터베이스가 저장되는 폴더 생성</h6><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; font-size: 16px; vertical-align: baseline; font-stretch: inherit;">“/var/mysql/data” 에 데이터베이스 파일들을 저장하기 위해서 “data” 폴더의 부모 폴더인 “/var/mysql” 폴더를 생성한다.</span></p><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">기본 데이터베이스 저장 폴더인 “/usr/local/mysql/data” 에 저장하는 경우는 부모 폴더가 존재하기 때문에 폴더를 생성하지 않아도 된다.</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_767800" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host downloads] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">mkdir</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/var/mysql</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 기본 데이터베이스 생성 및 폴더 권한 변경</h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_106642" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql-5.6.11] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">cd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/mysql</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] .</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/scripts/mysql_install_db</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--user=mysql --datadir=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/var/mysql/data</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">chown</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-R mysql:dba </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/mysql</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">chown</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-R mysql:dba </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/var/mysql</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 환경 설정</h6><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">위에서 mysql_install_db 를 실행하면 “/usr/local/mysql/” 폴더에 my.cnf 파일이 생성된다.</p><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">이 파일을 설치시에 지정한 “/etc/” 폴더로 이동시켜서 환경 설정 파일을 수정한다.</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_635171" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">5</div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">6</div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">7</div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">8</div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">9</div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">10</div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">11</div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">12</div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">13</div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">14</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 942px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">mv</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/my</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.cnf </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/etc/my</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.cnf</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">vi</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/etc/my</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.cnf</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-----------------------------------------------------------------</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[mysqld]</code></div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES</code></div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">innodb_buffer_pool_size = 16M</code></div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">innodb_additional_mem_pool_size = 2M</code></div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">innodb_log_file_size = 5M</code></div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">innodb_log_buffer_size = 8M</code></div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">innodb_flush_log_at_trx_commit = 1</code></div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">innodb_lock_wait_timeout = 50</code></div></div></td></tr></tbody></table></div></div><blockquote style="border-width: 0px 0px 0px 10px; margin-top: 1em; margin-bottom: 1em; padding: 0px 0px 0px 12px; font-family: inherit; font-size: 14px; vertical-align: baseline; border-left-color: rgb(204, 204, 204); quotes: none; font-stretch: inherit;"><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">더 자세한 옵션은 아래 URL을 참고한다.</p><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a title="MySQL 설정" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html" target="_blank">http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html</a></p></blockquote><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- PATH 추가 및 서비스 등록</h6><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">MySQL 의 주요 실행 파일을 어떤 경로에서든지 실행할 수 있도록 PATH 환경 변수에 추가된 “/bin”, “/sbin” 폴더로 Symbolic Link 를 걸어둔다.</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_351410" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">ln</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-s </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/mysql/bin/mysql</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/bin/mysql</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">ln</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-s </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/mysql/bin/mysqldump</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/sbin/mysqldump</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">ln</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-s </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/mysql/bin/mysql_config</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/sbin/mysql_config</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">ln</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-s </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/mysql/bin/mysqladmin</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/sbin/mysqladmin</code></div></div></td></tr></tbody></table></div></div><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">MySQL 을 서비스에 등록하여 chkconfig 유틸리티로 관리할 수 있도록 한다.</p><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">MySQL 에서 제공하는 daemon 실행 스크립트의 링크를 생성하고 서비스에 등록하여 데몬을 시작한다.</p><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">아래는 3, 5 runlevel 에서만 동작하도록 2, 3 runlevel 에서는 동작하지 않도록 했다.</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_490419" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">ln</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-s </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/mysql/support-files/mysql</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.server </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/etc/rc</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.d</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/init</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.d</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/mysql</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] chkconfig --add mysql</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] chkconfig --level 24 mysql off</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] service mysql start</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 관리자 비밀번호 설정</h6><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">MySQL 의 관리자 계정인 “root” 의 암호를 설정한다.</p><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">암호를 설정한 뒤에는 MySQL 의 root 계정으로 접속 시에 설정한 암호를 요구하게 된다.</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_496598" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">root@host mysql] mysqladmin -u root password </code><code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(255,="" 158,="" 123)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">"1234"</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">root@host mysql] mysqladmin -u root -p reload</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 공유 라이브러리 추가</h6><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">MySQL 라이브러리를 다른 어플리케이션에서 쉽게 접근할 수 있도록 공유 라이브러리에 추가한다.</p><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell " id="highlighter_459028" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">echo</code> <code class="shell string" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(255,="" 158,="" 123)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">"/usr/local/mysql/lib"</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">>> </code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/etc/ld</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.so.conf</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host mysql] ldconfig</code></div></div></td></tr></tbody></table></div></div><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"> </p><h2 style="margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 26px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; line-height: 1.1; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">Apache 설치</span></h2><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; font-size: 16px; vertical-align: baseline; font-stretch: inherit;">Apache 를 설치하기 위해서는 APR 이 설치되어 있어야 한다. 이전에 APR 은 Apache 프로젝트에 포함되었으나 별도 프로젝트로 분리되었다. Apache 에 포함된 bundle 를 사용해도 되지만 APR 을 별도로 설치하겠다.</span></p><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- APR 설치</h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_717594" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">5</div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">6</div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">7</div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">8</div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">9</div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">10</div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">11</div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">12</div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">13</div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">14</div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">15</div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">16</div><div class="line number17 index16 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">17</div><div class="line number18 index17 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">18</div><div class="line number19 index18 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">19</div><div class="line number20 index19 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">20</div><div class="line number21 index20 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">21</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 942px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(255,="" 125,="" 39)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"=""># APR 다운로드 및 압축 해제</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host downloads] wget http:</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">//mirror</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.apache-kr.org</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">//apr/apr-1</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.4.8.</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">tar</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.gz</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host downloads] wget http:</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">//mirror</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.apache-kr.org</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">//apr/apr-util-1</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.5.2.</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">tar</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.gz</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host downloads] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">tar</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">zxvf apr-1.4.8.</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">tar</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.gz</code></div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host downloads] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">tar</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">zxvf apr-util-1.5.2.</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">tar</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.gz</code></div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(255,="" 125,="" 39)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"=""># APR 설치</code></div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host downloads] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">cd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">apr-1.4.8</code></div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host apr-1.4.8] .</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/configure</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--prefix=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/apr</code></div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host apr-1.4.8] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">make</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">; </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">make</code> <code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">install</code></div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> </div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell comments" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(255,="" 125,="" 39)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"=""># APR-util 설치</code></div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host apr-iconv-1.2.1] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">cd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">..</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/apr-util-1</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.5.2</code></div><div class="line number14 index13 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host apr-util-1.5.2] .</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/configure</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--prefix=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/apr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">\</code></div><div class="line number15 index14 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--with-apr=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/apr/bin/apr-1-config</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">\</code></div><div class="line number16 index15 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--with-crypto=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--with-openssl \</code></div><div class="line number17 index16 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--with-dbm=db47 --with-gdbm --with-berkeley-db \</code></div><div class="line number18 index17 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--with-mysql=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/mysql</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">\</code></div><div class="line number19 index18 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--with-sqlite3 \</code></div><div class="line number20 index19 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--with-expat=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr</code></div><div class="line number21 index20 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host apr-util-1.5.2] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">make</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">; </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">make</code> <code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">install</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 소스를 다운로드 받고 압축 해제</h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_656121" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 950px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host ~] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">cd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/root/downloads</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host downloads] wget http:</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">//mirror</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.apache-kr.org</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/httpd/httpd-2</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.4.6.</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">tar</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.gz</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host downloads] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">tar</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">zxvf http-2.4.6.</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">tar</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">.gz</code></div></div></td></tr></tbody></table></div></div><h6 style="margin: 20px 0px; padding: 0px; border: 0px currentcolor; color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 18px; vertical-align: baseline; font-stretch: inherit; text-rendering: optimizeLegibility;">- 컴파일과 설치</h6><div style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><div align="left" class="syntaxhighlighter shell" id="highlighter_346918" style="margin: 1em 0px; padding: 0px; border: 0px currentcolor; width: 1000px; font-family: inherit; vertical-align: baseline; font-stretch: inherit; overflow: auto !important; font-size: 1em !important; position: relative !important; background-color: black;"><div class="toolbar" style="margin: 0px; border-radius: 0px; border: currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: 1px !important; width: 11px !important; height: 11px !important; right: 1px !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 10px="" vertical-align:="" baseline="" float:="" none="" position:="" absolute="" z-index:="" 10="" box-sizing:="" content-box="" background:="" rgb(153,="" 0,="" 0);"=""><span style="margin: 0px; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a class="con_link" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 1px 0px 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; right: auto !important; bottom: auto !important; color: white !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; display: block !important; position: static !important; box-sizing: content-box !important; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;" href="http://blog.keypointer.co.kr/?p=53#" target="_blank">?</a></span></div><table class="__se_tbl_ext" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 983px; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace="" !important;="" font-size:="" 1em="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background-image:="" none;="" background-attachment:="" initial;="" background-size:="" background-origin:="" background-clip:="" background-position:="" background-repeat:="" initial;"="" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><tr style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><td class="gutter" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(211, 211, 211) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">1</div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2</div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3</div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4</div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">5</div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">6</div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">7</div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">8</div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">9</div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">10</div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">11</div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">12</div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border-right: 3px solid rgb(153, 0, 0); font-stretch: inherit; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-top-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">13</div></td><td class="code" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; width: 942px; font-stretch: inherit; outline: 0px !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; box-sizing: content-box !important; background: none;"><div class="container" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; box-sizing: content-box !important; background: none;"><div class="line number1 index0 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host downloads] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">cd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">http-2.4.6</code></div><div class="line number2 index1 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host httpd-2.4.6] .</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/configure</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--prefix=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/httpd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--sysconfdir=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/etc/httpd</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">\</code></div><div class="line number3 index2 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--with-apr=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/apr/bin/apr-1-config</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--with-apr-util=</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">/usr/local/apr/bin/apu-1-config</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">\</code></div><div class="line number4 index3 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--with-pcre --with-libxml2 --with-ssl --with-z \</code></div><div class="line number5 index4 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--with-mpm=worker \</code></div><div class="line number6 index5 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-modules=most --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-mods-shared=most \</code></div><div class="line number7 index6 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">file</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-cache --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-cache --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">file</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-cache \</code></div><div class="line number8 index7 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-so \</code></div><div class="line number9 index8 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-mime-magic --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-expires --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-header \</code></div><div class="line number10 index9 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-proxy --</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-ssl \</code></div><div class="line number11 index10 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-mpms-shared=all \</code></div><div class="line number12 index11 alt1" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-vhosts-</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">alias</code> <code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">--</code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">enable</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">-rewrite</code></div><div class="line number13 index12 alt2" style="margin: 0px; border-radius: 0px; border: 0px currentcolor; font-stretch: inherit; padding: 0px 1em !important; outline: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; box-sizing: content-box !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">[root@host httpd-2.4.6] </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">make</code><code class="shell plain" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(211,="" 211,="" 211)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">; </code><code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">make</code> <code class="shell functions" style="font-variant-numeric: normal; font-size: 1em; line-height: 1.1em; font-family: Consolas, " bitstream="" vera="" sans="" mono",="" "courier="" new",="" courier,="" monospace;="" margin:="" 0px;="" border-radius:="" border:="" 0px="" currentcolor;="" font-stretch:="" normal;="" padding:="" !important;="" outline:="" left:="" auto="" top:="" width:="" height:="" right:="" bottom:="" color:="" rgb(129,="" 206,="" 249)="" overflow:="" visible="" vertical-align:="" baseline="" float:="" none="" position:="" static="" box-sizing:="" content-box="" background:="" none;"="">install</code></div></div></td></tr></tbody></table></div></div><blockquote style="border-width: 0px 0px 0px 10px; margin-top: 1em; margin-bottom: 1em; padding: 0px 0px 0px 12px; font-family: inherit; font-size: 14px; vertical-align: baseline; border-left-color: rgb(204, 204, 204); quotes: none; font-stretch: inherit;"><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;">더 자세한 옵션은 아래 URL을 참고한다.</p><p style="margin-top: 1em; margin-bottom: 1em; padding: 0px; border: 0px currentcolor; font-family: inherit; vertical-align: baseline; font-stretch: inherit;"><a title="Apache 설정" class="con_link" style="border-width: 0px 0px 1px; margin: 0px; padding: 0px; color: rgb(68, 68, 68); font-family: inherit; vertical-align: baseline; border-bottom-color: currentcolor; border-bottom-style: dotted; font-stretch: inherit;" href="http://httpd.apache.org/docs/2.4/en/programs/configure.html" target="_blank">http://httpd.apache.org/docs/2.4/en/programs/configure.html</a></p><div class="autosourcing-stub-extra"></div><p></p></blockquote></div>
sony @5000 구매
http://www.webprogramer.kr/blog/P000000184/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/147096228289732450.jpg" data-filename="147096228289732450.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470962286446791744.jpg" data-filename="1470962286446791744.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470962289658607254.jpg" data-filename="1470962289658607254.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470962292894953597.jpg" data-filename="1470962292894953597.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470962296605858989.jpg" data-filename="1470962296605858989.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470962299552596462.jpg" data-filename="1470962299552596462.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470962302463190613.jpg" data-filename="1470962302463190613.jpg" style="width: 100%;"><br></p>
ERWIN 사용시 COMMENT 자동으로 생성되게 설정
http://www.webprogramer.kr/blog/P000000183/post.do
<p>기본적으로 ERWIN은 COMMENT를 입력받게 되어 있습니다.<span style="line-height: 1;"> </span></p><p>헌데 컬럼수가 많을경우 일일이 쳐서 넣어야되서 불편합니다.<span style="line-height: 1;"> </span></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>Pre & Post Scripts 기능을 이용하여 Logical에서 작성했던 컬럼명을 COMMENT로 사용할수 있</p><p>습니다.</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470962103450447820.png" data-filename="1470962103450447820.png" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470962107070111042.png" data-filename="1470962107070111042.png" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096211006745831.png" data-filename="147096211006745831.png" style="width: 100%;"></p><p><br></p><p>사용된 스크립트 입니다.</p><p>%ForEachTable() { <br> COMMENT ON TABLE %TableName IS '%EntityName'; <br> %ForEachColumn() { <br> COMMENT ON COLUMN %TableName.%ColName IS '%AttName'; <br> } <br>}</p><p><br></p><p>mysql 용</p><p>%ForEachTable() {<br>ALTER TABLE %TableName COMMENT = '%EntityName';</p><p> %ForEachColumn() {<br> %Decl(NullOption)<br> %If(%==(%Substr(%ColumnNullOption,1,8),IDENTITY)){%=(NullOption,AUTO_INCREMENT)}<br> %Else {%=(NullOption,%ColumnNullOption)}<br> ALTER TABLE %TableName CHANGE COLUMN %ColName %ColName %ColumnDatatype %:NullOption COMMENT '%AttName';<br> }</p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>}</p>
안마의자 구매 ㅋㅋ
http://www.webprogramer.kr/blog/P000000182/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/147096202389939657.jpg" data-filename="147096202389939657.jpg" style="width: 100%;"><br></p><p><br></p><p>내자리 바로 옆</p><div align="left">일하다 피곤 하믄 바로 사용</div><div align="left"><br></div><div align="left">실은 회사꺼 ㅋㅋㅋㅋ<div class="autosourcing-stub-extra"></div></div>
개인용 NAS
http://www.webprogramer.kr/blog/P000000180/post.do
<p>구매한 NAS 설치.<span style="line-height: 1;"> </span></p><p>Centos 7 Server로 설치</p><p>ssh, 방화벽 포트설정</p><p>공유기 DDNS, 외부접속, 포트포워딩, WOL<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>하나하나 셋팅중</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961810037460482.jpg" data-filename="1470961810037460482.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961814610449969.png" data-filename="1470961814610449969.png" style="width: 100%;"><br></p>
새로구매한 보온병 보온력이좋다
http://www.webprogramer.kr/blog/P000000181/post.do
<p>일하면서</p><p>보온병을 이용하여 음료를 마시는데</p><p>기존 보온병이 보온력이 떨어져서 구매했다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961943206531947.jpg" data-filename="1470961943206531947.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961946439748953.jpg" data-filename="1470961946439748953.jpg" style="width: 100%;"><br></p>
ITX 미니 PC 조립 개인NAS 겸 테스트서버용 저전력 저사양
http://www.webprogramer.kr/blog/P000000178/post.do
<p><br></p><p>집에 노트북 포함 PC가 3대가 있지만 데스크탑은 사양이 높아서 전기를 많이 잡아먹고</p><p>노트북은 가격이 좀 나가는거라 계속 켜놓기 좀 그렇고 해서 저사양/저전력 미니 서버를 구매</p><p>했다.<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>구매내역</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961088806408118.png" data-filename="1470961088806408118.png" style="width: 100%;"></p><p><br></p><p>기다리던 택배가옴 하루만에</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>케이스, 파워, 보드, 하드, CPU, 램</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470960992045790645.jpg" data-filename="1470960992045790645.jpg" style="width: 100%;"></p><p><br></p><p>조립시작<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470960998788415284.jpg" data-filename="1470960998788415284.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>파워먼저 설치 하구 선 빼놓구</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096100262948071.jpg" data-filename="147096100262948071.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>장착할 보드 제일 작은 사이즈</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961006757113978.jpg" data-filename="1470961006757113978.jpg" style="width: 100%;"></p><p><br></p><p>보드 후면<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961010281390906.jpg" data-filename="1470961010281390906.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>램은 장착하구 CPU장착전</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961016057791686.jpg" data-filename="1470961016057791686.jpg" style="width: 100%;"></p><p><br></p><p>CPU<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096102065145871.jpg" data-filename="147096102065145871.jpg" style="width: 100%;"></p><p><br></p><p>CPU장착<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961025057788025.jpg" data-filename="1470961025057788025.jpg" style="width: 100%;"></p><p><br></p><p>예전에 샀던 써멀구리스<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961031501234255.jpg" data-filename="1470961031501234255.jpg" style="width: 100%;"></p><p><br></p><p>CPU설치후 쭈욱 짜서<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096103633252363.jpg" data-filename="147096103633252363.jpg" style="width: 100%;"></p><p><br></p><p>얇게 펴 발르는중<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961039752950627.jpg" data-filename="1470961039752950627.jpg" style="width: 100%;"></p><p><br></p><p>얇게<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961042648334941.jpg" data-filename="1470961042648334941.jpg" style="width: 100%;"></p><p><br></p><p>쿨러<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961048495705738.jpg" data-filename="1470961048495705738.jpg" style="width: 100%;"></p><p><br></p><p>쿨러장착후 선 대충 정리<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961051639280202.jpg" data-filename="1470961051639280202.jpg" style="width: 100%;"></p><p><br></p><p>보드 케이스에 장착<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961054888763645.jpg" data-filename="1470961054888763645.jpg" style="width: 100%;"></p><p><br></p><p>하드장착<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961059574496803.jpg" data-filename="1470961059574496803.jpg" style="width: 100%;"></p><p><br></p><p>정상작동</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470961064967807155.jpg" data-filename="1470961064967807155.jpg" style="width: 100%;"><br></p>
개인용 저사양, 저전력 견적
http://www.webprogramer.kr/blog/P000000177/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/147096082906377223.png" data-filename="147096082906377223.png" style="width: 100%;"><br></p>
23인치 패널 케이스 장착
http://www.webprogramer.kr/blog/P000000176/post.do
<p>23인치 패널만 있는 모니터 케이스 장착.</p><p>케이스가 왔긴왔는데. 패널 사이즈와 케이스 사이즈가 맞지 않아서 </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>케이스를 쇠톱으로 잘라서 작업을 했다. 그리고 검정 테이프로 감았다.</p><p><br><img src="http://www.webprogramer.kr/upload/blog/editor/1470960728038354770.jpg" data-filename="1470960728038354770.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470960733132128110.jpg" data-filename="1470960733132128110.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096073922877627.jpg" data-filename="147096073922877627.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470960744129240020.jpg" data-filename="1470960744129240020.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470960750893305944.jpg" data-filename="1470960750893305944.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470960754550883579.jpg" data-filename="1470960754550883579.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470960757592751936.jpg" data-filename="1470960757592751936.jpg" style="width: 100%;"><br></p><p> </p>,
usb 초기화
http://www.webprogramer.kr/blog/P000000179/post.do
<p>행 -> cmd<br></p><p>1. diskpart</p><p>2. list disk</p><p>3. select disk 디스크 번호</p><p>4. clean</p><p>5. create partition primary</p><p>6. list partition</p><p>7. select partition 1</p><p>8. active</p><p>9. format fs=ntfs quick</p><p>10. exit</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p> </p>
그누보드 관리자 비밀번호 초기화
http://www.webprogramer.kr/blog/P000000175/post.do
<p><?php <br>include_once("./_common.php"); </p><p>$g4_member = "g4_member"; <br>$g4_admin = "admin"; </p><p>$pass_sql = "update $g4_member set mb_password = '*97E7471D816A37E38510728AEA47440F9C6E2585' where mb_id = '$g4_admin' "; <br>$pass_sql = sql_query($pass_sql); </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>if($pass_sql){ <br> echo '비밀번호 0000 update'; <br> } <br>else{ <br> echo '구문오류'; <br>} <br>?> </p>
oracle 시작 종료, TNS 리스너 명령어
http://www.webprogramer.kr/blog/P000000174/post.do
<p>$ sqlplus / as sysdba </p><p>SQL>startup <--- 오라클DB 시작명령 </p><p>SQL>shutdown abort <--- 오라클DB 종료명령 </p><p>SQL>exit <--- 오라클 SQLPLUS 빠져나오기 </p><p> </p><p>-- 리스너 상태 보기</p><p>lsnrctl status</p><p> </p><p>-- 리스너 중지</p><p>lsnrctl stop</p><p> </p><p>-- 리스너 시작</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>lsnrctl start</p>
포트개방
http://www.webprogramer.kr/blog/P000000171/post.do
<p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="line-height: 1.5; font-size: 9pt;"># vi /etc/sysconfig/iptables</span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b><span style="color: rgb(255, 0, 0);">-A INPUT -m state --state NEW -m tcp -p tcp --dport 1521 -j ACCEPT</span></b></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">-A INPUT -j REJECT --reject-with icmp-host-prohibited</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span id="callbacknestlawmintistorycom1832321" style="width: 1px; height: 1px; float: right;"></span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; color: rgb(102, 102, 102); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p style="font: 12px/18px dotum; color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0px !important; margin-bottom: 0px !important; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"># service iptables restart</p>
oracle 테이블 스페이스 생성및 권한
http://www.webprogramer.kr/blog/P000000172/post.do
<p>-- 1. TABLESPACE 생성 <br>-- (Tablespace의 이름을 MCS으로 하고, 그 크기를 2G로 설정하며, 2G 초과시 자동으로 4M 씩 자동 확장 생성한다.</p><p> CREATE TABLESPACE MCS DATAFILE '/app/oracle/oradata/MCS.dbf'<br> SIZE 2048M AUTOEXTEND ON NEXT 4M MAXSIZE UNLIMITED<br> LOGGING<br> PERMANENT<br> EXTENT MANAGEMENT LOCAL AUTOALLOCATE<br> BLOCKSIZE 8K<br> SEGMENT SPACE MANAGEMENT MANUAL<br> FLASHBACK ON;</p><p> </p><p>-- 2. USER 생성</p><p> CREATE USER mayeye IDENTIFIED BY apdldkdl<br> DEFAULT TABLESPACE MCS<br> PROFILE DEFAULT<br> QUOTA UNLIMITED ON MCS<br> <br> <br>-- 3. USER에 대한 GRANT<br> GRANT "CONNECT" TO mayeye WITH ADMIN OPTION;<br> GRANT "DBA" TO mayeye WITH ADMIN OPTION;<br> GRANT "RESOURCE" TO mayeye WITH ADMIN OPTION;<br> ALTER USER mayeye DEFAULT ROLE "CONNECT", "DBA", "RESOURCE"; <br> <br>-- 커밋<br> COMMIT; <br> <br>-- 4. USER DROP<br> DROP USER mayeye CASCADE; </p><p><br>-- 5. TABLESPACE DROP<br> DROP TABLESPACE MCS INCLUDING CONTENTS; </p><p><br>-- sqlplus 접속<br>SQL>sqlplus / as sysdba</p><p><br>-- 데이터 파일 확인<br>SQL>select name from v$datafile;</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><br>-- sqlplus 백스페이스 안될때<br>host stty erase ^H</p>
시스템 환경변수 등록 : .bash_profile
http://www.webprogramer.kr/blog/P000000173/post.do
<p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="line-height: 1.5; font-size: 9pt;"><b># cd</b> </span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="line-height: 1.5; font-size: 9pt;">($HOME 경로로 이동)</span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="line-height: 1.5; font-size: 9pt;"> </span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="line-height: 1.5; font-size: 9pt;"><b># vi .bash_profile</b></span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="line-height: 1.5; font-size: 9pt;">(.bash_profile을 vi편집기로 실행)</span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="line-height: 1.5; font-size: 9pt;"> </span></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>PATH=$PATH:HOME/bin<span style="color: rgb(9, 0, 255);">:</span><span style="color: rgb(9, 0, 255);">/usr/app/mysql/bin</span></b></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">(위와 같이 PATH로 된 부분에서 실행하고자 하는 파일이 있는 경로를 콜론으로 붙여서 추가한다)</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>:wq</b></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">(편집 중인 vi편집기를 저장하고 종료한다)</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 24px; font-family: Dotum; color: rgb(127, 127, 127); letter-spacing: -1px; font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b># source .bash_profile</b></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p style="font: 12px/24px Dotum; color: rgb(127, 127, 127); text-transform: none; text-indent: 0px; letter-spacing: -1px; padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0px !important; margin-bottom: 0px !important; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;">(.bash_profile이 적용되도록 한다)</p>
LOCK TABLE 덤프
http://www.webprogramer.kr/blog/P000000170/post.do
<p><div class="autosourcing-stub-extra"></div></p><p>mysqldump -u user -p --lock-all-table database > ./database_backup_20141125.sql</p>
MySQL Database Error: Binary logging not possible. Message: Transaction level 'READ-COMMITTED' in InnoDB is not safe for binlog mode 'STATEMENT'
http://www.webprogramer.kr/blog/P000000169/post.do
<p><span style="color: rgb(51, 51, 51); font-stretch: normal;">MySQL Database Error: Binary logging not possible. Message: Transaction level </span></p><p><span style="color: rgb(51, 51, 51); font-stretch: normal;">'READ-COMMITTED' in InnoDB is not safe for binlog mode 'STATEMENT'</span> </p><div style="font-stretch: normal;"><br></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);">이럴 때 해결 방법</span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);"><br></span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);">1. </span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);"><br></span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);">/etc/my.cnf</span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);"><br></span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);">53라인의 log-bin=mysql-bin 을 주석처리한다.</span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);"><br></span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);">#log-bin=mysql-bin</span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);"><br></span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);">저장 후</span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);"><br></span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);"># service mysqld restart</span></div><div style="font-stretch: normal;"><br><span id="callbacknestimovatortistorycom863925" style="width: 1px; height: 1px; float: right;"></span></div><div style="font-stretch: normal;"><span style="color: rgb(51, 51, 51);">그리고 데이터를 insert 시켜보자.<div class="autosourcing-stub-extra"></div></span></div>
centos 에서 mysql설치
http://www.webprogramer.kr/blog/P000000168/post.do
<h3 style="margin: 0px; padding: 10px 0px; line-height: 1.1em;">centos 최신버전으로 업데이트 하기</h3><div><div align="left" class="syntaxhighlighter shell" id="highlighter_377900" style="width: 729px; margin: 1em 0px !important; overflow: auto !important; font-size: 1em !important; position: relative !important;"><table class="__se_tbl_ext" style="width: 729px; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><td class="gutter" style="margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(175, 175, 175) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div></td><td class="code" style="width: 695px; margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="container" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ yum update -y</code></div></div></td></tr></tbody></table></div></div><p style="padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><h3 style="margin: 0px; padding: 10px 0px; line-height: 1.1em;">mysql wget을 이용하여 다운로드하기</h3><p style="padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">mysql 홈페에지에서 MySQL Community Server를 rpm 번들을 다운로드 할 수 있는 url을 얻어낸다.</p><p style="padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">참고로, yum을 이용하여 mysql을 설치 할 수 있지만, 최신버전이 아니다.</p><p style="padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><div><div align="left" class="syntaxhighlighter shell" id="highlighter_489178" style="width: 729px; margin: 1em 0px !important; overflow: auto !important; font-size: 1em !important; position: relative !important;"><table class="__se_tbl_ext" style="width: 914px; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><td class="gutter" style="margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(175, 175, 175) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div><div class="line number2 index1 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div><div class="line number3 index2 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">3</div></td><td class="code" style="width: 880px; margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="container" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ yum -y </code><code class="shell functions" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 20, 147) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">install</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">wget</code></div><div class="line number2 index1 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ wget http:</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">//dev</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">.mysql.com</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">/get/Downloads/MySQL-5</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">.6</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">/MySQL-5</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">.6.16-1.linux_glibc2.5.x86_64.rpm-bundle.</code><code class="shell functions" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 20, 147) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">tar</code></div><div class="line number3 index2 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ </code><code class="shell functions" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 20, 147) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">tar</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">-xvf MySQL-5.6.16-1.linux_glibc2.5.x86_64.rpm-bundle.</code><code class="shell functions" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 20, 147) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">tar</code></div></div></td></tr></tbody></table></div></div><p style="padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><h3 style="margin: 0px; padding: 10px 0px; line-height: 1.1em;">mysql 설치</h3><p>압축을 풀었다면, 그 안에는 여러개의 rpm이 존재하며, </p><div><div style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal;"><div align="left" class="syntaxhighlighter shell" id="highlighter_640439" style="width: 729px; margin: 1em 0px !important; overflow: auto !important; font-size: 1em !important; position: relative !important;"><table class="__se_tbl_ext" style="width: 729px; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><td class="gutter" style="margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(175, 175, 175) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div><div class="line number2 index1 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div><div class="line number3 index2 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">3</div><div class="line number4 index3 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">4</div></td><td class="code" style="width: 695px; margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="container" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ rpm -i MySQL-shared-5.6.16-1.linux_glibc2.5.x86_64.rpm</code></div><div class="line number2 index1 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ rpm -Uvh MySQL-shared-compat-5.6.16-1.linux_glibc2.5.x86_64.rpm</code></div><div class="line number3 index2 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ rpm -i MySQL-server-5.6.16-1.linux_glibc2.5.x86_64.rpm</code></div><div class="line number4 index3 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ rpm -i MySQL-client-5.6.16-1.linux_glibc2.5.x86_64.rpm</code></div></div></td></tr></tbody></table></div></div><p style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">dependency error 인 경우 다음 모듈을 설치</p><div style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal;"><div align="left" class="syntaxhighlighter shell" id="highlighter_652310" style="width: 729px; margin: 1em 0px !important; overflow: auto !important; font-size: 1em !important; position: relative !important;"><table class="__se_tbl_ext" style="width: 848px; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><td class="gutter" style="margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(175, 175, 175) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div><div class="line number2 index1 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div><div class="line number3 index2 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">3</div><div class="line number4 index3 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">4</div><div class="line number5 index4 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">5</div><div class="line number6 index5 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">6</div><div class="line number7 index6 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">7</div><div class="line number8 index7 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">8</div><div class="line number9 index8 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">9</div></td><td class="code" style="width: 814px; margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="container" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">error: Failed dependencies:</code></div><div class="line number2 index1 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">perl(DBI) is needed by MySQL-client</code></div><div class="line number3 index2 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ yum -y </code><code class="shell functions" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 20, 147) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">install</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">perl</code></div><div class="line number4 index3 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> </div><div class="line number5 index4 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">error: Failed dependencies:</code></div><div class="line number6 index5 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell spaces" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"> </code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">libaio.so.1()(64bit) is needed by MySQL-server-5.6.16-1.linux_glibc2.5.x86_64</code></div><div class="line number7 index6 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell spaces" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"> </code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.6.16-1.linux_glibc2.5.x86_64</code></div><div class="line number8 index7 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell spaces" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"> </code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.6.16-1.linux_glibc2.5.x86_64</code></div><div class="line number9 index8 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ yum -y </code><code class="shell functions" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 20, 147) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">install</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">libaio</code></div></div></td></tr></tbody></table></div></div><p style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><h3 style="margin: 0px; padding: 10px 0px; color: rgb(62, 62, 62); line-height: 1.1em; font-family: "맑은 고딕";">임시 비번 생성</h3><div style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal;"><div align="left" class="syntaxhighlighter shell" id="highlighter_619434" style="width: 729px; margin: 1em 0px !important; overflow: auto !important; font-size: 1em !important; position: relative !important;"><table class="__se_tbl_ext" style="width: 840px; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><td class="gutter" style="margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(175, 175, 175) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div><div class="line number2 index1 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div></td><td class="code" style="width: 806px; margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="container" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ </code><code class="shell functions" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 20, 147) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">cat</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">/root/</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">.mysql_secret</code></div><div class="line number2 index1 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell comments" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(0, 130, 0) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"># The random password set for the root user at Tue Jul 1 12:05:13 2014 (local time): H1JVqRuc</code></div></div></td></tr></tbody></table></div></div><p style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><h3 style="margin: 0px; padding: 10px 0px; color: rgb(62, 62, 62); line-height: 1.1em; font-family: "맑은 고딕";">mysql 실행</h3><div style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal;"><div align="left" class="syntaxhighlighter shell" id="highlighter_36170" style="width: 729px; margin: 1em 0px !important; overflow: auto !important; font-size: 1em !important; position: relative !important;"><table class="__se_tbl_ext" style="width: 729px; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><td class="gutter" style="margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(175, 175, 175) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div></td><td class="code" style="width: 695px; margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="container" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ service mysql start</code></div></div></td></tr></tbody></table></div></div><p style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><h3 style="margin: 0px; padding: 10px 0px; color: rgb(62, 62, 62); line-height: 1.1em; font-family: "맑은 고딕";">임시비번으로 mysql 로컬 연결</h3><div style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal;"><div align="left" class="syntaxhighlighter shell" id="highlighter_985250" style="width: 729px; margin: 1em 0px !important; overflow: auto !important; font-size: 1em !important; position: relative !important;"><table class="__se_tbl_ext" style="width: 729px; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><td class="gutter" style="margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(175, 175, 175) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div><div class="line number2 index1 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div></td><td class="code" style="width: 695px; margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="container" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ mysql -uroot -p</code></div><div class="line number2 index1 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">Enter password:H1JVqRuc</code></div></div></td></tr></tbody></table></div></div><p style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><h3 style="margin: 0px; padding: 10px 0px; color: rgb(62, 62, 62); line-height: 1.1em; font-family: "맑은 고딕";">비번 변경</h3><div style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal;"><div align="left" class="syntaxhighlighter shell" id="highlighter_387412" style="width: 729px; margin: 1em 0px !important; overflow: auto !important; font-size: 1em !important; position: relative !important;"><table class="__se_tbl_ext" style="width: 729px; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><td class="gutter" style="margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(175, 175, 175) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div></td><td class="code" style="width: 695px; margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="container" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">mysql> SET PASSWORD FOR </code><code class="shell string" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">'root'</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">@</code><code class="shell string" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">'localhost'</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">= PASSWORD(</code><code class="shell string" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">'12121212'</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">);</code></div></div></td></tr></tbody></table></div></div><p style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><h3 style="margin: 0px; padding: 10px 0px; color: rgb(62, 62, 62); line-height: 1.1em; font-family: "맑은 고딕";">사용자 추가</h3><p style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><div style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal;"><div align="left" class="syntaxhighlighter shell" id="highlighter_333500" style="width: 729px; margin: 1em 0px !important; overflow: auto !important; font-size: 1em !important; position: relative !important;"><table class="__se_tbl_ext" style="width: 729px; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><td class="gutter" style="margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(175, 175, 175) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div><div class="line number2 index1 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div><div class="line number3 index2 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">3</div></td><td class="code" style="width: 695px; margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="container" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">mysql> CREATE USER </code><code class="shell string" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">'your user name'</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">@</code><code class="shell string" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">'%'</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">IDENTIFIED BY </code><code class="shell string" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">'your password'</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">;</code></div><div class="line number2 index1 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">mysql> GRANT ALL ON *.* TO </code><code class="shell string" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">'your user name'</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">@</code><code class="shell string" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">'%'</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">WITH GRANT OPTION;</code></div><div class="line number3 index2 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">mysql> FLUSH PRIVILEGES;</code></div></div></td></tr></tbody></table></div></div><p style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><h3 style="margin: 0px; padding: 10px 0px; color: rgb(62, 62, 62); line-height: 1.1em; font-family: "맑은 고딕";">utf-8설정</h3><p style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><div style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal;"><div align="left" class="syntaxhighlighter shell" id="highlighter_82139" style="width: 729px; margin: 1em 0px !important; overflow: auto !important; font-size: 1em !important; position: relative !important;"><table class="__se_tbl_ext" style="width: 729px; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><td class="gutter" style="margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(175, 175, 175) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div><div class="line number2 index1 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div><div class="line number3 index2 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">3</div><div class="line number4 index3 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">4</div><div class="line number5 index4 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">5</div><div class="line number6 index5 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">6</div><div class="line number7 index6 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">7</div><div class="line number8 index7 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">8</div><div class="line number9 index8 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">9</div><div class="line number10 index9 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">10</div><div class="line number11 index10 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">11</div><div class="line number12 index11 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">12</div><div class="line number13 index12 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">13</div><div class="line number14 index13 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">14</div><div class="line number15 index14 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">15</div><div class="line number16 index15 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">16</div></td><td class="code" style="width: 687px; margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="container" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ </code><code class="shell functions" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 20, 147) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">vi</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">/etc/my</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">.cnf</code></div><div class="line number2 index1 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell comments" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(0, 130, 0) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"># 해당 내용을 추가한다.</code></div><div class="line number3 index2 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> </div><div class="line number4 index3 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">[client]</code></div><div class="line number5 index4 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">default-character-</code><code class="shell functions" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 20, 147) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">set</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">= utf8</code></div><div class="line number6 index5 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> </div><div class="line number7 index6 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">[mysqld]</code></div><div class="line number8 index7 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">collation-server = utf8_unicode_ci</code></div><div class="line number9 index8 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">init-connect=</code><code class="shell string" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">'SET NAMES utf8'</code></div><div class="line number10 index9 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">character-</code><code class="shell functions" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 20, 147) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">set</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">-server = utf8</code></div><div class="line number11 index10 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> </div><div class="line number12 index11 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">[mysqldump]</code></div><div class="line number13 index12 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">default-character-</code><code class="shell functions" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 20, 147) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">set</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">= utf8</code></div><div class="line number14 index13 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"> </div><div class="line number15 index14 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">[mysql]</code></div><div class="line number16 index15 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">default-character-</code><code class="shell functions" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(255, 20, 147) !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">set</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">= utf8</code></div></div></td></tr></tbody></table></div></div><h3 style="margin: 0px; padding: 10px 0px; color: rgb(62, 62, 62); line-height: 1.1em; font-family: "맑은 고딕";">utf-8 설정되었는지 확인</h3><div style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal;"><div align="left" class="syntaxhighlighter shell" id="highlighter_1789" style="width: 729px; margin: 1em 0px !important; overflow: auto !important; font-size: 1em !important; position: relative !important;"><table class="__se_tbl_ext" style="width: 729px; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><td class="gutter" style="margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(175, 175, 175) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div><div class="line number2 index1 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div><div class="line number3 index2 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">3</div><div class="line number4 index3 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">4</div><div class="line number5 index4 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">5</div><div class="line number6 index5 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">6</div><div class="line number7 index6 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">7</div><div class="line number8 index7 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">8</div><div class="line number9 index8 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">9</div><div class="line number10 index9 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">10</div><div class="line number11 index10 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">11</div><div class="line number12 index11 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">12</div><div class="line number13 index12 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">13</div><div class="line number14 index13 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">14</div><div class="line number15 index14 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">15</div></td><td class="code" style="width: 687px; margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="container" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ service mysql restart</code></div><div class="line number2 index1 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ mysql -u root -p</code></div><div class="line number3 index2 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">mysql> show variables like </code><code class="shell string" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: blue !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">'%char%'</code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">; </code></div><div class="line number4 index3 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">+--------------------------+-----------------------------------------------+</code></div><div class="line number5 index4 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">| Variable_name | Value |</code></div><div class="line number6 index5 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">+--------------------------+-----------------------------------------------+</code></div><div class="line number7 index6 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">| character_set_client | utf8 |</code></div><div class="line number8 index7 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">| character_set_connection | utf8 |</code></div><div class="line number9 index8 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">| character_set_database | utf8 |</code></div><div class="line number10 index9 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">| character_set_filesystem | binary |</code></div><div class="line number11 index10 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">| character_set_results | utf8 |</code></div><div class="line number12 index11 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">| character_set_server | utf8 |</code></div><div class="line number13 index12 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">| character_set_system | utf8 |</code></div><div class="line number14 index13 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">| character_sets_dir | </code><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">/usr/share/mysql/charsets/</code> <code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">|</code></div><div class="line number15 index14 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">+--------------------------+-----------------------------------------------+</code></div></div></td></tr></tbody></table></div></div><h3 style="margin: 0px; padding: 10px 0px; color: rgb(62, 62, 62); line-height: 1.1em; font-family: "맑은 고딕";">방화벽 오픈</h3><div style="font-variant-numeric: normal; font-size: 15px; line-height: 27px; font-family: "맑은 고딕"; color: rgb(62, 62, 62); font-stretch: normal;"><div align="left" class="syntaxhighlighter shell" id="highlighter_645294" style="width: 729px; margin: 1em 0px !important; overflow: auto !important; font-size: 1em !important; position: relative !important;"><table class="__se_tbl_ext" style="width: 729px; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;" border="0" cellspacing="0" cellpadding="0"><tbody style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><tr style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><td class="gutter" style="margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: rgb(175, 175, 175) !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div><div class="line number2 index1 alt1" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div><div class="line number3 index2 alt2" style="border-width: 0px 3px 0px 0px !important; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; outline: 0px !important; border-radius: 0px !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: right !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">3</div></td><td class="code" style="width: 695px; margin: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="container" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: relative !important; min-height: inherit !important; box-sizing: content-box !important;"><div class="line number1 index0 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ iptables -I INPUT 1 -p tcp --dport 3306 -j ACCEPT</code></div><div class="line number2 index1 alt1" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ service iptables save</code></div><div class="line number3 index2 alt2" style="margin: 0px !important; padding: 0px 1em !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; line-height: 1.1em !important; overflow: visible !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; white-space: pre !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important; background-image: initial !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="shell plain" style="margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentcolor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; font-size: 1em !important; vertical-align: baseline !important; float: none !important; position: static !important; min-height: inherit !important; box-sizing: content-box !important;">$ service iptables restart</code></div></div></td></tr></tbody></table></div></div><div class="autosourcing-stub-extra"></div></div>
CentOS에서 MySQL 삭제
http://www.webprogramer.kr/blog/P000000167/post.do
<table class="post-top"><tbody><tr><td class="p12" valign="bottom"><p class="post_option"></p><div class="post-sub ptr" id="sendPost_from_service_220187609773" style="display: none;"><p><span class="pcol2" id="sendPost_from_service_H_220187609773"></span></p></div></td></tr></tbody></table><p><!-- 스마트에디터3 타이틀 제거 임시 적용 --> </p><div id="postViewArea"><div class="post-view pcol2 _param(4) _postViewArea220187609773" id="post-view220187609773"><pre class=" language-bash" style="font-variant-numeric: normal; line-height: 1.5; font-family: Consolas, Monaco, "Andale Mono", monospace; margin-top: 0.5em; margin-bottom: 0.5em; padding: 1em; border-radius: 0.3em; border-image-source: none; color: rgb(248, 248, 242); direction: ltr; font-stretch: normal; text-shadow: rgba(0, 0, 0, 0.298039) 0px 1px; tab-size: 4; background: rgb(39, 40, 34);"><code class=" language-bash" style="color: rgb(248, 248, 242); line-height: 1.5; font-family: Consolas, Monaco, "Andale Mono", monospace; word-spacing: normal; white-space: pre; direction: ltr; text-shadow: rgba(0, 0, 0, 0.298039) 0px 1px; tab-size: 4;">$ yum remove mysql mysql<span class="token operator">-</span>server
</code></pre><h3 id="mysql-디렉토리-삭제" style="font-variant-numeric: normal; font-family: "맑은 고딕", "Malgun Gothic", 나눔고딕, NanumGothic, 돋움, dotum, "Georgia Pro", Arial, sans-serif; color: rgb(51, 51, 51); font-stretch: normal;"><a name="mysql-디렉토리-삭제" class="con_link" style="color: rgb(66, 139, 202);" href="http://jsonobject.tistory.com/admin/entry/post/?id=116&returnURL=/116#mysql-디렉토리-삭제" target="_blank"></a>MySQL 디렉토리 삭제</h3><hr class="section" style="font-variant-numeric: normal; line-height: 20px; font-family: "맑은 고딕", "Malgun Gothic", 나눔고딕, NanumGothic, 돋움, dotum, "Georgia Pro", Arial, sans-serif; color: rgb(51, 51, 51); font-stretch: normal;"><p style="font-variant-numeric: normal; line-height: 20px; font-family: "맑은 고딕", "Malgun Gothic", 나눔고딕, NanumGothic, 돋움, dotum, "Georgia Pro", Arial, sans-serif; color: rgb(51, 51, 51); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">남아있는 MySQL 디렉토리를 삭제한다. 필요시 백업한다.</p><pre class=" language-bash" style="font-variant-numeric: normal; line-height: 1.5; font-family: Consolas, Monaco, "Andale Mono", monospace; margin-top: 0.5em; margin-bottom: 0.5em; padding: 1em; border-radius: 0.3em; border-image-source: none; color: rgb(248, 248, 242); direction: ltr; font-stretch: normal; text-shadow: rgba(0, 0, 0, 0.298039) 0px 1px; tab-size: 4; background: rgb(39, 40, 34);"><code class=" language-bash" style="color: rgb(248, 248, 242); line-height: 1.5; font-family: Consolas, Monaco, "Andale Mono", monospace; word-spacing: normal; white-space: pre; direction: ltr; text-shadow: rgba(0, 0, 0, 0.298039) 0px 1px; tab-size: 4;">$ rm <span class="token operator">-</span>f <span class="token operator">-</span>r <span class="token operator">/</span>var<span class="token operator">/</span>lib<span class="token operator">/</span>mysql</code></pre><h3 id="mysql-패키지-설치" style="font-variant-numeric: normal; font-family: "맑은 고딕", "Malgun Gothic", 나눔고딕, NanumGothic, 돋움, dotum, "Georgia Pro", Arial, sans-serif; color: rgb(51, 51, 51); font-stretch: normal;"><a name="mysql-패키지-설치" class="con_link" style="color: rgb(66, 139, 202);" href="http://jsonobject.tistory.com/admin/entry/post/?id=116&returnURL=/116#mysql-패키지-설치" target="_blank"></a>MySQL 패키지 설치</h3><hr class="section" style="font-variant-numeric: normal; line-height: 20px; font-family: "맑은 고딕", "Malgun Gothic", 나눔고딕, NanumGothic, 돋움, dotum, "Georgia Pro", Arial, sans-serif; color: rgb(51, 51, 51); font-stretch: normal;"><p style="font-variant-numeric: normal; line-height: 20px; font-family: "맑은 고딕", "Malgun Gothic", 나눔고딕, NanumGothic, 돋움, dotum, "Georgia Pro", Arial, sans-serif; color: rgb(51, 51, 51); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">MySQL 패키지를 새로 설치한다.</p><pre class=" language-bash" style="font-variant-numeric: normal; line-height: 1.5; font-family: Consolas, Monaco, "Andale Mono", monospace; margin-top: 0.5em; margin-bottom: 0.5em; padding: 1em; border-radius: 0.3em; border-image-source: none; color: rgb(248, 248, 242); direction: ltr; font-stretch: normal; text-shadow: rgba(0, 0, 0, 0.298039) 0px 1px; tab-size: 4; background: rgb(39, 40, 34);"><code class=" language-bash" style="color: rgb(248, 248, 242); line-height: 1.5; font-family: Consolas, Monaco, "Andale Mono", monospace; word-spacing: normal; white-space: pre; direction: ltr; text-shadow: rgba(0, 0, 0, 0.298039) 0px 1px; tab-size: 4;">$ yum install mysql mysql<span class="token operator">-</span>server<div class="autosourcing-stub-extra"></div></code></pre></div></div>
vi 명령
http://www.webprogramer.kr/blog/P000000166/post.do
<p>명령어를 쓰는것만 써서</p><p>많이 안쓰니까 자꾸 까먹는다.</p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(126, 65, 217); font-size: 11pt;"><b>1. vi 실행하기</b></span></p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><table width="614" class="txc-table __se_tbl_ext" style="font-variant-numeric: normal; font-size: 12px; line-height: 26px; font-family: 돋움; border: currentcolor; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; background-color: rgb(255, 255, 255);" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="border: 1px solid rgb(204, 204, 204); border-image: none; width: 181px; height: 24px; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>명령어 </b></p></td><td style="width: 432px; height: 24px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>동작 </b></p></td></tr><tr><td style="width: 181px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">vi file</span><span style="color: rgb(47, 157, 39);"> </span></p></td><td style="width: 432px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">file을 연다 </p></td></tr><tr><td style="width: 181px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">vi file1 file2</p></td><td style="width: 432px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">file1 과 file2 를 차례로 연다 </p></td></tr><tr><td style="width: 181px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">view file </p></td><td style="width: 432px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">file을 읽기 모드로 연다 </p></td></tr><tr><td style="width: 181px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">vi -R file </p></td><td style="width: 432px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">file을 읽기 모드로 연다 </p></td></tr><tr><td style="width: 181px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">vi + file</span></p></td><td style="width: 432px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">file을 열때 커서가 file 본문의 마지막 행에 위치한다. </p></td></tr><tr><td style="width: 181px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">vi +n file </p></td><td style="width: 432px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">file을 열어 n행에 위치한다. </p></td></tr><tr><td style="width: 181px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">vi -r file</p></td><td style="width: 432px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">손상된 파일 회복</p></td></tr></tbody></table><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(126, 65, 217); font-size: 11pt;"><b>2. 입력모드 전환 명령어</b></span></p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><table width="614" class="txc-table __se_tbl_ext" style="font-variant-numeric: normal; font-size: 12px; line-height: 26px; font-family: 돋움; border: currentcolor; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; background-color: rgb(255, 255, 255);" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="border: 1px solid rgb(204, 204, 204); border-image: none; width: 179px; height: 24px; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>명령어 </b></p></td><td style="width: 434px; height: 24px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>동작 </b></p></td></tr><tr><td style="width: 179px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">i</span><span style="color: rgb(47, 157, 39);"> </span></p></td><td style="width: 434px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">커서 있는데서 입력모드 전환 </p></td></tr><tr><td style="width: 179px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">I</p></td><td style="width: 434px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">커서 왼쪽, 행의 처음에 몬자 삽입 </p></td></tr><tr><td style="width: 179px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">a </p></td><td style="width: 434px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">커서 있는 줄 끝에서 입력모드 전환 </p></td></tr><tr><td style="width: 179px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">A</p></td><td style="width: 434px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">커서 오른쪽, 행의 끝에 문자 삽입 </p></td></tr><tr><td style="width: 179px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">o </p></td><td style="width: 434px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">커서 있는 줄 아래에 빈 줄 삽입 </p></td></tr><tr><td style="width: 179px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">O </p></td><td style="width: 434px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">커서 있는 줄 위에 빈 줄을 삽입 </p></td></tr><tr><td style="width: 179px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">R </p></td><td style="width: 434px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">덮어쓰기 모드로 전환 </p></td></tr></tbody></table><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><br><span id="callbacknesthyeonstoragetistorycom2749595" style="width: 226px; height: 196.5px; float: left;"><!-- Not Allowed Attribute Filtered ( codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0") --><param name="_cx" value="5980"><param name="_cy" value="5212"><param name="FlashVars" value=""><param name="Movie" value="http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback.swf?destDocId=callbacknesthyeonstoragetistorycom2749595&id=274&callbackId=hyeonstoragetistorycom2749595&host=http://hyeonstorage.tistory.com&float=left&"><param name="Src" value="http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback.swf?destDocId=callbacknesthyeonstoragetistorycom2749595&id=274&callbackId=hyeonstoragetistorycom2749595&host=http://hyeonstorage.tistory.com&float=left&"><param name="Play" value="0"><param name="Loop" value="-1"><param name="Quality" value="High"><param name="SAlign" value="LT"><param name="Menu" value="0"><param name="Base" value=""><param name="Scale" value="NoScale"><param name="DeviceFont" value="0"><param name="EmbedMovie" value="0"><param name="BGColor" value=""><param name="SWRemote" value=""><param name="MovieData" value=""><param name="SeamlessTabbing" value="1"><param name="Profile" value="0"><param name="ProfileAddress" value=""><param name="ProfilePort" value="0"><param name="AllowFullScreen" value="false"><param name="AllowFullScreenInteractive" value="false"><param name="IsDependent" value="0"><param name="_cx" value="5980"><param name="_cy" value="5212"><param name="FlashVars" value=""><param name="Movie" value="http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback.swf?destDocId=callbacknesthyeonstoragetistorycom2749595&id=274&callbackId=hyeonstoragetistorycom2749595&host=http://hyeonstorage.tistory.com&float=left&"><param name="Src" value="http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback.swf?destDocId=callbacknesthyeonstoragetistorycom2749595&id=274&callbackId=hyeonstoragetistorycom2749595&host=http://hyeonstorage.tistory.com&float=left&"><param name="Play" value="0"><param name="Loop" value="-1"><param name="Quality" value="High"><param name="SAlign" value="LT"><param name="Menu" value="0"><param name="Base" value=""><param name="Scale" value="NoScale"><param name="DeviceFont" value="0"><param name="EmbedMovie" value="0"><param name="BGColor" value=""><param name="SWRemote" value=""><param name="MovieData" value=""><param name="SeamlessTabbing" value="1"><param name="Profile" value="0"><param name="ProfileAddress" value=""><param name="ProfilePort" value="0"><param name="AllowFullScreen" value="false"><param name="AllowFullScreenInteractive" value="false"><param name="IsDependent" value="0"><param name="_cx" value="5980"><param name="_cy" value="5212"><param name="FlashVars" value=""><param name="Movie" value="http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback.swf?destDocId=callbacknesthyeonstoragetistorycom2749595&id=274&callbackId=hyeonstoragetistorycom2749595&host=http://hyeonstorage.tistory.com&float=left&"><param name="Src" value="http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback.swf?destDocId=callbacknesthyeonstoragetistorycom2749595&id=274&callbackId=hyeonstoragetistorycom2749595&host=http://hyeonstorage.tistory.com&float=left&"><param name="Play" value="0"><param name="Loop" value="-1"><param name="Quality" value="High"><param name="SAlign" value="LT"><param name="Menu" value="0"><param name="Base" value=""><param name="Scale" value="NoScale"><param name="DeviceFont" value="0"><param name="EmbedMovie" value="0"><param name="BGColor" value=""><param name="SWRemote" value=""><param name="MovieData" value=""><param name="SeamlessTabbing" value="1"><param name="Profile" value="0"><param name="ProfileAddress" value=""><param name="ProfilePort" value="0"><param name="AllowFullScreen" value="false"><param name="AllowFullScreenInteractive" value="false"><param name="IsDependent" value="0"><param name="_cx" value="5980"><param name="_cy" value="5212"><param name="FlashVars" value=""><param name="Movie" value="http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback.swf?destDocId=callbacknesthyeonstoragetistorycom2749595&id=274&callbackId=hyeonstoragetistorycom2749595&host=http://hyeonstorage.tistory.com&float=left&"><param name="Src" value="http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback.swf?destDocId=callbacknesthyeonstoragetistorycom2749595&id=274&callbackId=hyeonstoragetistorycom2749595&host=http://hyeonstorage.tistory.com&float=left&"><param name="Play" value="0"><param name="Loop" value="-1"><param name="Quality" value="High"><param name="SAlign" value="LT"><param name="Menu" value="0"><param name="Base" value=""><param name="Scale" value="NoScale"><param name="DeviceFont" value="0"><param name="EmbedMovie" value="0"><param name="BGColor" value=""><param name="SWRemote" value=""><param name="MovieData" value=""><param name="SeamlessTabbing" value="1"><param name="Profile" value="0"><param name="ProfileAddress" value=""><param name="ProfilePort" value="0"><param name="AllowFullScreen" value="false"><param name="AllowFullScreenInteractive" value="false"><param name="IsDependent" value="0"><param name="_cx" value="5980"><param name="_cy" value="5212"><param name="FlashVars" value=""><param name="Movie" value="http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback.swf?destDocId=callbacknesthyeonstoragetistorycom2749595&id=274&callbackId=hyeonstoragetistorycom2749595&host=http://hyeonstorage.tistory.com&float=left&"><param name="Src" value="http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback.swf?destDocId=callbacknesthyeonstoragetistorycom2749595&id=274&callbackId=hyeonstoragetistorycom2749595&host=http://hyeonstorage.tistory.com&float=left&"><param name="Play" value="0"><param name="Loop" value="-1"><param name="Quality" value="High"><param name="SAlign" value="LT"><param name="Menu" value="0"><param name="Base" value=""><param name="Scale" value="NoScale"><param name="DeviceFont" value="0"><param name="EmbedMovie" value="0"><param name="BGColor" value=""><param name="SWRemote" value=""><param name="MovieData" value=""><param name="SeamlessTabbing" value="1"><param name="Profile" value="0"><param name="ProfileAddress" value=""><param name="ProfilePort" value="0"><param name="AllowFullScreen" value="false"><param name="AllowFullScreenInteractive" value="false"><param name="IsDependent" value="0"> <param name="movie" value="http://s1.daumcdn.net/cfs.tistory/v/0/blog/plugins/CallBack/callback.swf?destDocId=callbacknesthyeonstoragetistorycom2749595&id=274&callbackId=hyeonstoragetistorycom2749595&host=http://hyeonstorage.tistory.com&float=left&"> <param name="menu" value="false"> <param name="allowScriptAccess" value="never"><param name="allowNetworking" value="internal"><param name="enableHtmlAccess" value="false"><param name="AllowHtmlPopupwindow" value="false"><param name="invokeURLs" value="false"><param name="enablehref" value="false"><param name="enablejavascript" value="false"><param name="nojava" value="true"><param name="windowless" value="true"><param name="WMode" value="Transparent"></span></p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(126, 65, 217); font-size: 11pt;"><b>3. 커서의 이동</b></span></p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><table width="614" class="txc-table __se_tbl_ext" style="font-variant-numeric: normal; font-size: 12px; line-height: 26px; font-family: 돋움; border: currentcolor; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; background-color: rgb(255, 255, 255);" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="border: 1px solid rgb(204, 204, 204); border-image: none; width: 178px; height: 24px; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>명령어 </b></p></td><td style="width: 435px; height: 24px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>동작 </b></p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">^, 0 </p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">줄의 처음으로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">$ </p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">줄의 끝으로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">H</span><span style="color: rgb(47, 157, 39);"> </span></p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">화면 맨 위로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">M</span></p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">화면의 중간으로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">L</span><span style="color: rgb(47, 157, 39);"> </span></p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">화면 맨 아래로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">w </p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">다음 단어 끝으로 커서 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">e</p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">다음 단어 앞으로 커서 이동</p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">b </p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">이전 단어로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">shift + ↑ </p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">한 페이지 앞으로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">shift + ↓</p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">한 페이지 뒤로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">3l , 3G</p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">현재 커서 위치한 행에서 3번째 행으로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">Ctrl + i</p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">한 화면 위로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">Ctrl + b</p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">한 화면 아래로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">Ctrl + d</p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">반 화면 위로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">Ctrl + u</p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">반 화면 아래로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">Ctrl + e</p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">한 줄씩 위로 이동 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">Ctrl + y</p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">한 줄씩 아래로 이동 </p></td></tr></tbody></table><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(126, 65, 217); font-size: 11pt;"><b>4. 삭제</b></span></p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><table width="614" class="txc-table __se_tbl_ext" style="font-variant-numeric: normal; font-size: 12px; line-height: 26px; font-family: 돋움; border: currentcolor; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; background-color: rgb(255, 255, 255);" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="border: 1px solid rgb(204, 204, 204); border-image: none; width: 177px; height: 24px; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>명령어 </b></p></td><td style="width: 436px; height: 24px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>동작 </b></p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">x</span> </p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">한 문자 삭제 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">5x</p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">커서가 있는 위치부터 5개의 문자를 삭제 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">d + ↑ </p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">커서있는 줄, 윗줄 2줄 삭제 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">d + ↓ </p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">커서잇는 줄, 아래줄 2줄 삭제 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">dw </p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">한 단어 삭제 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">d</span><span style="color: rgb(47, 157, 39);">d</span> </p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">한 줄 삭제 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">5dd</p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">커서가 있는 라인부터 5개의 라인 삭제 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">db</p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">커서의 위치에서 거꾸로 한 단어 삭제 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">D </p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">한줄 내에서 커서있는 뒤 모두 삭제 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">u</span> </p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">바로 전에 수행한 명령을 취소 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:5,10ㅇ</p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">5~10번째 행 삭제 </p></td></tr></tbody></table><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(126, 65, 217); font-size: 11pt;"><b>5. 복사와 붙여넣기</b></span></p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><table width="614" class="txc-table __se_tbl_ext" style="font-variant-numeric: normal; font-size: 12px; line-height: 26px; font-family: 돋움; border: currentcolor; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; background-color: rgb(255, 255, 255);" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="border: 1px solid rgb(204, 204, 204); border-image: none; width: 175px; height: 24px; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>명령어</b></p></td><td style="width: 438px; height: 24px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>동작</b></p></td></tr><tr><td style="width: 175px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">yy</span></p></td><td style="width: 438px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">현재 줄을 버퍼로 복사 </p></td></tr><tr><td style="width: 175px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">p</span><span style="color: rgb(47, 157, 39);"> </span></p></td><td style="width: 438px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">버퍼에 있는 내용을 커서 뒤에 삽입 </p></td></tr><tr><td style="width: 175px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">P</p></td><td style="width: 438px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">버퍼에 있는 내용을 커서 앞에 삽입 </p></td></tr><tr><td style="width: 175px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">3y </p></td><td style="width: 438px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">현재 줄에서부터 아래로 3줄 복사 </p></td></tr><tr><td style="width: 175px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:5, 10y</p></td><td style="width: 438px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">5~10줄을 버퍼로 복사 </p></td></tr><tr><td style="width: 175px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:30pu</p></td><td style="width: 438px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">30행에 버퍼 내용을 삽입 </p></td></tr><tr><td style="width: 175px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">d</span><span style="color: rgb(47, 157, 39);"> </span></p></td><td style="width: 438px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">현재 커서가 위치해 있는 단어 복사 </p></td></tr><tr><td style="width: 175px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">3yy</p></td><td style="width: 438px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">현재 행을 기준으로 3번째 행까지 n행 복사 </p></td></tr></tbody></table><p> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(126, 65, 217); font-size: 11pt;"><b>6. 문자열 찾기</b></span></p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><table width="614" class="txc-table __se_tbl_ext" style="font-variant-numeric: normal; font-size: 12px; line-height: 26px; font-family: 돋움; border: currentcolor; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; background-color: rgb(255, 255, 255);" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="border: 1px solid rgb(204, 204, 204); border-image: none; width: 176px; height: 24px; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>명령어</b></p></td><td style="width: 437px; height: 24px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>동작</b></p></td></tr><tr><td style="width: 176px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">/name</span></p></td><td style="width: 437px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">name 문자열 찾기 </p></td></tr><tr><td style="width: 176px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">n</span></p></td><td style="width: 437px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">다음 name으로 이동</p></td></tr><tr><td style="width: 176px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">N</span></p></td><td style="width: 437px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">n과 같으며 역방향으로 이동 </p></td></tr></tbody></table><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(126, 65, 217); font-size: 11pt;"><b>7. 문자열 대체</b></span></p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><table width="614" class="txc-table __se_tbl_ext" style="font-variant-numeric: normal; font-size: 12px; line-height: 26px; font-family: 돋움; border: currentcolor; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; background-color: rgb(255, 255, 255);" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="border: 1px solid rgb(204, 204, 204); border-image: none; width: 176px; height: 24px; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>명령어 </b></p></td><td style="width: 437px; height: 24px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>동작 </b></p></td></tr><tr><td style="width: 176px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:s/str/rep</p></td><td style="width: 437px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">현재 행의 str을 rep로 대체</p></td></tr><tr><td style="width: 176px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:l,.s/str/rep/ </p></td><td style="width: 437px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">1부터 현재 행의 str을 rep로 대체 </p></td></tr><tr><td style="width: 176px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:%s/str/rep/g </p></td><td style="width: 437px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">파일 전체 str을 rep로 전부 대체 </p></td></tr><tr><td style="width: 176px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:.$/aaa/bbb</p></td><td style="width: 437px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">커서의 위치로부터 파일의 끝까지 있는 모든 aaa를 bbb로 대체 </p></td></tr></tbody></table><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(126, 65, 217); font-size: 11pt;"><b>8. 파일 저장 및 불러오기</b></span></p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><table width="614" class="txc-table __se_tbl_ext" style="font-variant-numeric: normal; font-size: 12px; line-height: 26px; font-family: 돋움; border: currentcolor; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; background-color: rgb(255, 255, 255);" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="border: 1px solid rgb(204, 204, 204); border-image: none; width: 178px; height: 24px; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>명령어 </b></p></td><td style="width: 435px; height: 24px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>동작 </b></p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">:w</span><span style="color: rgb(47, 157, 39);"> </span></p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">지정된 파일에 저장 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(47, 157, 39);">:wq</span>, :x, ZZ </p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">지정된 파일에 저장하고 vi를 종료 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:w php.ini </p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">php.ini 파일에 저장 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> <span style="color: rgb(47, 157, 39);">:q</span></p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">저장하지 않고 종료 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:q!</p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">저장하지 않고 강제 종료 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:wq php.ini </p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">php.ini에 저장하고 vi를 종료 </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:r php.ini </p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">php.ini의 내용을 현재 커서가 있는데로 불러온다. </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:e php.ini </p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">현재의 화면을 지우고 새로운 파일 php.ini를 불러온다. </p></td></tr><tr><td style="width: 178px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:5,10 w php.ini </p></td><td style="width: 435px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">5~10 줄까지의 내용을 php.ini에 저장</p></td></tr></tbody></table><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><span style="color: rgb(126, 65, 217); font-size: 11pt;"><b>9. 기타</b></span></p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><p style="font-variant-numeric: normal; font-size: 13px; line-height: 26px; font-family: NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> </p><table width="614" class="txc-table __se_tbl_ext" style="font-variant-numeric: normal; font-size: 12px; line-height: 26px; font-family: 돋움; border: currentcolor; text-align: justify; color: rgb(85, 85, 85); font-stretch: normal; background-color: rgb(255, 255, 255);" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="border: 1px solid rgb(204, 204, 204); border-image: none; width: 177px; height: 24px; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>명령어 </b></p></td><td style="width: 436px; height: 24px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: rgb(217, 229, 255);"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"><b>동작 </b></p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:set nu</p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">행 번호 보여주기 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">:set nonu </p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">행 번호 보여주기 취소 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> .</p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">바로 전에 실행한 명령어 재 실행 </p></td></tr><tr><td style="width: 177px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;"> Ctrl + l</p></td><td style="width: 436px; height: 24px; border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;" rowspan="1"><p style="text-align: center; padding-top: 0px !important; padding-bottom: 0px !important; margin-bottom: 0px !important;">불필요한 화면 정리후 다시 표시 </p></td></tr></tbody></table><p><div class="autosourcing-stub-extra"></div><p></p></p><p style="font: 13px/26px NanumGothic, 나눔고딕, "Malgun Gothic", "맑은 고딕", 돋움, Dotum; text-align: justify; color: rgb(85, 85, 85); text-transform: none; text-indent: 0px; letter-spacing: normal; padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0px !important; margin-bottom: 0px !important; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"> </p>
리얼포스 106구매
http://www.webprogramer.kr/blog/P000000165/post.do
<p>아이락스 쓰다가 2년전쯤 부터는 기계식 키보드를 사용 하고 있다 평소에 리얼포스 써보고 </p><p>싶었는데..<br><br>결혼 기념일 선물로 와이프가 선물 해줬다<br><br>가격이좀 부담스럽긴한데 소음도 적고 손에 피로도 덜한것같다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959976350708257.jpg" data-filename="1470959976350708257.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095997996298536.jpg" data-filename="147095997996298536.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959982865884197.jpg" data-filename="1470959982865884197.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959986308696257.jpg" data-filename="1470959986308696257.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959989550344310.jpg" data-filename="1470959989550344310.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959992626328226.jpg" data-filename="1470959992626328226.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959995608154780.jpg" data-filename="1470959995608154780.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959998804803255.jpg" data-filename="1470959998804803255.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147096000874137557.jpg" data-filename="147096000874137557.jpg" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div>
가을 마곡사
http://www.webprogramer.kr/blog/P000000164/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959816413172570.jpg" data-filename="1470959816413172570.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959820931280888.jpg" data-filename="1470959820931280888.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095983269495861.jpg" data-filename="147095983269495861.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959836339697422.jpg" data-filename="1470959836339697422.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959853268232660.jpg" data-filename="1470959853268232660.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959858546547775.jpg" data-filename="1470959858546547775.jpg" style="width: 100%;"><br></p>
아이폰6 128g 직구 개봉기 일본에서 도착
http://www.webprogramer.kr/blog/P000000163/post.do
<p><div class="autosourcing-stub-extra"></div></p><p>드디어 기다리던 택배가 16일 일본에서 도착했네요.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959678189109066.jpg" data-filename="1470959678189109066.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959681627195320.jpg" data-filename="1470959681627195320.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959684925401343.jpg" data-filename="1470959684925401343.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959687969768001.jpg" data-filename="1470959687969768001.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959690982638162.jpg" data-filename="1470959690982638162.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959694007616481.jpg" data-filename="1470959694007616481.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959696481382438.jpg" data-filename="1470959696481382438.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959699738180348.jpg" data-filename="1470959699738180348.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959702667870373.jpg" data-filename="1470959702667870373.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959705579225111.jpg" data-filename="1470959705579225111.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959708595537350.jpg" data-filename="1470959708595537350.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959711601504362.jpg" data-filename="1470959711601504362.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959714125693357.jpg" data-filename="1470959714125693357.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095971757334599.jpg" data-filename="147095971757334599.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959720437799033.jpg" data-filename="1470959720437799033.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959723181602247.jpg" data-filename="1470959723181602247.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959725569884597.jpg" data-filename="1470959725569884597.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959728066144655.jpg" data-filename="1470959728066144655.jpg" style="width: 100%;"><br></p>
아이폰6 케이스 엘라고 도착
http://www.webprogramer.kr/blog/P000000162/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959478754209397.jpg" data-filename="1470959478754209397.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959482921162238.jpg" data-filename="1470959482921162238.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959486915987568.jpg" data-filename="1470959486915987568.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959490282154700.jpg" data-filename="1470959490282154700.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095949470655129.jpg" data-filename="147095949470655129.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959498471756480.jpg" data-filename="1470959498471756480.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959501600151503.jpg" data-filename="1470959501600151503.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959504664975245.jpg" data-filename="1470959504664975245.jpg" style="width: 100%;"></p><p><br></p>
아이폰6 케이스 엘라고 구매
http://www.webprogramer.kr/blog/P000000161/post.do
<p><br></p><p>아이폰6 케이스 구매 색상은 진 인디고로 구매</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>얋고 예쁜 케이스도 많지만 튼튼해보여서 구매함</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959331122220145.jpg" data-filename="1470959331122220145.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470959331196159637.jpg" data-filename="1470959331196159637.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470959331126473264.jpg" data-filename="1470959331126473264.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470959331134195444.jpg" data-filename="1470959331134195444.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/147095933114145486.jpg" data-filename="147095933114145486.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470959331124865553.jpg" data-filename="1470959331124865553.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/147095933115486115.jpg" data-filename="147095933115486115.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470959331201848191.jpg" data-filename="1470959331201848191.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470959331213669193.jpg" data-filename="1470959331213669193.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470959331216489118.jpg" data-filename="1470959331216489118.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470959331206184681.jpg" data-filename="1470959331206184681.jpg" style="width: 100%;"></p><p><br></p><p>색상은 이걸루</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095937053556569.jpg" data-filename="147095937053556569.jpg" style="width: 100%;"><br></p>
관저동 미스터 탄둘
http://www.webprogramer.kr/blog/P000000158/post.do
<p>관저동에 미스터 탄둘 꼬치에 끼워서 화덕에 에서 익혀서 나온다. 기름기가 많이 없구<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>괜찮음</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095861706948441.jpg" data-filename="147095861706948441.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470958617082149992.jpg" data-filename="1470958617082149992.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958617084863043.jpg" data-filename="1470958617084863043.jpg" style="width: 100%;"></p><p><br></p>
애플스토어 아이폰6 구매
http://www.webprogramer.kr/blog/P000000160/post.do
<p>아이폰 5 16G 2년 다됬다. 용량이 너무 모자라던중 고민 고민 끝에 일본직구 하기로 결정!!<span style="line-height: 1;"> </span></p><p>아이폰 6 128G SIM FREE 실버 제품으로 구매했다.<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>직접 구매하는게 더 싸다 구매대행 하면 더 비쌈.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959147878111510.png" data-filename="1470959147878111510.png" style="width: 100%;"></p><p><br></p><p>오늘 배송지로 배송했다고 메일이 왔다. 생각보다 빠르게 배송을 한다.</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>기다려진다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470959152121363952.png" data-filename="1470959152121363952.png" style="width: 100%;"></p><p><br></p>
와이프 한테 선물받음. 10년정도 사용한 필립스 전기면도기 업그레이드
http://www.webprogramer.kr/blog/P000000159/post.do
<p><br></p><p align="left">기존 전기면도기를 10년 정도 쓰니 약도 빨리 닳고 면도도 잘안되서 고민하던중 와이프가 선물</p><p align="left"><span style="line-height: 1;">해줘서 한개 장만했다. 또 필립스 제품으로 RQ1284CC로 최근에 나온 9xxx시리즈 고민했는</span></p><p align="left">데 같은 가격대에 9xxx시리즈는 보급형인거 같고 9xxx시리즈 고급형은 50~60만원가격대라 </p><p align="left">부담스럼고 그래서 이전모델 고급형이였던 RQ1284CC로 선택.</p><p align="left"><span style="line-height: 1;"> </span><br></p><p align="left">퇴근후 집에 와보니 택배가 왔다. </p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p align="left" style="text-align: left;">10년정도 썻지만 필립스가 네덜란드 회사 인지 처음 알았다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958768972666591.jpg" data-filename="1470958768972666591.jpg" style="width: 100%;"></p><p><br></p><p>뭔가 좋아보이는 케이스 <br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095877313527190.jpg" data-filename="147095877313527190.jpg" style="width: 100%;"></p><p><br></p><p>구성품<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958776889396462.jpg" data-filename="1470958776889396462.jpg" style="width: 100%;"></p><p><br></p><p align="left">충전기 연결하니 0 1시간안에 완충 되었다. </p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p align="left" style="text-align: left;">면도 할때 숫자로 시간이 표시되서 너무 좋다. </p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958782361645429.jpg" data-filename="1470958782361645429.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958785251536826.jpg" data-filename="1470958785251536826.jpg" style="width: 100%;"></p><p><br></p><p>세정액<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958788017645149.jpg" data-filename="1470958788017645149.jpg" style="width: 100%;"></p><p><br></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p align="left" style="text-align: left;">세정기 액체넣구 스위치 키면 알아서 세정된다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958791803354318.jpg" data-filename="1470958791803354318.jpg" style="width: 100%;"></p><p><br></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p align="left" style="text-align: left;">면도기 상세모습 열굴에 대어보니 예전 면도기보다 느낌이 좋다. 얼굴 각도에 따라서 날이 유연하게 움직인다</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958795071468953.jpg" data-filename="1470958795071468953.jpg" style="width: 100%;"></p><p><br></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p align="left" style="text-align: left;">가볍고 손에 착붙는 그립감</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958798047566634.jpg" data-filename="1470958798047566634.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958800809628162.jpg" data-filename="1470958800809628162.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958804259195588.jpg" data-filename="1470958804259195588.jpg" style="width: 100%;"></p><p><br></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p align="left" style="text-align: left;">10년 정도 사용한 필립스 면도기 버릴려고 하니 왠지 아깝다. 그동안 잘사용했다. 4~5만원주구 샀던기억이 있는데 참 오래썻다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958807266730937.jpg" data-filename="1470958807266730937.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958810193101041.jpg" data-filename="1470958810193101041.jpg" style="width: 100%;"></p><p><br></p><p>충전중<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958813711342062.jpg" data-filename="1470958813711342062.jpg" style="width: 100%;"></p><p><br></p><p>면도날을 펼친모습<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095881693217537.jpg" data-filename="147095881693217537.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958820135440412.jpg" data-filename="1470958820135440412.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958823266971054.jpg" data-filename="1470958823266971054.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958826725188318.jpg" data-filename="1470958826725188318.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095883009928816.jpg" data-filename="147095883009928816.jpg" style="width: 100%;"></p><p>오래 오래 써야 겠다.<br></p><p><br></p>
다음프로젝트 가기전 마우스 구매 로지텍 G1
http://www.webprogramer.kr/blog/P000000157/post.do
<p><br></p><p>기존에 쓰던 아이락스 마우스가 자꾸 더블클릭되서 한개 장만함.</p><p>왜이렇게 택배를 기다렸는지 ㅡㅡ; </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>로지텍 G1괜찮은거 같음.</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470958542345700929.jpg" data-filename="1470958542345700929.jpg" style="width: 100%;"> </p>
이탈리아자유여행 - 베니스
http://www.webprogramer.kr/blog/P000000156/post.do
<p><br></p><p>베니스 역앞<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957677512603517.jpg" data-filename="1470957677512603517.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957681598941956.jpg" data-filename="1470957681598941956.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>리알토다리<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957684679495252.jpg" data-filename="1470957684679495252.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>베니스는 물의도시이기때문에</p><p>수상버스나 수상택시를 이용하여 이동한다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957687747683803.jpg" data-filename="1470957687747683803.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>산마르코광장<br><img src="http://www.webprogramer.kr/upload/blog/editor/1470957703022917736.jpg" data-filename="1470957703022917736.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957708877767066.jpg" data-filename="1470957708877767066.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>부라노섬<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957712501762229.jpg" data-filename="1470957712501762229.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957716433308676.jpg" data-filename="1470957716433308676.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095771949044972.jpg" data-filename="147095771949044972.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957722868486556.jpg" data-filename="1470957722868486556.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957727096428165.jpg" data-filename="1470957727096428165.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957730262374422.jpg" data-filename="1470957730262374422.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095774438744300.jpg" data-filename="147095774438744300.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957748503648758.jpg" data-filename="1470957748503648758.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>아침에 진한 커피를 마셨던곳.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957752299318086.jpg" data-filename="1470957752299318086.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957755855509512.jpg" data-filename="1470957755855509512.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957761925463808.jpg" data-filename="1470957761925463808.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957765006709981.jpg" data-filename="1470957765006709981.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>처음 여행을 생각했을때는 돈이 많이 들어서 여행에 대해 고민을 많이 했었다.</p><p>여행을 다녀온 후 돈이 전혀 아깝지 않았다.</p><p>여행지가 생각이 나고 여행지에서 찍은 사진을 보면 그때가 생각이 난다.<br></p><p>시간이 지난 후에도 와이프와 내기억속엔 좋은 기억으로 남아 있다.</p><p><br></p>
이탈리아자유여행 - 피렌체
http://www.webprogramer.kr/blog/P000000155/post.do
<p><br></p><p>두오모성당<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957344598426582.jpg" data-filename="1470957344598426582.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>종탑<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957349866674893.jpg" data-filename="1470957349866674893.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957353045529670.jpg" data-filename="1470957353045529670.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095735675240618.jpg" data-filename="147095735675240618.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957359899204682.jpg" data-filename="1470957359899204682.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957363770330688.jpg" data-filename="1470957363770330688.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>단테생가<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957367107598367.jpg" data-filename="1470957367107598367.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>베키오다리<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957370991278476.jpg" data-filename="1470957370991278476.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095737468557775.jpg" data-filename="147095737468557775.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>미켈란젤로언덕<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957378359897595.jpg" data-filename="1470957378359897595.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957381837597099.jpg" data-filename="1470957381837597099.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957385141285110.jpg" data-filename="1470957385141285110.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957388690995766.jpg" data-filename="1470957388690995766.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957391794790652.jpg" data-filename="1470957391794790652.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957395171837555.jpg" data-filename="1470957395171837555.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957398651616070.jpg" data-filename="1470957398651616070.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957401824302849.jpg" data-filename="1470957401824302849.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957405123601492.jpg" data-filename="1470957405123601492.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957409073564628.jpg" data-filename="1470957409073564628.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957412229601436.jpg" data-filename="1470957412229601436.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147095741528227035.jpg" data-filename="147095741528227035.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470957418488374077.jpg" data-filename="1470957418488374077.jpg" style="width: 100%;" class="img-thumbnail"><br></p>
이탈리아자유여행 - 로마
http://www.webprogramer.kr/blog/P000000153/post.do
<p>콜로세움<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906398327852209.jpg" data-filename="1470906398327852209.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906404487942278.jpg" data-filename="1470906404487942278.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906408186702078.jpg" data-filename="1470906408186702078.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>판테온<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906412152860522.jpg" data-filename="1470906412152860522.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>트레비분수<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906416276625459.jpg" data-filename="1470906416276625459.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>트레비 분수 동영상</p>
<iframe width="544" height="306" src="http://serviceapi.nmv.naver.com/flash/convertIframeTag.nhn?vid=4432AB4EBBF5F122632B06545960C9BEE0C9&outKey=V1244b60891fdef75a8c69b4ae236e28da6e2eb184f41870d52f09b4ae236e28da6e2" frameborder="no" scrolling="no"></iframe>
<p><br></p><p>스페인광장<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147090641979242141.jpg" data-filename="147090641979242141.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>폼페이<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906423037232417.jpg" data-filename="1470906423037232417.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906426337404023.jpg" data-filename="1470906426337404023.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906429560132921.jpg" data-filename="1470906429560132921.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>이탈리아 남부 지중해<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906432552615176.jpg" data-filename="1470906432552615176.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>죽기전에 가봐야 할곳 이라는 이탈리아 남부 포지타노</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906435902369691.jpg" data-filename="1470906435902369691.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906438860875774.jpg" data-filename="1470906438860875774.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906442525154117.jpg" data-filename="1470906442525154117.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>라오콘상</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906448861450120.jpg" data-filename="1470906448861450120.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906452704639474.jpg" data-filename="1470906452704639474.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p>피에타</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906456033207724.jpg" data-filename="1470906456033207724.jpg" style="width: 100%;" class="img-thumbnail"></p><p><br></p><p><br></p>
html 비디오 태그 관련 익스/파폭/크롬
http://www.webprogramer.kr/blog/P000000152/post.do
<p><strong><span style="color: rgb(255, 0, 0);">익스</span></strong></p><p><!--[if ie]><br> <object width="750" height="560" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" codebase="<a class="con_link" href="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" target="_blank">http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701</a>" standby="Loading Microsoft Windows Media Player components..." type="video/x-ms-wmv"><br> <param name="filename" value="./sms2.wmv" /><br> <param name="Url" value="./sms2.wmv" /><br> <param name="animationatstart" value="1" /><br> <param name="autostart" value="0" /><br> <param name="balance" value="0" /><br> <param name="currentmarker" value="0" /><br> <param name="currentPosition" value="0" /><br> <param name="displaymode" value="4" /><br> <param name="enablecontextmenu" value="0" /><br> <param name="enabled" value="1" /><br> <param name="fullscreen" value="0" /><br> <param name="invokeurls" value="1" /><br> <param name="PlayCount" value="1" /><br> <param name="rate" value="1" /><br> <param name="showcontrols" value="1" /><br> <param name="showstatusbar" value="1" /><br> <param name="stretchtofit" value="1" /><br> <param name="transparentatstart" value="1" /><br> <param name="captioningID" value="captions" /><br> <param name="displaybackcolor" value="0" /><br> </object><br> <![endif]--></p><p> </p><p> <span style="color: rgb(255, 0, 0);"><strong>파폭/크롬</strong></span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p> <!--[if !ie]>--><br> <object type="video/x-ms-wmv" data="./sms2.wmv" width="750" height="560"><br> <param name="movie" value="./sms2.wmv" /><br> </object><br> <!--<![endif]--> </p>
오랜만에 일찍퇴근 6시전에 집에옴
http://www.webprogramer.kr/blog/P000000151/post.do
<p><br></p><p>프로젝트 종료 하루전 일찍 끝났다 ㅎㅎㅎ<br><br>보안 때문에 노트북 포맷 보내고 퇴근</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906188591802966.jpg" data-filename="1470906188591802966.jpg" style="width: 100%;"><br></p>
공감 가는 사진
http://www.webprogramer.kr/blog/P000000150/post.do
<p><div class="autosourcing-stub-extra"></div></p><p>구글 플러스에서 공감가는 내용이라서..</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906097298749059.jpg" data-filename="1470906097298749059.jpg" style="width: 100%;"><br></p>
5월 이탈리아 여행 준비물 구매.
http://www.webprogramer.kr/blog/P000000149/post.do
<p></p><div class="autosourcing-stub-extra"></div><p></p><p>실내화, 멀티콘덴서, 목쿠션, 긴로프형 자물쇠, 짧은로프형 자물쇠, 휴족시간, 크로스백</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470906042257422594.jpg" data-filename="1470906042257422594.jpg" style="width: 100%;" class="img-thumbnail"><br></p>
아반떼MD 소모품 교환주기
http://www.webprogramer.kr/blog/P000000147/post.do
<p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">1. 부동액(냉각수) : 20만 Km(요즘 신차에는 거의 롱라이프 부동액이 들어 있어서 교환이 필요없고 4만 Km마다 점검하여 부동액이 부족하면 롱라이프 부동액을 보충만 해주면 됩니다.)</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">2. 타이밍 벨트 : 20만 Km(아반떼MD는 고무 벨트가 아니라 체인 벨트라서 교환이 필요없습니다.)</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">3. 점화플러그, 점화플러그 배선 : 16만 Km에서 교체(MD는 이리듐플러그이며 정비매뉴얼상의 교체주기임).</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">4. 공조장치 향균필터 : 1만 ~ 1만5천 Km에서 교체(셀프정비 가능)</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">5. 각종 구동벨트 : 8만 ~ 9만 Km</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">6. 미션 오일(자동) : 10~15만 Km 또는 무교환(정비매뉴얼상의 교체주기임)</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">7. 배터리 : 엔진 시동을 걸기 전 차량 전원을 켠 ACC 상태(버튼 시동 차량의 경우에는 브레이크 페달에서 발을 떼고 시동을 켠 상태)에서 볼트 메타(시거잭에 꼽아서 간편하게 확인하는 제품은 2만원에 구입 가능)로 측정시 11.6V 이하로 계속 측정된다면 배터리 수명이 다 된 것으로 보면 됩니다. 보통 배터리 수명은 4만~6만 Km 정도 됩니다.</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">8. 앞바퀴 브레이크 디스크 라이닝패드 : 4만~5만 Km (수명이 다되면 브레이크를 밟을 때마다 끼긱거리는 쇳소리가 납니다)</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">9. 뒷바퀴 브레이크 디스크 라이닝 패드 : 5만~6만 Km</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">10. 브레이크 오일 : 4만 Km에서 교환</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">11. 에어컨 냉매 : 딱히 수명이 정해져 있다기 보다는 에어컨을 틀어도 시원하지 않다면 냉매를 보충해야 합니다.</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">12. 엔진 오일, 오일 필터, 에어크리너 엘리먼트 : 보통의 경우 1만 Km 혹은 1년 중 먼저 충족된 것을 기준으로 교체(엔진 소리가 전보다 시끄러워졌다면 5천~8천 Km 사이로 교체 주기를 앞당겨도 좋음). 5W20은 5W30보다 연비로는 다소 유리하지만 가속이 느리고 엔진소리가 더 시끄러움. 고로 연비운전하는 사람은 5W20, 다이나믹한 운전을 즐기는 사람은 5W30을 추천.</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">13. 연료필터 : 3만 Km에서 점검 후 6만 Km에서 교환</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">14. 연료탱크 에어필터, 연료 호스 : 3만 Km에서 점검</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">15. 와이퍼 블레이드 : 1만 Km 혹은 1년에 한 번 교체하되 닦임 성능에 문제가 없으면 교체를 미뤄도 됨(필요시 유막제거 작업)</span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;"> </span></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 16px; font-family: 돋움, dotum, Helvetica, sans-serif; margin-bottom: 0px; padding: 0px; color: rgb(99, 99, 99); list-style-type: none; font-stretch: normal;"><strong><span style="font-size: 10pt;">16. 타이어 : 3천~5천 Km 혹은 3개월마다 타이어 공기압 보충, 2만 Km마다 타이어 위치 교환 및 휠밸런스(앞바퀴가 뒷바퀴보다 빨리 닮기 때문), 타이어 편마모가 심하다든지 손에서 운전대를 놓았을 때 차가 한쪽으로 쏠린다든지 하면 휠 얼라인먼트 점검, 6만~8만 Km에는 마모상태 확인 후 새 타이어로 교체. 타이어는 생명과 직결된 부분이므로 교체를 미뤄서는 안 됨.</span></strong></p><div class="autosourcing-stub-saved" style="margin: 0px; padding: 0px; font-family: 돋움, dotum, Helvetica, sans-serif; font-size: 12px; list-style-type: none; position: absolute; opacity: 0;"><p style="margin-top: 20px; margin-bottom: 30px; padding: 0px; font-family: dotum; list-style-type: none;"><strong><span style="font-size: 10pt;">[출처]</span> </strong><a class="con_link" href="http://cafe.naver.com/avantemd/425122" target="_blank"><strong><span style="font-size: 10pt;">아반떼MD 소모품 교환주기 </span></strong></a></p><div class="autosourcing-stub-extra"></div><p></p></div><div class="autosourcing-stub-saved" style="margin: 0px; padding: 0px; font-family: 돋움, dotum, Helvetica, sans-serif; font-size: 12px; list-style-type: none; position: absolute; opacity: 0;"><div class="autosourcing-stub-extra"></div><p></p></div>
Oracle LEAST, GREATEST
http://www.webprogramer.kr/blog/P000000148/post.do
<p><strong><span style="font-size: 10pt;"><span style="color: rgb(0, 0, 255);">LEAST </span>: 검색값중 최저값 반환</span></strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong style="line-height: 1;"><span style="font-size: 10pt;"><span style="color: rgb(0, 0, 255);">GREATEST </span>: 검색값중 최대값 반환</span></strong></p><p><strong style="line-height: 1;"><span style="font-size: 10pt;"><br></span></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905968431742657.jpg" data-filename="1470905968431742657.jpg" style="width: 459.598px; height: 352px;"><strong style="line-height: 1;"><span style="font-size: 10pt;"><br></span></strong><br></p>
Hudson을 이용한 빌드 배포 테스트 자동화
http://www.webprogramer.kr/blog/P000000146/post.do
<p><strong><span style="color: rgb(255, 0, 0);">[펌]</span></strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong><span style="color: rgb(255, 0, 0);"><a class="con_link" href="http://bcho.tistory.com/entry/Hudson%EC%9D%84-%EC%9D%B4%EC%9A%A9%ED%95%9C-%EB%B9%8C%EB%93%9C-%EB%B0%B0%ED%8F%AC-%ED%85%8C%EC%8A%A4%ED%8A%B8-%EC%9E%90%EB%8F%99%ED%99%94" target="_blank">http://bcho.tistory.com/entry/Hudson%EC%9D%84-%EC%9D%B4%EC%9A%A9%ED%95%9C-%EB%B9%8C%EB%93%9C-%EB%B0%B0%ED%8F%AC-%ED%85%8C%EC%8A%A4%ED%8A%B8-%EC%9E%90%EB%8F%99%ED%99%94</a></span></strong></p>
군산 은파호수공원, 히로쓰가옥.
http://www.webprogramer.kr/blog/P000000144/post.do
<p>은파 호수공원 </p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905726284957595.jpg" data-filename="1470905726284957595.jpg" style="width: 100%;"></p><p><br></p><p>히로쓰 가옥<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905730400838308.jpg" data-filename="1470905730400838308.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905733371844872.jpg" data-filename="1470905733371844872.jpg" style="width: 100%;"><br></p>
Strng 과 StringBuffer, StringBuilder 차이점
http://www.webprogramer.kr/blog/P000000145/post.do
<p><font color="#555555"><font face="나눔고딕"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 14pt; vertical-align: baseline; background-color: transparent;"><strong>[펌] </strong><a class="con_link" href="http://java.ihoney.pe.kr/75" target="_blank">http://java.ihoney.pe.kr/75</a></span></font></font></p><p><font color="#555555"><font face="나눔고딕"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;"></span></font></font></p><p><font color="#555555"><font face="나눔고딕"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;"><strong>String</strong></span><span style="font-variant-numeric: normal; font-size: 12pt; line-height: 25px; font-family: 나눔고딕, NanumGothic, ngttf, ngeot, "맑은 고딕", "Malgun Gothic", tahoma, dotum, 돋움, 굴림, gulim, verdana, georgia, arial, sans-serif; margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; text-align: justify; vertical-align: baseline; font-stretch: normal;"> 은 Charecter Line을 나타낸다. Character Line 객체는 변형되지 않기 때문에 공통으로 사용할 수 있다.</span></font></font></p><div style="font-variant-numeric: normal; font-size: 13px; line-height: 25px; font-family: 나눔고딕, NanumGothic, ngttf, ngeot, "맑은 고딕", "Malgun Gothic", tahoma, dotum, 돋움, 굴림, gulim, verdana, georgia, arial, sans-serif; margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; text-align: justify; color: rgb(85, 85, 85); vertical-align: baseline; font-stretch: normal;"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">그 값을 바꾸기 위해서는 필요에 따라 대입을 시켜줘야 한다.</span><br style="margin: 0px; padding: 0px;"><div style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><br style="margin: 0px; padding: 0px;"></div><div style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><b style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">StringBuffer</span></b><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">는 Thread를 사용할 수 있는 변형이 가능한 캐릭터라인이다. </span></div><div style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><div style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">예를 들어,</span></div><div style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;"> StringBuffer z = "start";</span></div><div style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">라고 한 경우, </span></div><div style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">z.append("le")라고 하면 z의 내용은 "startle"가 되며, z.insert(4,"le")라고 하면 z의 내용은 starlet가 된다.</span></div><div style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><br style="margin: 0px; padding: 0px;"> </div><div style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;">두 클래스 다 직렬화(Serializable)를 지원하는구나. ㅡㅅ-);;</div><div style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><div style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><hr style="border-color: black; margin: 1em 0px; padding: 0px; height: 1px;"></div><p style="margin-bottom: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(1, 168, 223); vertical-align: baseline;" href="http://hongsgo.egloos.com/2033998" target="_blank"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">참고 : </span></a><a class="con_link" style="margin: 0px; padding: 0px; color: rgb(1, 168, 223); vertical-align: baseline;" href="http://hongsgo.egloos.com/2033998" target="_blank"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">http://hongsgo.egloos.com/2033998</span></a><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;"> 요 글을 보면, String < StringBuffer < StringBuilder 속도 차이가 있다. 흠... String은 적게 쓰는게 좋군요. ㅡㅅ-);;</span> </p><p style="margin-bottom: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><br style="margin: 0px; padding: 0px;"> </p><ul style="margin-right: 0px; margin-left: 0px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; list-style-type: none; background-color: transparent;"><li style="margin: 10px 0px 0px 40px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">String : 변경되지 않는 Character 문자열 객체</span><br style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">문자열이 변경되지 않을 경우에는 String 사용</span><br style="margin: 0px; padding: 0px;"></li><li style="margin: 10px 0px 0px 40px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">StringBuffer : 값이 변경 가능 // 동기화 가능 : 다중 스레드 일 경우에 사용</span><br style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">문자열이 변경되고 다중 스레드에서 사용될 경우 사용</span><br style="margin: 0px; padding: 0px;"></li><li style="margin: 10px 0px 0px 40px; padding: 0px; outline: 0px; border: 0px currentcolor; vertical-align: baseline; background-color: transparent;"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">StringBuilder : 값이 변경 가능 // 동기화 되지 않음 : 단일 스레드일 경우에 사용</span><br style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; outline: 0px; border: 0px currentColor; font-size: 12pt; vertical-align: baseline; background-color: transparent;">문자열이 변경되고, 단일 스레드에서 사용될 경우 사용<div class="autosourcing-stub-extra"></div></span></li></ul></div></div></div>
EditPlus 정규식 변환
http://www.webprogramer.kr/blog/P000000143/post.do
<p><br></p><p><strong><font color="#e31600">Edit Plus를 이용해 문자열을 반복적으로 <a class="con_link" target="_blank">StringBuilder</a>로 감싸야 하는경우.</font></strong></p><p> </p><p>아래와 같이 몇줄 안되면 반복 copy&paste를 이용하지만 </p><div align="left">엄청나게 길거나 반복적으로 많은 작업을 할경우 공수를 줄일 수 있습니다.<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905415143243513.jpg" data-filename="1470905415143243513.jpg" style="width: 100%;"></p><p><br></p><div align="left"><strong><font color="#e31600">Ctrl + H 를 이용해서. 창을 띄읍니다.</font></strong></div><div align="left"><strong><font color="#e31600"></font></strong>찾을말 부분에 <strong>줄의시작 </strong>을 선택합니다.<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905420944763031.jpg" data-filename="1470905420944763031.jpg" style="width: 100%;"></p><p><br></p><p>태그로 시작된 식 선택<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905424978767718.jpg" data-filename="1470905424978767718.jpg" style="width: 100%;"></p><p><br></p><p>모든문자 선택<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905427948194245.jpg" data-filename="1470905427948194245.jpg" style="width: 100%;"></p><p><br></p><p>한번이상 일치 선택<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905431739440084.jpg" data-filename="1470905431739440084.jpg" style="width: 100%;"></p><p><br></p><p>줄의 끝 선택<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905435173108719.jpg" data-filename="1470905435173108719.jpg" style="width: 100%;"></p><p><br></p><p>바꿀말을 입력하고 모두 바꿈을 선택합니다.</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>(<strong><font color="#5c7fb0">찾을 말 에서 태그 () 로 잡은 안의 문자열 들은 \1 '바꿀 말'의 \1로 변환</font></strong>)</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905437948261196.jpg" data-filename="1470905437948261196.jpg" style="width: 100%;"></p><p><br></p><p>결과<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905441171938604.jpg" data-filename="1470905441171938604.jpg" style="width: 100%;"></p><p><br></p><p>정규식 알고 잘만 사용 하면 유용 합니다.</p><p></p><br><p> </p><p><strong><span style="color: rgb(255, 0, 0);">[참고]</span></strong></p><p><strong><span style="color: rgb(255, 0, 0);"></span></strong>-------------------------------------------------------------------------------------------<br>식설명<br><span style="color: rgb(255, 0, 0);"><strong>\t</strong> </span> 탭 문자를 찾습니다.<br><span style="color: rgb(255, 0, 0);"><strong>\n</strong></span> 줄 바꿈 문자를 찾습니다.<br><strong><span style="color: rgb(255, 0, 0);">. </span></strong> 모든 문자를 찾습니다.<br><strong><span style="color: rgb(255, 0, 0);">| </span></strong> 이 기호의 양쪽에 있는 두 글자를 모두 찾습니다. 예를 들어 "a|b"를 지정하면 "a"와 "b"를 모두 찾습니다.<br><span style="color: rgb(255, 0, 0);"><strong>[]</strong></span> 대괄호 범위의 모든 문자를 찾습니다. 예를 들어 "[ab]"를 지정하면 "a"와 "b"를 모두 찾습니다. 또 "[0-9]"를 지정하면 0부터 9까지의 모든 숫자를 찾습니다.<br><strong><span style="color: rgb(255, 0, 0);">[^] </span></strong> 대괄호 범위의 모든 문자를 제외한 문자를 찾습니다. 예를 들어 "[^ab]"를 지정하면 "a" 와 "b"를 제외한 모든 문자를 찾습니다. 그리고 [^0-9]"를 지정하면 숫자가 아닌 모든 문자를 찾습니다.<br><span style="color: rgb(255, 0, 0);"><strong>*</strong></span> 별표 왼쪽에 있는 문자가 0번 또는 그 이상 일치하는 텍스트를 찾습니다. 예를 들어 "be*"를 지정하면 "b"와 "be", "bee"를 찾습니다.<br><span style="color: rgb(255, 0, 0);"><strong>+</strong></span> 플러스 기호 왼쪽에 있는 문자가 1번 또는 그 이상 일치하는 텍스트를 찾습니다. 예를 들어 "be+"를 지정하면 "be" 와 "bee"를 찾지만 "b"는 찾지 않습니다.<br><span style="color: rgb(255, 0, 0);"><strong>? </strong></span> 물음표 왼쪽에 있는 문자가 0번 또는 1번 일치하는 텍스트를 찾습니다. 예를 들어 "be?"를 지정하면 "b" 와 "be"를 찾지만 "bee"는 찾지 않습니다.<br><span style="color: rgb(255, 0, 0);"><strong>^</strong></span> ^기호 오른쪽에 있는 문자가 줄의 처음 글자인 경우를 찾습니다. 예를 들어 "^A"를 지정하면 줄의 처음 글자가 "A"인 경우를 찾습니다.<br><strong><span style="color: rgb(255, 0, 0);">$ </span></strong> $기호 왼쪽에 있는 문자가 줄의 마지막 글자일 경우를 찾습니다. 예를 들어 "e$"를 지정하면 줄의 마지막 글자가 "e"인 경우를 찾습니다.<br><strong><span style="color: rgb(255, 0, 0);">()</span></strong> 식을 해석하는 순서를 바꾸거나 식을 태그로 표시할 때 사용합니다.<br><span style="color: rgb(255, 0, 0);"><strong>\</strong></span> 이스케이프 문자로 쓰입니다. "\" 문자 자체를 검색하려면 "\\"로 나타내어야 합니다.</p><p>태그로 표시된 식은 ()로 둘러 싼 식을 말합니다. 태그로 표시된 식은 \0, \1, \2, \3등과 같은 식을 사용하여 바꿀 말 항목에서 지정할 수 있습니다. \0은 일치된 텍스트 전체를 나타내고 \1은 첫 번째 태그로 표시된 부분을 나타내고 \2는 두 번째, 이런 식으로 지정할 수 있습니다. 다음의 예를 참고하십시오.</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>Original Search Replace Result <br>abc (ab)(c) \0-\1-\2 abc-ab-c <br>abc a(b)(c) \0-\1-\2 abc-b-c <br>abc (a)b(c) \0-\1-\2 abc-a-c</p>
select disabled 처리
http://www.webprogramer.kr/blog/P000000142/post.do
<p>[select box]</p><p> </p><p>$('#selectid').attr('disabled', 'true');</p><p> </p><p>//해제시</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>$('#selectid').attr('disabled', '');</p>
Toad Explain Plan
http://www.webprogramer.kr/blog/P000000141/post.do
<p>Toad Explain Plan 실행 단축키 CTRL + E 로 실행</p><p> </p><p>[펌 내용]</p><p style="font-variant-numeric: normal; font-size: small; line-height: normal; font-family: Verdana, Arial, Gulim; color: rgb(0, 0, 51); margin-top: 4px; margin-bottom: 8px; font-stretch: normal; background-color: rgb(248, 248, 255);">Oracle의 Optimizer는 가장 효율적인 실행계획을 찾기위해 크게 2가지의 접근 방법을 가지고 있다.</p><ul style="font-variant-numeric: normal; font-size: small; line-height: normal; font-family: Verdana, Arial, Gulim; margin-right: 0px; margin-left: 0px; padding: 0px; color: rgb(0, 0, 51); list-style-type: none; font-stretch: normal; background-color: rgb(248, 248, 255);"><li>Rule-Based Optimization(RBO) <ul style="margin-right: 0px; margin-left: 0px; padding: 0px; list-style-type: none;"><li>미리 정해진 규칙에 의한 실행 계획 수립 <ul style="margin-right: 0px; margin-left: 0px; padding: 0px; list-style-type: none;"><li>연산자 우선순위</li><li>접근 경로의 우선 순위</li><li>SQL 문장의 Syntax 규칙(상식에 의거하지만 융통성이 없음)</li></ul></li><li>데이터에 대한 통계 내지 실제 SQL을 수행할 경우에 소요될 비용한 대한 고려를 하지 않음 <ul style="margin-right: 0px; margin-left: 0px; padding: 0px; list-style-type: none;"><li>예) 인덱스가 있다면 무조건 사용 (테이블의 크기, 인텍스의 효율등 무시)</li></ul></li><li>Oracle 버젼 6이하와의 역 호환성을 위해 지원</li></ul><p style="margin-top: 4px; margin-bottom: 8px;"> </p></li><li>Cost-Based Optimization(CBO) <ul style="margin-right: 0px; margin-left: 0px; padding: 0px; list-style-type: none;"><li>실행 비용( Cost)의 예측을 통한 지능적인 실행계획의 수립(Oracle 10 부터는 CBO만 제공된다고 하더군요)</li><li>데이타에 대한 각종 통계 사용</li><li>실제 SQL을 수행할 때 소요될 비용을 예측하고 그 값을 기준으로 실행 계획 결정 <br>(보다 현실적이고 지능적인 판단을 내림) <ul style="margin-right: 0px; margin-left: 0px; padding: 0px; list-style-type: none;"><li>I/O 횟수</li><li>CPU 사용량</li><li>메모리 사용량</li><li>네트워크 전송량</li></ul></li><li>Oracle7에 처음 도입 <ul style="margin-right: 0px; margin-left: 0px; padding: 0px; list-style-type: none;"><li>지속적으로 성능 향상</li><li>일반적으로 RBO 보다 우수</li></ul></li><li></li></ul></li></ul><p> </p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>[테스트]</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905223898747914.jpg" data-filename="1470905223898747914.jpg" style="width: 100%;"></p><p>[참고 내용]</p><p> </p><p><span style="color: rgb(0, 85, 255);">1. 트리를 보면 왼쪽에 숫자가 나온다. 1부터가 실행되는 순서!!</span></p><p>- 플랜은 트리 형태로 되어 있으며, 자신보다 하위 레벨이 있으면 하위 레벨부터, 같은 레벨이라면 상위 로우 소스부터 실행된다.</p><p> </p><p><br><span id="callbacknestjhbenchtistorycom3034998" style="width: 1px; height: 1px; float: right;"></span><span style="color: rgb(0, 85, 255);">2. TABLE ACCESS FULL 는 쿼리상 나오면 안됨(겁나 느림)!!</span></p><p>- 옵티마이저가 통계 정보를 이용해 추정한 값이라고 보면 된다.</p><p> </p><p><span style="color: rgb(255, 0, 0);">Cost</span> - 옵티마이저가 해당 오퍼레이션을 수행하는데 필요하다고 판단한 비용. 측정을 위한 단위가 있는 것은 아니고, 그냥 weight 값 정도로 생각하면 됨. CBO는 여러 가지 실행 계획을 세우고 이에 대한 비용(cost)를 비교한 다음 비용이 가장 적은 실행 계획으로 SQL을 실행함.</p><p> </p><p><span style="color: rgb(255, 0, 0);">Cardinality</span> - 오퍼레이션을 수행할 때 접근하게 될 row 수. 역시 옵티마이저가 추정한 값<br><br><span style="color: rgb(255, 0, 0);">Bytes</span> - 해당 오퍼레이션을 수행할 때 접근하게 될 byte 수. 옵티마이저가 추정한 값 </p><p> </p><p> </p><p><span style="color: rgb(0, 85, 255);">3. 실행계획에서는 옵티마이져가 판단한 값!!</span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>- 실제 oracle의 실행과 다를수도 있으며 정확한것은 Trace를 통해서 확인해야 한다. 단지 이것을 어떻게 쿼리를 풀어나가는지를 확인하는 단계다. </p><p><br></p>
주말에 작업한 블랙박스 2채널 아톰 리얼아이 FH 7000 + 멀티부팅
http://www.webprogramer.kr/blog/P000000139/post.do
<p>블랙박스 오기전 미리 멀티부팅 스위치 작업을 해놓았습니다.</p><p> </p><p>멀티부팅에 사용될 스위치 입니다.</p><p> </p><p>멀티부팅 스위치란?</p><p>일반적으로 블랙박스 상시 전원 연결시 주행, 주차시에도 블랙박스가 작동을 합니다.</p><p>장시간 운전을 안할경우 블랙박스를 꺼놓아야 하고 밧데리가 약할경우 상시는 꺼놓고 주행중에만 녹화 하도록 해야 합니다.겨울철 밧데리가 많이 약하기 때문에 방전위험이 있어서 꺼놓아야 하는경우</p><p>멀티 부팅 스위치를 이용하여 편리 하게 켰다 껏다를 할수 있다. </p><p> </p><p>멀티부팅 스위치 OFF --> 주차시 녹화 안함, 주행시 녹화 함</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>멀티부팅 스위치 ON--> 주차시 녹화 함, 주행시 녹화 함 </p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904552719679355.jpg" data-filename="1470904552719679355.jpg" style="width: 100%;"></p><p><br></p><p>자동차에서 아무 기능이 없는 버튼을 이용했습니다.</p><div align="left">드릴이 없어서 못쓰는 드라이버 달군다음 뚫었네요.</div><div align="left"><div class="autosourcing-stub-extra"><img src="http://www.webprogramer.kr/upload/blog/editor/1470904567046970546.jpg" data-filename="1470904567046970546.jpg" style="width: 100%;"></div><div class="autosourcing-stub-extra"><br></div><div class="autosourcing-stub-extra"><p><br></p><p>따로 구매한 전선을 버튼에 연결한다음 수축 튜브로 감싸주었습니다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904584680748296.jpg" data-filename="1470904584680748296.jpg" style="width: 100%;"></p><p><br></p><p>그위에 다시 전열테이브로 감은다음.</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904591795127547.jpg" data-filename="1470904591795127547.jpg" style="width: 100%;"></p><p><br></p><p>아까 뚫어놓은 버튼에 끼워넣었습니다.</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904595312505140.jpg" data-filename="1470904595312505140.jpg" style="width: 100%;"></p><p><br></p><p>열을 이용한 글루건입니다</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904598260388529.jpg" data-filename="1470904598260388529.jpg" style="width: 100%;"></p><p><br></p><p>끼워진 부위에 글루건으로 고정 하였습니다.</p><div align="left">깔끔하게 하진 못했네요. 고정은 단단히 되었습니다.<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904601823129719.jpg" data-filename="1470904601823129719.jpg" style="width: 100%;"></p><p><br></p><p>완성된 모습니다.<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904605061640499.jpg" data-filename="1470904605061640499.jpg" style="width: 100%;"></p><p><br></p><p>이제 내일올 블랙박스를 위해 필요한 물건들을 정리 해놓았습니다.</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/147090460876474879.jpg" data-filename="147090460876474879.jpg" style="width: 100%;"></p><p><br></p><p>기다리던 택배가 왔습니다.</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>블랙박스 32G+GPS+증정품 3종세트</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904628972120161.jpg" data-filename="1470904628972120161.jpg" style="width: 100%;"></p><p><br></p><p>블랙박스 정면 모습니다.</p><div align="left">생각보다 큽니다.<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904632808846824.jpg" data-filename="1470904632808846824.jpg" style="width: 100%;"></p><p><br></p><p>블랙박스 뒷모습 IPS 4인치 패널 입니다. </p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904636011883492.jpg" data-filename="1470904636011883492.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>우선 선정리와 배전반 작업을위해 옆면을 뜯었습니다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904639711494016.jpg" data-filename="1470904639711494016.jpg" style="width: 100%;"></p><p><br></p><p>작업을 하다 보니 주변이 정리가 안되네요.</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904644190676427.jpg" data-filename="1470904644190676427.jpg" style="width: 100%;"></p><p><br></p><p>멀티부팅 스위치를 장착한 모습니다.</p><div align="left">버튼을 뜯다보니 아래쪽에 살짝 기스가 생겼네요. ㅠ<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904648870654260.jpg" data-filename="1470904648870654260.jpg" style="width: 100%;"></p><p><br></p><p>블랙박스를 장착하기위해 뜯은곳. 나머지 작업은 사진을 찍지 못하였네요.</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904652871608375.jpg" data-filename="1470904652871608375.jpg" style="width: 100%;"></p><p><br></p><p>장착후 불이 들어온 모습니다. </p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904657897498808.jpg" data-filename="1470904657897498808.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904660983439865.jpg" data-filename="1470904660983439865.jpg" style="width: 100%;"></p><p><br></p><p>블랙박스 작동 4인치 IPS 그리고 손쉬운 인터페이스 나름 괜찮은 제품 입니다.</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904663634273178.jpg" data-filename="1470904663634273178.jpg" style="width: 100%;"></p><p><br></p><p>뒷면 카메라 입니다. 선에 맞추어 반듯하게 붙였습니다.</p><div align="left">인터넷 찾아보니 잘못붙여도 테이프 구매한다음 다시 붙여도 된다는걸 확인후 마음편히 붙였습니다<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904667332409990.jpg" data-filename="1470904667332409990.jpg" style="width: 100%;"></p><p><br></p><p>장착 완료후 작동 모습니다.</p><div align="left">시큐리티 LED가 켜질때 찍은 모습 입니다.<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/147090467016320142.jpg" data-filename="147090467016320142.jpg" style="width: 100%;"></p><p><br></p><p>배선도.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904673172314956.jpg" data-filename="1470904673172314956.jpg" style="width: 100%;"></p><p><br></p><p><div class="autosourcing-stub-extra"></div></p><p><div class="autosourcing-stub-extra"></div></p><p>블랙박스 설치와 멀티부팅 스위치 작업을 직접 하고싶어서 한것이지만 작업전에 조금 걱정이 되긴했음. 해보니 할만 함. 인터넷에서 조금만 찾아보면 충분히 작업 가능하고. 공임비들돈으로 스위치랑 GPS를 살수 있어서 좋다.</p><div class="autosourcing-stub-extra"></div></div></div>,
주말 광양 매화축제 다녀옴
http://www.webprogramer.kr/blog/P000000140/post.do
<p><div class="autosourcing-stub-extra"></div></p><p>주말에 광양 청매실 농원 매화축제 다녀왔습니다. 아침일찍(새벽6시) 출발해서 간곳.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905032438580086.jpg" data-filename="1470905032438580086.jpg" style="width: 100%;"></p><p><br></p><p>매화 나무 입니다. <br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147090503943442389.jpg" data-filename="147090503943442389.jpg" style="width: 100%;"></p><p><br></p><p>매화나무 아래에서 신나게 놀고 있는 강아지들</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905042530174236.jpg" data-filename="1470905042530174236.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905051046710648.jpg" data-filename="1470905051046710648.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905055766581525.jpg" data-filename="1470905055766581525.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905059342283724.jpg" data-filename="1470905059342283724.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905066450929329.jpg" data-filename="1470905066450929329.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905072242983556.jpg" data-filename="1470905072242983556.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470905079646923120.jpg" data-filename="1470905079646923120.jpg" style="width: 100%;"></p><p>예전엔 사람들이 많이 없어서 좋았는데. 1년후 다시 가보니 길이 주차장이 되어 있네요. ㅠㅠ</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>제가 돌아올때 들어오는 차 행렬이 고속도로까지 막혀 있었습니다. 내년엔 못갈거 같다.</p>
5월달에 계획중인 이탈리아 여행 루트
http://www.webprogramer.kr/blog/P000000137/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904284545126048.jpg" data-filename="1470904284545126048.jpg" style="width: 100%;" class="img-thumbnail"></p><p align="center" style="text-align: center;">여행루트</p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p align="center" style="text-align: center;">로마 -> 피렌체 -> 베니스</p>
자동차 블랙박스 배선도
http://www.webprogramer.kr/blog/P000000138/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904341094841888.jpg" data-filename="1470904341094841888.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470904345753520395.png" data-filename="1470904345753520395.png" style="width: 100%;"><br></p>
oracle trunc()함수
http://www.webprogramer.kr/blog/P000000136/post.do
<p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;"><b><span style="color: rgb(58, 50, 195); font-size: 11pt;">oracle trunc()함수는 원하는 자리수 까지만 보여주는 함수이다.</span></b></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;"> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;">백문이 불여 일견 아래의 결과를 보자.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;"> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;">--trunc() 원하는 자릿수까지만 보여주고 나머지는 절삭하는 함수</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;">select trunc(12.345,2) from dual</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;"> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;">--소숫점을 지정하지 않으면 정수만 보여준다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;">select trunc(12.345) from dual</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;"> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;">--해당 년도의 맨 앞 날을 가져온다. </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;">select trunc(sysdate,'YEAR') from dual;</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;"> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;">--해당 달의 맨 앞 날을 가져온다</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;">select trunc(sysdate,'MONTH') from dual;</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;"> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;">--해당일의 가장 빠른 시간을 가져온다.</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; margin-bottom: 0px; padding: 0px; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;"><b><span style="color: rgb(255, 170, 0);">select to_char(trunc(sysdate,'DAY'),'yyyymmddhh24miss') from dual;</span></b></p><div style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;"><br></div><div style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;">이는 실행시 아래의 결과를 도출한다.</div><div style="font-variant-numeric: normal; font-size: 12px; line-height: 18px; font-family: 돋움; text-align: justify; color: rgb(95, 94, 66); font-stretch: normal;"><div class="autosourcing-stub-extra"><br></div><div class="autosourcing-stub-extra"><img src="http://www.webprogramer.kr/upload/blog/editor/1470904239873690971.png" data-filename="1470904239873690971.png" style="width: 100%;"><br></div></div>
TO_CHAR 문자 갯수 맞추기.
http://www.webprogramer.kr/blog/P000000134/post.do
<p>모르고 있었던 기능</p><p> </p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>SELECT TO_CHAR('92', '0000000') FROM DUAL</p>
LIKE 기능
http://www.webprogramer.kr/blog/P000000135/post.do
<p><div class="autosourcing-stub-extra"></div></p><p>SELECT DD FROM <br>(<br> SELECT '123456-123456' AS DD FROM DUAL<br> UNION <br> SELECT '224456-123456' AS DD FROM DUAL<br>)<br>WHERE DD LIKE '__3__________' </p>
펌) ORACLE Regular Expression ( 정규식 )
http://www.webprogramer.kr/blog/P000000133/post.do
<p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><b><span style="font-size: 12pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">Regular Expression ( </font></span></b><b><span style="font-family: "새굴림","serif"; font-size: 12pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식</span></b><b><span style="font-size: 12pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> )</font></span></b></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">데이터의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">간단한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">및</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">복잡한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">할</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식은</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">기존의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> LIKE </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">연산의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">한계를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">뛰어</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">넘는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">막강한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">도구이다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">다양한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> Meta Character </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이용하여</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">복잡한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">프로그래밍을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">간단하게</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">해결</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">할</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있으며</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> Data Validation, ETL ( Extract , Transform, Load ), Data Cleansing, Data Mining </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">등의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">작업에서</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">유용하게</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">될</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">제약조건으로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">테이블의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> Data </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">유효성을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검증</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">할</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">때도</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가능하다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">.</font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">Oracle 10g Database </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">부터</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">추가</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">된</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> Function </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이용한다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">.</font></span></font></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="177" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 133pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><b><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Function</font></font></span></b></p></td><td width="403" valign="top" style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 302.1pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><b><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Description</font></font></span></b></p></td></tr><tr><td width="177" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 133pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">REGEXP_LIKE</font></font></span></p></td><td width="403" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 302.1pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">Like </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">연산과</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">유사하며</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="177" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 133pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">REGEXP_REPLACE</font></font></span></p></td><td width="403" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 302.1pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색하여</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">대체</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">변경</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="177" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 133pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">REGEXP_INSTR</font></font></span></p></td><td width="403" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 302.1pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색하여</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">위치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">반환</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="177" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 133pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">REGEXP_SUBSTR</font></font></span></p></td><td width="403" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 302.1pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색하여</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">부분</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">추출</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="177" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 133pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">REGEXP_COUNT ( v11g )</font></font></span></p></td><td width="403" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 302.1pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색하여</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">발견된</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">횟수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">반환</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">LIKE </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">연산에서</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">간단한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴만</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">비교하던</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">것에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">비해</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이용할</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">실습용</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">테이블을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">생성하여</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">결과를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">확인</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">해</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">보자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">.</font></span></font></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial">SQL> @regexp_tab.sql</font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial">SQL> SELECT * FROM t1 ;</font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">EMPNO FNAME LNAME PHONE ADDR</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">---------- ---------- ---------- -------------------- ----------------------------------------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">200 Jennifer Whalen 515.123.4444 2004 Charade Rd</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">201 Michael Hartstein 515.123.5555 147 Spadina Ave</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">114 Den Raphaely 515.127.4561 2004 Charade Rd</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">203 Susan Mavris 515.123.7777 8204 Arthur St</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">137 Renske Ladwig 650.121.1234 2011 Interiors Blvd</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">106 Valli Pataballa 590.423.4560 2014 Jabberwocky Rd</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">204 Stephen Baer 010.45.1343.329ABC Schwanthalerstr. 7031</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">173 Sundita Kumar 011.44.1343.329268 Magdalen Centre, The Oxford Science Park</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">100 Steven King 515.123.4567 2004 Charade Rd</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">109 Daniel Faviet 515.124.4169 2004 Charade Rd</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><font color="#000000"><font face="Arial"><span style="font-size: 9pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;">205 Shelley Higgins 515.123.8080 2004 Charade Rd</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></font></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt;"><font face="Arial">SQL> SELECT fname, lname</font></span></p><p style="margin: 0cm 0cm 0pt; text-indent: 30pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; mso-char-indent-count: 3.0;"><span style="font-size: 10pt;"><font face="Arial">FROM t1</font></span></p><p style="margin: 0cm 0cm 0pt; text-indent: 30pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; mso-char-indent-count: 3.0;"><span style="font-size: 10pt;"><font face="Arial">WHERE REGEXP_LIKE (fname, '^Ste(v|ph)en$') ;</font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">FNAME LNAME</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">---------- ----------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Stephen Baer</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Steven King</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">LIKE </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">연산은</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> '_' ,'%' </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> wildcard </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이용하여</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">비교</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하지만</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식에서는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> Meta Character </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이용한다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">위의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">분석</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하면</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">다음과</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">같다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">.</font></span></font></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">^ : </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">시작</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">부분</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> ( </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">시작이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> Ste </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">인</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">부분</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> )</font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">(v|ph) : </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">리터럴</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> v </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">또는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> ph </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">$ : </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">끝부분</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> ( </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">끝이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> en </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">인</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">부분</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> )<b></b></font></span></font></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">즉</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">, 'Steven' </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">또는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> 'Stephen' </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">할</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있게</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">된다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이렇게</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용하려면</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> Meta Character </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">종류</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">및</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용법을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">확인해야</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">한다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">.</font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><b><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Meta Character </font></font></span></b></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="121" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Meta Character</font></font></span></p></td><td width="460" valign="top" style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Description</font></font></span></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">.</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">지원되는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> Character set </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">에서</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> NULL </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">제외한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">임의의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자와</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">+</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이상</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">발생</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">?</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">0 </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">또는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> 1</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">발생</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">*</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">선행</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하위식의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> 0</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이상</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">발생</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">{m}</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">선행</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">표현식의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정확히</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> m</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">발생</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">{m , }</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">선행</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하위식과</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">최소</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> m</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이상</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">발생</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">{m , n }</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">선행</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하위식의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">최소</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> m</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이상</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">, </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">최대</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> n</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이하</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">발생</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">[ ... ]</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">괄호</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">안의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">리스트에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">임의의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">단일</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자와</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">|</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">여러</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">대안</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">중</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하나와</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> ( OR )</font></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">( . . . )</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">괄호로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">묶인</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">표현식을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">단위로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">취급함</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하위식은</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">리터럴의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열이나</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">연산자를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">포함한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">복잡한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">표현식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가능</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">^</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">시작</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">부분과</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">$</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">끝</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">부분과</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">\</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">표현식에서</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">후속</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">메타</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">리터럴로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">처리</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> (ESCAPE)</font></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">\n</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">괄호</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">안의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">그룹화된</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> n</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번째</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> (1~9) </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">선행</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하위식과</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">괄호는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">표현식이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">기억되도록</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">만들고</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> backreference </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">에서</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">표현식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">참조</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">\d</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">숫자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">[ :class: ]</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">지정된</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> POSIX </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">클래스에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">속한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">임의의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자와</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">[:alpha:] </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">알파벳</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> [:digit:] </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">숫자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">[:lower:] </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">소문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">알파벳</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> [:upper:] </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">대문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">알파벳</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">[:alnum:] </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">알파벳</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">/</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">숫자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> [:space:] </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">공백</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">[:punct:] </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">구두점</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">기호</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> [:cntrl:] </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">컨트롤</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">[:print:] </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">출력</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가능한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr><tr><td width="121" valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: rgb(240, 240, 240) black black; padding: 0cm 5.4pt; width: 90.45pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p align="center" style="margin: 0cm 0cm 0pt; text-align: center;"><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">[^:class:]</font></font></span></p></td><td width="460" valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: rgb(240, 240, 240) black black rgb(240, 240, 240); padding: 0cm 5.4pt; width: 344.65pt; background-color: transparent; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt;"><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">괄호</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">안의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">리스트에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">없는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">임의의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">단일</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자와</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">일치</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이러한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> Meta Character </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이용하여</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">방법을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">확인</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">해</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">보자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><b><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">REGEXP_LIKE </font></font></span></b></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">출처</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> : </font></span></font><a class="con_link" href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/conditions007.htm#SQLRF00501" target="_blank"><span style="font-size: 10pt;"><u><font color="#663300" face="Arial">http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/conditions007.htm#SQLRF00501</font></u></span></a></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">LIKE </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">연산과</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">같이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> WHERE </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">절에서</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용하며</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">대한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">비교할</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">.</font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><!--?xml:namespace prefix = v /--><!-- Removed Tag Filtered (v:shapetype) --><!-- Removed Tag Filtered (v:stroke) --><!-- Removed Tag Filtered (v:formulas) --><!-- Not Allowed Tag Filtered --><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><!-- Not Allowed Tag Filtered --><v:f eqn="sum @0 1 0"></v:f><!-- Not Allowed Tag Filtered --><v:f eqn="sum 0 0 @1"></v:f><!-- Not Allowed Tag Filtered --><v:f eqn="prod @2 1 2"></v:f><!-- Not Allowed Tag Filtered --><v:f eqn="prod @3 21600 pixelWidth"></v:f><!-- Not Allowed Tag Filtered --><v:f eqn="prod @3 21600 pixelHeight"></v:f><!-- Not Allowed Tag Filtered --><v:f eqn="sum @0 0 1"></v:f><!-- Not Allowed Tag Filtered --><v:f eqn="prod @6 1 2"></v:f><!-- Not Allowed Tag Filtered --><v:f eqn="prod @7 21600 pixelWidth"></v:f><!-- Not Allowed Tag Filtered --><v:f eqn="sum @8 21600 0"></v:f><!-- Not Allowed Tag Filtered --><v:f eqn="prod @7 21600 pixelHeight"></v:f><!-- Not Allowed Tag Filtered --><v:f eqn="sum @10 21600 0"></v:f><!-- Removed Tag Filtered (v:path) --><!--?xml:namespace prefix = o /--><!-- Not Allowed Tag Filtered --><o:lock aspectratio="t" v:ext="edit"></o:lock><!-- Removed Tag Filtered (v:shape) --><!-- Removed Tag Filtered (v:imagedata) --><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">SQL> SELECT fname, phone</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">FROM t1</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">WHERE REGEXP_LIKE (phone, '...\...\.....\.......') ;</font></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">FNAME PHONE</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">---------- --------------------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Stephen </font><span style="color: red;">010.45.1343.329ABC</span></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Sundita 011.44.1343.329268</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><font face="Arial"><b><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;">.</span></b><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"> (period) : </span></font><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">임의의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">\. : \ </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">뒤에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">나오는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> . </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">은</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> Meta Character </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">아닌</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">리터럴</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> ( ESCAPE ) </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">즉</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">, ???<b>.</b>??<b>.</b>????<b>.</b>?????? </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴으로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">저장된</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">전화</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번호를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">함</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. ( ? </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">임의의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> )</font></span></font></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">결과</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">중</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> ABC </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">포함</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">된</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">것도</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">함께</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">된다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">임의의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">비교</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하기</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">때문에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">어쩔</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">없는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">상황이다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">다음의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문장을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">보자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">.</font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">SQL> SELECT fname, phone</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">FROM t1 </font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">WHERE REGEXP_LIKE (phone, '[0-9]{3}\.[0-9]{2}\.[0-9]{4}\.[0-9]{6}') ;</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; text-indent: 10pt; -ms-text-justify: inter-ideograph; mso-char-indent-count: 1.0;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">또는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> WHERE REGEXP_LIKE (phone, '\d{3}\.\d{2}\.\d{4}\.\d{6}') ;</font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">FNAME PHONE</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">---------- --------------------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Sundita 011.44.1343.329268</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">[0-9] : </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">숫자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> 0 </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">에서</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> 9 </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사이의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">값</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> (</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">범위</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">지정</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가능</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">)</font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">\d : </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">숫자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">{3} : 3</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">반복</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">각각의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">자리마다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">반복</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">되는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">회수를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">지정할</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있으며</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">원하는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">포함</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">된</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">것을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">찾을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span></font></p><p><span style="font-family: "Arial","sans-serif"; font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-weight: bold; mso-ansi-language: EN-US; mso-fareast-language: KO; mso-bidi-language: AR-SA;"> </span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><b><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">REGEXP_REPLACE </font></font></span></b></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">출처</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> : </font></span></font><a class="con_link" href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions130.htm#SQLRF06302" target="_blank"><span style="font-size: 10pt;"><u><font color="#663300" face="Arial">http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions130.htm#SQLRF06302</font></u></span></a></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><!-- Removed Tag Filtered (v:shape) --><!-- Removed Tag Filtered (v:imagedata) --><u><font color="#663300" face="Arial"></font></u></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">찾아</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">대체</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">변경을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">할</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">SQL> SELECT fname, phone, REGEXP_REPLACE ( phone , '\.' , '-' ) new_format</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">FROM t1 ;</font></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">FNAME PHONE NEW_FORMAT</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">---------- -------------------- --------------------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Jennifer 515.123.4444 515-123-4444</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Michael 515.123.5555 515-123-5555</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Den 515.127.4561 515-127-4561</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">...</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">"." </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">으로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">구분</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">된</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> "-" </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">으로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">변경</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial">SQL> SELECT fname, phone,</font></span></p><p style="margin: 0cm 0cm 0pt; text-indent: 70pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; mso-char-indent-count: 7.0;"><span style="font-size: 10pt;"><font face="Arial">REGEXP_REPLACE (phone, '(\d{3})\.(\d{3})\.(\d{4})','(\1)-\2-\3') new_phone </font></span></p><p style="margin: 0cm 0cm 0pt; text-indent: 30pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; mso-char-indent-count: 3.0;"><span style="font-size: 10pt;"><font face="Arial">FROM t1 ;</font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">FNAME PHONE NEW_PHONE</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">---------- -------------------- --------------------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Jennifer 515.123.4444 (515)-123-4444</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Michael 515.123.5555 (515)-123-5555</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Den 515.127.4561 (515)-127-4561</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Susan 515.123.7777 (515)-123-7777</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">...</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font face="Arial"><span style="font-size: 10pt;">(\d{3})\.(\d{3})\.(\d{4})</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"> : 3 </font></span></font><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">자리로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">표현</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">되는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">전화</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번호</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> ( </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">구분자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> "." </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> )</font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font face="Arial"><span style="font-size: 10pt;">(\1)-\2-\3</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"> : 3</font></span></font><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">개의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">그룹</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">표현하며</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> 1</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">그룹은</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> ( ) </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">감싸고</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">구분자는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> "-" </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: 굴림체; font-size: 10pt;">단순한</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">대체</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">문자열</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">지정에서</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">정규식을</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">이용한</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">복잡한</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">문자열</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">대체까지</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">여러</span><span style="font-size: 10pt;"><font face="Arial"> Meta Character </font></span><span style="font-family: 굴림체; font-size: 10pt;">를</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">활용하여</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">작업</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">할</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">수</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">있다</span><span style="font-size: 10pt;"><font face="Arial">.</font></span></p><p><span style="font-family: Arial, sans-serif; font-size: 10pt;"> </span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><b><span style="font-size: 11pt;"><font face="Arial">REGEXP_INSTR</font></span></b></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: 굴림체; font-size: 10pt;">출처</span><font face="Arial"><span style="font-size: 10pt;"> : </span><a class="con_link" href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions129.htm#SQLRF06300" target="_blank"><span style="font-size: 10pt;"><u><font color="#663300">http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions129.htm#SQLRF06300</font></u></span></a></font></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><!-- Removed Tag Filtered (v:shape) --><!-- Removed Tag Filtered (v:imagedata) --><u><font color="#663300" face="Arial"></font></u></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: 굴림체; font-size: 10pt;">정규식</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">패턴</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">비교를</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">통해</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">위치</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">값을</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">확인</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">한다</span><span style="font-size: 10pt;"><font face="Arial">.</font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial">SQL> SELECT fname, addr, </font></span></p><p style="margin: 0cm 0cm 0pt; text-indent: 70pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; mso-char-indent-count: 7.0;"><span style="font-size: 10pt;"><font face="Arial">REGEXP_INSTR ( addr, '[[:alpha:]]' ) pos ,</font></span></p><p style="margin: 0cm 0cm 0pt; text-indent: 70pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; mso-char-indent-count: 7.0;"><span style="font-size: 10pt;"><font face="Arial">phone,</font></span></p><p style="margin: 0cm 0cm 0pt; text-indent: 70pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; mso-char-indent-count: 7.0;"><span style="font-size: 10pt;"><font face="Arial">REGEXP_INSTR ( phone, '[[:alpha:]]') pos</font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial">FROM t1 ;</font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">FNAME ADDR POS PHONE POS</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">---------- ------------------------- ---------- -------------------- ----------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Jennifer 2004 Charade Rd </font><span style="color: red;">6</span><font color="#000000"> 515.123.4444 0</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Michael 147 Spadina Ave </font><span style="color: red;">5</span><font color="#000000"> 515.123.5555 0</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Stephen Schwanthalerstr. 7031 </font><span style="color: red;">1</span><font color="#000000"> 010.45.1343.329ABC </font><span style="color: red;">16</span></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><font face="Arial"><span style="color: red; font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;">...</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">[ : </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">표현식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">시작</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">[:alpha:] : </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">알파벳</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">] : </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">표현식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">종료</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">지정된</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> Class </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">알파벳을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">찾는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">부분이므로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">첫</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번째</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">알파벳</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">위치를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">한다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p><b><span style="font-family: "Arial","sans-serif"; font-size: 11pt; mso-fareast-font-family: 새굴림; mso-ansi-language: EN-US; mso-fareast-language: KO; mso-bidi-language: AR-SA;"><br clear="all" style="page-break-before: always;"></span></b></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><b><span style="font-size: 11pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">REGEXP_SUBSTR</font></font></span></b></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">출처</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> :</font></span></font><font face="Arial"><font size="2"><font color="#000000"> </font><a class="con_link" href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions131.htm#SQLRF06303" target="_blank"><span style="font-size: 10pt;"><u><font color="#663300">http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions131.htm#SQLRF06303</font></u></span></a></font><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><!-- Removed Tag Filtered (v:shape) --><!-- Removed Tag Filtered (v:imagedata) --><u><font color="#663300" face="Arial"></font></u></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색하여</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">부분</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">추출</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">한다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">.</font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">SQL> SELECT fname, addr, </font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">REGEXP_SUBSTR ( addr, ' [^ ]+ ') road</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">FROM t1 ;</font></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">FNAME ADDR ROAD</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">---------- -------------------- --------------------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Jennifer 2004 Charade Rd Charade</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Michael 147 Spadina Ave Spadina</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Den 2004 Charade Rd Charade</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Susan 8204 Arthur St Arthur</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">...</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 81.5pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial">^ : </font></span><span style="font-family: 굴림체; font-size: 10pt;">부정형</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">의미</span><span style="font-size: 10pt;"><font face="Arial"> ( </font></span><span style="font-family: 굴림체; font-size: 10pt;">빈</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">공백이</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">아닌</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">문자</span><span style="font-size: 10pt;"><font face="Arial"> )</font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 81.5pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial">+ : 1</font></span><span style="font-family: 굴림체; font-size: 10pt;">개</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">이상</span><span style="font-size: 10pt;"><font face="Arial"> </font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial;">□</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">[^</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial;">□</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">]+</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial;">□</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> : </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">빈</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">공백</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">뒤에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">공백이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">아닌</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자가</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하나</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이상</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">존재하고</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">공백이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"></font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">마지막에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">붙어</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">부분</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">추출</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> ( </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial;">□ => 공백 문자 )</span></font></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: 굴림체; font-size: 10pt;">정규식을</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">사용하여</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">두</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">번째</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">문자열</span><span style="font-size: 10pt;"><font face="Arial"> (Road) </font></span><span style="font-family: 굴림체; font-size: 10pt;">추출</span><span style="font-size: 10pt;"><font face="Arial"> </font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 81.5pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial">SQL> SELECT fname, phone,</font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 81.5pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial">REPLACE(REGEXP_SUBSTR(phone,'\<b>.</b>(\d{3})\<b>.</b>'),'.') code</font></span></p><p style="margin: 0cm 0cm 0pt; text-indent: 30pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 81.5pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; mso-char-indent-count: 3.0;"><span style="font-size: 10pt;"><font face="Arial">FROM t1 ;</font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">FNAME PHONE CODE</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">---------- -------------------- ----------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Jennifer 515.123.4444 123</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Michael 515.123.5555 123</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Den 515.127.4561 127</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">...</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">\<b>.</b> : </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">국번</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">앞</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">,</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">뒤로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">나오는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> "<b>.</b>" ( \ => ESCAPE ) </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">(\d{3}) : </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">숫자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> 3</font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">자리</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">REPLACE : </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">양쪽</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">끝의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> '.' </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">없애기</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">위해</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: 굴림체; font-size: 10pt;">지역번호를</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">뺀</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">국번만</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">추출</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">가능</span><span style="font-size: 10pt;"><font face="Arial"> ( </font></span><span style="font-family: 굴림체; font-size: 10pt;">빈</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">공백</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">등으로</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">구분되지</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">않은</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">경우에도</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">가능</span><span style="font-size: 10pt;"><font face="Arial"> ) </font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><b><span style="font-size: 11pt;"><font face="Arial">Oracle Database 11g : New Features </font></span></b></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><b><span style="font-size: 11pt;"><font face="Arial"></font></span></b></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><b><span style="font-size: 11pt;"><font face="Arial">REGEXP_COUNT </font></span></b></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: 굴림체; font-size: 10pt;">출처</span><font face="Arial"><span style="font-size: 10pt;"> : </span><a class="con_link" href="http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/functions145.htm#SQLRF20014" target="_blank"><span style="font-size: 10pt;"><u><font color="#663300">http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/functions145.htm#SQLRF20014</font></u></span></a></font></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><!-- Removed Tag Filtered (v:shape) --><!-- Removed Tag Filtered (v:imagedata) --><u><font color="#663300" face="Arial"></font></u></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-autospace: ideograph-numeric; -ms-text-justify: inter-ideograph; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><font color="#000000"><span style="font-family: 굴림체; font-size: 10pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가능하며</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">정규식</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색하여</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">발견</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">된</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">횟수를</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">계산</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">한다</span><span style="font-size: 10pt;"><font face="Arial">.</font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-autospace: ideograph-numeric; -ms-text-justify: inter-ideograph; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-autospace: ideograph-numeric; -ms-text-justify: inter-ideograph; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial"><font color="#000000">SQL> SELECT fname, addr, </font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-autospace: ideograph-numeric; -ms-text-justify: inter-ideograph; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial"><font color="#000000">REGEXP_COUNT(addr,'a') cnt</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; text-indent: 30pt; -ms-text-autospace: ideograph-numeric; -ms-text-justify: inter-ideograph; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; mso-char-indent-count: 3.0;"><span style="font-size: 10pt;"><font face="Arial"><font color="#000000">FROM t1 ;</font></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">FNAME ADDR CNT</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">---------- -------------------- ----------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Jennifer 2004 Charade Rd 2</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Michael 147 Spadina Ave 2</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Den 2004 Charade Rd 2</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Susan 8204 Arthur St 0</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">'a' </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">발견</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">된</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">횟수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가능</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"></span></font></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial;">※</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">동일한</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">결과는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">다음의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문장으로도</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">해결</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가능</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. ( v10g </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이하</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> )</font></span></font></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">SQL> SELECT fname, addr, </font></font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">LENGTH(addr) - LENGTH(REPLACE(addr, 'a')) cnt</font></font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><font color="#000000"><font face="Arial"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;">FROM t1 ;</span><span style="font-size: 10pt;"></span></font></font></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">FNAME ADDR CNT</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">---------- -------------------- ----------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Jennifer 2004 Charade Rd 2</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Michael 147 Spadina Ave 2</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Den 2004 Charade Rd 2</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Susan 8204 Arthur St 0</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial">ADDR </font></span><span style="font-family: 굴림체; font-size: 10pt;">컬럼에서</span><span style="font-size: 10pt;"><font face="Arial"> a </font></span><span style="font-family: 굴림체; font-size: 10pt;">문자를</span><span style="font-size: 10pt;"><font face="Arial"> null </font></span><span style="font-family: 굴림체; font-size: 10pt;">로</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">대체</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">시키고</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">전체</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">길이에서</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">차감</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">한다</span><span style="font-size: 10pt;"><font face="Arial">. </font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial"></font></span></p><p><span style="font-family: Arial, sans-serif; font-size: 10pt;"> </span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><b><span style="font-size: 12pt;"><font face="Arial">Subexpressions ( </font></span></b><b><span style="font-family: 굴림체; font-size: 12pt;">하위식</span></b><b><span style="font-size: 12pt;"><font face="Arial"> )</font></span></b></p><p style="margin: 0cm 0cm 0pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-pagination: none;"><span style="font-size: 10pt;"><font face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-pagination: none;"><span style="font-family: 굴림체; font-size: 10pt;">하위식은</span><span style="font-size: 10pt;"><font face="Arial"> REGEXP_INSTR, REGEXP_SUBSTR </font></span><span style="font-family: 굴림체; font-size: 10pt;">에서</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">지원되며</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">정규식의</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">검색을</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">진행</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">할</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">때</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">특정</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">문자열을</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">지정할</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">수</span><span style="font-size: 10pt;"><font face="Arial"> </font></span><span style="font-family: 굴림체; font-size: 10pt;">있다</span><span style="font-size: 10pt;"><font face="Arial">. </font></span></p><p style="margin: 0cm 0cm 0pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-pagination: none;"><span style="font-size: 10pt;"><font face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-pagination: none;"><font face="Arial"><span style="font-size: 10pt;">SQL> </span><span style="font-size: 10pt;">SELECT REGEXP_INSTR (</span><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font color="#000000">'0123456789', </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-indent: 150pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-char-indent-count: 15.0; mso-pagination: none;"><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">'(123)(4(56)(78))', 1, 1, 0, 'i', </font><span style="color: red;">2</span> ) "Position"</font></span></p><p style="margin: 0cm 0cm 0pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-pagination: none;"><span style="font-size: 10pt;"><font face="Arial">FROM dual ;</font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Position</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">----------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">5</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">위의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">예제는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> 12345678 </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">패턴을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">비교하면서</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> 45678 </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">시작되는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">위치를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">찾아</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">준다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-pagination: none;"><font face="Arial"><span style="font-size: 10pt;">SQL> </span><span style="font-size: 10pt;">SELECT REGEXP_SUBSTR ('0</span><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font color="#000000">123456789', </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-indent: 160pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-char-indent-count: 16.0; mso-pagination: none;"><font face="Arial"><span style="font-size: 10pt;">'(</span><span style="color: red; font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;">123</span><span style="font-size: 10pt;">)(</span><span style="color: red; font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;">4</span><span style="font-size: 10pt;">(</span><span style="color: red; font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;">56</span><span style="font-size: 10pt;">)(</span><span style="color: red; font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;">78</span><span style="font-size: 10pt;">))', 1, 1, 'i', </span><span style="color: red; font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;">1</span><span style="font-size: 10pt;"> ) "Exp1" ,</span></font></p><p style="margin: 0cm 0cm 0pt; text-indent: 70pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-char-indent-count: 7.0; mso-pagination: none;"><font face="Arial"><span style="font-size: 10pt;">REGEXP_SUBSTR ('0</span><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font color="#000000">123456789', </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-indent: 160pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-char-indent-count: 16.0; mso-pagination: none;"><font face="Arial"><span style="font-size: 10pt;">'(</span><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font color="#000000">123)(</font><span style="color: red;">4</span>(<span style="color: red;">56</span>)(<span style="color: red;">78</span>))', 1, 1, 'i', <span style="color: red;">2</span> ) "Exp2" ,</span></font></p><p style="margin: 0cm 0cm 0pt; text-indent: 70pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-char-indent-count: 7.0; mso-pagination: none;"><font face="Arial"><span style="font-size: 10pt;">REGEXP_SUBSTR ('0</span><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font color="#000000">123456789', </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-indent: 160pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-char-indent-count: 16.0; mso-pagination: none;"><font face="Arial"><span style="font-size: 10pt;">'(</span><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font color="#000000">123)(4(</font><span style="color: red;">56</span>)(78))', 1, 1, 'i', <span style="color: red;">3</span> ) "Exp3" ,</span></font></p><p style="margin: 0cm 0cm 0pt; text-indent: 70pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-char-indent-count: 7.0; mso-pagination: none;"><font face="Arial"><span style="font-size: 10pt;">REGEXP_SUBSTR ('0</span><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font color="#000000">123456789', </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-indent: 160pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-char-indent-count: 16.0; mso-pagination: none;"><font face="Arial"><span style="font-size: 10pt;">'(</span><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font color="#000000">123)(4(56)(</font><span style="color: red;">78</span>))', 1, 1, 'i', <span style="color: red;">4</span> ) "Exp4" </span></font></p><p style="margin: 0cm 0cm 0pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-pagination: none;"><span style="font-size: 10pt;"><font face="Arial">FROM dual ;</font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Exp1 Exp2 Exp3 Exp4</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">----- ----- ----- -----</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">123 45678 56 78</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">12345678 </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">검색하며</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> ( ) </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">순서에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">따라</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하위식</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">순번을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">결정</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">한다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">첫</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번째</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하위식은</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> (123) </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이며</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">두</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번째</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하위식은</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> (45678) </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">된다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">세</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번째</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">, </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">네</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">번째</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하위식은</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">각각</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> (56), (78) </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">해당</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">된다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. REGEXP_INSTR </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">은</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">위치를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">찾을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있으며</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> REGEXP_SUBSTR </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">은</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">그</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">해당</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">되는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">부분을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">추출</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">할</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">.</font></span></font></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p><span style="font-family: "Arial","sans-serif"; font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-weight: bold; mso-ansi-language: EN-US; mso-fareast-language: KO; mso-bidi-language: AR-SA;"> </span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">이런</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하위식은</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">생명</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">과학</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">분야의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> DNA Sequencing </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">에서</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">될</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">.</font></span></font></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-pagination: none;"><font face="Arial"><span style="font-size: 10pt;">SQL> </span><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font color="#000000">SELECT REGEXP_INSTR('ccacctttccctccactcctcacgttctcacctgtaaagcgtccctccctcatccccatgcccccttaccctgcagggtagagtaggctagaaaccagagagctccaagctccatctgtggagaggtgccatccttgggctgcagagagaggagaatttgccccaaagctgcctgcagagcttcaccaccctta</font></span><span style="color: red; font-size: 11pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;">gtctcacaaag</span><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font color="#000000">ccttgagttcatagcatttcttgagttttcaccctgcccagcaggacactgcagcacccaaagggcttcccaggagtagggttgccctcaagaggctcttgggtctgatggccacatcctggaattgttttcaagttgatggtcacagccctgaggcatgtaggggcgtggggatgcgctctgctctgctctcctctcctgaacccctgaaccctctggc</font></span></font></p><p style="margin: 0cm 0cm 0pt; punctuation-wrap: hanging; mso-vertical-align-alt: auto; mso-pagination: none;"><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">taccccagagcacttagagccag', '(</font><span style="color: red;">gtc</span><font color="#000000">(</font><span style="color: red;">tcac</span><font color="#000000">)(</font><span style="color: red;">aaag</span><font color="#000000">))', 1, 1, 0, 'i', </font><span style="color: red;">2</span><font color="#000000">) "Position"</font></font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt; mso-fareast-font-family: 바탕; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">FROM dual;</font></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Position</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">----------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">198</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">단순히</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> tcac </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자만을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">비교</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">것이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">아니며</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">, "gtctcacaaag" </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">함께</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">때</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> tcac </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">위치를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">반환해</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">줄</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">수</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">또는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">앞의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">예문</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">중에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">다음의</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">경우도</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가능</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">.</font></span></font></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 81.5pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial">SQL> SELECT fname, phone,</font></span></p><p style="margin: 0cm 0cm 0pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 81.5pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-size: 10pt;"><font face="Arial">REPLACE(REGEXP_SUBSTR(phone,'\<b>.</b>(\d{3})\<b>.</b>'),'.') code</font></span></p><p style="margin: 0cm 0cm 0pt; text-indent: 30pt; -ms-text-autospace: ideograph-numeric; mso-layout-grid-align: auto; punctuation-wrap: hanging; mso-vertical-align-alt: auto; tab-stops: 45.8pt 81.5pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; mso-char-indent-count: 3.0;"><span style="font-size: 10pt;"><font face="Arial">FROM t1 ;</font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">FNAME PHONE CODE</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">---------- -------------------- ----------</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Jennifer 515.123.4444 123</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Michael 515.123.5555 123</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">Den 515.127.4561 127</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">...</font></font></span></p></td></tr></tbody></table></div><p> </p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><font color="#000000"><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">국번에</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">해당되는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자열을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">추출</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하고</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있으나</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">앞뒤로</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">붙어</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있는</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> "." </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">문자를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">제거</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하기</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">위해</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> REPLACE </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">를</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">함께</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하고</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">있다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">. </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">하위식을</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">사용하면</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">다음과</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">같이</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">실행</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"> </font></span><span style="font-family: "새굴림","serif"; font-size: 10pt; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial;">가능하다</span><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial">.</font></span></font></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000" face="Arial"></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">SQL> SELECT fname, phone, </font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font face="Arial"><font color="#000000">REGEXP_SUBSTR(phone, '(\.)(\d{3})(\.)',1,1,'i',</font><span style="color: red;">2</span><font color="#000000">) code</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">FROM t1 ;</font></font></span></p><div align="left"><!-- Not Allowed Attribute Filtered ( table="") --><table border="1" cellspacing="0" cellpadding="0"><tbody><tr><td width="580" valign="top" style="padding: 0cm 5.4pt; border: 1pt solid black; width: 435.1pt; background-color: transparent; mso-border-alt: solid black .5pt;"> <p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">FNAME PHONE CODE</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">---------- -------------------- -----</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Jennifer 515.123.4444 123</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Michael 515.123.5555 123</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">Den 515.127.4561 127</font></font></span></p><p style="margin: 0cm 0cm 0pt; text-align: justify; -ms-layout-grid-mode: char; -ms-text-justify: inter-ideograph;"><span style="font-size: 10pt; mso-fareast-font-family: 새굴림; mso-bidi-font-family: Arial;"><font color="#000000"><font face="Arial">...</font></font></span></p></td></tr></tbody></table></div><p><div class="autosourcing-stub-extra"></div><p></p></p><p> </p>
JEUS/WEBTOBE 데모 라이센스 발급 및 갱신
http://www.webprogramer.kr/blog/P000000132/post.do
<p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"><strong><span style="font-size: 18pt;">JEUS 데모 라이센스 발급 및 갱신 </span></strong></p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">1. 커멘드창에서 아래명령으로 서버 정보를 획득(운영체제 Window)</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">C:\Users\Administrator>ncpu<br>HOST NAME1: server01</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">HOST NAME2: SERVER01<br>Volume[C:\] type: NTFS<br>Volume[C:\] serial: 265A192B</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">NCPUS: 8<br>IPADDRESS: 192.168.0.10</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">2. 제우스 버전을 알아낸다.</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">C:\Users\Administrator>jeusadmin -fullversion<br><span id="callbacknestseongslandtistorycom2067026" style="width: 1px; height: 1px; float: right;"></span>6.0.0.6-b216</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">3. 테크넷사이트(<a class="con_link" style="color: rgb(76, 73, 63);" href="http://technet.tmax.co.kr/kr/index.do" target="_blank"><font color="#0066cc">http://technet.tmax.co.kr/kr/index.do</font></a>)에 들어가서 데모라이센스 신청을 클릭한다.</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">버전 --> 6.0.0.6-b216이기 때문에(fix#19 over로 체크)</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">호스트 아이디 (265A192B)</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">Email (데모라이센스키를 받을 메일 주소)</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">입력사항을 모두 채워준 다음 Submit 버튼을 누르면 데모라이센스키가 이메일로 발급된다. </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"><br>4. 이메일로 받은 license.dat 파일을 Jeus 설치경로(C:\TmaxSoft\JEUS6.0\license) 에 넣고 license로 이름을 바꿔서 넣고 제우스를 리부팅한다.</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">5. 데모 라이센스 갱신 확인</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">C:\Users\Administrator>jeusadmin -licenseinfo<br>=================== JEUS LICENSE INFORMATION ===================<br>=== EDITION : Enterprise (Demo License)<br>=== DUE-DAY : 2012/11/7<br>=== CPU : unlimited<br>=== HOST-ID : 0x265A192B<br>================================================================</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"><span style="font-size: 18pt;"><strong>Webtob 데모 라이센스 발급 및 갱신 </strong></span></p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">1. 커멘드창에서 아래명령으로 서버 정보를 획득(운영체제 UNIX)</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">rimsweb01:[/]>ncpu<br>HOST NAME: web01<br>HOSTID: D0E70011<br>NCPUS: 8<br>IPADDRESS: 192.168.0.100<br>OPENFILES: 2000/unlimited<br>UNAME: AIX web01 3 5 01C386Q4E10</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">2. 테크넷사이트(<a class="con_link" style="color: rgb(76, 73, 63);" href="http://technet.tmax.co.kr/kr/index.do" target="_blank"><font color="#0066cc">http://technet.tmax.co.kr/kr/index.do</font></a>)에 들어가서 데모라이센스 신청을 클릭한다.</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="text-align: center; line-height: 16px; clear: none; font-family: 돋움, Dotum; font-size: small; float: none; background-color: rgb(208, 202, 180);"><span class="imageblock" style="width: 630px; height: auto; display: inline-block;"><!-- Not Allowed Attribute Filtered ( rel="lightbox" target="_blank") --></span></p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">Host Name : JEUS는 HOSTID를 입력 했지만 Webtob는 HOST NAME 입력</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">입력사항을 모두 채워준 다음 Submit 버튼을 누르면 데모라이센스키가 이메일로 발급된다.</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">3. 이메일로 받은 license.dat 파일을 Webtob 설치경로(C:\TmaxSoft\webtob\license) 에 넣고 컴파일 후 리부팅한다.</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> 컴파일 명령 : wscfl -i http.m</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> Webtob 종료 : wsdown</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> Webtob 시작 : wsboot</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">4. 데모 라이센스 갱신 확인</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">wsadmin 엔터 후 wi 엔터</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> </p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">web01:[/webtob/license]>wsadmin<br>--- Welcome to WebtoB Admin (Type "quit" to leave) ---</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">$$1 web01 (wsadm) [2012/09/07:11:06:32]: wi</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">License: DEMO Enterprise edition<br>Version=WebtoB 4.1 SP 3 Fix #1 AIX_POWER_64 AA9999 A99 2011/01/17</p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);"> expiration date = 2012/10/29<br> maxuser = UNLIMITED,<br> node_count = 1,<br> svgrpcount = 2,<br> svr_count = 2, svc_alloc_count = 512</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p style="line-height: 16px; font-family: 돋움, Dotum; font-size: small; background-color: rgb(208, 202, 180);">WebtoB All Node Info: node_count = 1:<br>--------------------------------------------------------------------------<br> no name nodeport racport shmkey shmsize hth<br>--------------------------------------------------------------------------<br> 0 web01 7777 3333 54000 96944 1</p>
TRIGGER
http://www.webprogramer.kr/blog/P000000131/post.do
<p><a class="con_link" href="http://blog.naver.com/PostView.nhn?blogId=finekiller&logNo=70130220441" target="_blank"></a>참고 </p><p> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><a class="con_link" href="http://blog.naver.com/PostView.nhn?blogId=finekiller&logNo=70130220441" target="_blank">http://blog.naver.com/PostView.nhn?blogId=finekiller&logNo=70130220441</a> </p>
마트에서 할라봉 구입.
http://www.webprogramer.kr/blog/P000000118/post.do
<p>마트에 1개에 1200원에 팔길래 함사봤다.</p><p> </p><p>예전에 한라봉을 맛있게 먹은 기억이 있어서.</p><p> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>달긴 단데. 좀신데.</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902064069573012.jpg" data-filename="1470902064069573012.jpg" style="width: 100%;"><br></p>
국립 중앙 박물관
http://www.webprogramer.kr/blog/P000000119/post.do
<p><br></p><p>아시아 에서 젤큰 박물관이라고 한다.</p><p> </p><p>세계에선 6번째인가 7번째 정도 규모이고 </p><p> </p><p>겉에서 봐도 크다는걸 알수 있다.</p><p> </p><p>일찍 일어나서 기차타구 올라와서 용산 들렀다가 밥먹구</p><p> </p><p>노트북을 매고 다니느라 힘들어서 사진을 찍지 못했다. </p><p> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>시설도 괜찮구 내부는 대리석으로 아주 깔끔했다. 부모와 아이들이 꽤많았다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902224906342833.jpg" data-filename="1470902224906342833.jpg" style="width: 100%;"><br></p>
블루베리 베이글 만들기
http://www.webprogramer.kr/blog/P000000120/post.do
<p><br></p><p></p><p>블루베리를 넣고 반죽</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147090245518258152.jpg" data-filename="147090245518258152.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902461242600769.jpg" data-filename="1470902461242600769.jpg" style="width: 100%;"></p><p><br></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902464513705783.jpg" data-filename="1470902464513705783.jpg" style="width: 100%;"></p><p></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902512063871982.jpg" data-filename="1470902512063871982.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902516229212624.jpg" data-filename="1470902516229212624.jpg" style="width: 100%;"></p><p><br></p><p>적당한 크기로 자르기<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902520536695001.jpg" data-filename="1470902520536695001.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902524924828853.jpg" data-filename="1470902524924828853.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147090252928311738.jpg" data-filename="147090252928311738.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902532718937513.jpg" data-filename="1470902532718937513.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902536000281142.jpg" data-filename="1470902536000281142.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902540851417616.jpg" data-filename="1470902540851417616.jpg" style="width: 100%;"></p><p><br></p><p>이글 모양으로 만든후<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902545134633482.jpg" data-filename="1470902545134633482.jpg" style="width: 100%;"></p><p><br></p><p>오븐에 구워낸 모습입니다.</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902548928763516.jpg" data-filename="1470902548928763516.jpg" style="width: 100%;"></p><p><br></p><p>아메리카노 한잔 내려서 냠냠</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902552240298834.jpg" data-filename="1470902552240298834.jpg" style="width: 100%;"><br></p>
전주 이성당 팥빵
http://www.webprogramer.kr/blog/P000000121/post.do
<p><br></p><p>밖에서 부터 한참을 줄을 서서 기다 렸다.<span style="line-height: 1;"> </span></p><div align="left">장모님, 와이프, 나 빵을 받을차례가 왔다.<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902706048148645.jpg" data-filename="1470902706048148645.jpg" style="width: 100%;"></p><p><br></p><p>드디어 내차례</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902709225862028.jpg" data-filename="1470902709225862028.jpg" style="width: 100%;"></p><p><br></p><p>팥빵이 맛있어보인다. 팥이 엄청 달다.</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902711978344985.jpg" data-filename="1470902711978344985.jpg" style="width: 100%;"></p><p><br></p><p>전주사람은 여기 안간다고 하던데..</p>
예전에 잘썻던 노트북 HP2814tx
http://www.webprogramer.kr/blog/P000000122/post.do
<p><br></p><p>IT 일을 처음 시작해 서울에서 SI 회사 다닐때 구매 했던 노트북.</p><p> </p><p>중간에 GPU가 고장나서 고치긴 했지만 나름 상태가 괜찮았는데.</p><p> </p><p>또 GPU가 고장이 나 버렸다. GPU 고치는 가격이 8~11만원 </p><p> </p><p>고치기도 귀찮구 좀 느린감이 있어서 5만원에 중고로 팔아버렸다.</p><p> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>나름 아껴서 사용 한건데. </p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902826021353019.jpg" data-filename="1470902826021353019.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147090283044751298.jpg" data-filename="147090283044751298.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902833304318470.jpg" data-filename="1470902833304318470.jpg" style="width: 100%;"></p><p><br></p><p><br></p>
작년 가을 집앞
http://www.webprogramer.kr/blog/P000000123/post.do
<p><br></p><p><div class="autosourcing-stub-extra"></div></p><p>집앞에 차도 많이 안다니고 조용하고 살기 괜찮다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902916671873986.jpg" data-filename="1470902916671873986.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/147090291666944545.jpg" data-filename="147090291666944545.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470902916674288443.jpg" data-filename="1470902916674288443.jpg" style="width: 100%;"><br></p>
작년 가을 적상산
http://www.webprogramer.kr/blog/P000000124/post.do
<p><br></p><p><div class="autosourcing-stub-extra"></div></p><p></p><p>차타고 올가는 길에도 단풍이 울긋 불긋 하다. </p><div class="autosourcing-stub-extra"></div><p></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903044050618431.jpg" data-filename="1470903044050618431.jpg" style="line-height: 1; width: 100%;"><br></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903049758290221.jpg" data-filename="1470903049758290221.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903053207676447.jpg" data-filename="1470903053207676447.jpg" style="width: 100%;"></p><p><br></p><p><br></p><p>우동 한그릇 먹고<span style="line-height: 1;"> </span></p><p>전망대에 올라 갔다. </p><div align="left">예전에 살던 마을이 혹시 보일까해서 봤지만 구름이 앞을 가린다.<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903057445369915.jpg" data-filename="1470903057445369915.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903060751941655.jpg" data-filename="1470903060751941655.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903063546902691.jpg" data-filename="1470903063546902691.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903069288316534.jpg" data-filename="1470903069288316534.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903074790512425.jpg" data-filename="1470903074790512425.jpg" style="width: 100%;"></p><p><br></p><p>와이프랑 같이.<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903078416403591.jpg" data-filename="1470903078416403591.jpg" style="width: 100%;"><br></p>
프로젝트 끝날무렵. 옥상에서.
http://www.webprogramer.kr/blog/P000000125/post.do
<p><br></p><p></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>이래 저래 이곳에 참 많이 들락 날락 했던 곳인데.. </p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903226282818009.jpg" data-filename="1470903226282818009.jpg" style="width: 100%;"><br></p>
거제도.
http://www.webprogramer.kr/blog/P000000126/post.do
<p>거제도 파도 소리.<br></p><p><iframe width="544" height="306" src="http://serviceapi.nmv.naver.com/flash/convertIframeTag.nhn?vid=3CBD115BB614C6199C5AF5F22B3FBCE497FA&outKey=V1296d6999e6049d5a643d0e7a1dadf20e9a65295ed3831c6e6ead0e7a1dadf20e9a6" frameborder="no" scrolling="no"></iframe></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903490457415517.jpg" data-filename="1470903490457415517.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903494733294826.jpg" data-filename="1470903494733294826.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903497658796971.jpg" data-filename="1470903497658796971.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903500890269026.jpg" data-filename="1470903500890269026.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903503672788937.jpg" data-filename="1470903503672788937.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147090350652497511.jpg" data-filename="147090350652497511.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903509313965708.jpg" data-filename="1470903509313965708.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903512380963819.jpg" data-filename="1470903512380963819.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903515580361190.jpg" data-filename="1470903515580361190.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903518375995136.jpg" data-filename="1470903518375995136.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903535118891883.jpg" data-filename="1470903535118891883.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903538921956478.jpg" data-filename="1470903538921956478.jpg" style="width: 100%;"><br></p>
현관 꾸미기
http://www.webprogramer.kr/blog/P000000127/post.do
<p><div class="autosourcing-stub-extra"></div></p><p>프로젝트 끝난후 몇일 시간이 남아서.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903598862274457.jpg" data-filename="1470903598862274457.jpg" style="width: 100%;"><br></p>
부소산성, 낙화암.
http://www.webprogramer.kr/blog/P000000128/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903664326271484.jpg" data-filename="1470903664326271484.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147090367046648945.jpg" data-filename="147090367046648945.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903673779176078.jpg" data-filename="1470903673779176078.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903676780644639.jpg" data-filename="1470903676780644639.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903679512556925.jpg" data-filename="1470903679512556925.jpg" style="width: 100%;"></p><p><br></p><p><br></p>
경복궁
http://www.webprogramer.kr/blog/P000000129/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903755905547190.jpg" data-filename="1470903755905547190.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903760619423820.jpg" data-filename="1470903760619423820.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147090376420129905.jpg" data-filename="147090376420129905.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903768311805422.jpg" data-filename="1470903768311805422.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903772402521597.jpg" data-filename="1470903772402521597.jpg" style="width: 100%;"></p><p><br></p><p>경복궁뒷쪽으로 가면 청와대가 나온다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147090377572946926.jpg" data-filename="147090377572946926.jpg" style="width: 100%;"><br></p>
인사동 쌈지길
http://www.webprogramer.kr/blog/P000000130/post.do
<p><br></p><p>삼천동 까페 갔다가. 내려오는길에 우연치 않게 쌈지길에 들렀다.</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>사람이 북적북적 많다. </p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903847967296417.jpg" data-filename="1470903847967296417.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470903851587421289.jpg" data-filename="1470903851587421289.jpg" style="width: 100%;"><br></p>
퇴근후 야채 비빔밥?
http://www.webprogramer.kr/blog/P000000117/post.do
<p><br></p><p>와이프가 야근을 하게되서 집에서 혼자 밥을 먹게됬다.</p><p>무엇을 어떻게 먹지? 하다가 아침에 먹은 주먹밥이 생각나서 만들어 보았다.</p><p> </p><p>야채 비빔밥 재료 준비.</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>비빔야채?, 스위트콘, 마일드 참치</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901675167536479.jpg" data-filename="1470901675167536479.jpg" style="width: 100%;"></p><p><br></p><p>밥을 넣구<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901678679127512.jpg" data-filename="1470901678679127512.jpg" style="width: 100%;"></p><p><br></p><p></p><div align="left">이것이 비빔야채?</div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901681617343927.jpg" data-filename="1470901681617343927.jpg" style="width: 100%;"></p><p><br></p><p>비빔야채를 밥에 넣구<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901685186101295.jpg" data-filename="1470901685186101295.jpg" style="width: 100%;"></p><p><br></p><p>준비해놓은 참치를 넣구<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901688205434777.jpg" data-filename="1470901688205434777.jpg" style="width: 100%;"></p><p><br></p><p>남은 참치는 따로 보관해서 냉장고로</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901691221482857.jpg" data-filename="1470901691221482857.jpg" style="width: 100%;"></p><p><br></p><p>스위트콘을 용기에 담고<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901694342550172.jpg" data-filename="1470901694342550172.jpg" style="width: 100%;"></p><p><br></p><p>스위트콘 먹어보니 캔에 들어있는것 보다 싱싱하다.</p><div class="autosourcing-stub-extra"></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901707223297876.jpg" data-filename="1470901707223297876.jpg" style="width: 100%;"></p><p><br></p><p>스위트콘도 넣고 <br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901711952868841.jpg" data-filename="1470901711952868841.jpg" style="width: 100%;"></p><p><br></p><p>참기름 한방울 넣구<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901715191174118.jpg" data-filename="1470901715191174118.jpg" style="width: 100%;"></p><p><br></p><p>비닐 장갑을 끼구 비빈다.</p><div align="left">음식은 손맛이여.<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901718986402427.jpg" data-filename="1470901718986402427.jpg" style="width: 100%;"></p><p><br></p><p></p><div align="left">비비는중</div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901722106535351.jpg" data-filename="1470901722106535351.jpg" style="width: 100%;"></p><p><br></p><p>다 비볐다. </p><div align="left">고소한 냄새가 솔솔난다.<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901725402308713.jpg" data-filename="1470901725402308713.jpg" style="width: 100%;"></p><p><br></p><p><br style="clear: both;">저녁 식사 준비끝.<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901728249108035.jpg" data-filename="1470901728249108035.jpg" style="width: 100%;"></p><p><br></p><p>으 배부르다 다묵었다.</p><div align="left">나름 라면보다 괜찮다.<div class="autosourcing-stub-extra"></div></div><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470901731625571818.jpg" data-filename="1470901731625571818.jpg" style="width: 100%;"></p><p><br></p><p>참치랑 스위트콘을 너무 많이 넣은거 같다.</p><p><br></p>
노트북 LENOVO E531 6885-1A0 LG IPS 패널 교체 및 CPU 업그레이드.
http://www.webprogramer.kr/blog/P000000116/post.do
<p>레노버 E531 모델 기본 장착되어 있는 패널이 대만산 패널이라 장시간 모니터를 보면 </p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>눈이 좀 피로한 편이라 패널을 교체하기로 하고 용산으로 향했다.</p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470901095488126998.jpg" data-filename="1470901095488126998.jpg"></p><p>용산 가기전.</p><p><br></p><p>전자랜드 notelcd (메티스)라는 매장에서 교체를 하였다. 작업시간은 30분내외 였고.<br></p><p>LG IPS패널로 교체후 시야각 및 선명도가 확실히 좋아져서 너무좋다.<br></p><p>대만산 FHD 1920X1080 에서 LG 필립스 IPS FHD 1920X1080 으로 교체.<p><br><p><br></p><p>기존에 사용하던 CPU도 업그레이드를 하기로 했다.<br></p><p>기존 CPU I5-3230M은팔기로 하고 </p><p>사용시간이 얼마안된 CPU를 중고나라에서 직거래로 구매하기로 하였다 나름 괜찮은 분한테 저렴한 가격에 구입을 하였다.<span style="line-height: 1;"> </span></p><p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>우선 업그레이드를 위해 노트북의 뒷판을 뜯었다.</p><p><div class="autosourcing-stub-extra"></div><p></p><p>이제 쿨러를 제거할차례다</p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470901099572614423.jpg" data-filename="1470901099572614423.jpg"></p><p><div class="autosourcing-stub-extra"></div><p></p><p><br></p><p>쿨러 제거후 모습이다. 쿨러 하나에 그래픽 칩이랑 CPU도 같이 쿨링 하는 구조로 되어 있다.</p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470901104465913091.jpg" data-filename="1470901104465913091.jpg"></p><p><br></p><p><div class="autosourcing-stub-extra"></div><p></p><p>기존 CPU를 빼내고 새로운 CPU I7-3740QM 를 장착하였다. 실제로 보면 코어가 거울처럼 엄청 깨끗하다.</p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470901107964848864.jpg" data-filename="1470901107964848864.jpg"></p><p><br></p><p><div class="autosourcing-stub-extra"></div><p></p><p>기존에 사용하던 CPU와 새로장착한 CPU 모습. 떼어낸 CPU는 구리스가 덕지 덕지 발라져있다.</p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470901111230236836.jpg" data-filename="1470901111230236836.jpg"></p><p><br></p><p><div class="autosourcing-stub-extra"></div><p></p><p>구리스 바르기전 그래픽 코어에 묻어 있던 구리스를 깨끗이 닦아 내구 새로 구매한 대용량 구리스준비 하였다.</p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470901115412737240.jpg" data-filename="1470901115412737240.jpg"></p><p><br></p><p><div class="autosourcing-stub-extra"></div><p></p><p>그래픽 코어와 CPU에 구리스를 듬뿍발라 주었다. 깨끗이 바를수가 없는거 같다.</p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470901135076398486.jpg" data-filename="1470901135076398486.jpg"></p><p><br></p><p><div class="autosourcing-stub-extra"></div><p></p><p>쿨러 조립을 하고 뒷판까지 모두 조립이 끝났다.</p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/147090113919252810.jpg" data-filename="147090113919252810.jpg"></p><p><br></p><p>기존에 사용하던 CPU 구리스를 깨끗이 닦아내니 코어가 아주 깨끗해졌다.</p><p>은박지에 잘싸서 안전하게 뽁뽁이를 위아래로 놓고 프라스틱 상자에 넣어놓았다.</p><p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>곧 중고장터에 올려서 팔을 예정이다.</p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470901143719693170.jpg" data-filename="1470901143719693170.jpg"></p><p><br></p><p><div class="autosourcing-stub-extra"></div><p></p><p>설치완료후 윈도우 CPU-Z화면 I7-3740QM 4코어 8쓰레드</p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470901425098833700.jpg" data-filename="1470901425098833700.jpg"></p><p><br></p><p><div class="autosourcing-stub-extra"></div><p></p><p>작업관리자에서 CPU현황을보니 8개가 나오니 기분이 좋았다.</p><p><img style="width: 100%;" src="http://www.webprogramer.kr/upload/blog/editor/1470901442061462405.jpg" data-filename="1470901442061462405.jpg"><br></p><p></p><p><br></p><p></p><p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>LG IPS패널 과 CPU교체 너무 잘한거 같다.</p><p>앞으로 오래오래 써야겠다.</p>
백야초 효소 얼음 동동
http://www.webprogramer.kr/blog/P000000115/post.do
<p>시원 달달</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470900967333259970.jpg" data-filename="1470900967333259970.jpg" style="width: 100%;"><br></p>
저수지 루어낚시
http://www.webprogramer.kr/blog/P000000114/post.do
<p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470900923853103008.jpg" data-filename="1470900923853103008.jpg" style="width: 100%;"></p><p><br></p><div align="left">고복저수지 루어 낚시<br><br>날씨가 꽤 더웠음</div><div align="left"> </div><div align="left">30분낚시 </div><div align="left"> </div><div align="left">아무것도 못잡음 ㅠ<div class="autosourcing-stub-extra"></div></div><p><br></p>
공주이안숲
http://www.webprogramer.kr/blog/P000000113/post.do
<p align="left"><strong><span style="color: rgb(239, 0, 124);">이안숲속</span></strong></p><p align="left"><strong></strong>무척 더웠음.</p><p align="left"><div class="autosourcing-stub-extra"></div><p></p></p><p align="left" style="text-align: left;">아이들과 같이 오면 좋은곳.</p><p align="left" style="text-align: left;"><br></p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470900830155989339.jpg" data-filename="1470900830155989339.jpg" style="width: 100%;"></p><p align="left" style="text-align: left;"><br></p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470900834896469381.jpg" data-filename="1470900834896469381.jpg" style="width: 100%;"></p><p align="left" style="text-align: left;"><br></p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470900838413784135.jpg" data-filename="1470900838413784135.jpg" style="width: 100%;"></p><p align="left" style="text-align: left;"><br></p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470900841759554639.jpg" data-filename="1470900841759554639.jpg" style="width: 100%;"></p><p align="left" style="text-align: left;"><br></p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470900845173758086.jpg" data-filename="1470900845173758086.jpg" style="width: 100%;"></p><p align="left" style="text-align: left;"><br></p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470900848293471365.jpg" data-filename="1470900848293471365.jpg" style="width: 100%;"></p><p align="left" style="text-align: left;"><br></p><p align="left" style="text-align: left;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470900861236381128.jpg" data-filename="1470900861236381128.jpg" style="width: 100%;"><br></p>
프로젝트 사이트 일정등록 기능 추가(Jquery Ajax 와 JsonView 사용)
http://www.webprogramer.kr/blog/P000000109/post.do
<p>프로젝트 관리용 간만에 업데이트</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899462180490975.png" data-filename="1470899462180490975.png" style="width: 409.818px; height: 294px;"><br></p>
자바 JsonView 사용하기 - 자바객체를 Json으로 변환 하여 리턴
http://www.webprogramer.kr/blog/P000000111/post.do
<p></p><p><strong>MappingJacksonJsonView를 이용하여 자바객체를 json으로 변환 하여 리턴 한다.</strong></p><p> </p><p><span style="color: rgb(239, 0, 124);"><strong>환경</strong> </span></p><p>spring framework3.0</p><p> </p><p><strong><span style="color: rgb(239, 0, 124);">추가해야할 라이브러리</span></strong></p><p><strong>파일다운로드 : </strong><a class="con_link" href="http://wiki.fasterxml.com/JacksonDownload" target="_blank"><span style="color: rgb(0, 0, 0);">http://wiki.fasterxml.com/JacksonDownload</span></a></p><p><strong></strong> </p><p>========================================================================================</p><p>========================================================================================</p><p> </p><p> </p><p> </p><p>---------------- <strong>project-servlet.xml -------------------------------------------</strong></p><p><strong>필요한 부분만 기재함.</strong></p><p><strong></strong> </p><p><strong> <!-- ViewResolver --><br> <bean <="" strong=""></bean></strong></p><p><strong><strong>id="beanNameViewResolver" class="org.springframework.web.servlet.view.BeanNameViewResolver"><br> <span style="color: rgb(239, 0, 124);"><property name="order" value="0"></property></span><br> <br> <br> <bean <="" strong=""></bean></strong></strong></p><p><strong><strong><strong>id="internalResourceViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"><br> <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"></property><br> <property name="prefix" value="/WEB-INF/web/"></property><br> <property name="suffix" value=".jsp"></property><br> <span style="color: rgb(239, 0, 124);"><property name="order" value="1"></property> </span> <br> <br> <br> <!-- Json --><br> <span style="color: rgb(239, 0, 124);"><bean <="" span=""></bean></span></strong> </strong></strong></p><p><strong><strong><strong><span style="color: rgb(239, 0, 124);">id="<span style="color: rgb(0, 0, 255);">jsonView</span>" class="org.springframework.web.servlet.view.json.MappingJacksonJsonView"/></span></strong> </strong></strong></p><p><strong><strong><strong></strong> </strong></strong></p><p><strong><strong>----------------------------------------------------------------------------------------</strong></strong></p><p><strong><strong> </strong></strong></p><p><strong><strong> </strong></strong></p><p><strong><strong> </strong></strong></p><p><strong><strong>========================================================================================</strong></strong></p><p><strong><strong>========================================================================================</strong></strong></p><p><strong><strong> </strong></strong></p><p><strong><strong> </strong></strong></p><p><strong><strong> </strong></strong></p><p><strong><strong> </strong></strong></p><p><strong><strong>---------------- <strong>Test_Controller.java -----------------------------------------</strong></strong></strong></p><p><strong><strong><strong></strong> </strong></strong></p><p><strong><strong><strong> /**<br> * @comment : Json 테스트<br> * @param request<br> * @return<br> * @throws Exception <br> */<br> @RequestMapping("/json.pr") <br> public ModelAndView getJson(HttpServletRequest request) throws Exception{ <br> ModelAndView mv = new ModelAndView(); <br> <br> <span style="color: rgb(239, 0, 124);">List<string> list = new ArrayList<string>();</string></string></span><br><span style="color: rgb(239, 0, 124);"> list.add("객체1");</span><br><span style="color: rgb(239, 0, 124);"> list.add("객체2");</span><br><span style="color: rgb(239, 0, 124);"> list.add("객체3");</span><br><span style="color: rgb(239, 0, 124);"> list.add("객체4");</span><br><span style="color: rgb(239, 0, 124);"> list.add("객체5");</span><br> <br> <span style="color: rgb(239, 0, 124);">Map<string, string=""> map = new HashMap<string, string="">();</string,></string,></span><br><span style="color: rgb(239, 0, 124);"> map.put("num", "10");</span><br><span style="color: rgb(239, 0, 124);"> map.put("name", "hyunjo");</span><br><span style="color: rgb(239, 0, 124);"> map.put("id", "systemddc");</span><br><span style="color: rgb(239, 0, 124);"> map.put("age", "33");</span><br><span style="color: rgb(239, 0, 124);"> map.put("job", "developer");</span><br><span style="color: rgb(239, 0, 124);"> </span><br><span style="color: rgb(239, 0, 124);"> mv.addObject("obj1", list); </span><br><span style="color: rgb(239, 0, 124);"> mv.addObject("obj2", map);</span><br> <br> <span style="color: rgb(0, 0, 255);">mv.setViewName("jsonView");</span><br> return mv;<br> }</strong> </strong></strong></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p><strong><strong>--------------------------------------------------------------------------</strong></strong></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p><strong><strong><span style="line-height: 1;">---------------- </span><strong style="line-height: 1;">jsonTest.jsp -----------------------------------------</strong></strong></strong></p><p><strong><strong><img src="http://www.webprogramer.kr/upload/blog/editor/1470900447955246213.png" data-filename="1470900447955246213.png" style="width: 100%;"><strong style="line-height: 1;"><br></strong></strong></strong></p><p><strong><strong><img src="http://www.webprogramer.kr/upload/blog/editor/1470900462689804020.png" data-filename="1470900462689804020.png" style="width: 100%;"><strong style="line-height: 1;"><br></strong></strong></strong></p><p><strong><strong><strong style="line-height: 1;"><br></strong></strong></strong></p><p><strong><strong><img src="http://www.webprogramer.kr/upload/blog/editor/1470900466685872558.png" data-filename="1470900466685872558.png" style="width: 100%;"><strong style="line-height: 1;"><br></strong><br></strong></strong></p>
Awesome Note - 핸드폰 사고 최초로 유료앱 구매한거
http://www.webprogramer.kr/blog/P000000112/post.do
<p><strong>Awesome Note </strong></p><p><strong>애플 앱스토어 : 3.99$</strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong>구글 드라이브와 동기화 해서 사용중</strong></p><p><strong><br></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470900706032338800.png" data-filename="1470900706032338800.png" style="width: 100%;"><strong><br></strong></p><p><strong><br></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470900709875541144.png" data-filename="1470900709875541144.png" style="width: 100%;"><strong><br></strong></p><p><strong><br></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470900712644958696.png" data-filename="1470900712644958696.png" style="width: 100%;"><strong><br></strong></p><p><strong><br></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470900715759788257.png" data-filename="1470900715759788257.png" style="width: 100%;"><strong><br></strong></p><p><strong><br></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470900719528699126.png" data-filename="1470900719528699126.png" style="width: 100%;"><strong><br></strong></p><p><strong><br></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147090072321133085.png" data-filename="147090072321133085.png" style="width: 100%;"><strong><br></strong></p><p><strong><br></strong></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470900726857870411.png" data-filename="1470900726857870411.png" style="width: 100%;"><strong><br></strong></p>
IOS7 업데이트
http://www.webprogramer.kr/blog/P000000108/post.do
<p><br></p><p>아이폰 대규모 업데이트 </p><p>ios7</p><p>폰이 좀 느려짐.ㅠㅠ</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899344772129107.jpg" data-filename="1470899344772129107.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899349625373618.jpg" data-filename="1470899349625373618.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899353969560814.jpg" data-filename="1470899353969560814.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899357065211081.jpg" data-filename="1470899357065211081.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899360197235901.jpg" data-filename="1470899360197235901.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899363292497756.jpg" data-filename="1470899363292497756.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899367373271279.jpg" data-filename="1470899367373271279.jpg" style="width: 100%;"></p><p><br></p><p>바뀐 UI가 맘에든다</p><p><br>천지인 자판이 되서 편하다</p><div class="autosourcing-stub-extra"></div>,
무주 반딧불 축제
http://www.webprogramer.kr/blog/P000000107/post.do
<p>반딧불은 못보고 옴.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899227894767110.jpg" data-filename="1470899227894767110.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899245389663416.jpg" data-filename="1470899245389663416.jpg" style="width: 100%;"><br></p>
TOMCAT 한글인코딩 페이지 인코딩 설정에 맞게 인코딩 설정
http://www.webprogramer.kr/blog/P000000063/post.do
<p>Tomcat > server.xml 수정</p><p> </p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p><connector connectiontimeout="20000" port="8080" protocol="HTTP/1.1" redirectport="8443" <span="" style="font-weight: bold; color: rgb(255, 0, 0);">URIEncoding="UTF-8" <strong><span style="color: rgb(255, 0, 0); background-color: rgb(255, 255, 255);">useBodyEncodingForURI="true</span></strong><span style="color: rgb(255, 0, 0);">"/</span>> </connector></p>
대천 앞바다
http://www.webprogramer.kr/blog/P000000106/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899177680693558.jpg" data-filename="1470899177680693558.jpg" style="width: 100%;"><br></p>
요즘 하고 있는게임 헬로히어로
http://www.webprogramer.kr/blog/P000000105/post.do
<p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899106323521531.jpg" data-filename="1470899106323521531.jpg" style="width: 461.365px; height: 260px;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899110173786193.jpg" data-filename="1470899110173786193.jpg" style="width: 461.365px; height: 260px;"><br></p>
오송 화장품 뷰티박람회 다녀옴
http://www.webprogramer.kr/blog/P000000104/post.do
<p><br></p><p>한바퀴 구경하구 </p><p>바로옴</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899038616235896.jpg" data-filename="1470899038616235896.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899042155558169.jpg" data-filename="1470899042155558169.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147089904535467567.jpg" data-filename="147089904535467567.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470899050301908925.jpg" data-filename="1470899050301908925.jpg" style="width: 100%;"><br></p>
올만에 짜파게티 뽀그리
http://www.webprogramer.kr/blog/P000000103/post.do
<p><br></p><p>기대하며 먹었지만</p><p>군대에서 먹었던 맛이 나지 않았다.</p><p></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470898887184885218.jpg" data-filename="1470898887184885218.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470898895593169511.jpg" data-filename="1470898895593169511.jpg" style="width: 100%;"><br></p>
동네 저녁마실
http://www.webprogramer.kr/blog/P000000102/post.do
<p><br></p><p>넓고 좋음 </p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470898727616149951.jpg" data-filename="1470898727616149951.jpg" style="width: 100%;"><br></p><p><br></p>
아이폰5 구매
http://www.webprogramer.kr/blog/P000000078/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/147089640282643326.jpg" data-filename="147089640282643326.jpg" style="width: 100%;"><br></p>,
와이프가 해준 맛나는 소세지 볶음
http://www.webprogramer.kr/blog/P000000079/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896465166245510.jpg" data-filename="1470896465166245510.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470896471709734891.jpg" data-filename="1470896471709734891.jpg" style="width: 100%;"><br></p>
엑스포 구내식당
http://www.webprogramer.kr/blog/P000000080/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896511592851214.jpg" data-filename="1470896511592851214.jpg" style="width: 100%;"><br></p>
크리스마스 트리와 음악
http://www.webprogramer.kr/blog/P000000081/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896587014579472.jpg" data-filename="1470896587014579472.jpg" style="width: 50%;"><br></p>,
집에있는 곰인형 데코
http://www.webprogramer.kr/blog/P000000082/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896643709169442.jpg" data-filename="1470896643709169442.jpg" style="width: 100%;"><br></p>
엑스포 남문광장
http://www.webprogramer.kr/blog/P000000083/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896681619610806.jpg" data-filename="1470896681619610806.jpg" style="width: 100%;"><br></p>
고구마 맛탕
http://www.webprogramer.kr/blog/P000000084/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896736705382012.jpg" data-filename="1470896736705382012.jpg" style="width: 100%;"><br></p>
짐챙기기 퇴사
http://www.webprogramer.kr/blog/P000000085/post.do
<p>정확한 날짜는 기억이 안나지만</p><p>2013년 2월쯤이였던것 같다..</p><p>퇴사하기전 짐챙기기.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147089680632142136.jpg" data-filename="147089680632142136.jpg" style="width: 100%;"><br></p>
닭다리 오븐에 굽기
http://www.webprogramer.kr/blog/P000000086/post.do
<p>굽기전</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896873840593078.jpg" data-filename="1470896873840593078.jpg" style="line-height: 1; width: 100%;"><br></p><p><br></p><p>구운후<br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896873841200021.jpg" data-filename="1470896873841200021.jpg" style="line-height: 1; width: 100%;"><br></p><p><br></p><p><br></p>
와이프가 생일선물로 사줌 ssd와 기계식 키보드
http://www.webprogramer.kr/blog/P000000087/post.do
<p>생일선물로 와이프가 ssd와 기계식 키보드를 사줬다.</p><p>우선은 키보드는 저렴한걸루 시작..</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896966112113620.jpg" data-filename="1470896966112113620.jpg" style="width: 100%;"><br></p>
베이글 구운거
http://www.webprogramer.kr/blog/P000000088/post.do
<p>오븐에 구운 베이글</p><p>그럭저럭 괘찮음</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897032395437518.jpg" data-filename="1470897032395437518.jpg" style="width: 100%;"><br></p>
캡슐 머신 지름 네스프레소 C60
http://www.webprogramer.kr/blog/P000000089/post.do
<p>와이프랑 커피를 자주 마시는 관계로</p><p>구매함.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897104035779133.jpg" data-filename="1470897104035779133.jpg" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897108239882004.jpg" data-filename="1470897108239882004.jpg" style="width: 100%;"><br></p>
남쪽 여행갔다가 광양불고기 먹으러.
http://www.webprogramer.kr/blog/P000000090/post.do
<p>남쪽 여행갔다가 광양불고기 먹음.</p><p>맛은 괜찮았음.</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897221512444162.jpg" data-filename="1470897221512444162.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470897225465230618.jpg" data-filename="1470897225465230618.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470897228592209950.jpg" data-filename="1470897228592209950.jpg" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470897232063800937.jpg" data-filename="1470897232063800937.jpg" style="width: 100%;"><br></p>
광양 매화축제
http://www.webprogramer.kr/blog/P000000091/post.do
<p>아침일찍 서둘러서 출발하지 않으면</p><p>주차를 엄청 멀리 해야하는곳</p><p>나중에 또가야지.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897304542912648.jpg" data-filename="1470897304542912648.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897342861958981.jpg" data-filename="1470897342861958981.jpg" style="width: 100%;"><br></p>
강원도 삼양목장
http://www.webprogramer.kr/blog/P000000092/post.do
<p><br></p><p>삼양목장</p><p><br></p><p>확트인 전망과 양들</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897475102204899.jpg" data-filename="1470897475102204899.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897482840207147.jpg" data-filename="1470897482840207147.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897488792263534.jpg" data-filename="1470897488792263534.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897492479924394.jpg" data-filename="1470897492479924394.jpg" style="width: 100%;"></p><p><br></p><p><br></p>
허브랜드
http://www.webprogramer.kr/blog/P000000093/post.do
<p>강원도 왔으면 </p><p><br></p><p>허브랜드 들렀다 가야됨.</p><p><br></p><p>꽃이 너무 예쁨</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897646852862808.jpg" data-filename="1470897646852862808.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897651942381667.jpg" data-filename="1470897651942381667.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897655836397105.jpg" data-filename="1470897655836397105.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897659722373096.jpg" data-filename="1470897659722373096.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897663215775711.jpg" data-filename="1470897663215775711.jpg" style="width: 100%;"></p><p><br></p><p><br></p>
커피머신 캡슐 구매
http://www.webprogramer.kr/blog/P000000094/post.do
<p><br></p><p>캡슐머신 구매 후 </p><p>캡슐이 다떨어져서 직구.</p><p>색깔이 다양하고 맛이 다 틀리다던데.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897774919654209.jpg" data-filename="1470897774919654209.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897778539337663.jpg" data-filename="1470897778539337663.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897781881993711.jpg" data-filename="1470897781881993711.jpg" style="width: 100%;"><br></p>
하루견과 구입
http://www.webprogramer.kr/blog/P000000095/post.do
<p><span style="line-height: 1;">와이프 건강을위해서?</span></p><p>하루견과 구입</p><p>꾸준히 먹는다고는 하지만 다먹을수 있을지...</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897881282741870.jpg" data-filename="1470897881282741870.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897886164985501.jpg" data-filename="1470897886164985501.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897890299607245.jpg" data-filename="1470897890299607245.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897893572544585.jpg" data-filename="1470897893572544585.jpg" style="width: 100%;"></p><p><br></p><p><br><br></p>
장태산 나들이
http://www.webprogramer.kr/blog/P000000096/post.do
<p>사람들이 많지 않고</p><p>조용하니 좋았다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897969946141208.jpg" data-filename="1470897969946141208.jpg" style="line-height: 1; width: 100%;"><br></p><p><br></p><p>장태산 하면 메콰세타이어 나무가 유명</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147089797376710447.jpg" data-filename="147089797376710447.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470897977220136925.jpg" data-filename="1470897977220136925.jpg" style="width: 100%;"><br></p>
송촌동 동춘당
http://www.webprogramer.kr/blog/P000000097/post.do
<p><br></p><p>가족모임있어서</p><p>동춘당에서 닭도리탕 먹구 </p><p>꽃이 예뻐서 찍음.</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147089809374023852.jpg" data-filename="147089809374023852.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470898098423869059.jpg" data-filename="1470898098423869059.jpg" style="width: 100%;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470898103853389113.jpg" data-filename="1470898103853389113.jpg" style="width: 100%;"><br></p>
장모님 철쭉원(양촌철쭉원)
http://www.webprogramer.kr/blog/P000000098/post.do
<p><br></p><p>양촌철쭉원</p><p>날이 따뜻해지고 철쭉에 꽃이 피면 예쁘다.</p><p>구경 오셔도 됩니다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470898195618797146.jpg" data-filename="1470898195618797146.jpg" style="width: 100%;"></p><p><br></p><p>철쭉원 진돗개</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147089820374215358.jpg" data-filename="147089820374215358.jpg" style="width: 100%;"><br></p>
추억이 있는곳 강원도 자연을 닮은집
http://www.webprogramer.kr/blog/P000000099/post.do
<p><br></p><p>추억이 있는곳 강원도 자연을 닮은집</p><p>생각이 안나던 곳인데 강원도 놀러왔다가 어찌저찌</p><p>차를 몰고 그곳을 찾아냄 까먹지 않기 위해 사진으로 남겨놓았다.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/147089830446371938.jpg" data-filename="147089830446371938.jpg" style="width: 100%;"><br></p>
관저동 장마을 닷컴
http://www.webprogramer.kr/blog/P000000100/post.do
<p>저녁먹기 괜찮음.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470898520574405396.jpg" data-filename="1470898520574405396.jpg" style="width: 100%;"></p><p><br></p><p><br></p>
오늘 내 생일 와이프가 깜짝 놀라게 케익을 퀵으로 보냄
http://www.webprogramer.kr/blog/P000000101/post.do
<p><br></p><p>내생일</p><p>생각지도 않았던 케익 배달이.</p><p>이런건 처음 받아봄.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470898655902751252.jpg" data-filename="1470898655902751252.jpg" style="width: 100%;"><br></p>
워드프레스 경험
http://www.webprogramer.kr/blog/P000000077/post.do
<p>워드 프레스 홈페이지를 보고 급 궁금해서 와이프 포트폴리오 사이트를 만들어보았다.</p><p> </p><p>의외로 간단한 설정으로 막강한 효과를 낼수 있어서 신기했다.</p><p> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>반응형 웹테마 사용</p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896176118997339.png" data-filename="1470896176118997339.png" style="width: 396.289px; height: 611px;"></p><p><br></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896196941486622.png" data-filename="1470896196941486622.png" style="width: 399.274px; height: 438px;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896211403252577.png" data-filename="1470896211403252577.png" style="width: 400.645px; height: 270px;"><br></p>
소스 보기 좋게 - google-code-prettify
http://www.webprogramer.kr/blog/P000000076/post.do
<table class="post-top"><tbody><tr><td class="p12" valign="bottom"><p class="post_option"></p><div class="post-sub ptr" id="sendPost_from_service_40188484783" style="display: none;"><p><span class="pcol2" id="sendPost_from_service_H_40188484783"></span></p></div></td></tr></tbody></table><p><!-- 스마트에디터3 타이틀 제거 임시 적용 --> </p><div id="postViewArea"><div class="post-view pcol2 _param(1) _postViewArea40188484783" id="post-view40188484783"><p><span style="font-variant-numeric: normal; font-size: 12px; line-height: 21px; font-family: 나눔고딕, NanumGothic, sans-serif; text-align: justify; color: rgb(82, 88, 92); font-stretch: normal; background-color: rgb(255, 254, 254);">프로젝트 명: </span><a class="con_link" style="font-variant-numeric: normal; font-size: 12px; line-height: 21px; font-family: 나눔고딕, NanumGothic, sans-serif; text-align: justify; color: rgb(0, 102, 204); font-stretch: normal; background-color: rgb(255, 254, 254);" href="http://code.google.com/p/google-code-prettify/" target="_blank">Google-Code-Prettify</a><br style="font-variant-numeric: normal; font-size: 12px; line-height: 21px; font-family: 나눔고딕, NanumGothic, sans-serif; text-align: justify; color: rgb(82, 88, 92); font-stretch: normal; background-color: rgb(255, 254, 254);"><span style="font-variant-numeric: normal; font-size: 12px; line-height: 21px; font-family: 나눔고딕, NanumGothic, sans-serif; text-align: justify; color: rgb(82, 88, 92); font-stretch: normal; background-color: rgb(255, 254, 254);">지원하는 언어 : C, Java, Python, Bash, SQL, HTML, XML, CSS, Javascript, and Makefil</span><span style="font-variant-numeric: normal; font-size: 12px; line-height: 21px; font-family: 나눔고딕, NanumGothic, sans-serif; text-align: justify; color: rgb(82, 88, 92); font-stretch: normal; background-color: rgb(255, 254, 254);">es</span> </p><p> </p><p>다운로드 : <a class="con_link" href="https://code.google.com/p/google-code-prettify/" target="_blank">https://code.google.com/p/google-code-prettify/</a></p><p> </p><p>사용방법</p><p>- 먼저, <a class="con_link" style="color: rgb(0, 102, 204);" href="http://google-code-prettify.googlecode.com/svn/trunk/src/" target="_blank">프로젝트 페이지</a>에서 prettify.js와 prettify.css 소스 파일을 다운로드 받습니다. </p><p>- 다운로드받은 소스를 사용할 페이지에 선언해주구요. </p><p>- 출력할 코드를 <pre></pre> 태그안에 넣습니다. </p><p>- 1에서 선언한 태그의 class를 <font color="#000000"><span style="color: rgb(255, 0, 0); font-weight: bold;">prettyprint</span>로 설정합니다. </font></p><p> 예를 들자면 <pre class="prettyprint"></pre>와 같은 형태로. </p><p>- onload 이벤트에 prettyPrint()를 호출해주면 하이라이팅된 소스를 보실 수가 있습니다.</p><p> </p><p>1. 소스 상단에 선언</p><p><script type="text/javascript"src="/js/prettify.js"/></p><p><link type="text/css" rel="stylesheet" href="/css/prettify.css" media="screen"/></p><p> </p><p>2. onload 추가</p><p><script type="text/javascript"><br> <!-- <br> $(function () { <br> prettyPrint(); <br> });<br> //--><br></script></p><p> </p><p> </p><p>내용</p><p><pre class='prettyprint'></p><p style="margin-left: 40px;">package com.ingweb.test.controller;</p><p style="margin-left: 40px;">import java.util.List;<br>import java.util.Map;</p><p style="margin-left: 40px;">import javax.servlet.http.HttpServletRequest;<br>import org.springframework.beans.factory.annotation.Autowired;<br>import org.springframework.stereotype.Controller;<br>import org.springframework.web.bind.annotation.RequestMapping;<br>import org.springframework.web.servlet.ModelAndView;<br>import com.ingweb.test.service.Test_Service;<br>import com.ingweb.util.MapUtil;<br>import com.ingweb.util.Util;</p><p style="margin-left: 40px;"><br>@Controller<br>@RequestMapping("/test")<br>public class Test_Controller extends Util{<br> <br> @Autowired<br> Test_Service service;<br> <br> @RequestMapping("/test.pr") <br> public ModelAndView getTest(HttpServletRequest request) throws Exception{ <br> Map param = MapUtil.getParameterMap(request);<br> ModelAndView mv = new ModelAndView();<br> <br> String []test = {"1", "2"}; <br> <br> //System.out.println(test[2]);<br> List list = service.getTest(param);<br> mv.addObject("list", list); <br> <br> mv.setViewName("/test/test");<br> return mv;<br> }<br> <br>} </p><p></pre></p><p> </p><p> </p><p>적용화면</p><p> </p><p>소스가 색깔을 입고 보기 좋게 나왔네요.</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470896077099943117.png" data-filename="1470896077099943117.png" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div><p></p></div></div>
파일 업로드시 Tomcat 에러 java.lang.OutOfMemoryError: Java heap space
http://www.webprogramer.kr/blog/P000000075/post.do
<p><span style="font-size: 16px; font-weight: bold;">java.lang.OutOfMemoryError: Java heap space </span> </p><p> </p><p>메모리 부족 에러로 메모리 설정</p><p><span style="font-size: 16px; font-weight: bold;"></span> </p><p><span style="font-size: 16px; font-weight: bold;">Windows 환경에서 </span> </p><p><span style="font-size: 16px; font-weight: bold;">catalina.bat 편집</span> </p><p><span style="font-size: 16px; font-weight: bold;"></span> </p><p><span style="font-size: 16px; font-weight: bold;"><br>set CATALINA_OPTS=-Xms512m -Xmx1024m</span> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><span style="font-size: 16px; font-weight: bold;">set JAVA_OPTS=-server -Xms1024m -Xmx1024m</span> </p>
프로젝트 관리용으로 만든거(BootStrap Css FrameWork 이용)
http://www.webprogramer.kr/blog/P000000072/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470895571165886377.png" data-filename="1470895571165886377.png" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470895579113366113.png" data-filename="1470895579113366113.png" style="width: 100%;"></p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470895586558806199.png" data-filename="1470895586558806199.png" style="width: 100%;"></p><p><strong><span style="font-size: 9pt;">레이아웃 : </span><span style="font-size: 9pt;">BootStrap(Css FrameWork)</span><span style="font-size: 9pt;"> 을 이용한 반응형웹</span></strong></p><p><strong><span style="font-size: 9pt;">사용기술</span><span style="font-size: 9pt;"> : Spring3 A</span><span style="font-size: 9pt;">nnotation</span><span style="font-size: 9pt;">, Rest , MyBatis, jQuery, Mysql 5.5</span></strong></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><strong><span style="font-size: 9pt;">주요기능 : 회원관리, 프로젝트관리, 게시판생성(요청, 자료실, 회의록, 답변형, 겔러리 게시판), 기타</span></strong></p>
어플제작 DISC 성격, 행동 유형 검사
http://www.webprogramer.kr/blog/P000000073/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470895713309949712.png" data-filename="1470895713309949712.png" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470895719180347095.png" data-filename="1470895719180347095.png" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470895723265845585.png" data-filename="1470895723265845585.png" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470895728501272871.png" data-filename="1470895728501272871.png" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/147089574028013317.png" data-filename="147089574028013317.png" style="width: 100%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470895743483165006.png" data-filename="1470895743483165006.png" style="width: 100%;"></p><p><br></p><p>자잘한 앱을 개발을 해보았지만 만들다 말고 만들다 말고 그래서 마켓에 올리지 못하였는데,</p><p> </p><p>DISC 성격, 행동 유형 검사 어플을 만들어보고 싶어서 만들어보았다.</p><p> </p><p>이번엔 기필코 마켓에 올리겠다는 생각으로 회사에서 틈틈이 작업.</p><p> </p><p>디자인 작업은 와이프가도와줌</p><p> </p><p>테스트기기는 HTC 디자이어 2.3, MOTORORA 아트릭스 2.3, GALAXY S2 4.1, GALAXY NOTE2 4.12</p><p> </p><p>로 테스트. </p><p> </p><p>공부삼아 만들어서 완성도가 많이 떨어지지만 마켓에 올렸다는게 신기.</p><p> </p><p><strong><a class="con_link" href="http://market.android.com/details?id=com.jh.disc.act" target="_blank">DISC 성경, 행동 유형검사 마켓 주소 </a></strong></p><p><strong>구글 마켓</strong></p><p><font color="#222222" face="Tahoma" size="2"><strong><a class="con_link" href="http://market.android.com/details?id=com.jh.disc.act" target="_blank"></a><a class="con_link" href="http://market.android.com/details?id=com.jh.disc.act" target="_blank">http://market.android.com/details?id=com.jh.disc.act</a></strong></font></p><p><strong><font color="#222222" face="Tahoma" size="2"></font></strong> </p><p><strong><font face="Tahoma"><font color="#222222" size="2">네이버 마켓</font></font></strong></p><p><a class="con_link" href="http://nstore.naver.com/appstore/web/detail.nhn?productNo=630790" target="_blank"><strong>http://nstore.naver.com/appstore/web/detail.nhn?productNo=630790</strong></a></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p> </p>
[공유] 특정 모양의 Bitmap 이미지 자르기
http://www.webprogramer.kr/blog/P000000074/post.do
<table class="post-top"><tbody><tr><td class="p12" valign="bottom"><p class="post_option"></p><div class="post-sub ptr" id="sendPost_from_service_40188044133" style="display: none;"><p><span class="pcol2" id="sendPost_from_service_H_40188044133"></span></p></div></td></tr></tbody></table><div class="blank clear"></div><div class="post-sub ptl"><img width="32" height="17" alt="출처" src="http://blogimgs.naver.net/blog20/blog/ico_origin.gif"> <a class="link1">WorkSpace</a> | <a class="link1">windLike</a><br><img width="32" height="17" alt="원문" src="http://blogimgs.naver.net/blog20/blog/ico_source.gif"> <a class="link1">http://windhunt97.blog.me/20162613977</a></div><p><!-- 스마트에디터3 타이틀 제거 임시 적용 --> </p><div id="postViewArea"><div class="post-view pcol2 _param(3) _postViewArea40188044133" id="post-view40188044133"> <div class="plus_area"><p class="fil2 dline" style="clear: both; position: relative;"></p><p class="fil2 plus_txt"></p><p> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">직소 퍼즐 같은 게임을 만들때 가장 고민하는 부분 중의 하나가 이미지를 사각형이 아닌 직소 퍼즐 모양으로 어떻게 잘라야하는가~ 입니다. 저도 이번에 안드로이드 직소 퍼즐 게임을 만들면서 이 부분에서 많은 고민을 했고 또한 여러차례 시행 착오를 거쳐 결국 원하는 결과를 얻어낼 수 있었습니다...</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">여러 삽질끝에 얻어낸 결과인지라 이 방식이 효율적이고 완벽하다라고 말씀드릴 수는 절대 없습니다, 또한 다른 더 좋은 방식이 있을 수도 있습니다만 조금이라도 도움이 되었으면 하는 마음에서 이 글을 작성합니다. </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">설명이 잘 이해가 안된다 싶으실때 덧글 주시면 시간날때 답글 달아 드리겠습니다. ^^a </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">원본 이미지를 직소 퍼즐 조각 모양으로 잘라내기의 핵심은 이미지의 알파값을 이용하여 필요없는 부분은 화면에 표시되지 않도록 하는것 입니다. </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">기본적으로 이미지는 사각형을 기준으로만 자를 수 있습니다(맞지요?). 사각형으로 자른 이미지를 원하는 모양의 이미지로 가공하기 위해서 기준이되는 이미지(아래 이미지 참고)를 별도로 준비합니다. 직소 퍼즐 게임의 경우 각 직소 펴즐의 조각 이미지가 되겠지요. </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"><img width="115" height="150" class="_photoImage" id="20120722_96/windhunt97_13429385872246jUia_PNG/jigsaw_4x6_02_sample.png" style="border-style: solid; border-color: rgb(0, 0, 0); border-image-source: none; cursor: pointer;" alt="" src="http://postfiles1.naver.net/20120722_96/windhunt97_13429385872246jUia_PNG/jigsaw_4x6_02_sample.png?type=w3"></p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">예제 이미지의 빨간색 부분은 원래 투명 부분입니다. 흰색으로 기준 이미지를 만들다 보니 바탕색과 구별이 안되어 투명 배경을 빨간색으로 표시한 것이니 참고하시구요~ 기준이 되는 이미지의 색상은 어떤 색상을 쓰시더라도 상관 없습니다(빨간색, 검정색, 흰색, 노란색 등등). 단, alpha 값을 이용하여 필요없는 부분이 화면에 표시되지 않도록 하는 방식이므로 반드시 필요없는 부분은 투명으로 만들어 주셔야 합니다. 그러므로 기준 이미지는 png 파일로 저장해서 사용하시면 됩니다. </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">먼저, 원본 이미지에서 원하는 부분만 사각형으로 잘라내는 코드는 다음과 같습니다.</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// 원본 이미지를 불러오고 </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">Bitmap mSource = BitmapFactory.decodeFile("이미지 경로/이미지 파일 이름.jpg");</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// 잘라낼 가로 픽셀 크기 </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">int nWidth = 100;</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// 잘라낼 세로 픽셀 크기<br>int nHeight = 100;</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// 원본 이미지에서 잘라낸 비트맵 이미지 영역의 색상값을 저장할 배열 </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">int[] nPixels = new int[nWidth * nHeight];</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// 원본 이미지의 좌측 상단을 기준으로</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// 가로 50, 세로 50 지점에서 가로 100, 세로 100 크기의 생상값을 가져와</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// nPixels 배열에 저장한다.<br>mSource.getPixels(nPixels, 0, nWidth, 50, 50, nWidth, nHeight); </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// 잘라낸 이미지를 저장할 새로운 비트맵 이미지를 생성한다.</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">Bitmap mJigsaw = Bitmap.createBitmap(nWidth, nHeight, Bitmap.Config.ARGB_8888);</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// 생성된 비트맵 이미지에 색상값을 저장한다. </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">mJigsaw.setPixels(nPixels, 0, nWidth, 0, 0, nWidth, nHeight);</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">위의 코드대로 적용하면 원본 이미지의 좌측 상단을 기준으로 가로 50픽셀, 세로 50픽셀 지점에서 가로 100픽셀, 세로 100픽셀 크기의 이미지가 mJigsaw 비트맵 이미지에 저장됩니다. 여기까지 사각형으로 잘라내기는 완성입니다. </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">이제 잘라낸 이미지를 어떻게 가공해야 원하는 모양의 직소 조각을 만들어 낼수 있을지를 설명하겠습니다. 위 코드에서 잘라낸 이미지 색상값을 mJigsaw 비트맵 이미지 인스턴스에 setPixel로 저장하기 전에 다음 코드를 추가합니다. </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// 직소 조각 모양의 레이아웃 비트맵 로드<br>Bitmap mLayout = BitmapFactory.decodeFile("이미지 경로/직소 조각 기준 이미지 파일 이름.png");<br> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// mLayout 비트맵 이미지의 alpha 값을 </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// 잘라낸 mJigsaw 비트맵 이지지에 적용될 nPixels 배열의 alpha 값으로 대체한다.<br>for (int i = 0; i < nPixels.length; i++) {</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> // nPixels 배열의 각 컬러값에서 alpha 값을 제거한다.<br> nPixels[i] &= 0x00ffffff;</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> // 제거된 alpha 값을 mLayout의 alpha 값으로 대체한다. </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> nPixels[i] |= mLayout.getPixel(i % nWidth, i / nWidth) & 0xff000000;<br>}</p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">// 생성된 비트맵 이미지에 색상값을 저장한다. </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"><b>mJigsaw.setPixels(nPixels, 0, nWidth, 0, 0, nWidth, nHeight);</b></p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">완성된 mJigsaw 비트맵 이미지를 Canvas 나 ImageView 에 표시해보면 원하는 직소 조각 모양으로 표시되는 것을 확인할 수 있습니다. </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">굳이 기준 이미지를 사용하지 않더라도 원하는 모양의 alpha 값을 배열로 만들어서 적용이 가능하시다면 그렇게 사용하셔도 결과는 같습니다. </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);"> </p><p style="text-align: justify; color: rgb(51, 51, 51); font-family: 돋움; background-color: rgb(169, 198, 217);">위 코드는 단순히 직소 퍼즐 조각에만 적용되지는 않습니다. 원하는 모양의 어떤 이미지라도 만들어 낼 수 있습니다.</p><div class="autosourcing-stub-extra" style="line-height: 1.5; opacity: 0;"><p style="line-height: 1.5; font-family: Dotum; margin-top: 11px; margin-bottom: 7px;"><strong style="padding: 0px 7px 0px 0px;">[출처]</strong> <a class="con_link" href="http://blog.naver.com/windhunt97/20162613977" target="_blank">특정 모양의 Bitmap 이미지 자르기</a><span style="padding: 0px 7px 0px 5px;">|</span><strong style="padding: 0px 7px 0px 0px;">작성자</strong> <a class="con_link" href="http://blog.naver.com/windhunt97" target="_blank">windLike</a></p></div><p> </p><p>참고 주소 : <a class="con_link" href="http://windhunt97.blog.me/20162613977" target="_blank">http://windhunt97.blog.me/20162613977</a></p><p> </p><p>퍼즐 만들때 이미지 투명처리 하는게 막막했었는데 좋은 참고가 됨</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470895941574784117.png" data-filename="1470895941574784117.png" style="width: 100%;"><br></p><div class="autosourcing-stub-extra"></div><p></p></div></div></div>
A4용지에 맞게 출력하기( 페이지 쿼리)
http://www.webprogramer.kr/blog/P000000071/post.do
<p><br></p><pre class="prettyprint linenums"><code class="language-markup"><style>
@page a4sheet { size: 21.0cm 29.7cm }
.a4 { page: a4sheet; page-break-after: always }
</style>
<div class="a4" style="border:1px solid;">
내용내용
내용내용
내용내용
내용내용
내용내용
내용내용
</div></code></pre><p><br></p>
oracle 전체테이블 삭제 명령어
http://www.webprogramer.kr/blog/P000000070/post.do
<p>전체 테이블 삭제 명령어 뽑기</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>SELECT 'DROP TABLE ' || TABLE_NAME || ';' FROM ALL_TABLES WHERE OWNER='유저명' </p>
java 달력만들기
http://www.webprogramer.kr/blog/P000000069/post.do
<p><br></p><pre class="prettyprint linenums"><code class="language-java">import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.Scanner;
public class GetData {
Scanner Input = new Scanner(System.in);
private int year;
private int month;
GregorianCalendar gc = new GregorianCalendar();
char[] week = { '일', '월', '화', '수', '목', '금', '토' };
int StartWeek;
int EndDay;
public GetData() {
System.out.println("yy년 입력 ");
year = Input.nextInt();
System.out.println("MM월 입력 ");
month = Input.nextInt();
gc.set(year, month - 1, 1);
EndDay = gc.getActualMaximum(Calendar.DATE);
StartWeek = gc.get(Calendar.DAY_OF_WEEK) - 1;
}
public void ShowData() {
System.out.println("\t\t" + "<< " + year + "년" + " " + month + "월"
+ " >>");
// 요일 출력
for (int i = 0; i < week.length; i++) {
System.out.print(week[i] + "\t");
}
System.out.println();
for (int i = 1, k = 0; i <= EndDay;) {
// 그 달에 시작하는 요일
if (k < StartWeek) {
System.out.print("\t");
k++;
} else {
if (i < 10) {
System.out.print(" ");
}
// 요일대로 끊어주기 위해서
System.out
.print((i + StartWeek) % 7 == 0 ? i + "\n" : i + "\t");
i++;
}
}
}
}
</code></pre><p><br></p>
엑셀 출력시 엔터값이나 br 태그로 인해 셀이 만들어질때 엔터키
http://www.webprogramer.kr/blog/P000000068/post.do
<p><br></p><p></p><div class="autosourcing-stub-extra"></div><p></p><p><span style="color: rgb(51, 51, 51);">엑셀로 저장하기를 구현할때마다 까먹고 실수하는게 </span><br style="color: rgb(51, 51, 51);"><span style="color: rgb(51, 51, 51);">내용같이 긴 본문을 저장할 경우</span><br style="color: rgb(51, 51, 51);"><span style="color: rgb(51, 51, 51);">br로 하면 1row가 늘어나고 \n으로 구현하면 엔터키 구현</span><br style="color: rgb(51, 51, 51);"><span style="color: rgb(51, 51, 51);"> </span><br style="color: rgb(51, 51, 51);"><span style="color: rgb(51, 51, 51);"><br style="mso-data-placement:same-cell;"></span><br style="color: rgb(51, 51, 51);"><span style="color: rgb(51, 51, 51);">replaceAll("\n","<br style='mso-data-placement:same-cell;'>");</span></p><p><br></p><p>숫자를 문자열로 </p><p><span style="font-weight: bold;"><span style="font-family: 굴림; font-size: 12px; background-color: yellow; color: inherit;"> mso-number-format:\@;</span><br></span></p><p><br></p>
mysql 유저생성 및 권한
http://www.webprogramer.kr/blog/P000000067/post.do
<p style="border-width: 0px; color: rgb(99, 99, 99);">MYSQL에서 유저를 추가하는 방법은 두가지가 있습니다. <br style="border-width: 0px; line-height: 1.5;">일반적으로는 유저를 위한 전용 데이터베이스를 하나 생성해 주고, 해당 데이터베이스에 접속할 권한을 주게 됩니다. 이 때 권한은 local에서만 접속할 권한을 주거나, JDBC등을 이용한다면 외부에서도 접속할 권한을 주어야 합니다.<br style="border-width: 0px; line-height: 1.5;"><br style="border-width: 0px; line-height: 1.5;">1. CREATE USER와 GRANT 명령어 사용<br style="border-width: 0px; line-height: 1.5;">2. INSERT, UPDATE, DELETE를 사용해서 직접 관리 테이블을 수정하기를 통한 추가<br style="border-width: 0px; line-height: 1.5;"><br style="border-width: 0px; line-height: 1.5;"></p><ul style="border-width: 0px; margin-right: 0px; margin-left: 0px; padding: 0px 0px 0px 25px; color: rgb(99, 99, 99);"><li style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">ID:test, pass:test 란 유저 생성</li></ul><p style="border-width: 0px; color: rgb(99, 99, 99);"> <strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;"> mysql> create user </strong><a class="con_link" style="border-width: 0px; margin: 0px; padding: 0px; color: rgb(64, 64, 64); line-height: 1.5;" href="mailto:'test'@'localhost'" target="_blank"><strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">'test'@'localhost'</strong></a><strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;"> identified by 'test';<br style="border-width: 0px; line-height: 1.5;"> </strong>↑아이디 ↑비밀번호<br><br style="border-width: 0px; line-height: 1.5;"></p><ul style="border-width: 0px; margin-right: 0px; margin-left: 0px; padding: 0px 0px 0px 25px; color: rgb(99, 99, 99);"><li style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">권한 위임</li></ul><p style="border-width: 0px; color: rgb(99, 99, 99); margin-left: 4em;"><strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">mysql> grant all privileges on *.* to </strong><!-- Not Allowed Attribute Filtered --><a class="con_link" style="border-width: 0px; margin: 0px; padding: 0px; color: rgb(64, 64, 64); line-height: 1.5;" href="mailto:'test'@'localhost'" target="_blank"><strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">'test'@'localhost'</strong></a> <strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">identified by 'test'<br style="border-width: 0px; line-height: 1.5;"> </strong>↑모든DB ↑로컬에서만접속 ↑비밀번호<br style="border-width: 0px; line-height: 1.5;"><strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">mysql> grant all privileges on *.* to </strong><a class="con_link" style="border-width: 0px; margin: 0px; padding: 0px; color: rgb(64, 64, 64); line-height: 1.5;" target="_blank"><strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">'test'@'%'</strong></a> <strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">identified by 'test' with grant option <br style="border-width: 0px; line-height: 1.5;"> </strong>↑원격에서 접속가능 ↑권한위임가능<br style="border-width: 0px; line-height: 1.5;"><strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">mysql> grant all privileges on mydb.* to </strong><!-- Not Allowed Attribute Filtered --><a class="con_link" style="border-width: 0px; margin: 0px; padding: 0px; color: rgb(64, 64, 64); line-height: 1.5;" href="mailto:'test'@'localhost'" target="_blank"><strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">'test'@'localhost'</strong></a> <strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;"> with grant option<br style="border-width: 0px; line-height: 1.5;"> </strong>↑DB지정</p><ul style="border-width: 0px; margin-right: 0px; margin-left: 0px; padding: 0px 0px 0px 25px; color: rgb(99, 99, 99);"><li style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">권한 보기<br style="border-width: 0px; line-height: 1.5;"><strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;"> #show grants for </strong><!-- Not Allowed Attribute Filtered --><a class="con_link" style="border-width: 0px; margin: 0px; padding: 0px; color: rgb(64, 64, 64); line-height: 1.5;" href="mailto:'ID'@'loalhost'" target="_blank"><strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">'ID'@'loalhost'</strong></a></li></ul><p style="border-width: 0px; color: rgb(99, 99, 99);"> </p><ul style="border-width: 0px; margin-right: 0px; margin-left: 0px; padding: 0px 0px 0px 25px; color: rgb(99, 99, 99);"><li style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;">권한 적용<br style="border-width: 0px; line-height: 1.5;"><strong style="border-width: 0px; margin: 0px; padding: 0px; line-height: 1.5;"> #flush privileges<div class="autosourcing-stub-extra"></div></strong></li></ul>
mysqldump 전체덤프 뜨기
http://www.webprogramer.kr/blog/P000000066/post.do
<p><br></p><p>1. 전체백업</p><p>mysqldump -u root -p --all-databases > alldb.sql</p><p>mysqldump -u root -p > alldb.sql</p><p> </p><p>2. 복원</p><p></p><div class="autosourcing-stub-extra"></div><p></p><p></p><p>mysql -u -p < alldb.sql</p>
mysql 외부접속
http://www.webprogramer.kr/blog/P000000064/post.do
<p><br></p><p>항상 하는 작업이지만 </p><p> </p><p>MySQL을 설치한 후 내부에서 돌리는게 아닌 외부에서 접속해야할 경우가 있다-_-;</p><p> </p><p>이럴때.. 정말..ㅠㅠ 난감하게도 아흙..</p><p> </p><p>심지어는 같은 내부에서의 접속에서조차 localhost가 아닌 IP주소로 하면... 접속이 안되는-_-</p><p> </p><p>결과적으로 원격접속을 켜놓아야한다는것!!</p><p> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>뭐.. 의외로 간단하다-_-;; </p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470894897790838292.jpg" data-filename="1470894897790838292.jpg" style="width: 100%;"></p><p>root에 해당 유저ID를 적어도 된다..</p><p> </p><p>그리고 by절에는 그 유저의 Password가 들어와야하고^^</p><p> </p><p>이 후</p><p> </p><p>my.cnf의 내용을 고쳐주어야 한다</p><p> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p># vim /etc/mysql/my.cnf</p><p><img src="http://www.webprogramer.kr/upload/blog/editor/1470894913690204873.jpg" data-filename="1470894913690204873.jpg" style="width: 100%;"></p><p>보통 bind-address 는 주석표시가 되어 있지 않으므로 이를 주석표시(#) 해주고 저장!</p><p> </p><p># /etc/init.d/mysql restart</p><p> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>로 재시작 해주면 원격접속이 가능해진다^^ </p>
oracle 사용자 계정 생성 및 권한 생성
http://www.webprogramer.kr/blog/P000000062/post.do
<p>오랜만에 오라클 사용 </p><p> </p><p>--권한 관리</p><p>1. 사용자와 관리자의 권한 분석.</p><p>2. 관리자 : sys, system 계정</p><p>--명령프롬프트에서 SQLPLUS 사용시<br>sqlplus sys/암호 as sysdba</p><p>--SQL 명령줄 실행에서 SQLPLUS 사용시<br>conn sys/암호 as sysdba</p><p>3. 관리자 암호 변경<br>--명령프롬프트에서 실행<br>DOS>sqlplus "/as sysdba" --> 암호 묻지 않고 접속됨<br>SQL>ALTER USER sys IDENTIFIED BY 새암호;<br>SQL>conn sys/새암호 as sysdba;</p><p>4. 사용자 계정 생성(관리자)</p><p>--사용자 생성<br><strong>CREATE USER 사용자계정명 IDENTIFIED BY 암호;<br></strong>-->주의) 사용자 계정이 생성되면 적절한 권한 부여 필요.</p><p><br><strong>CREATE USER test01 IDENTIFIED BY test01<br> DEFAULT TABLESPACE USERS;</strong></p><p>--사용자 명단 확인<br><strong>SELECT * FROM all_users;</strong></p><p>--관리자 전용 사용자 명단 확인<br>SELECT * FROM dba_users;</p><p>--사용자 삭제<br><strong>DROP USER test01;<br>-->주의) 접속된 상태에서는 삭제 불가.</strong></p><p><br>5. 사용자에게 시스템 권한 부여.<br>시스템 권한 : 오라클 자원을 사용할 수 있는 권한. CREATE SESSION 외에 여러가지 권한 존재.</p><p>--권한 부여<br><strong>GRANT 시스템권한 TO 사용자계정명;</strong></p><p><br><strong>GRANT CREATE SESSION TO test01; -- 접속 권한 부여, CONNET 롤로 대체 가능.<br>GRANT RESOURCE TO test01; -- 롤 권한 부여</strong></p><p>GRANT CONNET, RESOURCE TO test01; -- 권한 부여는 중복으로 가능함.</p><p>6. 사용자 로그온 및 객체 생성</p><p>CREATE TABLE aa<br>(<br> col1 VARCHAR2(10)<br>);<br>-->주의) 객체가 생성된 후에는 사용자 계정 삭제가 안될 수 있다.</p><p>--객체를 가지고 있는 사용자 계정 삭제<br>DROP USER test01; -- X<br>DROP USER test01 CASCADE; -- O</p><p>7. 테이블스페이스 지정</p><p>테이블스페이스 : 사용자가 객체를 생성 및 관리할 수 있는 전용 공간. <br>USERS 테이블 스페이스는 기본적으로 생성되는 사용자 전용 공간이다.</p><p>-관리자 화면전용-</p><p>CREATE USER angdoll IDENTIFIED BY angdoll;</p><p>ALTER USER angdoll<br> DEFAULT TABLESPACE USERS<br> QUOTA 100M ON USERS;<br>-->angdoll 계정이 사용할 수 있는 공간의 크기를 100M로 제한.</p><p>--용량확인<br>SELECT * FROM dba_ts_quotas;</p><p>GRANT CREATE SESSION TO angdoll;<br>GRANT CREATE TABLE TO angdoll;</p><p>--> angdoll 계정으로 로그인한 후 테이블 생성 가능 확인.</p><p>8. 암호 변경 및 제한</p><p>--관리자가 사용자의 암호 변경<br>ALTER USER 사용자계정 IDENTIFIED BY 새암호;</p><p>--자기 자신이 자신의 암호 변경<br>ALTER USER 사용자계정 IDENTIFIED BY 새암호;</p><p>--관리자가 사용자의 암호 만료시킬 수 있다. <br>이 경우 사용자는 암호를 의무적으로 변경해야됨.<br>ALTER USER 사용자계정 PASSWORD EXPIRE;<br>-->SQL Developer에서는 새암호 자동으로 변경 되지 않는다.<br>SQLPLUS에서 접속하면 새암호 변경하라고 함.</p><p>--관리자가 사용자 계정을 잠금.<br>일시적으로 접근 금지를 시킬 때 한다.<br>ALTER USER 사용자계정 ACCOUNT LOCK;</p><p>--관리자가 사용자 계정을 잠금 해제.<br>ALTER USER 사용자계정 ACCOUNT UNLOCK;</p><p>9. WITH ADMIN OPTION : 권한 부여시 승계가 가능하도록 지정.</p><p>GRANT 시스템권한 TO 사용자계정 WITH ADMIN OPTION;<br>-->관리자가 사용자1에게 권한 부여하면, 사용자1은 다른 사용자에게 동일한 권한을 부여할 수 있다.</p><p>--관리자<br>CREATE USER user01 IDENTIFIED BY user01;<br>CREATE USER user02 IDENTIFIED BY user02;</p><p>--관리자<br>GRANT CREATE SESSION TO user01 WITH ADMIN OPTION;</p><p>--USER01로 로그인한 후 USER02에게 권한 부여<br>GRANT CREATE SESSION TO user02;<br>-->USER02가 로그인 가능한지 확인.</p><p>10. 권한 회수</p><p>REVOKE 시스템권한 FROM 사용자계정;</p><p>--관리자<br>REVOKE CREATE SESSION FROM user01, user02;<br>-->user01, user02가 로그인 불가능한지 확인.</p><p>11. 객체 권한 : 사용자가 소유한 객체에 대한 권한 부여.</p><p>--객체 권한 부여 전</p><p>--관리자<br>--사용자의 객체 접근<br>SELECT * FROM hr.jobs; -- O<br>SELECT * FROM scott.insa; -- O</p><p>--HR 계정<br>--사용자의 객체 접근<br>SELECT * FROM hr.jobs; -- O<br>SELECT * FROM scott.insa; -- X</p><p>--SCOTT 계정<br>--사용자의 객체 접근<br>SELECT * FROM hr.jobs; -- X<br>SELECT * FROM scott.insa; -- O</p><p>--> 객체 권한을 부여하면 가능하다.</p><p>--객체 권한(SELECT, INSER, UPDATE, DELETE) 부여<br>GRANT 객체권한 ON 객체명 TO 사용자계정;</p><p>--HR 계정<br>GRANT SELECT ON jobs TO scott;<br>GRANT SELECT, INSERT, UPDATE, DELETE ON jobs TO scott; --> 동시 권한 부여 가능함.</p><p>--SCOTT 계정<br>SELECT * FROM hr.jobs; -- O</p><p>--객체 권한 회수<br>REVOKE 객체권한 ON 객체명 TO 사용자계정;</p><p>--부여된, 부여한 객체 권한 확인<br>SELECT * FROM user_tab_privs;</p><p>GRANTOR : 부여한 객체<br>GRANTEE : 부여된 객체</p><p>12. 롤 : 권한의 집합체</p><p>GRANT 롤 TO 사용자계정;</p><p>GRANT CONNECT, RESOURCE TO scott;<br>--> CONNECT 롤은 오라클 접속 권한<br>--> RESOURCE 롤은 대표적인 여러가지 객체 생성 권한. 단 , VIEW는 제외.</p><p>GRANT CREATE VIEW TO scott;</p><p>--관리자 권한 부여<br>GRANT DBA TO scott;<br>--> DBA 롤은 관리자 권한 모두를 가진 롤.</p><p> </p><p> </p><p> </p><p>-- 간단 테이블 및 자동증가값 설정</p><p>create table st_member<br>(<br> user_seq number not null primary key,<br> user_id varchar(30) not null,<br> user_pwd varchar(30) not null,<br> user_name varchar(50) not null,<br> user_date date not null<br>);</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>create sequence m_seq increment by 1 start with 1 </p><div class="autosourcing-stub-extra"></div>
Linux 사용자 및 그룹관리
http://www.webprogramer.kr/blog/P000000061/post.do
<p>※ 사용자 및 그룹관리(추가&삭제&변경)<br> <br>① 사용자 추가(useradd 사용자id 또는 adduser 사용자id) </p><p> </p><p>- #useradd user01 : user01이라는 사용자 생성<br> <br> (user01이라는 사용자가 생성되며 user01 그룹에 소속)<br> <br>- #useradd user01 -g group01 : user01이라는 사용자 생성<br> <br> (group01 그룹에 소속)<br> <br>- #useradd user01 -d /home/hj user01 : user01이라는 사용자 생성<br> <br> (/home/hj디렉토리를 홈디렉토리로 지정)<br> <br> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>② 사용자 삭제(userdel 사용자id)<br> <br>- #userdel user01 : user01이라는 사용자 삭제<br> <br> <br> <br>③ 비밀번호 설정(passwd 사용자id)<br> <br>- #passwd user01 : user01사용자의 비밀번호 생성<br> <br> <br> <br>④ 그룹 추가(groupadd 그룹명)<br> <br>- #groupadd group01 : group01이라는 그룹 생성<br> <br> <br> <br>⑤ 그룹 삭제(groupdel 그룹명)<br> <br>- #groupdel group01 : group01이라는 그룹 삭제<br> <br> <br> <br>⑥ 사용자모드변경(usermod)<br> <br>- #usermod -g user user01 : user01의 소속그룹을 user로 변경<br> <br> <br> <br>※ 확인<br> <br>① 사용자 확인<br> <br>- #cat /etc/passwd<br> <br> <br> <br>② 그룹 확인<br> <br>- #cat /etc/group<br> <br> <br> <br>③ 비밀번호 확인<br> <br>- #cat /etc/shadow : 비밀번호는 암호화되어있음</p>
리눅스 NFS 원격 공유
http://www.webprogramer.kr/blog/P000000060/post.do
<p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><strong>리눅스에서 NFS 공유 방법</strong></p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><strong><서버><br><br></strong># exports 내용 보기<br> cat /etc/exports<br> /home 26.1.22.*(rw)</p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"># exportfs 구동 상태 확인.<br> /usr/sbin/exportfs<br> /home 26.1.22.*</p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"># /etc/rc.d/init.d/portmap 및 nfs 시작.<br> /etc/rc.d/init.d/portmap start<br> Starting portmapper: [ OK ]<br> /etc/rc.d/init.d/nfs stop<br> Shutting down NFS mountd: [ OK ]<br> Shutting down NFS daemon: [ OK ]<br> Shutting down NFS services: [ OK ]<br> Shutting down NFS quotas: [ OK ]<br> /etc/rc.d/init.d/nfs start<br> Starting NFS services: [ OK ]<br> Starting NFS quotas: [ OK ]<br> Starting NFS mountd: [ OK ]<br> Starting NFS daemon: [ OK ]</p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"># nfs 구동 상태 확인.<br> /etc/rc.d/init.d/nfs status<br> rpc.mountd (pid 1852) is running...<br> nfsd (pid 1864 1863 1862 1861 1860 1859 1858 1857) is running...<br> rpc.rquotad (pid 1847) is running...</p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><br><br><strong>< 원격서버(클라이언트)></strong></p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><br># 원격서버에 MOUNT 하기 (마운트는 원하는 위티에 원하는 만큼 하세요)<br> mount -t nfs 26.1.22.17:/home /home_backup/Engine <br> mount -t nfs 26.1.22.17:/home/share /home/share</p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"> </p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"> </p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"> </p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"> </p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;">요즘 리눅스는 설치할 때 디폴트로 파이어월 (iptables)이 설치되어 대부분의 포트를 막아버린다. 따라서 NFS (Network File System)를 리눅스에서 사용하려면 몇몇 포트들을 열어주도록 설정해야 한다.<br><br>(요즘은 한 번 해도 조금 지나면 다 까먹기 때문에 이렇게 정리를 해줘야 한다. ㅠ.ㅠ)<br><br>이 작업은 FC4에서 하였다. 다른 버전에서도 되리라 믿는다. 안되면 알아서...<br>'bar'에서 'foo'의 "/home" 디렉토리를 NFS로 연결한다고 하자.<br><br><b>1. NFS 설정</b><br>/etc/exports 파일에 마운트를 허용할 파일시스템을 명시한다.<br></p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><div style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; padding: 10px; font-stretch: normal; background-color: rgb(240, 240, 240);">foo# cat >> /etc/exports<br>/home bar(rw)<br>^D<br></div><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><br>NFS 옵션을 설정한다. rpc.statd 옵션은 설정할 필요없다 (FC4의 경우).<br></p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><div style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; padding: 10px; font-stretch: normal; background-color: rgb(240, 240, 240);">foo# vi /etc/sysconfig/nfs<br># Number of servers to be started up by default<br>RPCNFSDCOUNT=8<br><br># Options to pass to rpc.rquotad<br>RPCRQUOTADOPTS="-p 32766"<br><br># Options to pass to rpc.mountd<br>RPCMOUNTDOPTS="-p 32767"<br><br># Options to pass to rpc.statd<br>#RPCSTATDOPTS="-p 32768 -o 32769"<br></div><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><br>NFS 시작<br></p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><div style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; padding: 10px; font-stretch: normal; background-color: rgb(240, 240, 240);">foo# /sbin/service nfs start<br></div><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><br>RPC 정보를 확인해 보면 포트가 위에서 설정한 대로 사용됨을 확인할 수 있다.<br></p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><div style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; padding: 10px; font-stretch: normal; background-color: rgb(240, 240, 240);">foo$ /usr/sbin/rpcinfo -p<br> program vers proto port<br> 100000 2 tcp 111 portmapper<br> 100000 2 udp 111 portmapper<br> 100024 1 udp 32768 status<br> 100024 1 tcp 32769 status<br> 100011 1 udp 32766 rquotad<br> 100011 2 udp 32766 rquotad<br> 100011 1 tcp 32766 rquotad<br> 100011 2 tcp 32766 rquotad<br> 100003 2 udp 2049 nfs<br> 100003 3 udp 2049 nfs<br> 100003 4 udp 2049 nfs<br> 100003 2 tcp 2049 nfs<br> 100003 3 tcp 2049 nfs<br> 100003 4 tcp 2049 nfs<br> 100021 1 udp 41531 nlockmgr<br> 100021 3 udp 41531 nlockmgr<br> 100021 4 udp 41531 nlockmgr<br> 100021 1 tcp 43855 nlockmgr<br> 100021 3 tcp 43855 nlockmgr<br> 100021 4 tcp 43855 nlockmgr<br> 100005 1 udp 32767 mountd<br> 100005 1 tcp 32767 mountd<br> 100005 2 udp 32767 mountd<br> 100005 2 tcp 32767 mountd<br> 100005 3 udp 32767 mountd<br> 100005 3 tcp 32767 mountd<br></div><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><br><br><b>2. iptables 설정</b><br>NFS가 사용하는 포트들을 iptables rule chain에 추가한다.<br></p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><div style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; padding: 10px; font-stretch: normal; background-color: rgb(240, 240, 240);">foo# /sbin/iptables -A INPUT -p tcp --dport 111 -j ACCEPT<br>foo# /sbin/iptables -A INPUT -p udp --dport 111 -j ACCEPT<br>foo# /sbin/iptables -A INPUT -p tcp --dport 2049 -j ACCEPT<br>foo# /sbin/iptables -A INPUT -p udp --dport 2049 -j ACCEPT<br>foo# /sbin/iptables -A INPUT -p tcp --dport 32766 -j ACCEPT<br>foo# /sbin/iptables -A INPUT -p tcp --dport 32767 -j ACCEPT<br>foo# /sbin/iptables -A INPUT -p tcp --dport 32769 -j ACCEPT<br></div><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><br>새로 추가한 rule을 저장하고 싶은 경우 다음과 같이 /etc/sysconfig/iptables에 저장한다.<br></p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><div style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; padding: 10px; font-stretch: normal; background-color: rgb(240, 240, 240);">foo# /etc/init.d/iptables save<br></div><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><br><br><b>3. 클라이언트에서 연결</b><br>이제 'bar'에서 마운트하는 일만 남았다.<br></p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><div style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; padding: 10px; font-stretch: normal; background-color: rgb(240, 240, 240);">bar# mount foo:/home /mnt<br></div><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><br>에러가 발생한다면 에러 메시지를 확인해 본다.<br>다음 에러는 iptables가 제대로 설정되지 않았을 때 발생한다. 2번으로 돌아가 확인할 것.<br></p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><div style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; padding: 10px; font-stretch: normal; background-color: rgb(255, 230, 230);">mount to NFS server 'foo' failed: server is down.<br></div><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><br>다음과 같은 에러가 난다면 NFS 설정이 잘못된 경우이다. 1번으로 돌아가 확인할 것.<br></p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><div style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; padding: 10px; font-stretch: normal; background-color: rgb(255, 230, 230);">mount: foo:/home failed, reason given by server: Permission denied<br></div><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><br><strong>- 명령 한 번에 내리기</strong><br></p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><strong><서버 ><br></strong>cat /etc/exports<br>/usr/sbin/exportfs<br>/etc/rc.d/init.d/portmap start<br>/etc/rc.d/init.d/nfs stop<br>/etc/rc.d/init.d/nfs start<br>/etc/rc.d/init.d/nfs status</p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"> </p><p><br style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; font-stretch: normal;"></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><strong><클라이언트></strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><strong>마운트 설정</strong><br>mount -t nfs 26.1.22.17:/home /home_backup/Engine<br>mount -t nfs 26.1.22.17:/home/share /home/share</p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"> </p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;"><strong>마운트 해제</strong></p><p style="font-variant-numeric: normal; font-size: 12px; line-height: 19px; font-family: Gulim; margin-bottom: 0px; font-stretch: normal;">umount /home_backup/Engine</p><p><div class="autosourcing-stub-extra"></div><p></p></p><p style="font: 12px/19px Gulim; margin: 0px; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">umount /home/share</p>
[안드로이드] Multi Screen 적용 방안 (DPI & DIP)
http://www.webprogramer.kr/blog/P000000059/post.do
<p>Muiti Screen을 논하기 전에 가장 먼저 알아야 할 사항은 DPI(Density per inch) & DIP(Density Independant Pixel) 입니다.</p><p><br></p><p>DPI 는 device의 해상도에 따른 분류로 아래와 같습니다.</p><p>ldpi : 120 dpi 로 QVGA(240 * 320) 에서 사용됨</p><p>mdpi : 160 dpi로 HVGA(320 * 480) 에서 사용되며 기본 screen 사이즈로 1 dip = 1px 임</p><p>hdpi : 240 dpi로 WVGA(800 * 480), FWVGA (854 * 480) 에서 사용됨 </p><p>nodpi : dpi 별 리소스 관리시에 위 항목들에 대한 폴더 외에 drawable-nodpi 가 있는 데 이것은 dpi와 관계없는 resource가 들어감</p><p>* 참고 : pixel 변환 공식 px = dip * density /160 </p><p><br></p><p>px는 bit 단위로 화면에 찍는데, </p><p>DIP는 안드로이드에서 screen 사이즈에 따른 변화에 대응하기 위한 단위이며, density 의 변화에 따라 크기가 변동하는 단위입니다.</p><p><br></p><p>Multi screen을 지원하기 위해서는 dip 단위를 써야 한다는 것입니다.</p><p>layout을 위한 XML 파일에 모든 단위를 dip로 해야 하며, </p><p><br></p><p></p><table class="__se_tbl" style="border-width: 1px 1px 0px 0px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-top-style: solid; border-right-style: solid; table-layout: fixed;" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td width="677" style="border-width: 0px 0px 1px 1px; border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-bottom-style: solid; border-left-style: solid;"> <p> </p><p></p><p><resources></p><p style="margin-left: 40px;"><dimen name=“dipTest”>10dip</dimen></p><p></resources></p><p></p><p><br></p></td></tr></tbody></table><p><표 1> layout xml 파일</p><p><br></p><p>해당 값을 코드 상에서 사용할때는 표 2와 같이 dip를 px로 바꿔주는 함수를 써서 적용해야 합니다.</p><p><br></p><p></p><table class="__se_tbl" style="border-width: 1px 1px 0px 0px; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-top-style: solid; border-right-style: solid; table-layout: fixed;" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td width="677" style="border-width: 0px 0px 1px 1px; border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-bottom-style: solid; border-left-style: solid;"> <p><br></p><p>int dipTest = getResources().getDimensionPixelSize(R.dimen.dipTest) </p><p><br></p></td></tr></tbody></table><p><!-- Not Allowed Attribute Filtered --> <!-- Not Allowed Attribute Filtered --><!-- Not Allowed Attribute Filtered --> <!-- Not Allowed Attribute Filtered --><표 2> java 파일 </p><p></p><p></p><p><br></p><p><br></p><p>이미지 파일들은 base screen 사이즈인 mdpi기준으로 만들면 자동으로 줄거나 늘어나지만, 조금씩 깨지는 것은 막을 수 없습니다.</p><p>따라서 이미지 파일들은 각각의 dpi에 맞춰 갖추는게 좋으며, layout 의 경우는 </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>dip를 최대한 활용해 코드를 최소화 하는 게 좋은것 같습니다.</p>
mysql 컬럼명 바꾸기
http://www.webprogramer.kr/blog/P000000058/post.do
<p><br></p><p>자꾸까먹어서.</p><p><br></p><p>ALTER TABLE COMM_CODE<br>MODIFY COLUMN CODE_NM VARCHAR(50) CHARACTER SET utf8 </p><div class="autosourcing-stub-extra"></div>
리눅스 디렉토리 구조뽑기
http://www.webprogramer.kr/blog/P000000057/post.do
<p>간단 </p><p>find / -type d -depth -print > dir.list </p><div class="autosourcing-stub-extra"></div>
Table 'user' is marked as crashed and should be repaired 에러시 복구하기
http://www.webprogramer.kr/blog/P000000056/post.do
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><font face="맑은 고딕"><span lang="EN-US" style="color: rgb(192, 80, 77);"><br></span></font></p><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><font face="맑은 고딕"><span lang="EN-US"><span style="font-size: 18px; font-weight: bold;">Table 'user' is marked as crashed and should be repaired</span></span></font></p><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><font face="맑은 고딕"><span lang="EN-US"><span style="color: rgb(192, 80, 77);"><br></span><br></span></font></p><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><font face="맑은 고딕"><span lang="EN-US" style="color: rgb(192, 80, 77);">user tables </span><span style="color: rgb(192, 80, 77);">이<span lang="EN-US"> crash </span>되어<span lang="EN-US"> repair </span>해줬습니다<span lang="EN-US">.</span></span></font></p><br><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span lang="EN-US" style="color: rgb(31, 73, 125);"><font face="맑은 고딕"> </font></span></p><br><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="color: rgb(31, 73, 125);"><font face="맑은 고딕">다음과 같은 방법으로 진행하였습니다<span lang="EN-US">.</span></font></span></p><br><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span lang="EN-US" style="color: rgb(31, 73, 125);"><font face="맑은 고딕"> </font></span></p><br><p class="MsoNormal" style="margin: 0cm 0cm 12pt;"><span class="ct1"><span lang="EN-US"><font color="#222222" face="맑은 고딕">mysql> check table user; </font></span></span><span lang="EN-US" style="color: rgb(34, 34, 34);"><br><font face="맑은 고딕"><span class="ct1">+-------------------------+-------+----------+----------------------------------------------------------+ </span><br><span class="ct1">| Table | Op | Msg_type | Msg_text | </span><br><span class="ct1">+-------------------------+-------+----------+----------------------------------------------------------+ </span><br><span class="ct1">| user | check | warning | Table is marked as crashed | </span><br><span class="ct1">| user | check | warning | 2 clients are using or haven't closed the table properly | </span><br><span class="ct1">| user | check | error | Checksum for key: 9 doesn't match checksum for records | </span><br><span class="ct1">| user | check | error | Corrupt | </span><br><span class="ct1">+-------------------------+-------+----------+----------------------------------------------------------+ </span><br><span class="ct1">4 rows in set (0.69 sec) </span></font></span></p><br><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><font face="맑은 고딕"><span lang="EN-US" style="color: rgb(192, 80, 77);">user table </span><span style="color: rgb(192, 80, 77);">를 체크해본 결과 다음과 같은 에러 내용이 있습니다<span lang="EN-US">.</span></span></font></p><br><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span lang="EN-US" style="color: rgb(192, 80, 77);"><font face="맑은 고딕"> </font></span></p><br><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="color: rgb(192, 80, 77);"><font face="맑은 고딕">그래서 아래와 같이<span lang="EN-US"> repair </span>를 해줬습니다<span lang="EN-US">.</span></font></span><span lang="EN-US" style="color: rgb(34, 34, 34);"><br><font face="맑은 고딕"><span class="ct1">mysql> repair table user; </span><br><span class="ct1">+-------------------------+--------+----------+----------+ </span><br><span class="ct1">| Table | Op | Msg_type | Msg_text | </span><br><span class="ct1">+-------------------------+--------+----------+----------+ </span><br><span class="ct1">| user | repair | status | OK | </span><br><span class="ct1">+-------------------------+--------+----------+----------+ </span><br><span class="ct1">1 row in set (0.50 sec) </span><br><br><span class="ct1">mysql> check table user; </span><br><span class="ct1">+-------------------------+-------+----------+----------+ </span><br><span class="ct1">| Table | Op | Msg_type | Msg_text | </span><br><span class="ct1">+-------------------------+-------+----------+----------+ </span><br><span class="ct1">| user | check | status | OK | </span><br><span class="ct1">+-------------------------+-------+----------+----------+ </span><br><span class="ct1">1 row in set (0.04 sec) </span><br><br><span class="ct1">mysql></span></font></span></p><br><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span lang="EN-US" style="color: rgb(34, 34, 34);"><font face="맑은 고딕"><span class="ct1"></span></font></span> </p><br><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span lang="EN-US" style="color: rgb(34, 34, 34);"><font face="맑은 고딕"><span class="ct1">mysql restart</span></font></span></p><div class="autosourcing-stub-extra"></div><p></p>
Apache 버전보기 명령어
http://www.webprogramer.kr/blog/P000000055/post.do
<p>Apache 버전보기 명령어 </p><p> </p><p>/아파치경로/</p><p>httpd -v</p><p> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>Server version: Apache/2.2.3 </p>
TRACE and TRACK HTTP Methods Enabled 취약점 수정
http://www.webprogramer.kr/blog/P000000054/post.do
<div class="POST_TTL"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><b><span lang="EN-US" style="color: black; font-size: 9pt;">TraceEnable</span></b></p><b><span lang="EN-US" style="color: black; font-size: 9pt;"><p></p></span></b> <p></p></span></div><div class="post-view pcol2" id="post-view"><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">TraceEnable</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">Apache</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">에</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">디폴트로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">허가되어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">Trace</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">메소드의 온</span><span style="color: rgb(34, 34, 34); font-family: "MS Pゴシック"; font-size: 9pt;">・</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">오프를 설정하는 옵션으로 </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">Apache</span><span lang="EN-US" style="color: red; font-family: Tahoma; font-size: 9pt;"> 1.3.34</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">와</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: red; font-family: Tahoma; font-size: 9pt;">2.0.55</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">부터</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">서포트되고</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">.<br>Trace</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">메소드는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">클라이언트가</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">송신한</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">리퀘스트를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">그대로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">반환하는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">것이다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">.<br></span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">예를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">들어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">Host: <a class="con_link" href="http://www.test.com/" target="_blank">www.test.com</a></span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」라는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">문자열을</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">송신한</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">경우</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">telnet 192.168.0.201 80<br>TRACE / HTTP/1.0<br>Host: <a class="con_link" href="http://www.pentest.com/" target="_blank">www.pentest.com</a></span></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"></span> </p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">HTTP/1.1 200 OK </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Date: Tue, 25 Jul 2006 01:39:23 GMT </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Server: Apache </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Transfer-Encoding: chunked </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Content-Type: message/http </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">25 </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">TRACE / HTTP/1.1 </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Host: <a class="con_link" href="http://www.pentest.com/" target="_blank">www.pentest.com</a></span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><br><br></span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">리퀘스트에</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">송신한</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">문자열</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">Host: <a class="con_link" href="http://www.test.com/" target="_blank">www.test.com</a></span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」이</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">그대로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> 반환되었다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">.</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">왜 이 메소드가 </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">문제가 되는가</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">하면</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">Trace</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">메소드를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">사용한</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">공격</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">방법에</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">XST(Cross-Site Tracing)</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」이라는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">것이</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있기 때문이다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">.</span></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><span style="color: rgb(0, 0, 0);"><span lang="KO" style="font-family: Gulim; font-size: 9pt;">다운로드</span><span lang="EN-US" style="font-size: 9pt;">: <a class="con_link" href="http://www.cgisecurity.com/lib/WH-WhitePaper_XST_ebook.pdf" target="_blank">http://www.cgisecurity.com/lib/WH-WhitePaper_XST_ebook.pdf</a></span></span></span></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><span style="color: rgb(0, 0, 0);"><span lang="EN-US" style="font-size: 9pt;"></span></span></span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><br></span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">이것은</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> 공격자가 </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">클라이언트에</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">TRACE</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">메소드를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">발행하도록</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">하여</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">, </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">그</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">레스폰스를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">취득하는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">것으로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">Basic</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">인증의</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">패스워드를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">착취하는데 사용되는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">공격이다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">이런 이유로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: "MS 明朝"; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">Trace</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">메소드를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">무효로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">할</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">것을</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">권장하고</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">것이다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">.<br></span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">또한</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">, </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">취약성</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">스캐너로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">Trace</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">메소드가</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">유효로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">되어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> 웹</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">서버를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">스캔하면</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> 대부분</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">리스크로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">보고하므로</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">, </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">대책을</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">취하는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">것이</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">좋다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;"></span> </p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">그럼</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">실제로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">httpd.conf</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">변경해</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">보자</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">실제로는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">매우</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">간단하다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">httpd.conf</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">의</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">적당한</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">부분에 다음을 기술하고 Apache를 재기동한다.</span></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: navy; font-family: Tahoma; font-size: 9pt;">TraceEnable Off </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><br></span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><br></span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">TraceEnable Off</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">기술하기</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">전과</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">후의</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">Apache </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">반응을</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">OPTIONS</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」메소드를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">사용하여</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">비교해</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">보자</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><b><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">적용</span></b><b><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></b><b><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">전</span></b><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">telnet 192.168.0.201 80<br>OPTIONS / HTTP/1.0</span><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">HTTP/1.1 200 OK<br>Date: Sun, 12 Mar 2006 17:27:26 GMT<br>Server: Apache/1.3.34 (Unix)<br>Content-Length: 0<br>Allow: GET, HEAD, OPTIONS, TRACE<br>Connection: close </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><br></span><b><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">적용</span></b><b><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></b><b><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">후</span></b><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">telnet 192.168.0.201 80<br>OPTIONS / HTTP/1.0</span><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">HTTP/1.1 200 OK<br>Date: Sun, 12 Mar 2006 17:28:28 GMT<br>Server: Apache/1.3.34 (Unix)<br>Content-Length: 0<br>Allow: GET, HEAD, OPTIONS<br>Connection: close </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「적용</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">후」에는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">Allow</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」부분에</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">TRACE</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」가</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">삭제되어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">.</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><br></span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">이것으로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">대책이</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">완료되었다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><br></p></span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;"><strong>추가</strong></span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><br>Apache 1.3.34</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">과</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">2.0.55</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">에는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">TraceEnable</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」가</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">서포트되고</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">상기와</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">같이</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">간단히</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">TRACE</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">메소드를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">무효로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">할</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">수</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있지만</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">, </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">이전</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">버전</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">(</span><span lang="EN-US" style="color: red; font-family: Tahoma; font-size: 9pt;">1.3.33</span><span lang="KO" style="font-family: Gulim; font-size: 9pt;">과</span><span lang="KO" style="color: red; font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: red; font-family: Tahoma; font-size: 9pt;">2.0.54</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">)</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">을</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">사용하고</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">경우에는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">mod_rewire</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">사용하는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">방법이</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">.</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><br></span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;"></span> <p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">이</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">방법은</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">TraceEnable</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」과는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">달리</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">TRACE</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">메소드가</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">허가되고</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">것처럼</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">보이지만</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">, </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">내부</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">처리에</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">의해</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">무효화하는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">방법이다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;"></span> </p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">우선</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">, </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">mod_rewrite</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">」가</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">유효하게</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">되어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있는지</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">확인한다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">무효로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">되어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있다면</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">유효하게</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">할</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">것</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">.</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><br></span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">다음의</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">항목이</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">httpd.conf</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">에</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">들어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있으면</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">된다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">.</span></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p></p> <p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">LoadModule rewrite_module libexec/mod_rewrite.so<br>AddModule mod_rewrite.c </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">위의</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">부분이</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">확인되었다면</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">, </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">적당한</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">부분에</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"><IfModule mod_rewrite.c><br>RewriteEngine on<br>RewriteCond %{REQUEST_METHOD} ^TRACE<br>RewriteRule .* - [F]<br></IfModule> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><br></span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">과</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">같이</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">기술하고</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">, Apache</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">재기동한다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">이것으로</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">TRACE</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">메소드는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">유효하게</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">되어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있지만</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">, </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">클라이언트로부터</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">송신할</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">수</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">없게</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">된다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;"></span> </p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">예를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">들어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">TRACE</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">메소드를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">송신한</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">경우</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><b><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">적용</span></b><b><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></b><b><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">전</span></b><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">telnet 192.168.0.201 80<br>TRACE / HTTP/1.1 </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Host:localhost </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">HTTP/1.1 200 OK </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Date: Tue, 11 Jul 2006 10:57:30 GMT </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Server: Apache/1.3.12 (Unix) </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Transfer-Encoding: chunked </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Content-Type: message/http </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">TRACE / HTTP/1.1 </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Host: localhost </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><br></span><b><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">적용</span></b><b><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></b><b><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">후</span></b><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">telnet 192.168.</span><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">0.201</span><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"> 80<br>TRACE / HTTP/1.1 </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Host: localhost </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">HTTP/1.1 403 Forbidden </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Date: Tue, 11 Jul 2006 10:55:04 GMT </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Server: Apache/1.3.12 (Unix) </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Transfer-Encoding: chunked </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">Content-Type: text/html; charset=iso-8859-1 </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"><HTML><HEAD> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"><TITLE>403 Forbidden</TITLE> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"></HEAD><BODY> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"><H1>Forbidden</H1> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">You don't have permission to access / </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;">on this server.<P> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"><HR> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"><ADDRESS>Apache/1.3.12 Server at localhost.localdomain Port 80</ADDRESS> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background: 0% 50% rgb(246, 246, 246);"><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"></BODY></HTML></span><span lang="EN-US" style="color: rgb(102, 102, 102); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;"></span> </p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">「적용</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">후」를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">보면</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">알</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">수</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있듯이</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">TRACE</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">메소드를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">송신할</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">수</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">없게</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">되어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">■</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> IIS(Intenet Information Service)의 경우</span></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">IIS Lockdown</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">툴에</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">포함되어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">URLScan</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">을</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">사용한다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">1. IIS Lockdown Tool</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">을</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">설치한다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">2. IIS Lockdown Tool</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">에</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">포함되어</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">있는</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">URLScan</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">을</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">설치한다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">3. urlscan.ini</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">에</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">다음의</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">내용을</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">추가한다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">◇</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> UseAllowVerbs=1</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">을</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">지정한</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">경우</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> [options] </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> UseAllowVerbs=1 </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> [AllowVerbs] </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> GET </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> HEAD </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> POST </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">◇</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> UseAllowVerbs=0</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">을</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">지정한</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">경우</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> [options] </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> UseAllowVerbs=0 </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> [DenyVerbs] </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> TRACE </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> TRACK </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">[2] IIS Lockdown Wizard </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">툴</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><a class="con_link" href="http://www.microsoft.com/korea/technet/security/tools/locktool.asp" target="_blank">http://www.microsoft.com/korea/technet/security/tools/locktool.asp</a> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span> </p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">[3] URLScan </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">보안</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">툴</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><a class="con_link" href="http://www.microsoft.com/korea/technet/security/URLScan.asp" target="_blank">http://www.microsoft.com/korea/technet/security/URLScan.asp</a> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span> </p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">[4] KB326444 - URLScan </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">툴의</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">구성</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">방법</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><a class="con_link" href="http://support.microsoft.com/kb/326444/ko" target="_blank">http://support.microsoft.com/kb/326444/ko</a> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">■</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> Sun One WebServer (iPlanet6.0SP2</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">이후</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">버전</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">) </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">1. /config/obj.conf</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">의</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">Default</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">오브젝트안에</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">다음의</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">기술을</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">추가한다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> <Client method=""TRACE""> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> AuthTrans fn=""set-variable"" </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> remove-headers=""transfer-encoding"" </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> set-headers=""content-length: -1"" </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> error=""501"" </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </Client> </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">2. </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">웹</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">서버를</span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"> </span><span lang="KO" style="color: rgb(34, 34, 34); font-family: Gulim; font-size: 9pt;">재기동한다</span><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">. </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"></span></p><p> </p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;">[5] Sun ONE/iPlanet Web Server Enable HTTP TRACE Method by Default to Emulate the CERT VU </span></p><p></p><p></p><p></p><p></p><p></p><p align="left" class="MsoNormal" style="margin: 0mm 0mm 0pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0% 50%; background-repeat: initial;"><span lang="EN-US" style="color: rgb(34, 34, 34); font-family: Tahoma; font-size: 9pt;"><a class="con_link" href="http://sunsolve.sun.com/search/document.do?assetkey=1-26-50603-1" target="_blank">http://sunsolve.sun.com/search/document.do?assetkey=1-26-50603-1</a></span></p><div class="autosourcing-stub-extra"></div><p></p></div>
ERROR 1449 (HY000) at line 13718: The user specified as a definer ('testuser'@'%') does not exist
http://www.webprogramer.kr/blog/P000000053/post.do
<p>한참 구글링으로 찾아서 해결 </p><p> </p><p><div class="autosourcing-stub-extra"></div><p></p></p><p>ERROR 1449 (HY000) at line 13718: The user specified as a definer (<a class="con_link" target="_blank">'testuser'@'%'</a>) does not exist<br>CREATE USER <a class="con_link" target="_blank">'testuser'@'%'</a> IDENTIFIED BY 'root';<br>GRANT ALL ON *.* TO <a class="con_link" target="_blank">'<u><font color="#0066cc">testuser</font></u>'@<u><font color="#0066cc">'%'</font></u>'</a>;<br>flush privileges; </p>
덤프 및 복구및 Access denied for user 'xxx'@'localhost' to database 'xxx' when using LOCK TABLES linux
http://www.webprogramer.kr/blog/P000000052/post.do
<p><span style="font-family: Verdana;">procedure와 function 까지 모두 백업 하려면 다음과 같이</span><span style="font-family: Verdana;"> 사용한다.</span><br><span style="color: rgb(255, 255, 255); font-family: Verdana; background-color: rgb(251, 143, 34);">mysqldump --routines -u유저이름 -p패스워드 디비이름 > 백업할 파일이름</span><br style="color: rgb(255, 255, 255); background-color: rgb(212, 42, 27);"></p><p> </p><p>LOCK TABLES 라고 할때 <strong>덤프</strong>;</p><p>mysqldump -u 아이디 -p 데이터베이스 --lock-table=0 --default-character-set=latin1 > dbbackup.sql</p><p> </p><p> </p><p><strong>복구 </strong></p><div>mysql -u root -p 데이터베이스 --lock-table=0 --default-character-set=latin1 < backup.sql</div><div> </div><div><strong>덤프</strong></div><p><div class="autosourcing-stub-extra"></div><p></p></p><p>testuser 라는 디비계정의 사용자가 testdb 라는 디비에 대해 작업을 하고 해당 디비에 testtable1,testtable2,testtable3 이라는 테이블이 있을 경우 <br><br>1. testdb 의 모든 테이블의 스키마 및 데이타를 모두 덤프 받으려 할 경우 <br>$ mysqldump -u testuser -p testdb > testdb.sql <br><br>2. testdb 의 모든 테이블의 스키마만 덤프받으려 할 경우 <br>$ mysqldump -u testuser -p -d testdb > testdb.sql <br><br><br><br>3. testdb 의 testtable1 테이블의 스키마 및 데이타를 모두 덤프 받으려 할 경우 <br>$ mysqldump -u testuser -p testdb testtable1 > testdb_testtable1.sql <br><br><br>4. testdb 의 testtable1 테이블의 스키마 및 데이타중 일부를 덤프 받으려 할 경우 ( no 가 testtable1 의 필드명일 경우 ) <br>$ mysqldump -u testuser -p testdb testtable1 -w 'no > 1 and no < 100' > testdb_testtable1.sql <br><br><br><br>옵션설명 : <br><br>-u : 사용자명 입력 <br>-p : 비밀번호 입력 <br>-d : 데이타 덤프 안함 <br>-w : WHERE 절 입력함 (단일 따옴표인것에 주의) </p>
Oracle clob형 필드와 varchar필드 union 할수 있게
http://www.webprogramer.kr/blog/P000000051/post.do
<p><span style="font-weight: bold;">Clob 타입이 아닌 컬럼과 union 시에</span></p><p><span style="font-weight: bold;"><br></span></p><p><span style="font-weight: bold;">select to_clob(content) as cont from table</span></p><p><div class="autosourcing-stub-extra"></div><p></p></p><p><span style="font-weight: bold;">union all</span></p><p><span style="font-weight: bold;">select article as cont from table2</span></p>
이클립스 단축키 모음
http://www.webprogramer.kr/blog/P000000050/post.do
<p><span class="Apple-style-span" style="color: rgb(64, 64, 64); font-family: 돋움; border-collapse: collapse;">Ctrl + M : 전체화면 토글<br>Ctrl + E : 페이지 이동<br>Ctrl + Q : 마지막 편집 위치로 이동<br>Ctrl + D : 한줄 삭제 <br>Ctrl + O : 메소드 리스트를 확인<br>Ctrl + 1 : 컴파일 해결 힌트<br>Ctrl + L : 원하는 소스 라인으로 이동<br>Ctrl + .(,) : 다음(이전) 오류로 이동<br>Ctrl + I : 들여쓰기 자동 수정<br>Ctrl + /(\) : 주석(해제) <br>Alt + <-(->) : 이전(다음) 작업 화면<br>Ctrl +(Shift)+ K : 문자열 찾기(위로)<br>Ctrl +(Shift)+ W : 파일 닫기(전체)<br>Ctrl +(Shift)+ F6 : Ctrl+Tab 기능 <br>Alt + Shift + 방향키 : 블록선택(해제)<br>Alt + Up(Down) : 현재 줄 이동(위)<br>Alt + Shift + R : 메소드 리네임<br>Ctrl + F7 : 뷰간 전환<br>Ctrl + F8 : 퍼스펙티브간 전환<br>F12 : 에디터로 포커스 위치<br>Ctrl + Shift + /(\) : 블럭주석(해제)<br>Ctrl + Shift + O : 자동 import <br>Ctrl + Shift + M : 특정 클래스 Import <br>Ctrl + Shift + S : 모두 저장<br>Ctrl + Shift + W : 모두 닫기<br>Ctrl + Shift + T : 클래스 찾기<br>Ctrl + Shift + R : 자원 열기<br>Ctrl + Shift + Y : 대문자를 소문자로<br>Ctrl + Shift + X : 소문자를 대문자로<br>Ctrl + Shift + E : 줄끝 까지 삭제<br>Ctrl + Shift + F : 코드 자동 정리<br>Ctrl + Shift + L : <br>Ctrl + Alt + H : 메소드 보기<br>Alt + Shift + S : 메뉴 팝업<br>Alt + Shift + X : 실행 단축키 보기<br>Ctrl + Shift + Space : 메소드의 파라미터 목록 보기<br>Ctrl + Shift + G : 메써드나 필드를 참조 하고 있는 곳<br>- 자동입력<br>"sysout" + Ctrl + Space<br>"try" + Ctrl + Space<br>"for" + Ctrl + Space<span class="Apple-style-span" style="border-collapse: collapse;">Ctrl + M : 전체화면 토글<br>Ctrl + E : 페이지 이동<br>Ctrl + Q : 마지막 편집 위치로 이동<br>Ctrl + D : 한줄 삭제 <br>Ctrl + O : 메소드 리스트를 확인<br>Ctrl + 1 : 컴파일 해결 힌트<br>Ctrl + L : 원하는 소스 라인으로 이동<br>Ctrl + .(,) : 다음(이전) 오류로 이동<br>Ctrl + I : 들여쓰기 자동 수정<br>Ctrl + /(\) : 주석(해제) <br>Alt + <-(->) : 이전(다음) 작업 화면<br>Ctrl +(Shift)+ K : 문자열 찾기(위로)<br>Ctrl +(Shift)+ W : 파일 닫기(전체)<br>Ctrl +(Shift)+ F6 : Ctrl+Tab 기능 <br>Alt + Shift + 방향키 : 블록선택(해제)<br>Alt + Up(Down) : 현재 줄 이동(위)<br>Alt + Shift + R : 메소드 리네임<br>Ctrl + F7 : 뷰간 전환<br>Ctrl + F8 : 퍼스펙티브간 전환<br>F12 : 에디터로 포커스 위치<br>Ctrl + Shift + /(\) : 블럭주석(해제)<br>Ctrl + Shift + O : 자동 import <br>Ctrl + Shift + M : 특정 클래스 Import <br>Ctrl + Shift + S : 모두 저장<br>Ctrl + Shift + W : 모두 닫기<br>Ctrl + Shift + T : 클래스 찾기<br>Ctrl + Shift + R : 자원 열기<br>Ctrl + Shift + Y : 대문자를 소문자로<br>Ctrl + Shift + X : 소문자를 대문자로<br>Ctrl + Shift + E : 줄끝 까지 삭제<br>Ctrl + Shift + F : 코드 자동 정리<br>Ctrl + Shift + L : <br>Ctrl + Alt + H : 메소드 보기<br>Alt + Shift + S : 메뉴 팝업<br>Alt + Shift + X : 실행 단축키 보기<br>Ctrl + Shift + Space : 메소드의 파라미터 목록 보기<br>Ctrl + Shift + G : 메써드나 필드를 참조 하고 있는 곳<br>- 자동입력<br>"sysout" + Ctrl + Space<br>"try" + Ctrl + Space<br>"for" + Ctrl + Space</span></span> </p><div class="autosourcing-stub-extra"></div>
에디트플러스에서 자바 컴파일 및 실행 파일 설정하기
http://www.webprogramer.kr/blog/P000000049/post.do
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><font face="바탕" size="2">에디트플러스에서 자바 컴파일 및 실행 파일 설정하기</font></p><p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span lang="EN-US"><!--?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /--><o:p><font face="바탕" size="2"> </font></o:p></span></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;">( 1 ) </span><span style="color: green; line-height: 140%; font-size: 10pt;">컴파일 지정</span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ① </span><span style="color: green; line-height: 140%; font-size: 10pt;">에디트플러스를 연다</span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ② [</span><span style="color: green; line-height: 140%; font-size: 10pt;">도구<span lang="EN-US"> - </span>사용자 정의 구성<span lang="EN-US">]</span>을 클릭</span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ③ [</span><span style="color: green; line-height: 140%; font-size: 10pt;">그룹 이름<span lang="EN-US">]</span>을 클릭<span lang="EN-US"> -> JAVA</span>라고 적는다<span lang="EN-US">.</span></span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ④ [</span><span style="color: green; line-height: 140%; font-size: 10pt;">추가<span lang="EN-US"> - </span>프로그램<span lang="EN-US">]</span>을 클릭<span lang="EN-US"> -> </span>셀렉트 박스에<span lang="EN-US"> New Program</span>이 생김<span lang="EN-US">.</span></span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ⑤ </span><span style="color: green; line-height: 140%; font-size: 10pt;">메뉴 제목<span lang="EN-US"> -> </span>컴파일이라고 적는다<span lang="EN-US">.</span></span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ⑥ </span><span style="color: green; line-height: 140%; font-size: 10pt;">명령<span lang="EN-US"> -> JDK</span>의<span lang="EN-US"> bin</span>폴더에서<span lang="EN-US"> javac.exe</span>가 있는 경로를 적어준다<span lang="EN-US">.</span></span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ⑦ </span><span style="color: green; line-height: 140%; font-size: 10pt;">인수<span lang="EN-US"> -> ▼ </span>클릭하여<span lang="EN-US"> "</span>파일경로<span lang="EN-US">"</span>를 선택</span></font></p><p style="line-height: 140%;"><font face="굴림"><span style="color: green; line-height: 140%; font-size: 10pt;"></span><span lang="EN-US"><o:p>### 파일경로는 파일이름으로 수정요망 죄송합니다 ^^..</o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ⑧ </span><span style="color: green; line-height: 140%; font-size: 10pt;">디렉토리<span lang="EN-US"> -> ▼ </span>클릭하여<span lang="EN-US"> "</span>파일 디렉토리<span lang="EN-US">"</span>를 선택</span><span lang="EN-US"><o:p></o:p></span></font></p><p><div class="autosourcing-stub-extra"></div><font face="굴림"><span lang="EN-US"><o:p></o:p></span></font><p></p></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ⑨ "</span><span style="color: green; line-height: 140%; font-size: 10pt;">출력 내용 캡쳐<span lang="EN-US">"</span>를 체크하고 적용을 누른다<span lang="EN-US">.</span></span></font></p><p style="line-height: 140%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470893129955334150.jpg" data-filename="1470893129955334150.jpg" style="width: 100%;"><font face="굴림"><span style="color: green; line-height: 140%; font-size: 10pt;"><span lang="EN-US"><br></span></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"><br></span></font></p><p style="line-height: 140%;"><span lang="EN-US" style="font-family: 굴림; color: green; line-height: 140%; font-size: 10pt;">( 2 ) </span><span style="font-family: 굴림; color: green; line-height: 140%; font-size: 10pt;">실행<span lang="EN-US"> </span>지정</span><br></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ① </span><span style="color: green; line-height: 140%; font-size: 10pt;">에디트플러스를 연다</span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ② [</span><span style="color: green; line-height: 140%; font-size: 10pt;">도구<span lang="EN-US"> - </span>사용자 정의 구성<span lang="EN-US">]</span>을 클릭</span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ③ JAVA</span><span style="color: green; line-height: 140%; font-size: 10pt;">라고 그룹으로 들어간다<span lang="EN-US">.</span></span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ④ [</span><span style="color: green; line-height: 140%; font-size: 10pt;">추가<span lang="EN-US"> - </span>프로그램<span lang="EN-US">]</span>을 클릭<span lang="EN-US"> -> </span>셀렉트 박스에<span lang="EN-US"> New Program</span>이 생김<span lang="EN-US">.</span></span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ⑤ </span><span style="color: green; line-height: 140%; font-size: 10pt;">메뉴 제목<span lang="EN-US"> -> </span>실행이라고 적는다<span lang="EN-US">.</span></span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ⑥ </span><span style="color: green; line-height: 140%; font-size: 10pt;">명령<span lang="EN-US"> -> JDK</span>의<span lang="EN-US"> bin</span>폴더에서<span lang="EN-US"> java.exe</span>가 있는 경로를 적어준다<span lang="EN-US">.</span></span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ⑦ </span><span style="color: green; line-height: 140%; font-size: 10pt;">인수<span lang="EN-US"> -> ▼ </span>클릭하여<span lang="EN-US"> "</span>확장자를 뺀 파일이름<span lang="EN-US">"</span>를 선택</span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ⑧ </span><span style="color: green; line-height: 140%; font-size: 10pt;">디렉토리<span lang="EN-US"> -> ▼ </span>클릭하여<span lang="EN-US"> "</span>파일 디렉토리<span lang="EN-US">"</span>를 선택</span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><div class="autosourcing-stub-extra"></div><font face="굴림"><span lang="EN-US"><o:p></o:p></span></font><p></p></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;"> ⑨ "</span><span style="color: green; line-height: 140%; font-size: 10pt;">출력 내용 캡쳐<span lang="EN-US">"</span>를 체크하고 적용을 누른다<span lang="EN-US">.</span></span></font></p><p style="line-height: 140%;"><img src="http://www.webprogramer.kr/upload/blog/editor/1470893157429846363.jpg" data-filename="1470893157429846363.jpg" style="width: 100%;"><font face="굴림"><span style="color: green; line-height: 140%; font-size: 10pt;"><span lang="EN-US"><br></span></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="line-height: 140%; font-size: 10pt;"> </span><span style="line-height: 140%; font-size: 10pt;">에디트플러스의 환경 설정 완료 자바 코딩후 <span lang="EN-US">*.java </span>로 저장후</span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;">Ctrl+1 </span><span style="color: green; line-height: 140%; font-size: 10pt;">클릭<span lang="EN-US"> -> </span>컴파일</span><span lang="EN-US"><o:p></o:p></span></font></p><p style="line-height: 140%;"><div class="autosourcing-stub-extra"></div></p><p style="line-height: 140%;"><font face="굴림"><span lang="EN-US" style="color: green; line-height: 140%; font-size: 10pt;">Ctrl+2 </span><span style="color: green; line-height: 140%; font-size: 10pt;">클릭<span lang="EN-US"> -> </span>실행</span></font><span lang="EN-US"><o:p></o:p></span></p>
java 환경설정
http://www.webprogramer.kr/blog/P000000048/post.do
<p><img src="http://www.webprogramer.kr/upload/blog/editor/1470893015077390485.gif" data-filename="1470893015077390485.gif" style="width: 100%;"><br></p>