Bash on Ubuntu on Windows

Overview


Windows10 Anniversary Update에서 Bash(Ubuntu의 Bash Shell)를 Windows로 정식으로 가져옵니다.(하지만 베타)

기술 방면의 일에 관하여 아래에 매우 많은 것을 썼다.
Bash on Ubuntu Windows란 무엇입니까?그 설치 및 사용 방법
http://www.buildinsider.net/enterprise/bashonwindows/01

설치 & 초기 설정


참조이 일대.
'Windows 10 Anniversary Update(Version 1607)'가 이미 적용되었다는 것이 전제 조건이다.
또 Anniversary Update는 1시간가량 소요돼 주의가 필요하다.
또 Windows 업데이트를 잘 활용하지 못하면 마이크로소프트 사이트에서 업데이트 파일을 직접 떨어뜨리는 것이 빠르다.
Windows 10의 업데이트 내역
https://support.microsoft.com/ja-jp/help/12387/windows-10-update-history
Bash on Ubuntu Windows를 설치해 보십시오.
http://qiita.com/Aruneko/items/c79810b0b015bebf30bb
[조개 아티스트의 길] Bashon Windows 탐색
http://qiita.com/t_nakayama0714/items/9d7cfc5029a9b2ea423d

좋지 않은 영향 관련


일본어 디스플레이


2016/09에 일본어 표현이 잘 안 됐어요.
설치 후 다음 명령을 사용하여 언어를 "en-SUS.UTF8"로 설정하는 것이 더 편리합니다.$ sudo update-locale LANG=en_US.UTF8

네트워크 연결


인터넷 주변이 아직 좋지 않은 점, 네트링크 소켓의 대응 등은 아직 없다.
또한 핑을 하려면 관리자의 권한을 이용하여 bash를 시작해야 합니다.
Add NETLINK Socket support.
https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/14605521-add-netlink-socket-support
WSL - Frequently Asked Questions
https://msdn.microsoft.com/commandline/wsl/faq
Why does the ping command require bash to be started with admin privileges?
This is a known issue that has to due with differences between the way the Linux and the Windows kernel handle the ICMP request that makes ping possible. We plan to address this in future releases.

Tips


비밀번호를 잊어버려서 리셋하고 싶어요.


오랜만에 sudo를 시작하면 비밀번호를 잊어버려요.
이 경우 다음과 같이 재설정할 수 있습니다.
1. 명령 프롬프트에서 BoW의 기본 사용자를 루트로 하려면 다음과 같이 하십시오.
cmd
lxrun /setdefaultuser root
2. BoW를 시작하면 루트가 되어 사용자의 비밀번호를 복원하기 때문입니다.
BoW
# passwd [パスワードを忘れたユーザ名]
3. 명령 프롬프트에서 BoW의 기본 사용자를 다시 복원합니다.
cmd
lxrun /setdefaultuser [パスワードを忘れたユーザ名]

좋은 웹페이지 즐겨찾기