사용자 도구

사이트 도구


windows:wsl

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
windows:wsl [2018/05/21 16:48]
kwon37xi [ssh-agent 대체]
windows:wsl [2018/05/24 08:10]
kwon37xi [성능]
줄 9: 줄 9:
 ===== 설치 ===== ===== 설치 =====
   * https://docs.microsoft.com/ko-kr/windows/wsl/install-win10 참조    * https://docs.microsoft.com/ko-kr/windows/wsl/install-win10 참조 
 +
 +===== 성능 =====
 +  * 성능이 매우 떨어진다.
 +  * [[https://medium.com/@leandrw/speeding-up-wsl-i-o-up-than-5x-fast-saving-a-lot-of-battery-life-cpu-usage-c3537dd03c74|Speeding up WSL I/O up than 5x fast + saving a lot of battery life & CPU usage]]
 +  * 바이러스 백신 혹은 Windows Defender 의 실시간 감시를 끄고, ''%USERPROFILE%\AppData\Local\Packages'' 폴더에서 '' CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc'' 처럼 생긴 폴더를 제외 처리해주면 약간 빨라진다.
 +  * 위 외에도 ''Ahnlab Safe Transaction'', ''nProtect'' 등의 강제로 설치되는 보안툴 때문일 수도 있다.
 +  * 그래도 느린 느낌이라 결국 ''oh-my-bash'' 같은 것은 사용하지 않고 기본 [[:git|git]] Git + Color prompt 를 사용하고 있음.
 +===== Console =====
 +  * [[https://github.com/rprichard/wslbridge|wslbridge]] linux bash 콘솔을 Windows 콘솔과 통합해주는 중계자.
   * [[https://conemu.github.io/en/BashOnWindows.html|ConEmu | Bash on Ubuntu on Windows in ConEmu (WSL)]] [[windows:console:conemu|ConEmu Windows Terminal Emulator]] 사용하기   * [[https://conemu.github.io/en/BashOnWindows.html|ConEmu | Bash on Ubuntu on Windows in ConEmu (WSL)]] [[windows:console:conemu|ConEmu Windows Terminal Emulator]] 사용하기
-  * conemu, wslterminal 등에서는 WSL Bash CPU 점유율이 폭증하는 현상이 있으나 cmder 에서는 정상 작동했음.+  * [[https://conemu.github.io/en/BashOnWindows.html|ConEmu | Bash on Ubuntu on Windows in ConEmu (WSL)]] WSL Linux bash의 콘솔 접근방법이 Windows 표준과 달라서 ''wslbridge'' 등의 중계 방식이 필요하다. 
 +  * conemu, wslterminal 등에서는 WSL Bash CPU 점유율이 폭증하는 현상이 있으나 cmder 에서는 정상 작동했음. -> WSL 최신버전 업그레이드하면 conemu 등에서도 문제 없다고 함.
  
 ===== ssh-agent 대체 ===== ===== ssh-agent 대체 =====
-  * [[https://github.com/vuori/weasel-pageant|vuori/weasel-pageant: An ssh-agent compatible helper for interacting with Pageant from processes running on the Windows Subsystem for Linux.]] +  * [[windows:wsl:weasel_pageant|Weasel Pageant WSL Linux ssh-ageant to putty pageant]]
-  * [[https://medium.com/@rkttu/wsl-ubuntu%EC%97%90%EC%84%9C-putty-pageant-%EC%97%B0%EB%8F%99%ED%95%98%EA%B8%B0-942660a32041|WSL Ubuntu에서 PuTTY Pageant 연동하기 – 남정현 – Medium]] +
 ===== Maven/Gradle 등 ===== ===== Maven/Gradle 등 =====
-  * wsl 설치 후 [[java:maven:settings|Maven 설정]] 나 [[:gradle|Gradle]]의 사용자 디렉토리를 Windows와 맞춰준다.+  * wsl 설치 후 [[java:maven:settings|Maven 설정]] 'settings.xml'' 
 +  * [[:gradle|Gradle]]의 사용자 디렉토리(''GRADLE_USER_HOME''Windows와 맞춰준다.
  
  
windows/wsl.txt · 마지막으로 수정됨: 2021/12/31 17:29 저자 kwon37xi