Ubuntu Weekly Recipe 第796åLXDã¨Incusâ â ãä»å¾ã©ã¡ããUbuntuã¦ã¼ã¶ã¼ã¯ä½¿ãã¹ããï¼ æ¬é£è¼ã§ãä½åº¦ãç´¹ä»ãã¦ããã³ã³ããã»ä»®æ³ãã·ã³ã®ç®¡çã·ã¹ãã ã§ãããLXDããCanonicalã®ç®¡çã«ãªã£ãçµæãã³ãã¥ããã£çã®ãIncusããç»å ´ãã¾ããã詳ããçµç·¯ã¯ãLXCã§å¦ã¶ã³ã³ããå ¥éãã®ç¬¬55åãã³ã³ããã¨ä»®æ³ãã·ã³ã®ããã¼ã¸ã£"Incus"ãã«è¨è¿°ããã¦ãã¾ããä»åã¯å°ã趣åãå¤ãã¦ããâ Ubuntuã¦ã¼ã¶ã¼ã¯LXDã¨Incusã®ã©ã¡ãã使ãã¹ãããã¨ãã観ç¹ãããIncusãç´¹ä»ãã¾ãã Ubuntuã¨LXDã¨Incus åé ã§ã説æããããã«ãLXDã®ã³ãã¥ããã£çãã©ã¼ã¯ã¨ãã¦Incusãç»å ´ãã¾ãã[1]ã ãã©ã¼ã¯ã«è³ã£ã詳細ãªæµãã¯ãLXCã§å¦ã¶ã³ã³ããå ¥éããåèã«ãªãã¾ãããããããã«èª¬æããã¨æ¬¡ã®ãããªæç³»åã«ãªãã¾ãã Lin
å®é使ããã¨è¨ãã¨ã©ããªãã ããã¨ããæ°ãããããã§ããã®ç¥ããªãã£ãã®ã§æ®ãã¦ãã ãããªããµã³ãã«ã³ã¼ãã ãããã ãã§ç解ã¯ã§ããã¨æã .github/workflows/dynamic-matrix.yml name: dynamic matrix on: [push] jobs: set-matrix: runs-on: ubuntu-latest outputs: something: ${{ steps.set-matrix.outputs.value }} steps: - name: make values id: set-matrix run: | echo '["hoge","fuga"]' | jq -c list=$(echo '["hoge","fuga"]' | jq -c) echo "value=${list}" >> $GITHUB_OUTPUT exe
function open() { if [ $# != 1 ]; then explorer.exe . else if [ -e $1 ]; then cmd.exe /c start $(wslpath -w $1) 2> /dev/null else echo "open: $1 : No such file or directory" fi fi } zshã§ãã試ãã¦ããªããããã¶ãbashã§ãä¼¼ããããªæãã§ãããã¨æãã ã¨ã¯ã¹ããã¼ã©ã«ããopen Macã®ã¿ã¼ããã«ã§ã¯ãopen filenameã¨ããã¨ããã®ãã¡ã¤ã«ãé¢é£ä»ããããã¢ããªã§éããã¨ãã§ãããã¾ããopen .ãªã©ã¨ããã¨Finderã§ã«ã¬ã³ããã£ã¬ã¯ããªãéãã¦ä¾¿å©ã ã Windowsã®WSLã§ä¼¼ããããªãã¨ããããã¦ã
Kernel/VMæ¢æ¤éã¯ãã«ã¼ãã«ãVMãããã³ãã®ä»ãªãã§ãITæè¡ã®è©±é¡ã¸ã£ã³ã«ã«ã¤ãã¦èª°ã§ãä½ã§ãçºè¡¨ãã¦ã¯ã¤ã¯ã¤çãä¸ãããã¨ããä¼ã§ããä½ä¼¯æ°ã¯ãWSL2ã«ããã¦ãã¾ãç¥ããã¦ããªããã°ã¨äºå®ã«ã¤ãã¦çºè¡¨ãã¾ããã èªå·±ç´¹ä» ä½ä¼¯å¦åæ°ï¼ä»¥ä¸ãä½ä¼¯ï¼ï¼Kernelï¼VM online part4ã§ãããããããå¤ã ãWSL2ãã¨ããæ¥æ¬èªã¿ã¤ãã«ã§ãã¹ã©ã¤ãã¯è±èªã«ãªã£ã¦ãã¾ãããWSL2ï¼Windows Subsystem for Linux 2ï¼ã«é¢ãããããããªãã¨ã話ãã¾ãã ã¢ã¦ãã©ã¤ã³ã§ãããåºæ¬çã«ã¯ã©ã³ãã ãã¼ã¯ã§å°ãã¿ããããã話ãã¾ãããªã®ã§ãWSLã¨ã¯ä½ãã¨ããæè¡çã«ã¯èå³æ·±ãããã©å ¬å¼ã®ããã¥ã¡ã³ãããã¡ãã¨èª¬æãã¦ããã¨ãã¤ã¾ãWSLgã§ãããæè¡çã«ã¯ãããããã®ã§ãããå ¬å¼ãå ¨é¨èª¬æãã¦ããã®ã§ãããã§ã¯ä¸å触ãã¾ããããã®ãã¼ã¯ã¯ãåãå人çã«
å®è¡ä¸ã®ã·ã¹ãã ã®æåã詳細ã«ãã¬ã¼ã¹ããä»çµã¿ã¯ãç¹ã«ãããããããªãåé¡ãã«ééãã¦ããæã«éè¦ã§ããä»åã¯Linuxåãã®ãã¬ã¼ã·ã³ã°ãã¼ã«ã®æ¬å½ã¨ãè¨ããeBPFãå©ç¨ããå種ãã¼ã«ãç´¹ä»ãã¾ãã eBPFã«é¢ããè¨äºãä»å以éãæ°åã«ããã£ã¦è§£èª¬ããã¦ãã¾ãããããã¦ã覧ãã ããã 第688åãeBPFã®ã³ã³ãã¤ã©ã¼ã«å¯¾å¿ãããã¼ã«ã§ãã¾ãã¾ãªæåãå¯è¦åããï¼ä»åã®è¨äºï¼ 第690åãBCCã§eBPFã®ã³ã¼ããæ¸ãã¦ã¿ã 第692åãsysfsãbpftoolãç¨ããeBPFã®æ´»ç¨ 第694åãlibbpfã¨clangã§ãã¼ã¿ãã«ãªBPF CO-REãã¤ããªä½æ 第695åãå ¥éBPF CO-RE eBPFã¨BPF Compiler Collection æ¹ãã¦è¨ãã¾ã§ããªããLinuxã«ã¼ãã«ãããã¯ã«ã¼ãã«ä¸ã§åãã¦ããå種ã¿ã¹ã¯ã®ããã©ã¼ãã³ã¹ãæåã調ã¹ãªãã¦ã¯ãªããªã
åé¡ãæ¢ã Ubuntu 21.10ãæ°è¦ã¤ã³ã¹ãã¼ã«ããï¼Waylandã»ãã·ã§ã³ã«ãªããªãç¹æ®ãªç°å¢ãé¤ãã¦ï¼ãã°ã¤ã³ããWindowsãã¼+Spaceãã¼ã§ãæ¥æ¬èª(Mozc)ãã«åãæ¿ããã¨ãIBusã®ã¹ãã¼ã¿ã¹ã¯ãAãã¨ãªãã¯ãã§ããããããã®ã¾ã¾ã¨ãªãã¾ãã Ubuntu 21.10ã®ãã°ã¤ã³ç´å¾ ããã§IBusã®ããã»ã¹ã確èªãã¦ã¿ã¾ãããã Waylandã»ãã·ã§ã³ã§ã®IBusé¢é£ããã»ã¹ ãªããèµ·åãã¦ããããã«è¦ãã¾ããã Xã»ãã·ã§ã³ã«åãæ¿ãã¦ç¢ºèªãã¦ã¿ã¾ãããã Xã»ãã·ã§ã³ã§ã®IBusé¢é£ããã»ã¹ ibus-x11ããã»ã¹ãèµ·åãã¦ããããã§ããã§ã¯Waylandã»ãã·ã§ã³ã§ibus-x11ããã»ã¹ãèµ·åãã¦ã¿ã¾ãããã ibus-x11ããã»ã¹ãèµ·åãã éãã¯ibus-x11ããã»ã¹ã®èµ·åã§ééããªãããã§ãã ã©ããã¦Waylandã»ãã·ã§ã³ã§ã¯ibus-
ãUbuntu on WSL2ãã®ããç´ãæ¹ äººçã®ããç´ãâ¦ãã¨ã⦠ã°ãã£ã°ãã£ã«éã³ããã ãWSL2ç¨Ubuntuããæåããããç´ããããªãã¾ãã⦠ã¤ã³ã¹ãã¼ã«ãããUbuntuãããªã»ãããããã¨ã«ãããã¢ã³ã¤ã³ã¹ãã¼ã«ããã«ç°¡åã«ããç´ããã¨ãã§ãã¾ãã以ä¸ãæé ãã¾ã¨ãã¦ããã¾ãã â Ubuntuã®ãªã»ããæ¹æ³ [ã¹ã¿ã¼ã] â [è¨å®] â [ã¢ããª]ã«ã¦ããã¢ããªã¨æ©è½ãã¸ç§»åã æ¤ç´¢çªãããUbuntuããæ¤ç´¢ã ãUbuntuã¢ããªããè¦ã¤ãã£ãããããã®ã詳細ãªãã·ã§ã³ããã¯ãªãã¯ã ãªã»ããã»ã¯ã·ã§ã³ã®ããªã»ããããã¿ã³ãã¯ãªãã¯ããã ããã§ããããµãããªUbuntuãã¯ãªã¢ããã¾ãã â Ubuntuæ°è¦ä½ææ¹æ³ windowsã®æ¤ç´¢çªããããubuntuããæ¤ç´¢ããã ãUbuntuãã¢ããªãã¯ãªã㯠ããã§æåããããç´ããã¨ãã§ãã¾ãã ä¸å¿ã§ã¯ãã
2020-04-07 ã¯ããã« io_uring ã«ã¤ãã¦ä»¥ä¸ã®ç´ æ´ãããå ¥éè¨äºãç¥ã£ãã®ã§è©¦ãã¦ã¿ãã¡ã¢ã§ãã io_uring By Example: An Article Series - Unixism io_uring by example: Part 1 - Introduction - Unixism io_uring By Example: Part 2 - Queuing multiple requests - Unixism io_uring By Example: Part 3 - A Web Server with io_uring - Unixism ãµã³ãã«ã½ã¼ã¹ã³ã¼ã shuveb/io_uring-by-example: A companion repository for the io_uring by Example article series RE
Dockerä¸ã§GUIã®ROSãåãã TiryohãããGitHubä¸ã§ç´ æ´ããããªãã¸ããªãå ¬éãã¦ãã¾ããã ç´ æ´ãããã«æåãã¦ãã¾ã£ãã®ã§ãç´ æ´ããããå°ãã§ãåºããããã«ãç°¡åãªç´¹ä»è¨äºãæ¸ãã¦ã¿ã¾ãã ãã®ãªãã¸ããªã¯ãDockerä¸ã§GUIã®ROSãåãããã¨ãã§ãã¾ããDockerããå ¥ã£ã¦ããã°Macã§ãLinuxã§ãï¼å¤åï¼Windowsã§ããä¸ç¬ã§Ubuntu+ROSã®ç°å¢ãæã«å ¥ãã¾ããROSã¯ã»ããã¢ããããããªãã«å¤§å¤ãªã®ã§ãDockerããå ¥ã£ã¦ããã°ã³ãã³ãä¸çºã§ç°å¢æ§ç¯ã§ããã®ã¯æé«ã§ããã Dockerã£ã¦ä½ï¼ã¨ããæ¹ãã¤ã³ã¹ãã¼ã«æ¹æ³ãåãããªãæ¹ã¯ã以åç§ã®ããã°ã«æ¸ããä¸è¨è¨äºãåç §ä¸ããã Dockerãã¤ã³ã¹ãã¼ã«ããããå¾ã¯ä»¥ä¸ã®ã³ãã³ããå®è¡ããã ãã§ãã
snapã¯Canonicalã¨Ubuntuã³ãã¥ããã£ãéçºã»æ¨é²ãã¦ãããã¦ããã¼ãµã«ããã±ã¼ã¸ãã§ããããããLinuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ãåããã«å©ç¨ã§ããããã±ã¼ã¸ãã©ã¼ãããã§ãããå¼·åãªæ¨©é管çæ©è½ãåãã¦ãã¾ããä»åã¯ãã®snapããUbuntu以å¤ã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã«ã¤ã³ã¹ãã¼ã«ãã¤ã¤ãã³ã³ãã管çã·ã¹ãã ã§ããLXDã®snapçããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ãããã snapã¯ãããããªãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§å©ç¨å¯è½ snapã¯Canonicalã¨Ubuntuã³ãã¥ããã£ãæ¨é²ãããã¦ããã¼ãµã«ããã±ã¼ã¸ãã§ããä¾åããã½ããã¦ã§ã¢ããã¹ã¦ããã±ã¼ã¸ã«å«ãããã¨ã§ãä¾åé¢ä¿ãæ°ã«ãããããããã£ã¹ããªãã¥ã¼ã·ã§ã³ã§ã¤ã³ã¹ãã¼ã«å¯è½ãªãã¤ããªããã±ã¼ã¸ã¨ãã¦å©ç¨ã§ãã¾ãã ã¾ãã¯snapã説æããä¸ã§åºã¦ããç¨èªãæ´çãã¦ããã¾ãããããããã¯ããããã¤ã³ã¹ã
ä»åã¯Ubuntu 19.10ããæ¬æ ¼çã«ä½¿ç¨ãããããã«ãªã£ãsnapããã±ã¼ã¸çã®Chromiumã«ã¤ãã¦è§£èª¬ãã¾ãã Ubuntu 19.10ã®Chromiumã¯snapããã±ã¼ã¸çã®ã¿ã« Google Chromeã®ãªã¼ãã³ã½ã¼ã¹çã§ããChromiumã¯ãUbuntuã§ã¯universeãªãã¸ããªã§æä¾ãã¦ãã¾ããã¨ãããã¨ã¯Canonicalã«ãããµãã¼ãï¼ã¢ãããã¼ãï¼ã¯ãªãã¦ããããå¾ãªãã®ã§ãããã¦ã¼ã¶ã¼æ°ã®å¤ããéã¿ã¦å®éã«ã¯Canonicalã«ãã£ã¦ã¢ãããã¼ããè¡ããã¦ãã¾ããGoogle Chromeã¯6é±éãã¨ã«ã¡ã¸ã£ã¼ãªãªã¼ã¹ãè¡ããã¦ãã¾ãããChromiumãããã«æºãã¦ãã¾ãã Ubuntuã¯æ¬è¨äºã®æ²è¼æç¹ã§16.04 LTSã18.04 LTSã19.04ã19.10ã®4ã¤ã®ãã¼ã¸ã§ã³ããµãã¼ãããã¦ãã¾ãããã¡ããChromiumããã®4ã¤ã®ãã¼ã¸
ããã«ã¡ã¯ã@ryu_softwareã§ããæ®æ®µã¯æ¥åã§èªå¾ç§»åããããã®ã½ããã¦ã§ã¢ãããã£ã¦ã¾ãã 以åã®ã¢ããã³ãã«ã¬ã³ãã¼ã§ãããªã®æ¸ãã¾ãããä¹ ãã¶ãã®åå ã«ãªãã¾ãã ä»åã¯åãæ®æ®µä½¿ã£ã¦ãéçºç°å¢ã«ã¤ãã¦ãçããã«ã¨ã£ã¦åèã«ãªããã©ããã¯å¾®å¦ããããã¾ãããæ§ç¯æ¹æ³ã¨ä½¿ãæ¹ã«ã¤ãã¦ã®ã¡ã¢ãæ®ããã¨æãã¾ãã éçºç°å¢ã«ã¤ã㦠æè¿kineticããmelodicãããROS2ãããªãããã§ããããªéçºç°å¢ãç¨æããªãããããªãã¦ãããã¦ãã¨èªåã®PCã®ç°å¢ãæ±ããããªã(ææªã¶ã¡å£ã)ãªãã¨æã£ã¦ãã¦ãè²ã ãã¹ããããã¡ãã£ã¨éçºããæã«å¿ è¦ãªè¤æ°ã®éçºç°å¢ãDockerãç¨ãã¦ä½¿ãåãã¦ãã¾ãããDockerfileãåãã¦ããã°ãã¼ã«ã«ã®ç°å¢ãæ±ããã«è²ã ãã¹ãã§ããã®ã§çµæ§ä¾¿å©ã§ããã åã¯æ®æ®µã®éçºã«ããã¦ãæè¿Visual Studio Codeã使ç¨ãã¦ãã¦ãR
Intro 家ã§ã¯ Mac ã使ã£ã¦ãããããã¯ã Ubuntu éçºç°å¢ãä½ããã¨ã«ããã åã ããæ°ã«ãªã£ã¦ãã Intel NUC ããã¼ã¹ã« Ubuntu ç°å¢ãæ§ç¯ã ã¾ããå¤åºæãã¢ã¯ã»ã¹ã§ããããã« SSH Port Forwarding ã使ã£ã¦ãåºå® IP ã®ç¡ã家ã«å¤ããã¢ã¯ã»ã¹ã§ããããã«ããã åå¿é²ãå ¼ãã¦è¨ãã èªå® éçºç°å¢ èªå® ã§ã¯é·ãã Mac ã使ã£ã¦ãããããã¯ã Linux ç°å¢ããã£ãã»ããè¯ãã¨ãããã¨ã§ãæ°å¹´ã¶ãã«ã©ããããã以å¤ã® PC ã®è³¼å ¥ãæ¤è¨ããã èªå® ãµã¼ãã¨ãã¦ä½¿ããã°ãå® å ãªã¼ãã¡ã¼ã·ã§ã³ãããã¾ãã¾ãªç¨éã«ãæµç¨ã§ãã¦ãéã¶ä¸ã§ãè¯ãã ããã ä»ã¯ mini PC ãè²ã åºã¦ãããé¸æè¢ãå¤ããæ¯è¼çå®ä¾¡ã«ãå ´æãã¨ããªããµã¼ããçµããããã«ãªã£ãã ãããæã«ãé«ã Mac ã®è²·ãæ¿ãæ´æ°ãããã Air ãªã©ã®æã¡éã³ç¨éã«
ã¾ããã³ã¬ãã©ãããèªãç¨åº¦ãªã Kindle 端æ«ã§ãååã ãä¸é¨ã®ãã³ã¬ç㯠Kindle Cloud Reader ãå©ç¨ããæãããã®ã ãï¼ãã¯ã Ubuntu ã®ãã¹ã¯ãããä¸ã§ãèªã¿ããã®ã§ããã ãã Linux ãã©ãããã©ã¼ã ã§åããã¤ãã£ã㪠Kindle ã¢ããªã±ã¼ã·ã§ã³ã¯ãªãããã§ï¼ä»ã®ã¨ãã Wine ä¸ã§ Windows ç¨ã® Kindle for PC ãèµ·åãããããªãã ã¾ã Wine ã¯ãã®ãã¡è©¦ãã¦ã¿ãäºå®ã ã£ãã®ã§ï¼ãã®ãã試ãã¦ã¿ãã¨ãããã Wine ã®ã¤ã³ã¹ãã¼ã« Wine 㯠APT ã§å°å ¥å¯è½ã§ããã $ apt show wine Package: wine Version: 4.0-1 Built-Using: khronos-api (= 4.6+git20180514-1), unicode-data (= 11.0.0-1) Pr
追å®é¨ãã¦ã¿ãã åã åãVisual Studio Codeã¨WSLã§Linuxåãã¢ããªã±ã¼ã·ã§ã³ã®éçºãè¡ãã¨ãããã¼ããåãä¸ããããã®æã¯ãTake your Linux development experience in Windows to the next level with WSL and Visual Studio Code Remoteããå¼ãåãã«åºããããã¤ãã®ã¹ã¯ãªã¼ã³ã·ã§ãããæ²è¼ãã¤ã¤ãå®æ½ã«åä½ãã¦ããæ§åãç´¹ä»ããã ãããããã®å 容ã¯éçºè ã§ããã°è¿½å®é¨ã§ããã¨æãããéçºè 以å¤ã§ã¯é£ããã£ãããã«æãã ãã¤ã¯ãã½ããããé¡ä¼¼ã®è¨äºã¯éæå ¬éããã¦ããã®ã ãã2019å¹´7æ22æ¥ã«å ¬éããã次ã®è¨äºã追å®é¨ã«é©ãã¦ãããããªã¥ã¼ã ãããããã§ãåãã¦ã»ããã¢ãããã¦ä½¿ã£ã¦ã¿ãã«ã¯ããå 容ã ã An In Depth Tutorial on Linu
ä»åã¯è¤æ°ã®PCã§ã½ããã¦ã§ã¢çã«ãã¼ãã¼ãã¨ãã¦ã¹ãå ±ç¨ããBarrierãç´¹ä»ãã¾ãã ãã©ã¼ã¯çSynergy æããUbuntuãã使ãã®æ¹ã¯ãSynergyãè¦ãã¦ããããããã¾ãããSynergyã¯ãªã¼ãã³ã½ã¼ã¹ã§ãã«ããã©ãããã©ã¼ã ã«å¯¾å¿ãã¦ãããè¤æ°ã®PCã§ãã¼ãã¼ãã¨ãã¦ã¹ãåãæ¿ããããã¢ããªã±ã¼ã·ã§ã³ã§ããç¾å¨ãå¼ãç¶ãéçºããã¦ããããªã¼ãã³ã½ã¼ã¹ã§ãããã¾ããããã¸ãã¹ã¨ãã¦ã¯æåçã«ä¸»è»¸ã移ãã¦ãã¾ãã ãããªä¸ããã®Synergy 1.9ãããã©ã¼ã¯ããã®ãBarrierã§ããèªåã§ãã«ãããããããã¯ã©ã¤ã»ã³ã¹ãè³¼å ¥ãã¦ããã±ã¼ã¸ãå ¥æããã®ã§ããã°Syngergyã§ãããã®ã§ãããããæ軽ã«ä½¿ãã®ã§ããã°Barrierã®ã»ããããã§ãããã 使ç¨ããããã±ã¼ã¸ã®é¸å® Barrierã«ã¯ããããã®ãã¤ããªãããâ¦â¦ããã«è¦ãã¾ãããå ¬å¼ã«æä¾ããã¦ããã®ã¯
Webç³»ã®ä¼ç¤¾ã«ããã¨ï¼ä»äºç¨ã®PCã¨ãã¦Macãæ¯çµ¦ããããã¨ãå¤ãã¨æãã¦ããï¼ä¾ã«ããã俺ãä¼ç¤¾ã§ã¯MacBook Proã使ã£ã¦ããã®ã ããã©ï¼æè¿Macã使ãç©ã«ãªããªããããé ããªã£ã¦ããï¼ ãããããããªã«æ°ããMacã§ã¯ãªãã¨ããã®ã¯ãããã ããã©ï¼ ãã¯ããã¼ã«ã«ã§ã®éçºã¯ã»ã¼Dockeråãã¦ãã¾ã£ã¦ããã®ã§ï¼ãªã«ãããã«ãDockerãèµ·åããå¿ è¦ãããï¼ ãããï¼Docker for Macã¯é ãï¼ã¨ãã«volume mountãé ããã¦ï¼webpackãªããèµ°ãããããè¶ãå ¥ãã«è¡ããããã®ç¶äºãçºçããï¼ ---追è¨--- webpackã ããªãdockerãããªãã¦ãããããã¨è¨ãããã®ã§ï¼ä¸å¿å¼æãã¦ããã¨ï¼webpack以å¤ãããã¾ãï¼ Djangoã¨ãElasticsearchã¨ãElasticsearchã¨ãlocalstackã¨ãredisã¨ãDja
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}