その後のbash on windows
TRANSCRIPT
その後のBash on WindowsとWindows Insider(Windows Subsystem for Linux)かめがわ かずし(kkamegawa)
Windowsで一番使っているアプリは?
Self-intrduction
KAMEGAWA Kazushi / EngineerMicrosoft MVP for Visual Studio and Development Tools (2012/7~)
Twitter : @kkamegawaFacebook : https://www.facebook.com/kkamegawa/Blog : http://kkamegawa.hatenablog.jpSlideShare : https://www.slideshare.net/kkamegawa/
アジャイルでやってみた。(Japanese)http://www.shuwasystem.co.jp/products/7980html/4740.html
Build InsiderでBash on Windows掲載中http://www.buildinsider.net/enterprise/bashonwindows
This contents based on 2017/6/17
実は去年も…
Windows 10 Creators UpdateのBoW(1)
Ubuntu 14.04 LTSから16.04 LTSへ(基本的に再インストール)
c:\>lxrun /uninstall /full (完全削除)
c:\>lxrun /install (再インストール)
※:sshの秘密鍵などは退避しておきましょう
ターミナルの日本語表示がマシになった(前結構消えてました)
Windows 10 Creators UpdateのBoW(2)
Windowsアプリケーションの相互運用
環境変数%PATH%を参照し、Windowsアプリの起動が可能に※:WindowsアプリからBoWのファイル操作はNG
パイプ使ってWindowsアプリとのやり取りc:\> dir /s | bash -c “grep 検索文字列“
(Unixのgrepやtailなどを使いたいニーズは結構多い)
Windows 10 Creators UpdateのBoW(3)
Linuxファイルシステム変更通知サポート
要は tail -f ファイル名ができるようになった
もちろんWindows側のファイルでもOK
簡単なログ監視にどうぞ
BoWのLinux版?
WindowsでLinuxを動かすだけではなく、LinuxでWindowsを動かす
SQL Server on Linux
LinuxにWindowsのモジュール持ち込んで動かす※:考え方はBoWの逆版
https://blogs.technet.microsoft.com/dataplatforminsider/2016/12/16/sql-server-on-linux-how-
introduction/
Windows ServerにもBoW?
Build 2017での発表https://blogs.technet.microsoft.com/hybridcloud/2017/05/10/windows-
server-for-developers-news-from-microsoft-build-2017/Windows Server for Developers: News from Microsoft Build 2017
期待と疑問
サービスとして動かせるかな(Windows 10は対話式のみ)。
でもたぶんLinuxコンテナ用なので、ヘッドレス(ログインシェルがない)Linuxなんだろう
Windows ServerでSQL Server for Linuxが…?
アンチウィルスとかどうするんだろう?
Windows Server Insiderもはやくはじめてください
https://ark.intel.com/ja/products/74483/Intel-NUC-Kit-DC53427HYE
Ready→