Just your usual Buster Keaton shenanigans.Have you wanted to mount Btrfs, ZFS, ReiserFS, or any other of the 100âs of flavors of filesystems from Linux to Windows? Now you can. Any of them! Windows 10 introduced the WSL (Windows Subsystem for Linux) which has been a major game changer for ease of cross system development. For me personally, itâs gotten to a point where Iâve moved off my Mac comple
Windows Subsystem for Linuxï¼WSLï¼ã«æ°æ©è½ã使ç¨ã¡ã¢ãªãä»®æ³ãã£ã¹ã¯ã®èªå縮éãLANçµç±ã§WSLã¸ç´æ¥ã¢ã¯ã»ã¹å¯è½ãªã© ãã¤ã¯ãã½ããã¯ãWindowsä¸ã§Linuxã®æ©è½ãå©ç¨ã§ããWindows Subsystem for Linuxï¼WSLï¼ã®2023å¹´9æçã¨ãªãæ°ãã¼ã¸ã§ã³ãWSL 2.0.0ãã§ã使ç¨ã¡ã¢ãªãWindowsã«è¿å´ãã¦èªåçã«ç¸®éãããautoMemoryReclaimããä»®æ³ãã¼ããã£ã¹ã¯ãèªåçã«ç¸®éãããSparse VHDããå¾æ¥ã®NATã«ä»£ããæ°ãããããã¯ã¼ã¯ã¢ã¼ããMirroredãã«ããLANããWSLã¸ã®ç´æ¥ã¢ã¯ã»ã¹ãªã©ã®æ°æ©è½ãæè¼ãããã¨ãæããã«ãã¾ããã ä¸è¨ã¯ä»åã®æ°æ©è½ã説æããããã°ã®ä½è ã§ããCraig Loewenæ°ã®ãã¤ã¼ãã§ãã WSL has a new update with some b
Windows 㧠Linux ã®æ©è½ãæ軽ã«æ±ããã¨ã®ã§ããWSL (Windows Subsystem for Linux)ï¼ ãWSLãã¨ãWSL2ãã®2ã¤ãããã®ã¯ãåãã®æ¹ãå¤ãã¨æãã¾ããï¼å®ã¯ä»ã«ãããã¼ã¸ã§ã³ãããããã¨ããåç¥ã§ããããï¼ é ã«è§£èª¬ãã¦ããã¾ãï¼ â :ãWSL1ãã¨ãWSL2ã WSLã«ã¯ï¼å¤§ããªä»çµã¿ã®éããã2ã¤ã®ã¿ã¤ããããã¾ãï¼ WSL1ï¼WSLï¼ãå ã«éçºããã¦ããï¼å¾çºã§ WSL2 ãã§ãã¾ããï¼ ãã®ç¨®é¡ã®ãã¼ã¸ã§ã³ã¯ï¼ãã®2ã¤ã®ã¿ã§ãï¼ï¼WSL1.1ã¨ãï¼WSL2.1ã¨ãã¯ããã¾ãããï¼ ç¾å¨ã®WSLã®ãã¼ã¸ã§ã³ã確èªããã«ã¯ï¼Powershellä¸ã§ä»¥ä¸ã³ãã³ããå®è¡ãã¾ãï¼ ï¼ã³ãã³ãã«å¤±æããå ´åã¯ï¼Windowsã®ãã¼ã¸ã§ã³ãå¤ãï¼WSL2ãå©ç¨ã§ããªãå¯è½æ§ãããã¾ãï¼
åºè« æ¬ç¨¿ã¯ å å¸å½¹æè·å¡ãWEBããã°ã©ãã«è»¢è·ããã¾ã§ã®ãã¼ãããã ã®é£è¼è¨äºã®ä¸é¨ã§ãã ã¾ã ãWEBããã°ã©ãã«è»¢è·ãã¦ãã2å¹´ãçµéãã¦ããªãç´ äººã§ãããããè²ã ã¨ééã£ã¦ãããã¨ãæ¸ãã¦ããããããã¨æãã¾ãã ãã®éã¯ãææ°ã§ã¯ãããã¾ããããææããã ããã°å¹¸ãã§ãããã¾ãã ä»®æ³åæè¡ WSL2ãDockerã®éçºç°å¢ãæ§ç¯ããåã«ãä»®æ³åæè¡ã«ã¤ãã¦ç°¡å®ã«è§¦ãã¦ããã¾ãã ä»®æ³åæè¡ã«ã¯å¤§ãã以ä¸ã®3種é¡ãããããããããéé¢ãããã¢ããªã±ã¼ã·ã§ã³å®è¡ç°å¢ããæä¾ãããã®ã§ãã ãã¹ãå ãã¹ãOSã®ä¸ã«å¥ã®OSï¼ã²ã¹ãOSï¼ãã¤ã³ã¹ãã¼ã«ããä»®æ³åæè¡ ã²ã¹ãOSããã®ã¾ã¾ä»®æ³ç°å¢ã«ã¤ã³ã¹ãã¼ã«ãããããããç¨åº¦ã®åç¾æ§ãæ ä¿ããã¦ãã ãã£ã¹ã¯å®¹éãã¡ã¢ãªä½¿ç¨éã大ãããåä½ãéãã»ä¸å®å®ãªã©ã®æ¬ ç¹ããã ãã¤ãã¼ãã¤ã¶å ãã¤ãã¼ãã¤ã¶ã¨ã¯ãã¹ãOSãã®ãã®ãä»®
人çã®ããç´ãâ¦ãã¨ã⦠ã°ãã£ã°ãã£ã«éã³ããã ãWSL2ç¨Ubuntuããæåããããç´ããããªãã¾ãã⦠ã¤ã³ã¹ãã¼ã«ãããUbuntuãããªã»ãããããã¨ã«ãããã¢ã³ã¤ã³ã¹ãã¼ã«ããã«ç°¡åã«ããç´ããã¨ãã§ãã¾ãã以ä¸ãæé ãã¾ã¨ãã¦ããã¾ãã â Ubuntuã®ãªã»ããæ¹æ³ [ã¹ã¿ã¼ã] â [è¨å®] â [ã¢ããª]ã«ã¦ããã¢ããªã¨æ©è½ãã¸ç§»åã æ¤ç´¢çªãããUbuntuããæ¤ç´¢ã ãUbuntuã¢ããªããè¦ã¤ãã£ãããããã®ã詳細ãªãã·ã§ã³ããã¯ãªãã¯ã ãªã»ããã»ã¯ã·ã§ã³ã®ããªã»ããããã¿ã³ãã¯ãªãã¯ããã ããã§ããããµãããªUbuntuãã¯ãªã¢ããã¾ãã â Ubuntuæ°è¦ä½ææ¹æ³ windowsã®æ¤ç´¢çªããããubuntuããæ¤ç´¢ããã ãUbuntuãã¢ããªãã¯ãªã㯠ããã§æåããããç´ããã¨ãã§ãã¾ãã ä¸å¿ã§ã¯ããã¾ããããPowerShellãããããUbu
åºè« WSL2 ã§ã¯èµ·åæã« systemd ãèªåã¹ã¿ã¼ãããããã/etc/rc.local ã«ããã¹ã¿ã¼ãã¢ããã¹ã¯ãªããã®å®è¡ãã§ãã¾ããã Windowsã¹ã±ã¸ã¥ã¼ã©ã«ã¹ã¯ãªãããç»é²ãããªã©ãåé¿çã¯ããã¾ãããçè ã¯ãªãã¹ã Linux ç°å¢å ã§è¨å®ãå®çµããããã¨èãã¦ãã¾ããã ãã®ãããªè¨³ã§ãWSL2 㧠Docker ã使ãããå ´åãèµ·åæã«ãã¡ãã¡ä»¥ä¸ã®ãããªã³ãã³ããæã£ã¦ãã¾ããã # dockerãã¼ã¢ã³èµ·å $ sudo service docker start # WSL2 ã«ã¯ cgroup ç¨ãã£ã¬ã¯ããªãããã©ã«ãã§ä½ããã¦ããªãããä½æãã¦ãã ## ããããã¦ãããªã㨠Docker ã§ããã»ã¹ã®ã°ã«ã¼ãåãå¿ è¦ã«ãªã£ãã¨ãã«ã¨ã©ã¼ãèµ·ãã $ sudo mkdir -p /sys/fs/cgroup/systemd $ sudo mount -
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}