<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>레필리아의 잡동사니</title>
    <link>https://repilria.tistory.com/</link>
    <description></description>
    <language>ko</language>
    <pubDate>Mon, 24 Aug 2026 14:41:16 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>레필리아</managingEditor>
    <image>
      <title>레필리아의 잡동사니</title>
      <url>https://t1.daumcdn.net/cfile/tistory/201E19144ACEDCF084</url>
      <link>https://repilria.tistory.com</link>
    </image>
    <item>
      <title>[반니 비스포크] 맞춤 예복 후기</title>
      <link>https://repilria.tistory.com/414</link>
      <description>&lt;p data-ke-size=&quot;size16&quot;&gt;결혼 준비 시, 한 번쯤 고민하게 되는 신랑의 예복.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;기혼자들은 '결혼하면 살 쪄서 못 입어~', '남자 양복 거기서 거기야~' 이런 말 많이 하시죠.&amp;nbsp;막상 결혼 준비 하시는 분들은 비싼 돈주고 사는 건데 아무거나 산다는게 쉽지가 않습니다. 대다수의 분들은 정장이라곤 대입/대졸/취준 때 맞춘 저가형 양복인 경우가 대부분이니까요.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;오늘 소개 드릴 반니 비스포크는 맞춤 정장 전문점으로, 웨딩 플래너분과 연계된 예복 전문점과는 성격이 다릅니다. 제가 방문 했었던 예복 전문점들은 맞춤 정장 구매 시 웨딩 촬영용 정장, 구두 및 악세사리(넥타이, 행거치프 등)를 무료로 대여해주는 경우가 많았습니다. 상담하시는 분들도 &quot;옷&quot; 보다도 &quot;웨딩&quot;에 초점을 맞춘 느낌이였고요. 이에 비해 반니 비스포크는 &quot;웨딩&quot;에 초점을 맞추기 보다는 &quot;옷&quot;에 초점을 맞추고 있습니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;반니 비스포크(강남점) 위치, 예복 맞춤 과정 등을 자세하게 소개드리겠습니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 data-ke-size=&quot;size26&quot;&gt;반니 비스포크(강남점) 위치&lt;/h2&gt;
