<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>툴・개발환경 on kenji.blog</title><link>http://kenji.blog/ko/categories/%ED%88%B4%EA%B0%9C%EB%B0%9C%ED%99%98%EA%B2%BD/</link><description>Recent content in 툴・개발환경 on kenji.blog</description><generator>Hugo -- gohugo.io</generator><language>ko</language><copyright>kenjinote</copyright><lastBuildDate>Sun, 31 Mar 2024 18:09:32 +0900</lastBuildDate><atom:link href="http://kenji.blog/ko/categories/%ED%88%B4%EA%B0%9C%EB%B0%9C%ED%99%98%EA%B2%BD/index.xml" rel="self" type="application/rss+xml"/><item><title>CLI 텍스트 에디터 nano를 Windows에 설치하는 방법</title><link>http://kenji.blog/ko/p/cli%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BFnano%E3%82%92windows%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95/</link><pubDate>Sun, 31 Mar 2024 18:09:32 +0900</pubDate><guid>http://kenji.blog/ko/p/cli%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BFnano%E3%82%92windows%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95/</guid><description>&lt;img src="http://kenji.blog/p/cli%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BFnano%E3%82%92windows%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95/img_1.png" alt="Featured image of post CLI 텍스트 에디터 nano를 Windows에 설치하는 방법" />&lt;h2 id="nanoexe-다운로드하기">nano.exe 다운로드하기
&lt;/h2>&lt;p>&lt;a class="link" href="https://sourceforge.net/projects/nano-for-windows/" target="_blank" rel="noopener"
>https://sourceforge.net/projects/nano-for-windows/&lt;/a>&lt;/p>
&lt;p>위의 링크를 열고, &lt;code>Download&lt;/code>를 클릭하여 &lt;code>GNU-Nano_Win32(static).zip&lt;/code>을 다운로드한다.
zip 파일을 압축 해제하고, 임의의 폴더에 &lt;code>nano.exe&lt;/code>를 배치한다.
※일본어 입력은 지원하지 않는다. (2024/03/31 현재)&lt;/p>
&lt;h2 id="환경-변수-설정하기">환경 변수 설정하기
&lt;/h2>&lt;p>명령 프롬프트에서 &lt;code>nano.exe&lt;/code>를 사용하려면, 환경 변수를 설정해야 한다.&lt;/p>
&lt;ol>
&lt;li>&lt;code>Win 키&lt;/code> + &lt;code>R 키&lt;/code>를 눌러 &lt;code>sysdm.cpl&lt;/code>을 입력하고 &lt;code>Enter 키&lt;/code>를 누른다.&lt;/li>
&lt;li>&lt;code>시스템 속성&lt;/code>의 &lt;code>시스템 속성&lt;/code>을 클릭한다.&lt;/li>
&lt;li>&lt;code>환경 변수&lt;/code>를 클릭한다.&lt;/li>
&lt;li>&lt;code>시스템 환경 변수&lt;/code>의 &lt;code>Path&lt;/code>를 선택하고 &lt;code>편집&lt;/code>을 클릭한다.&lt;/li>
&lt;li>&lt;code>새로 만들기&lt;/code>를 클릭하고, &lt;code>nano.exe&lt;/code>의 경로를 추가한다.&lt;/li>
&lt;li>&lt;code>확인&lt;/code>을 클릭하여 모든 대화 상자를 닫는다.&lt;/li>
&lt;li>명령 프롬프트를 재시작하고, &lt;code>nano&lt;/code>를 입력하여 실행할 수 있는지 확인한다.&lt;/li>
&lt;/ol>
&lt;h2 id="nano-사용법">nano 사용법
&lt;/h2>&lt;p>&lt;code>nano&lt;/code>를 입력하여 실행하면, 다음과 같은 화면이 표시된다.&lt;/p>
&lt;p>&lt;img src="http://kenji.blog/p/cli%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BFnano%E3%82%92windows%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95/img_2.png"
width="1082"
height="632"
srcset="http://kenji.blog/p/cli%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BFnano%E3%82%92windows%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95/img_2_hucb9efcdf08d2eda99abffd0a9502a2c3_16316_480x0_resize_box_3.png 480w, http://kenji.blog/p/cli%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BFnano%E3%82%92windows%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95/img_2_hucb9efcdf08d2eda99abffd0a9502a2c3_16316_1024x0_resize_box_3.png 1024w"
loading="lazy"
alt="img_2.png"
class="gallery-image"
data-flex-grow="171"
data-flex-basis="410px"
>&lt;/p>
&lt;p>화면 하단에 단축키 설명이 표시되어 있다.&lt;/p>
&lt;p>기호의 의미는 다음과 같다.&lt;/p>
&lt;ul>
&lt;li>&lt;code>^&lt;/code>는 &lt;code>Ctrl&lt;/code> 키를 나타낸다.&lt;/li>
&lt;li>&lt;code>M-&lt;/code>은 &lt;code>Alt&lt;/code> 키를 나타낸다.&lt;/li>
&lt;/ul>
&lt;p>저장하고 닫으려면, &lt;code>Ctrl&lt;/code> + &lt;code>S&lt;/code>를 누른 후에, &lt;code>Ctrl&lt;/code> + &lt;code>X&lt;/code>를 누른다.&lt;/p>
&lt;h2 id="참고">참고
&lt;/h2>&lt;ul>
&lt;li>&lt;a class="link" href="https://www.nano-editor.org/" target="_blank" rel="noopener"
>GNU nano&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>wsl에서 「Temporary failure resolving～」라고 표시되는 경우의 대처 방법</title><link>http://kenji.blog/ko/p/wsl-%E3%81%A7temporary-failure-resolving%E3%81%A8%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%82%8B%E5%A0%B4%E5%90%88%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95/</link><pubDate>Sun, 31 Mar 2024 16:57:33 +0900</pubDate><guid>http://kenji.blog/ko/p/wsl-%E3%81%A7temporary-failure-resolving%E3%81%A8%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%82%8B%E5%A0%B4%E5%90%88%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95/</guid><description>&lt;img src="http://kenji.blog/p/wsl-%E3%81%A7temporary-failure-resolving%E3%81%A8%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%82%8B%E5%A0%B4%E5%90%88%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95/img.png" alt="Featured image of post wsl에서 「Temporary failure resolving～」라고 표시되는 경우의 대처 방법" />&lt;h1 id="wsl에서-temporary-failure-resolving라고-표시되는-경우의-대처-방법">wsl에서 「Temporary failure resolving～」라고 표시되는 경우의 대처 방법
&lt;/h1>&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt">1
&lt;/span>&lt;span class="lnt">2
&lt;/span>&lt;span class="lnt">3
&lt;/span>&lt;span class="lnt">4
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">kenji@MyComputer:~$ sudo apt update
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">[sudo] password for kenji:
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Err:1 http://archive.ubuntu.com/ubuntu focal InRelease
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> Temporary failure resolving &amp;#39;archive.ubuntu.com&amp;#39;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>&lt;p>wsl에서 위 오류가 표시될 때는 DNS 서버 설정이 올바르지 않을 가능성이 있습니다.
제 환경에서는 다음 절차로 해결했습니다.&lt;/p>
&lt;ol>
&lt;li>wsl을 시작합니다.&lt;/li>
&lt;li>&lt;code>sudo nano /etc/resolv.conf&lt;/code>를 실행합니다.&lt;/li>
&lt;li>&lt;code>nameserver&lt;/code> 줄을 다음과 같이 변경합니다.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt">1
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">nameserver 8.8.8.8
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>&lt;ol start="4">
&lt;li>&lt;code>Ctrl&lt;/code> + &lt;code>S&lt;/code>로 저장하고, &lt;code>Ctrl&lt;/code> + &lt;code>X&lt;/code>로 종료합니다.&lt;/li>
&lt;li>&lt;code>sudo apt update&lt;/code>를 실행합니다.&lt;/li>
&lt;li>오류가 표시되지 않으면 해결된 것입니다.&lt;/li>
&lt;/ol>
&lt;h2 id="위-절차로-해결되지-않는-경우">위 절차로 해결되지 않는 경우
&lt;/h2>&lt;p>위 절차로 해결되지 않는 경우도 있는 것 같습니다. 다음 기사를 참고하세요.&lt;/p>
&lt;ul>
&lt;li>&lt;a class="link" href="https://qiita.com/ryosukeYamazaki/items/c04ec3ff78aac6eb8d26" target="_blank" rel="noopener"
>WSL에서 apt update 시의 『Temporary failure resolving ～』를 해결하는 방법&lt;/a>&lt;/li>
&lt;/ul></description></item></channel></rss>