&lt;p&gt;&lt;iframe mapdata=&quot;addr=%EC%84%9C%EC%9A%B8%20%EA%B0%95%EB%82%A8%EA%B5%AC%20%EC%97%AD%EC%82%BC%EB%8F%99%20827-20%20%EB%91%90%EC%9B%90%EB%B9%8C%EB%94%A9%201%EC%B8%B5&amp;amp;addtype=1&amp;amp;confirmid=27173328&amp;amp;docid=&amp;amp;idx=1&amp;amp;ifrH=362px&amp;amp;ifrW=490px&amp;amp;mapHeight=362&amp;amp;mapInfo=%7B%22version%22%3A2%2C%22mapWidth%22%3A490%2C%22mapHeight%22%3A362%2C%22mapCenterX%22%3A506835%2C%22mapCenterY%22%3A1110028%2C%22mapLevel%22%3A4%2C%22coordinate%22%3A%22wcongnamul%22%2C%22markInfo%22%3A%5B%7B%22markerType%22%3A%22standPlace%22%2C%22coordinate%22%3A%22wcongnamul%22%2C%22x%22%3A506838%2C%22y%22%3A1110030%2C%22clickable%22%3Atrue%2C%22draggable%22%3Atrue%2C%22icon%22%3A%7B%22width%22%3A35%2C%22height%22%3A56%2C%22offsetX%22%3A17%2C%22offsetY%22%3A56%2C%22src%22%3A%22%2F%2Ft1.daumcdn.net%2Flocalimg%2Flocalimages%2F07%2F2012%2Fattach%2Fpc_img%2Fico_marker2_150331.png%22%7D%2C%22content%22%3A%22%EB%B0%98%EB%8B%88%EB%B9%84%EC%8A%A4%ED%8F%AC%ED%81%AC%20%EA%B0%95%EB%82%A8%EC%A7%81%EC%98%81%EC%A0%90%22%2C%22confirmid%22%3A27173328%7D%5D%2C%22graphicInfo%22%3A%5B%5D%2C%22roadviewInfo%22%3A%5B%5D%7D&amp;amp;mapWidth=490&amp;amp;mapX=506835&amp;amp;mapY=1110028&amp;amp;map_hybrid=false&amp;amp;map_level=4&amp;amp;map_type=TYPE_MAP&amp;amp;rcode=1168064000&amp;amp;tel=02-555-2601&amp;amp;title=%EB%B0%98%EB%8B%88%EB%B9%84%EC%8A%A4%ED%8F%AC%ED%81%AC%20%EA%B0%95%EB%82%A8%EC%A7%81%EC%98%81%EC%A0%90&quot; src=&quot;/proxy/plusmapViewer.php?id=maps_1728733517120&quot; id=&quot;maps_1728733517120&quot; width=&quot;540px&quot; height=&quot;350px&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; data-ke-type=&quot;map&quot; data-maps-data=&quot;addr=%EC%84%9C%EC%9A%B8%20%EA%B0%95%EB%82%A8%EA%B5%AC%20%EC%97%AD%EC%82%BC%EB%8F%99%20827-20%20%EB%91%90%EC%9B%90%EB%B9%8C%EB%94%A9%201%EC%B8%B5&amp;amp;addtype=1&amp;amp;confirmid=27173328&amp;amp;docid=&amp;amp;idx=1&amp;amp;ifrH=362px&amp;amp;ifrW=490px&amp;amp;mapHeight=362&amp;amp;mapInfo=%7B%22version%22%3A2%2C%22mapWidth%22%3A490%2C%22mapHeight%22%3A362%2C%22mapCenterX%22%3A506835%2C%22mapCenterY%22%3A1110028%2C%22mapLevel%22%3A4%2C%22coordinate%22%3A%22wcongnamul%22%2C%22markInfo%22%3A%5B%7B%22markerType%22%3A%22standPlace%22%2C%22coordinate%22%3A%22wcongnamul%22%2C%22x%22%3A506838%2C%22y%22%3A1110030%2C%22clickable%22%3Atrue%2C%22draggable%22%3Atrue%2C%22icon%22%3A%7B%22width%22%3A35%2C%22height%22%3A56%2C%22offsetX%22%3A17%2C%22offsetY%22%3A56%2C%22src%22%3A%22%2F%2Ft1.daumcdn.net%2Flocalimg%2Flocalimages%2F07%2F2012%2Fattach%2Fpc_img%2Fico_marker2_150331.png%22%7D%2C%22content%22%3A%22%EB%B0%98%EB%8B%88%EB%B9%84%EC%8A%A4%ED%8F%AC%ED%81%AC%20%EA%B0%95%EB%82%A8%EC%A7%81%EC%98%81%EC%A0%90%22%2C%22confirmid%22%3A27173328%7D%5D%2C%22graphicInfo%22%3A%5B%5D%2C%22roadviewInfo%22%3A%5B%5D%7D&amp;amp;mapWidth=490&amp;amp;mapX=506835&amp;amp;mapY=1110028&amp;amp;map_hybrid=false&amp;amp;map_level=4&amp;amp;map_type=TYPE_MAP&amp;amp;rcode=1168064000&amp;amp;tel=02-555-2601&amp;amp;title=%EB%B0%98%EB%8B%88%EB%B9%84%EC%8A%A4%ED%8F%AC%ED%81%AC%20%EA%B0%95%EB%82%A8%EC%A7%81%EC%98%81%EC%A0%90&quot; data-maps-thumbnail=&quot;https://ssl.daumcdn.net/map3/staticmap/image?center=506835%2C1110028&amp;amp;lv=4&amp;amp;size=540x350&amp;amp;srs=WCONGNAMUL&amp;amp;markers=symbol%3Asc_marker%7Clocation%3A506838%2C1110030&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;네이버 지도 : &lt;a href=&quot;https://naver.me/IIq1crRP&quot;&gt;https://naver.me/IIq1crRP&lt;/a&gt;&lt;/p&gt;
&lt;figure id=&quot;og_1728733492619&quot; contenteditable=&quot;false&quot; data-ke-type=&quot;opengraph&quot; data-ke-align=&quot;alignCenter&quot; data-og-type=&quot;article&quot; data-og-title=&quot;반니 비스포크 강남점 : 네이버 &quot; data-og-description=&quot;방문자리뷰 166 &amp;middot; 블로그리뷰 305&quot; data-og-host=&quot;m.place.naver.com&quot; data-og-source-url=&quot;https://naver.me/IIq1crRP&quot; data-og-url=&quot;https://m.place.naver.com/place/13490054/home&quot; data-og-image=&quot;https://scrap.kakaocdn.net/dn/FDz69/hyXhOG2BKT/m2FHQEcziAfLkJUvCdm4zk/img.jpg?width=640&amp;amp;height=380&amp;amp;face=0_0_640_380,https://scrap.kakaocdn.net/dn/gTGT9/hyXegFdq0j/shtZadjFahFYVMIxS8JTrK/img.jpg?width=640&amp;amp;height=380&amp;amp;face=0_0_640_380,https://scrap.kakaocdn.net/dn/bVem8M/hyXd9lK9IH/4bTtizCndWZLiJuu85fntk/img.jpg?width=560&amp;amp;height=375&amp;amp;face=0_0_560_375&quot;&gt;&lt;a href=&quot;https://naver.me/IIq1crRP&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; data-source-url=&quot;https://naver.me/IIq1crRP&quot;&gt;
&lt;div class=&quot;og-image&quot; style=&quot;background-image: url('https://scrap.kakaocdn.net/dn/FDz69/hyXhOG2BKT/m2FHQEcziAfLkJUvCdm4zk/img.jpg?width=640&amp;amp;height=380&amp;amp;face=0_0_640_380,https://scrap.kakaocdn.net/dn/gTGT9/hyXegFdq0j/shtZadjFahFYVMIxS8JTrK/img.jpg?width=640&amp;amp;height=380&amp;amp;face=0_0_640_380,https://scrap.kakaocdn.net/dn/bVem8M/hyXd9lK9IH/4bTtizCndWZLiJuu85fntk/img.jpg?width=560&amp;amp;height=375&amp;amp;face=0_0_560_375');&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;og-text&quot;&gt;
&lt;p class=&quot;og-title&quot; data-ke-size=&quot;size16&quot;&gt;반니 비스포크 강남점 : 네이버 &lt;/p&gt;
&lt;p class=&quot;og-desc&quot; data-ke-size=&quot;size16&quot;&gt;방문자리뷰 166 &amp;middot; 블로그리뷰 305&lt;/p&gt;
&lt;p class=&quot;og-host&quot; data-ke-size=&quot;size16&quot;&gt;m.place.naver.com&lt;/p&gt;
&lt;/div&gt;
&lt;/a&gt;&lt;/figure&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;반니.png&quot; data-origin-width=&quot;1267&quot; data-origin-height=&quot;817&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/cfE5cJ/btsJ3r0tLPr/qfwJlx4CkjZXZMdDGYIB8K/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/cfE5cJ/btsJ3r0tLPr/qfwJlx4CkjZXZMdDGYIB8K/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/cfE5cJ/btsJ3r0tLPr/qfwJlx4CkjZXZMdDGYIB8K/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcfE5cJ%2FbtsJ3r0tLPr%2FqfwJlx4CkjZXZMdDGYIB8K%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;700&quot; height=&quot;451&quot; data-filename=&quot;반니.png&quot; data-origin-width=&quot;1267&quot; data-origin-height=&quot;817&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;반니 비스포크(강남점)은 강남역 근처에 위치하고 있는데요. 가게 정문 앞이나, 건물 내 기계식 주차장에 주차 가능합니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;방문 상담 시에도 주차 가능하며,&amp;nbsp;기본 제공 시간은 2시간이라고 합니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 data-ke-size=&quot;size26&quot;&gt;예복 맞춤 과정&lt;/h2&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;먼저 예복의 원단과 디테일을 정하게 되는데요. 저 같이 잘 모르는 분들을 위해 친절하게 설명을 잘 해주십니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;혹시 예산을 어느정도 정하고 가셨다면, 예산에 맞추어 원단을 추천 해주시더라구요.&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;edited_222.png&quot; data-origin-width=&quot;300&quot; data-origin-height=&quot;469&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/bRrlOI/btsJ4MPVgHu/5a3l3dJjwShhPqKm4ucMzK/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/bRrlOI/btsJ4MPVgHu/5a3l3dJjwShhPqKm4ucMzK/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/bRrlOI/btsJ4MPVgHu/5a3l3dJjwShhPqKm4ucMzK/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbRrlOI%2FbtsJ4MPVgHu%2F5a3l3dJjwShhPqKm4ucMzK%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;400&quot; height=&quot;625&quot; data-filename=&quot;edited_222.png&quot; data-origin-width=&quot;300&quot; data-origin-height=&quot;469&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;그 이후 채촌(치수 재기)을 진행하는데요. 이곳저곳 측정을 잘 해주셨고 체형에 대한 설명도 친절하게 잘 해주십니다. 기성복을 입을 때 불편했던 부분들이 있었는데.. 제 체형적 특징 때문에 그렇더라구요. 개인적으로는 신기한 경험이였습니다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;저 같은 경우는 원단 결정을 못 해서&amp;nbsp;채촌이 끝난 후, 비슷한 사이즈의 옷을 한 번 입어보고 결정했습니다.&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;edited_1718547691430.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/ctAmbf/btsJ3mSGrrk/bxnWzHLuwQJ8loRGa5CEnK/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/ctAmbf/btsJ3mSGrrk/bxnWzHLuwQJ8loRGa5CEnK/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/ctAmbf/btsJ3mSGrrk/bxnWzHLuwQJ8loRGa5CEnK/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FctAmbf%2FbtsJ3mSGrrk%2FbxnWzHLuwQJ8loRGa5CEnK%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;666&quot; data-filename=&quot;edited_1718547691430.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;edited_1718547691509.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/dfAOyQ/btsJ2Xy9D9I/a7OQfFvFyItmVi3Wrxclp1/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/dfAOyQ/btsJ2Xy9D9I/a7OQfFvFyItmVi3Wrxclp1/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/dfAOyQ/btsJ2Xy9D9I/a7OQfFvFyItmVi3Wrxclp1/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FdfAOyQ%2FbtsJ2Xy9D9I%2Fa7OQfFvFyItmVi3Wrxclp1%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;666&quot; data-filename=&quot;edited_1718547691509.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;네이비 원단과 그레이 원단으로 된 정장을 피팅 해볼 수 있도록 도와주셨어요. 대부분의 분들이 본인과 잘 어울리는 색상이나 디테일을 잘 모르기 때문에 선택한 원단으로 피팅 해볼 수 있는 건 큰 장점인 것 같습니다.&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;edited_1718547691559.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/Z5tJ2/btsJ3k1DMz5/FQ3ru7gG3RbdCSEDaO8se1/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/Z5tJ2/btsJ3k1DMz5/FQ3ru7gG3RbdCSEDaO8se1/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/Z5tJ2/btsJ3k1DMz5/FQ3ru7gG3RbdCSEDaO8se1/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FZ5tJ2%2FbtsJ3k1DMz5%2FFQ3ru7gG3RbdCSEDaO8se1%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;666&quot; data-filename=&quot;edited_1718547691559.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;edited_1718547691604.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/bHwoyJ/btsJ4t32wmX/eeuWjVeFKHQkkew1RfEGY0/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/bHwoyJ/btsJ4t32wmX/eeuWjVeFKHQkkew1RfEGY0/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/bHwoyJ/btsJ4t32wmX/eeuWjVeFKHQkkew1RfEGY0/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbHwoyJ%2FbtsJ4t32wmX%2FeeuWjVeFKHQkkew1RfEGY0%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;666&quot; data-filename=&quot;edited_1718547691604.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;이후 1차 가봉, 2차 가봉 과정을 통해서 예복을 완성하게 됩니다. 가봉 시에는 재단사 분이 직접 옷에 대한 설명과 치수를 재어주시는데요. 전문성과 자부심이 느껴지는 모습이였습니다. 혹시 웨딩 촬영이나 본식용 구두를 구매하셨으면 가봉 시 가져가셔서 더 이쁘게 핏을 잡아볼 수 있습니다.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;edited_edited_1719153154019.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/lmBh3/btsJ2VH9wka/4EgTZfd4cEv8AEfH1Fbph1/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/lmBh3/btsJ2VH9wka/4EgTZfd4cEv8AEfH1Fbph1/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/lmBh3/btsJ2VH9wka/4EgTZfd4cEv8AEfH1Fbph1/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FlmBh3%2FbtsJ2VH9wka%2F4EgTZfd4cEv8AEfH1Fbph1%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;666&quot; data-filename=&quot;edited_edited_1719153154019.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;edited_1719153154132.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/cVxSXA/btsJ31tqOyS/pSPOBRHrx6LSttJALlwUuK/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/cVxSXA/btsJ31tqOyS/pSPOBRHrx6LSttJALlwUuK/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/cVxSXA/btsJ31tqOyS/pSPOBRHrx6LSttJALlwUuK/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcVxSXA%2FbtsJ31tqOyS%2FpSPOBRHrx6LSttJALlwUuK%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;666&quot; data-filename=&quot;edited_1719153154132.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;edited_edited_1719153154199.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/Anw8k/btsJ22z8r0e/pXk5kANalIKhiIExGWWvk0/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/Anw8k/btsJ22z8r0e/pXk5kANalIKhiIExGWWvk0/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/Anw8k/btsJ22z8r0e/pXk5kANalIKhiIExGWWvk0/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FAnw8k%2FbtsJ22z8r0e%2FpXk5kANalIKhiIExGWWvk0%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;666&quot; data-filename=&quot;edited_edited_1719153154199.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;아 그리고 반니 비스포크에도 웨딩 패키지가 있습니다. 소정의 대여료를 지불하고 대여복, 구두 대여가 가능합니다. 액세서리는 무료로 대여해주셨어요. 대여료는 1박 2일 기준이여서, 웨딩 찰영 전날 대여하고 촬영 종료 후 반납하면 됩니다.&amp;nbsp;저는 흰색 양복과 갈색 구두를 대여했었습니다.&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;edited_edited_1719153154275.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/blkb83/btsJ3mypbZn/ZKokUH8RZ3iWzHc9Ok9Dfk/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/blkb83/btsJ3mypbZn/ZKokUH8RZ3iWzHc9Ok9Dfk/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/blkb83/btsJ3mypbZn/ZKokUH8RZ3iWzHc9Ok9Dfk/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fblkb83%2FbtsJ3mypbZn%2FZKokUH8RZ3iWzHc9Ok9Dfk%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;666&quot; data-filename=&quot;edited_edited_1719153154275.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;edited_1719153154354.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/TmZd7/btsJ30VyM9r/8KqcrS4rQKcWOd6iOhkdok/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/TmZd7/btsJ30VyM9r/8KqcrS4rQKcWOd6iOhkdok/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/TmZd7/btsJ30VyM9r/8KqcrS4rQKcWOd6iOhkdok/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FTmZd7%2FbtsJ30VyM9r%2F8KqcrS4rQKcWOd6iOhkdok%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;666&quot; data-filename=&quot;edited_1719153154354.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;edited_edited_1719153154413.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/b1z34R/btsJ4uPn5XB/LUyXRkntEouxfK1iTYCvKk/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/b1z34R/btsJ4uPn5XB/LUyXRkntEouxfK1iTYCvKk/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/b1z34R/btsJ4uPn5XB/LUyXRkntEouxfK1iTYCvKk/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fb1z34R%2FbtsJ4uPn5XB%2FLUyXRkntEouxfK1iTYCvKk%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;666&quot; data-filename=&quot;edited_edited_1719153154413.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;666&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;마지막으로 완성된 예복 사진과 함께 후기 글을 끝맺으려 합니다.&amp;nbsp;예복을 단순히 결혼식 때 입을 양복이 아닌 좋은 옷을 구매하고 하고 싶다면 반니 비스포크 추천 드립니다.&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;edited_R240803001_3621-1.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;750&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/Zakgj/btsJ2PHOXAI/9kf7djEFyWXbNzF2LKTnF1/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/Zakgj/btsJ2PHOXAI/9kf7djEFyWXbNzF2LKTnF1/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/Zakgj/btsJ2PHOXAI/9kf7djEFyWXbNzF2LKTnF1/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FZakgj%2FbtsJ2PHOXAI%2F9kf7djEFyWXbNzF2LKTnF1%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;750&quot; data-filename=&quot;edited_R240803001_3621-1.jpg&quot; data-origin-width=&quot;500&quot; data-origin-height=&quot;750&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;</description>
      <category>창고/미분류</category>
      <author>레필리아</author>
      <guid isPermaLink="true">https://repilria.tistory.com/414</guid>
      <comments>https://repilria.tistory.com/414#entry414comment</comments>
      <pubDate>Sat, 12 Oct 2024 21:47:08 +0900</pubDate>
    </item>
    <item>
      <title>dw2pdf 한글 글꼴(CJK font) 설정</title>
      <link>https://repilria.tistory.com/413</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;dw2pdf는 도쿠위키 플러그인 중 위키문서를 PDF로 출력하게 도와주는 플러그인이다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;해당 플러그인을 설치해보고 사용해보면,&lt;/p&gt;&lt;p&gt;한글 출력이 안되거나 출력은 되지만 글꼴이 엉망인 경우가 있다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;현재 인터넷에 퍼져있는 정보가 대부분 예전 버전용이라 해결이 되지 않은 경우가 많은데,&lt;/p&gt;&lt;p&gt;2016년 4월 17에 릴리즈 된 버전을 기준으로 설명하도록 하겠다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul style=&quot;list-style-type: disc;&quot;&gt;&lt;li&gt;&lt;b&gt;[doku_root]\lib\plugins\dw2pdf\DokuPDF.class&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;해당 파일을 열어보면&amp;nbsp;switch($conf['lang']) { &amp;nbsp;으로 시작하는 구문이 존재한다. ( line #33 )&lt;/div&gt;&lt;div&gt;해당 switch 문의 case 'ko': 를 살펴보면 $mode='+aCJK'; 라고 되어 있는데,&lt;/div&gt;&lt;div&gt;이를 $mode='-aCJK'; 로 변경해준다.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(231, 253, 181); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;div&gt;switch($conf['lang']) {&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; case 'zh':&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; case 'zh-tw':&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; case 'ja':&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; case 'ko':&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //$mode = '+aCJK';&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;$mode = '-aCJK';&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; default:&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $mode = 'UTF-8-s';&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;ul style=&quot;list-style-type: disc;&quot;&gt;&lt;li&gt;&lt;b&gt;[&lt;/b&gt;&lt;b&gt;doku_root]\lib\plugins\dw2pdf\mpdf\config_fonts.php&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;해당 파일을 열어보면&amp;nbsp;$this-&amp;gt;fontdata = array( 으로 시작하는 구문이 존재한다. ( line #85 )&lt;/div&gt;&lt;div&gt;아래와 같은 형식으로 array에 원소(element)를 추가해준다.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;R은 regular로 일반 글자를 출력할 때 사용하는 글꼴이고&amp;nbsp;B는 bold, 굵게 표시된 글자를 출력할 때 사용하는 글꼴이다.&lt;/div&gt;&lt;div&gt;I는 italic, 기울어진 글자를 출력할 때 사용하며 BI는 bold+italic으로 굵게+기울어진 글자를 출력할 때 사용하는 글꼴이다.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;그리고 사용하고자 하는 글꼴파일은&amp;nbsp;[doku_root]\lib\plugins\dw2pdf\mpdf\ttfonts에 포함되어 있어야 한다.&lt;/div&gt;&lt;div&gt;예시에 적힌 malgun.ttf는 윈도우에 포함된 폰트인 맑은 고딕의 파일명이다.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(231, 253, 181); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;div&gt;&quot;글꼴셋 이름&quot; =&amp;gt; array(&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;'R' =&amp;gt; &quot;글꼴파일명&quot;,&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;(옵션)&amp;nbsp;'B' =&amp;gt; &quot;글꼴파일명&quot;,&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;(옵션)&amp;nbsp;'I' =&amp;gt; &quot;글꼴파일명&quot;,&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;(옵션)&amp;nbsp;'BI' =&amp;gt; &quot;글꼴파일명&quot;,&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;),&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(예제)&lt;/div&gt;&lt;div&gt;&quot;malgun-gothic&quot; =&amp;gt; array(&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;'R' =&amp;gt; &quot;malgun.ttf&quot;,&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;'B' =&amp;gt; &quot;malgunbd.ttf&quot;,&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;'I' =&amp;gt; &quot;malgun.ttf&quot;,&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;'BI' =&amp;gt; &quot;malgunbd.ttf&quot;,&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;),&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;ul style=&quot;list-style-type: disc;&quot;&gt;&lt;li&gt;&lt;b&gt;[doku_root]\lib\plugins\dw2pdf\config_lang2fonts.php&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;파일을 열어보면&amp;nbsp;switch($lang){ 으로 시작하는 구문이 존재한다. ( line#32 )&lt;/div&gt;&lt;div&gt;해당 switch 문 내부에 CASE &quot;ko&quot;: &amp;nbsp;CASE &quot;kor&quot;:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;// HANGUL Korean 으로 시작하는 case가 있다. ( line #353 )&lt;/div&gt;&lt;div&gt;해당 case block을 아래와 같이 변경한다.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(231, 253, 181); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;div&gt;CASE &quot;ko&quot;: &amp;nbsp;CASE &quot;kor&quot;:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;// HANGUL Korean&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if ($adobeCJK) { $unifont = &quot;uhc&quot;; }&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else { $unifont = &quot;글꼴셋 이름&quot;; }&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;break;&lt;/div&gt;&lt;div&gt;CASE &quot;ja&quot;: &amp;nbsp;CASE &quot;jpn&quot;:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;// Japanese HIRAGANA KATAKANA&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(예제)&lt;/div&gt;&lt;div&gt;CASE &quot;ko&quot;: &amp;nbsp;CASE &quot;kor&quot;:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;// HANGUL Korean&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;if ($adobeCJK) { $unifont = &quot;uhc&quot;; }&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;else { $unifont = &quot;malgun-gothic&quot;; }&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;break;&lt;/div&gt;&lt;div&gt;CASE &quot;ja&quot;: &amp;nbsp;CASE &quot;jpn&quot;:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;// Japanese HIRAGANA KATAKANA&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;ul style=&quot;list-style-type: disc;&quot;&gt;&lt;li&gt;&lt;b&gt;[doku_root]\lib\plugins\dw2pdf\conf\style.local.css&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;해당 css 파일의 body 부분을 아래와 같이 변경한다.&lt;/div&gt;&lt;div&gt;만일 파일이 없다면 style.css를 복사하여 style.local.css를 생성한 후 body 부분을 변경한다.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(231, 253, 181); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;div&gt;&lt;div&gt;body {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; font-family: '글꼴셋 이름';&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(예제)&lt;/div&gt;&lt;div&gt;body {&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; font-family: 'malgun-gothic';&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;덧붙여, 다른 팁을 보고 [doku_root]\lib\plugins\dw2pdf\mpdf\config.php 에서&lt;/p&gt;&lt;p&gt;$this-&amp;gt;useAdobeCJK = false; ( line&amp;nbsp;#44 )&amp;nbsp;를 true로 수정하였다면 false로 변경하도록 한다.&lt;/p&gt;</description>
      <category>컴퓨터공학 리서치/공개</category>
      <author>레필리아</author>
      <guid isPermaLink="true">https://repilria.tistory.com/413</guid>
      <comments>https://repilria.tistory.com/413#entry413comment</comments>
      <pubDate>Tue, 16 Aug 2016 17:20:43 +0900</pubDate>
    </item>
    <item>
      <title>CMakeLists.txt를 사용하여 OpenCV 링크하기</title>
      <link>https://repilria.tistory.com/412</link>
      <description>&lt;p&gt;CLion 사용시 외부라이브러리(e.g. OpenCV)&amp;nbsp;링크가 불편하다.&lt;/p&gt;&lt;p&gt;일반적인 방법으로 아래와 같은 형식으로 CMakeLists.txt를 작성하게 된다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(254, 254, 184); padding: 10px; background-color: rgb(254, 254, 184);&quot;&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgb(154, 165, 234);&quot;&gt;&lt;/span&gt;cmake_minimum_required(VERSION 3.2)&lt;/p&gt;&lt;p&gt;project(PlateDetection1)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;set(CMAKE_CXX_FLAGS &quot;${CMAKE_CXX_FLAGS} -std=c++11&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;# set dir for header and library&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;include_directories(/usr/local/lib/opencv-3.0.0/include)&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;link_directories(/usr/local/lib/opencv-3.0.0/lib)&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;# sources and libs&lt;/p&gt;&lt;p&gt;set(SOURCE_FILES main.cpp PlateDetection.cpp PlateDetection.h)&lt;/p&gt;&lt;p&gt;&lt;b&gt;set(EXT_LIBS opencv_core opencv_imgcodecs opencv_highgui opencv_imgproc opencv_calib3d opencv_features2d)&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;# linking phase&lt;/p&gt;&lt;p&gt;add_executable(PlateDetection1 ${SOURCE_FILES})&lt;/p&gt;&lt;p&gt;&lt;b&gt;target_link_libraries(PlateDetection1 ${EXT_LIBS})&lt;/b&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;OpenCV와 같이 참조해야할 라이브러리 갯수가 많을 경우는 이 방식은 엄청 불편하다.&lt;/p&gt;&lt;p&gt;하지만 라이브러리 컴파일 시&amp;nbsp;&amp;lt;NAME&amp;gt;Config.cmake or &amp;lt;NAME&amp;gt;-config.cmake 와 같은 파일이 생성된다면,&lt;/p&gt;&lt;p&gt;조금 더 쉽게&amp;nbsp;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;CMakeLists.txt를 작성할 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;아래 두 가지 방법 중 아무거나 사용하도록 하자.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(219, 232, 251); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;cmake_minimum_required(VERSION 3.3)&lt;/p&gt;&lt;p&gt;project(LaneDetection1)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;set(CMAKE_CXX_FLAGS &quot;${CMAKE_CXX_FLAGS} -std=c++11&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;set(OpenCV_DIR [OpenCV.cmake PATH])&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;find_package(OpenCV REQUIRED)&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;include_directories(${OpenCV_INCLUDE_DIR})&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;set(SOURCE_FILES main.cpp)&lt;/p&gt;&lt;p&gt;add_executable(LaneDetection1 ${SOURCE_FILES})&lt;/p&gt;&lt;p&gt;&lt;b&gt;target_link_libraries(LaneDetection1 ${OpenCV_LIBRARIES})&lt;/b&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(231, 253, 181); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;p&gt;cmake_minimum_required(VERSION 3.3)&lt;/p&gt;&lt;p&gt;&lt;b&gt;set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} [OpenCV.cmake PATH])&lt;/b&gt;&lt;/p&gt;&lt;p&gt;project(LaneDetection1)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;set(CMAKE_CXX_FLAGS &quot;${CMAKE_CXX_FLAGS} -std=c++11&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;find_package(OpenCV REQUIRED)&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;include_directories(${OpenCV_INCLUDE_DIR})&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;set(SOURCE_FILES main.cpp)&lt;/p&gt;&lt;p&gt;add_executable(LaneDetection1 ${SOURCE_FILES})&lt;/p&gt;&lt;p&gt;&lt;b&gt;target_link_libraries(LaneDetection1 ${OpenCV_LIBRARIES})&lt;/b&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>컴퓨터공학 리서치/공개</category>
      <author>레필리아</author>
      <guid isPermaLink="true">https://repilria.tistory.com/412</guid>
      <comments>https://repilria.tistory.com/412#entry412comment</comments>
      <pubDate>Mon, 5 Oct 2015 14:54:11 +0900</pubDate>
    </item>
    <item>
      <title>우분투(ubuntu) 환경변수 설정방법</title>
      <link>https://repilria.tistory.com/411</link>
      <description>&lt;h1 id=&quot;Persistent_environment_variables&quot; style=&quot;margin: 0em 0px 8px; padding: 0px; border: 0px; font-weight: normal; font-size: 28px; line-height: 32px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;Persistent environment variables&lt;/h1&gt;&lt;p class=&quot;line874&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;So far we've only discussed ways set an environment variable value temporarily until the shell session in which it was set is closed. One may wonder if there is a way to somehow permanently set an environment variable to a certain value.&lt;span class=&quot;anchor&quot; id=&quot;line-116&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-117&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/p&gt;&lt;h2 id=&quot;Session-wide_environment_variables&quot; style=&quot;margin: 1em 0px 8px; padding: 0px; border: 0px; font-weight: normal; font-size: 24px; line-height: 28px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;Session-wide environment variables&lt;/h2&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;Suitable files for environment variable settings that should affect just a particular user (rather than the system as a whole) are&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;~/.pam_environment&lt;/strong&gt;&amp;nbsp;and&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;~/.profile&lt;/strong&gt;. After having edited one of those files, you should&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;re-login&lt;/strong&gt;&amp;nbsp;in order to initialize the variables.&lt;span class=&quot;anchor&quot; id=&quot;line-119&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-120&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/p&gt;&lt;h3 id=&quot;A.2BAH4-.2F.pam_environment&quot; style=&quot;margin: 1em 0px 8px; padding: 0px; border: 0px; font-weight: normal; font-size: 16px; line-height: 20px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;~/.pam_environment&lt;/h3&gt;&lt;p class=&quot;line874&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;This file is specifically meant for setting a user's environment. It is not a script file, but rather consists of assignment expressions, one per line. This example sets the variable FOO to a literal string and modifies the PATH variable:&lt;span class=&quot;anchor&quot; id=&quot;line-122&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-123&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-124&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-125&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-126&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 4pt; border: 1px dashed rgb(193, 180, 150); font-size: 13px; line-height: 16px; font-family: UbuntuMono, courier, monospace; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word; background-color: rgb(243, 243, 243);&quot;&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-1-13&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;FOO=bar
&lt;span class=&quot;anchor&quot; id=&quot;line-2-1&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;PATH DEFAULT=${PATH}:${HOME}/MyPrograms&lt;/pre&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;Note:&lt;/strong&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-129&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-130&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;margin: 0px 0px 8px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline; list-style: decimal;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 8px 2.4em; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1.5; font-family: inherit; text-align: left; vertical-align: baseline;&quot;&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1.5; font-family: inherit; vertical-align: baseline;&quot;&gt;You may not quote the value when doing a simple variable assignment like the&amp;nbsp;&lt;tt class=&quot;backtick&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; vertical-align: baseline;&quot;&gt;FOO=bar&lt;/tt&gt;&amp;nbsp;example.&lt;span class=&quot;anchor&quot; id=&quot;line-131&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-132&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;gap&quot; style=&quot;margin: 0px 0px 8px 2.4em; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1.5; font-family: inherit; text-align: left; vertical-align: baseline;&quot;&gt;The syntax used for modifying PATH, which syntax differs from script files, is required for variable expansion to work.&lt;span class=&quot;anchor&quot; id=&quot;line-133&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-134&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;gap&quot; style=&quot;margin: 0px 0px 0px 2.4em; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1.5; font-family: inherit; text-align: left; vertical-align: baseline;&quot;&gt;&lt;p class=&quot;line891&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1.5; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;~/.pam_environment&lt;/strong&gt;&amp;nbsp;is written to when you use various GUIs to set the language or regional formats. Consequently, if you for instance set LC_TIME by editing&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;~/.pam_environment&lt;/strong&gt;&amp;nbsp;manually, your entry will be overwritten if you afterwards use the Language Support GUI to change the regional formats setting.&lt;span class=&quot;anchor&quot; id=&quot;line-135&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-136&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/p&gt;&lt;h3 id=&quot;A.2BAH4-.2F.profile&quot; style=&quot;margin: 1em 0px 8px; padding: 0px; border: 0px; font-weight: normal; font-size: 16px; line-height: 20px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;~/.profile&lt;/h3&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;In this file you can also place environment variable assignments, since it gets executed automatically by the DisplayManager during the start-up process desktop session as well as by the login shell when one logs in from the textual console. This is a&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;~/.profile&lt;/strong&gt;&amp;nbsp;equivalent of the above example:&lt;span class=&quot;anchor&quot; id=&quot;line-138&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-139&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-140&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-141&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-142&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 4pt; border: 1px dashed rgb(193, 180, 150); font-size: 13px; line-height: 16px; font-family: UbuntuMono, courier, monospace; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word; background-color: rgb(243, 243, 243);&quot;&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-1-14&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;export FOO=bar
&lt;span class=&quot;anchor&quot; id=&quot;line-2-2&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;export PATH=&quot;$PATH:$HOME/MyPrograms&quot;&lt;/pre&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;Note:&lt;/strong&gt;&amp;nbsp;The code in&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;~/.profile&lt;/strong&gt;&amp;nbsp;is run after&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;~/.pam_environment&lt;/strong&gt;&amp;nbsp;has been read. That makes&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;~/.profile&lt;/strong&gt;&amp;nbsp;suitable to use if you want to override a locale related variable that was set in&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;~/.pam_environment&lt;/strong&gt;&amp;nbsp;via e.g. Language Support.&lt;span class=&quot;anchor&quot; id=&quot;line-145&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-146&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/p&gt;&lt;h3 id=&quot;Other_files&quot; style=&quot;margin: 1em 0px 8px; padding: 0px; border: 0px; font-weight: normal; font-size: 16px; line-height: 20px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;Other files&lt;/h3&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;If you are using KDE, see also&amp;nbsp;&lt;a class=&quot;http&quot; href=&quot;http://userbase.kde.org/Session_Environment_Variables/en&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline; color: rgb(221, 72, 20);&quot;&gt;the KDE User-base page on this topic&lt;/a&gt;.&lt;span class=&quot;anchor&quot; id=&quot;line-148&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-149&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;Shell config files such as&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;~/.bashrc&lt;/strong&gt;,&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;~/.bash_profile&lt;/strong&gt;, and&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;~/.bash_login&lt;/strong&gt;&amp;nbsp;are often suggested for setting environment variables. While this may work on Bash shells for programs started from the shell, variables set in those files are not available by default to programs started from the graphical environment in a desktop session.&lt;span class=&quot;anchor&quot; id=&quot;line-150&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-151&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/p&gt;&lt;h2 id=&quot;System-wide_environment_variables&quot; style=&quot;margin: 1em 0px 8px; padding: 0px; border: 0px; font-weight: normal; font-size: 24px; line-height: 28px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;System-wide environment variables&lt;/h2&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;A suitable file for environment variable settings that affect the system as a whole (rather than just a particular user) is&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;/etc/environment&lt;/strong&gt;. An alternative is to create a file for the purpose in the&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;/etc/profile.d&lt;/strong&gt;&amp;nbsp;directory.&lt;span class=&quot;anchor&quot; id=&quot;line-153&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-154&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/p&gt;&lt;h3 id=&quot;A.2Fetc.2Fenvironment&quot; style=&quot;margin: 1em 0px 8px; padding: 0px; border: 0px; font-weight: normal; font-size: 16px; line-height: 20px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;/etc/environment&lt;/h3&gt;&lt;p class=&quot;line874&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;This file is specifically meant for system-wide environment variable settings. It is not a script file, but rather consists of assignment expressions, one per line.&lt;span class=&quot;anchor&quot; id=&quot;line-156&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-157&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-158&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-159&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 4pt; border: 1px dashed rgb(193, 180, 150); font-size: 13px; line-height: 16px; font-family: UbuntuMono, courier, monospace; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word; background-color: rgb(243, 243, 243);&quot;&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-1-15&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;FOO=bar&lt;/pre&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;Note:&lt;/strong&gt;&amp;nbsp;Variable expansion does not work in&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;/etc/environment&lt;/strong&gt;.&lt;span class=&quot;anchor&quot; id=&quot;line-162&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-163&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/p&gt;&lt;h3 id=&quot;A.2Fetc.2Fprofile.d.2F.2A.sh&quot; style=&quot;margin: 1em 0px 8px; padding: 0px; border: 0px; font-weight: normal; font-size: 16px; line-height: 20px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;/etc/profile.d/*.sh&lt;/h3&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;Files with the .sh extension in the&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;/etc/profile.d&lt;/strong&gt;&amp;nbsp;directory get executed whenever a bash login shell is entered (e.g. when logging in from the console or over ssh), as well as by the DisplayManager when the desktop session loads.&lt;span class=&quot;anchor&quot; id=&quot;line-165&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-166&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;You can for instance create the file&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;/etc/profile.d/myenvvars.sh&lt;/strong&gt;&amp;nbsp;and set variables like this:&lt;span class=&quot;anchor&quot; id=&quot;line-167&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-168&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-169&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-170&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-171&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;margin-top: 0px; margin-bottom: 8px; padding: 4pt; border: 1px dashed rgb(193, 180, 150); font-size: 13px; line-height: 16px; font-family: UbuntuMono, courier, monospace; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word; background-color: rgb(243, 243, 243);&quot;&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-1-16&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;export JAVA_HOME=/usr/lib/jvm/jdk1.7.0
&lt;span class=&quot;anchor&quot; id=&quot;line-2-3&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;export PATH=$PATH:$JAVA_HOME/bin&lt;/pre&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/p&gt;&lt;h3 id=&quot;Other_files-1&quot; style=&quot;margin: 1em 0px 8px; padding: 0px; border: 0px; font-weight: normal; font-size: 16px; line-height: 20px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;Other files&lt;/h3&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;While&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;/etc/profile&lt;/strong&gt;&amp;nbsp;is often suggested for setting environment variables system-wide, it is a configuration file of the base-files package, so it's not appropriate to edit that file directly. Use a file in&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;/etc/profile.d&lt;/strong&gt;&amp;nbsp;instead as shown above. (Files in&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;/etc/profile.d&lt;/strong&gt;&amp;nbsp;are sourced by&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;/etc/profile&lt;/strong&gt;.)&lt;span class=&quot;anchor&quot; id=&quot;line-175&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-176&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line867&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;/etc/default/locale&lt;/strong&gt;&amp;nbsp;is specifically meant for system-wide&amp;nbsp;&lt;span class=&quot;u&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline; text-decoration: underline;&quot;&gt;locale&lt;/span&gt;&amp;nbsp;environment variable settings. It's written to by the installer and when you use Language Support to set the language or regional formats system-wide. On a desktop system there is normally no reason to edit this file manually.&lt;span class=&quot;anchor&quot; id=&quot;line-177&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-178&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-115&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-118&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-121&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-127&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-128&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-137&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-143&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-144&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-147&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-152&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-155&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-160&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-161&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-164&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-172&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-173&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-174&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 13px; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;The shell config file&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: 1; font-family: inherit; vertical-align: baseline;&quot;&gt;/etc/bash.bashrc&lt;/strong&gt;&amp;nbsp;is sometimes suggested for setting environment variables system-wide. While this may work on Bash shells for programs started from the shell, variables set in that file are not available by default to programs started from the graphical environment in a desktop session.&lt;/p&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; font-size: 13px; line-height: 1.5; font-family: Ubuntu, 'Ubuntu Beta', 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;&lt;font face=&quot;Ubuntu, Ubuntu Beta, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 19.5px;&quot;&gt;[출처]&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;line862&quot; style=&quot;margin-right: 0px; margin-bottom: 8px; margin-left: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;&lt;font face=&quot;Ubuntu, Ubuntu Beta, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 19.5px;&quot;&gt;https://help.ubuntu.com/community/EnvironmentVariables#Persistent_environment_variables&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;</description>
      <category>컴퓨터공학 리서치/공개</category>
      <author>레필리아</author>
      <guid isPermaLink="true">https://repilria.tistory.com/411</guid>
      <comments>https://repilria.tistory.com/411#entry411comment</comments>
      <pubDate>Sat, 5 Sep 2015 16:49:00 +0900</pubDate>
    </item>
    <item>
      <title>우분투(ubuntu)에서 JDK 설치</title>
      <link>https://repilria.tistory.com/410</link>
      <description>&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;1. JDK를 oracle 홈페이지에서 다운로드 받는다. (tar.gz 파일; [JDK].tar.gz&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. 압축 해제 후 적당한 곳으로 폴더 이동&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(243, 197, 52); padding: 10px; background-color: rgb(254, 254, 184);&quot;&gt;&lt;p&gt;~/Downloads$ tar xzf [JDK].tar.gz&lt;br /&gt;&lt;/p&gt;&lt;p&gt;~/Downloads$ ls&lt;/p&gt;&lt;p&gt;[JDK]&amp;nbsp; &amp;nbsp; [JDK].tar.gz&lt;/p&gt;&lt;p&gt;~/Downloads$ sudo mv&amp;nbsp;[JDK] /usr/local/lib&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. java 환경 변수 설정&lt;/p&gt;&lt;p&gt;/etc/profile.d/[name].sh&amp;nbsp;파일 생성 후 아래 내용 추가, 이후 재부팅&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(121, 165, 228); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;JAVA_HOME=/usr/local/lib/[JDK]/&lt;br /&gt;&lt;/p&gt;&lt;p&gt;CLASSPATH=.:$JAVA_HOME/lib&lt;/p&gt;&lt;p&gt;PATH=$PATH:/usr/local/lib/[JDK]/bin&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;4. java 심볼릭 링크 생성&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(243, 197, 52); padding: 10px; background-color: rgb(254, 254, 184);&quot;&gt;&lt;p&gt;$ sudo update-alternatives --install &quot;/usr/bin/java&quot; &quot;java&quot; &quot;/usr/local/lib/[JDK]/bin/java&quot; 1&lt;br /&gt;&lt;/p&gt;&lt;p&gt;$ sudo update-alternatives --install &quot;/usr/bin/javac&quot; &quot;javac&quot; &quot;/usr/local/lib/[JDK]/bin/javac&quot; 1&lt;/p&gt;&lt;p&gt;$ sudo update-alternatives --install &quot;/usr/bin/javaws&quot; &quot;javaws&quot; &quot;/usr/local/lib/[JDK]/bin/javaws&quot; 1&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. 설치 확인&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(243, 197, 52); padding: 10px; background-color: rgb(254, 254, 184);&quot;&gt;&lt;p&gt;$ java -version&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>컴퓨터공학 리서치/공개</category>
      <author>레필리아</author>
      <guid isPermaLink="true">https://repilria.tistory.com/410</guid>
      <comments>https://repilria.tistory.com/410#entry410comment</comments>
      <pubDate>Thu, 3 Sep 2015 13:57:00 +0900</pubDate>
    </item>
    <item>
      <title>우분투(ubuntu) 바탕화면에 바로가기 만들기</title>
      <link>https://repilria.tistory.com/409</link>
      <description>&lt;p&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;b&gt;1. 14.04 이전 버전&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;아래 내용을 &lt;span style=&quot;color: rgb(102, 0, 255);&quot;&gt;&lt;b&gt;/home/[user&amp;nbsp;name]/Desktop&lt;/b&gt;&lt;/span&gt;에 [name].desktop 으로 저장&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(219, 232, 251); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;[Desktop Entry]&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;Name=Eclipse 4&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;Type=Application&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(152, 0, 0);&quot;&gt;Exec=/opt/eclipse/eclipse&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;Terminal=false&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;Icon=/opt/eclipse/icon.xpm&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;Comment=Integrated Development Environment&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;NoDisplay=false&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;Categories=Development;IDE;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; font-size: 13px; line-height: 20.7999992370605px;&quot;&gt;Name[en]=Eclipse&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;Name - 아이콘 이름&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;Exec - 실행파일 위치&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;Icon - 아이콘 이미지 파일 위치&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;권한 변경 커맨드(chmod)를 활용해 [name].desktop을 777로 변경&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;b&gt;2. 14.04 이후 버전&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;아래 내용을&lt;span style=&quot;color: rgb(102, 0, 255);&quot;&gt;&lt;b&gt; /home/[user name]/.local/share/applications&lt;/b&gt;&lt;/span&gt;에 [name].desktop 으로 저장&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(219, 232, 251); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;[Desktop Entry]&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;Name=Eclipse 4&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;Type=Application&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(152, 0, 0);&quot;&gt;Exec=/opt/eclipse/eclipse&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;Terminal=false&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;Icon=/opt/eclipse/icon.xpm&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;Comment=Integrated Development Environment&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;NoDisplay=false&lt;/p&gt;&lt;p style=&quot;font-size: 13px; color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; line-height: 20.7999992370605px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;Categories=Development;IDE;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(62, 62, 62); font-family: 'Nanum Gothic'; font-size: 13px; line-height: 20.7999992370605px;&quot;&gt;Name[en]=Eclipse&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;Name - 아이콘 이름&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;Exec - 실행파일 위치&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;Icon - 아이콘 이미지 파일 위치&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;권한 변경 커맨드(chmod)를 활용하여 [name].desktop을 777로 변경&lt;/div&gt;&lt;div&gt;GUI를 활용하여 [name].desktop이 위치한 폴더로 이동(ctrl+h로 숨김폴더&amp;nbsp;확인)&lt;/div&gt;&lt;div&gt;바탕화면 및 패널에 위치시킬 수 있음.&amp;nbsp;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>컴퓨터공학 리서치/공개</category>
      <author>레필리아</author>
      <guid isPermaLink="true">https://repilria.tistory.com/409</guid>
      <comments>https://repilria.tistory.com/409#entry409comment</comments>
      <pubDate>Wed, 2 Sep 2015 13:55:28 +0900</pubDate>
    </item>
    <item>
      <title>안드로이드 adb 및 fastboot 명령 정리</title>
      <link>https://repilria.tistory.com/408</link>
      <description>&lt;p&gt;adb shell [명령] : shell 또는 명령 실행('cat /proc/kmsg' 라던가..)&lt;/p&gt;&lt;p&gt;adb reboot : &amp;nbsp;reboot&lt;/p&gt;&lt;p&gt;adb reboot [bootloader | recovery] : reboot &amp;amp; [fastboot | recovery]모드 들어가기&lt;/p&gt;&lt;p&gt;adb logcat [TAG:LEVEL] [*:S] : logcat, 특정 TAG를 LEVEL(S,V,I,D,...)로 보기, *:S 넣으면 나머지는 Silent.&lt;/p&gt;&lt;p&gt;adb root : root 로 adbd 재실행&lt;/p&gt;&lt;p&gt;adb remount : system 파티션을 rw로 remount&lt;/p&gt;&lt;p&gt;adb push, pull : 파일 넣기, 빼오기, read/write 시스템 콜 이용으로도 사용 가능.&lt;/p&gt;&lt;p&gt;adb wait-for-devices [명령] : adb 연결 기다렸다 명령 실행&lt;/p&gt;&lt;p&gt;adb devices : 붙었나?&lt;/p&gt;&lt;p&gt;adb sideload &amp;lt;파일이름.zip&amp;gt; : OTA패키지인 파일이름.zip 을 adb 를 통해 업데이트. JB부터 추가&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;fastboot flash &amp;lt;파티션 이름&amp;gt; &amp;lt;파일명&amp;gt; : 파티션 이름에는 bootloader, boot, zimage, ramdisk, system, userdata, cache, recovery 등이 올 수 있다.&lt;/p&gt;&lt;p&gt;fastboot wait-for-devices : 윈도우즈는 그냥 명령 주면 대기하므로 필요없다. 리눅스용에서 사용.&lt;/p&gt;&lt;p&gt;fastboot [-w] flashall : 윈도우즈에서는 &quot;set ANDROID_PRODUCT_OUT=D:\out\target\product\crespo&quot; 해두고 하면 된다. -w 옵션주면 userdata 등 파티션 날리고 모두 flash&lt;/p&gt;&lt;p&gt;fastboot [-w] update &amp;lt;zip 파일이름&amp;gt; : update용 zip 파일(make updatepackage로 생성)로 업데이트, 역시 -w 옵션 주면 나머지 날림.&lt;/p&gt;&lt;p&gt;fastboot reboot-bootloader : fastboot 모드로 reboot&lt;/p&gt;&lt;p&gt;fastboot reboot : reboot.&lt;/p&gt;&lt;p&gt;fastboot getvar &amp;lt;Variable&amp;gt; : Variable 을 얻어옴. 전체는 all(&quot;fastboot getvar all&quot;)&lt;/p&gt;&lt;p&gt;fastboot devices : 붙었나?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;[출처]&amp;nbsp;http://blog.dasomoli.org/m/post/38&lt;/p&gt;</description>
      <category>컴퓨터공학 리서치/공개</category>
      <author>레필리아</author>
      <guid isPermaLink="true">https://repilria.tistory.com/408</guid>
      <comments>https://repilria.tistory.com/408#entry408comment</comments>
      <pubDate>Mon, 16 Mar 2015 14:24:33 +0900</pubDate>
    </item>
    <item>
      <title>Visual Studio 폴더 설정</title>
      <link>https://repilria.tistory.com/407</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 650px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/257AAF3E54CB432918&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F257AAF3E54CB432918&quot; width=&quot;650&quot; height=&quot;457&quot; filename=&quot;vs_window.jpg&quot; filemime=&quot;image/jpeg&quot; style=&quot;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;margin: 1em 0px; color: rgb(138, 138, 138); font-family: dotum; line-height: 15.6000003814697px; float: none; clear: none;&quot;&gt;위처럼 출력 디렉터리 부분을 바꿔주면, 실행파일이나 라이브러리 파일과 같은 빌드의 결과물은 해당하는 폴더에 생성이 되고&lt;/p&gt;&lt;p style=&quot;margin: 1em 0px; color: rgb(138, 138, 138); font-family: dotum; line-height: 15.6000003814697px; float: none; clear: none;&quot;&gt;중간 디렉터리 부분을 바꿔주면 컴파일&amp;amp;빌드 과정에서 생긴 여러 잡다한 로그 등의 파일들은 그에 해당하는 폴더에 생성이 된다.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 650px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2406173E54CB432C0C&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2406173E54CB432C0C&quot; width=&quot;650&quot; height=&quot;406&quot; filename=&quot;vs_window3.jpg&quot; filemime=&quot;image/jpeg&quot; style=&quot;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;margin: 1em 0px; color: rgb(138, 138, 138); font-family: dotum; line-height: 15.6000003814697px; float: none; clear: none;&quot;&gt;&lt;strong&gt;도구 - 옵션&lt;/strong&gt;에 들어가서&lt;/p&gt;&lt;p style=&quot;margin: 1em 0px; color: rgb(138, 138, 138); font-family: dotum; line-height: 15.6000003814697px; float: none; clear: none;&quot;&gt;&lt;strong&gt;대체(fallback) 위치&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;margin: 1em 0px; color: rgb(138, 138, 138); font-family: dotum; line-height: 15.6000003814697px; float: none; clear: none;&quot;&gt;부분을 위 스샷처럼 설정하고, 위치 지정하는 곳은 대체(fallback)위치 에서 지정해주면 된다.&lt;/p&gt;&lt;p style=&quot;margin: 1em 0px; color: rgb(138, 138, 138); font-family: dotum; line-height: 15.6000003814697px; float: none; clear: none;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin: 1em 0px; color: rgb(138, 138, 138); font-family: dotum; line-height: 15.6000003814697px; float: none; clear: none;&quot;&gt;스샷에서는 윈도우의 Temp폴더로 지정되어 있다.&lt;/p&gt;&lt;p style=&quot;margin: 1em 0px; color: rgb(138, 138, 138); font-family: dotum; line-height: 15.6000003814697px; float: none; clear: none;&quot;&gt;위처럼 설정하면, 솔루션/프로젝트 폴더에는 순수하게 소스 파일과 프로젝트 파일만 남게 된다.&lt;/p&gt;</description>
      <category>창고/미분류</category>
      <author>레필리아</author>
      <guid isPermaLink="true">https://repilria.tistory.com/407</guid>
      <comments>https://repilria.tistory.com/407#entry407comment</comments>
      <pubDate>Fri, 30 Jan 2015 17:39:36 +0900</pubDate>
    </item>
    <item>
      <title>리눅스 압축/풀기 정리(zip tar tar.gz tar.bz2)</title>
      <link>https://repilria.tistory.com/406</link>
      <description>&lt;p&gt;1. ZIP&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;- 압축하기&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;zip -rF (압축파일명).zip (압축할 폴더 또는 파일)&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;r : 서브 디렉터리 까지 압축&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;		&lt;/span&gt;F : 한글 이름을 가진 파일까지 압축&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt; zip filename.zip ./* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //현재 폴더에 전부를 압축할때 ./*는 현재 폴더 전부를 의미&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt; zip -r filename.zip ./* &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt; &amp;nbsp; //현재 폴더 하위에있는 폴더 포함하여 압축&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;- 압축 풀기&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;unzip filename.zip&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;unzip filename.zip -d /foldername/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. tar&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 9pt; line-height: 1.5; white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;- 압축하기&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar cf [압축파일명.tar] [압축할 파일/디렉토리]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;- 압축 풀기&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar xf [압축파일명.tar]&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar -xvf filename.tar &amp;nbsp;-C &amp;nbsp;/folder/dest_folder_name/ &amp;nbsp; &amp;nbsp;#지정된 위치에 압축풀기&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;* tar 와 tar.gz 파일압축의 다른점 : 옵션에서 z 차이&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;옵션 : 'v' 옵션으로 실행 과정 출력&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. tar.gz&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;- 압축하기&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar zcf [압축파일명.tar.gz] [압축할 파일/디렉토리]&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar -czvf &amp;nbsp;압축파일명.tar.gz 압축할파일/폴더1 압축할파일/폴더2 압축할파일/폴더3 ...&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar -czvf images.tar.gz ./folder/a1.jpg ./folder/a2.jpg ./folder/a3.jpg&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar -czvf --exclude=./folder/filename.jpg tarname.tar.gz ./folder &amp;nbsp; &amp;nbsp; &amp;nbsp;# 예외 압축&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;- 압축 풀기&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar xfz [압축파일명.tar.gz]&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar -xzvf 압축되어있는파일명.tar.gz&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar -zxvf filename.tar.gz -C /folder/dest_folder_name/ &amp;nbsp; &amp;nbsp; #지정된 위치에 압축풀기&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;옵션 : 'z' 옵션이 gz 파일 압축풀기 옵션&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. tar.bz2 &amp;nbsp;압축률이 가장높음&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 9pt; line-height: 1.5; white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;- 압축하기&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar jcvf [압축파일명.tar.bz2] [압축할 파일/디렉토리]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;- 압축 풀기&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar jxvf &amp;nbsp;[압축파일명.tar.bz2]&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;$ tar -jxvf filename.tar.bz2 -C /folder/dest_folder_name/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;옵션 : &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;'j' 옵션이 bz2 파일 압축풀기 옵션&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. tar.xz &amp;nbsp;- 이중으로 압축을 풀어야 한다.&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 9pt; line-height: 1.5; white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;- 압축하기&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 9pt; line-height: 1.5; white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;$ xz -d [압축파일명.tar.xz]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 9pt; line-height: 1.5; white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;$ tar -xf [압축파일명.tar]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;문제점 :&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;압축 풀기 안될때&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;- unzip 이 안깔려 있을때 apt-get install unzip&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;차이점 : zip 과 tar 의 압축 경로 옵션 설정은 zip : -d, &amp;nbsp;tar : -C&lt;/p&gt;</description>
      <category>컴퓨터공학 리서치/공개</category>
      <author>레필리아</author>
      <guid isPermaLink="true">https://repilria.tistory.com/406</guid>
      <comments>https://repilria.tistory.com/406#entry406comment</comments>
      <pubDate>Mon, 19 Jan 2015 13:39:55 +0900</pubDate>
    </item>
    <item>
      <title>리눅스(우분투) 파일 생성 시 기본 퍼미션</title>
      <link>https://repilria.tistory.com/404</link>
      <description>&lt;p&gt;Q.&lt;/p&gt;&lt;p&gt;어제 파티션 재조정하다 새로 Daily 받아다가 깔았는데,&lt;/p&gt;&lt;p&gt;그 전에는 umask 값이 0022로 적용되었는데 지금은 0002로 적용되어 나오네요.&lt;/p&gt;&lt;p&gt;설치시에 그래픽 문제가 있어서, 텍스트 모드로 들어가서 업데이트 하고나서 정상적으로 사용했습니다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;구글링해보니 우분투 기본 umask가 유저는 0002 루트는 0022가 맞다고 하던데,&amp;nbsp;&lt;/p&gt;&lt;p&gt;기억에 파일 만들면 0002가 적용되지 않았고,&lt;/p&gt;&lt;p&gt;다른 게시물에 제가 올린 글들에서도 분명히 0022가 적용되어 있더군요.&lt;/p&gt;&lt;p&gt;한번 umask와 touch시에 퍼미션이 어떻게 나오는지 부탁 좀 드릴께요.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;$ umask&lt;/p&gt;&lt;p&gt;0002&lt;/p&gt;&lt;p&gt;$ touch test&lt;/p&gt;&lt;p&gt;$ ls -l test&lt;/p&gt;&lt;p&gt;-rw-rw-r-- 1 oseb oseb 0 Jan &amp;nbsp;4 09:33 test&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A.&lt;/p&gt;&lt;p&gt;umask는 생성시 권한에 대한 마스크입니다.&lt;/p&gt;&lt;p&gt;파일에 대해서는&lt;/p&gt;&lt;p&gt;umask 002는 664, 022는 644에 해당하며,&lt;/p&gt;&lt;p&gt;디렉토리에서는&lt;/p&gt;&lt;p&gt;umask 002는 775, 022는 755에 해당합니다&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;그런데... 버뜨, 실제 umask 002와 umask 022 한 후의 touch 결과는 같습니다.&lt;/p&gt;&lt;p&gt;그래서 살펴보았더니, pam이 거기에 관여하고 있더군요.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;umask는 /etc/profile 파일에 정의되나, pam_umask를 사용한다고 나오고,&lt;/p&gt;&lt;p&gt;역추적해보니, /etc/login.defs에 설정되어 있었습니다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;USERGROUPS_ENAB yes&lt;/p&gt;&lt;p&gt;이렇게 설정되어 있을 경우, ID와 GROUP이 동일 번호, 동일 이름을 사용하는경우,&lt;/p&gt;&lt;p&gt;즉, 일반 사용자의 경우, pam이 관여해서, 권한을 GROUP까지 확장하게 됩니다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;UMASK 022 설정에 의해, 실제 사용될 UMASK는 002로 변합니다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;그래서, umask 002나 umask 022가 같은 결과가 나오는 것입니다.&lt;/p&gt;&lt;p&gt;다만, 이것은 일반 사용자의 경우에 한하기에, root는 적용이 안됩니다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;[출처] http://ubuntu-kr.org/~ubuntu/viewtopic.php?p=116507&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;hr style=&quot;display:block; border: black 0 none; border-top: black 1px solid; height: 1px&quot;&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;결론&lt;/span&gt;&lt;/p&gt;&lt;p&gt;유저 계정에서 파일 생성 시 기본 퍼미션은 775 / 664 (오너 권한 = 그룹 권한)&lt;/p&gt;</description>
      <category>컴퓨터공학 리서치/공개</category>
      <author>레필리아</author>
      <guid isPermaLink="true">https://repilria.tistory.com/404</guid>
      <comments>https://repilria.tistory.com/404#entry404comment</comments>
      <pubDate>Wed, 19 Nov 2014 11:46:22 +0900</pubDate>
    </item>
  </channel>
</rss>