generated from Meekdai/Gmeek-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blogBase.json
1 lines (1 loc) · 46.5 KB
/
blogBase.json
1
{"singlePage": ["about"], "startSite": "06/20/2024", "filingNum": "", "onePageListNum": 10, "commentLabelColor": "#006b75", "yearColorList": ["#bc4c00", "#0969da", "#1f883d", "#A333D0"], "i18n": "CN", "themeMode": "manual", "dayTheme": "light", "nightTheme": "dark_colorblind", "urlMode": "issue", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/articletoc.js'></script><script src='https://blog.meekdai.com/Gmeek/plugins/lightbox.js'></script>", "style": "", "head": "", "indexScript": "", "indexStyle": "", "bottomText": "\u26a0\ufe0f \u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904", "showPostSource": 1, "iconList": {}, "UTC": 8, "rssSplit": "sentence", "exlink": {}, "needComment": 1, "allHead": "<script src='https://blog.meekdai.com/Gmeek/plugins/GmeekVercount.js'></script>", "title": "MaxLHy0424", "displayTitle": "MaxLHy0424's Blog", "subTitle": "\u300c\u4e00\u5b9a\u80fd\u627e\u5230, \u901a\u5f80\u4e0e\u8fd9\u626d\u66f2\u7684\u7ec8\u70b9\u6240\u622a\u7136\u4e0d\u540c\u7684, \u53e6\u4e00\u79cd\u7ed3\u5c40\u7684\u6b63\u786e\u9009\u9879. \u6240\u5728\u7686\u662f\u5947\u8ff9\u7684\u8d77\u70b9. \u300d", "avatarUrl": "https://avatars.githubusercontent.com/u/142279449?v=4", "GMEEK_VERSION": "last", "email": "[email protected]", "postListJson": {"P2": {"htmlDir": "docs/post/2.html", "labels": ["\u5f00\u53d1", "\u6559\u7a0b"], "postTitle": "\u4e0b\u6c5f\u5c0f\u6625\u90fd\u80fd\u770b\u61c2\u7684 Arch WSL \u5b89\u88c5\u4e0e\u914d\u7f6e\u6307\u5357", "postUrl": "post/2.html", "postSourceUrl": "https://github.com/MaxLHy0424/MaxLHy0424.github.io/issues/2", "commentNum": 1, "wordCount": 5162, "description": "\u5728 Windows OS \u4e0a\u5f00\u53d1 GNU/Linux \u8f6f\u4ef6\u65f6, WSL 2 \u5e38\u4e3a\u4e0d\u4e8c\u4e4b\u9009.\r\n\r\n\u4f46\u662f, WSL 2 \u4e0a\u5f00\u7bb1\u5373\u7528\u7684 GNU/Linux \u53d1\u884c\u7248, \u51e0\u4e4e\u53ea\u6709 Ubuntu. \u60f3\u8981\u5728 WSL 2 \u4e0a\u4f7f\u7528 Arch Linux, \u914d\u7f6e\u8f83\u4e3a\u9ebb\u70e6.\r\n\r\n\u672c\u6559\u7a0b\u5c06\u5e2e\u52a9\u60a8\u5728 WSL 2 \u4e0a\u5b89\u88c5\u5e76\u914d\u7f6e Arch Linux.\r\n\r\n> [!NOTE]\r\n> \u5982\u679c\u60a8\u89c9\u5f97\u624b\u52a8\u64cd\u4f5c\u6709\u4e9b\u9ebb\u70e6, \u53ef\u4ee5\u8bd5\u8bd5\u535a\u4e3b\u5199\u7684[\u81ea\u52a8\u914d\u7f6e\u811a\u672c](https://gist.github.com/MaxLHy0424/4254cfd932485a93b3b0b73274858bc9). \u4f46\u8fd8\u662f\u5efa\u8bae\u770b\u770b\u6559\u7a0b.\r\n\r\n> [!IMPORTANT]\r\n> \u9002\u7528\u4e8e Windows 11 22H2 \u53ca\u4ee5\u4e0a\u7248\u672c, \u5176\u4ee5\u4e0b\u7684\u7248\u672c\u53ef\u80fd\u4f1a\u51fa\u73b0\u5404\u79cd\u95ee\u9898.\r\n\r\n# 0 \u51c6\u5907\u5de5\u4f5c\r\n\r\nWSL 2 \u7684\u786c\u4ef6\u9700\u6c42\u53ca\u542f\u7528\u65b9\u6cd5\u5728\u6b64\u5904\u4e0d\u591a\u8d58\u8ff0, \u8bf7\u81ea\u884c\u67e5\u9605.\r\n\r\n> [!NOTE]\r\n> \u5982\u679c\u60a8\u6709\u5b89\u88c5 VMware Workstation Pro \u7b49\u5bc4\u5c45\u578b\u865a\u62df\u673a, \u63a8\u8350\u6539\u7528 Microsoft Hyper-V. \u5426\u5219\u5176\u8fd0\u884c\u7684\u865a\u62df\u673a\u6027\u80fd\u53ef\u80fd\u4f1a\u53d7\u5230\u5f71\u54cd.\r\n\r\n\u542f\u7528\u540e, \u5728 Windows Terminal (\u7ba1\u7406\u5458\u6743\u9650) \u4e2d\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4:\r\n\r\n```Batch\r\nwsl --update\r\nwsl --update --pre-release\r\n```\r\n\r\n\u63a5\u7740, \u5728\u5f53\u524d\u7684 Windows OS \u7528\u6237\u76ee\u5f55\u4e0b\u521b\u5efa\u6587\u4ef6`.wslconfig`, \u5728\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9:\r\n\r\n```\r\n[wsl2]\r\nipv6=true\r\nnetworkingMode=mirrored\r\ndnsTunneling=true\r\nfirewall=true\r\nautoProxy=true\r\ndefaultVhdSize=137438953472\r\n[experimental]\r\nautoMemoryReclaim=gradual\r\nbestEffortDnsParsing=true\r\nuseWindowsDnsCache=true\r\n```\r\n\r\n\u7136\u540e, \u5728 Microsoft Store \u4e2d\u641c\u7d22`Arch WSL`, \u70b9\u51fb\u4e0b\u56fe\u4e2d\u6240\u793a\u7684\u8f6f\u4ef6 (\u4e00\u822c\u4e3a\u7b2c1\u4e2a):\r\n\r\n![Microsoft Store \u641c\u7d22\u7ed3\u679c\u7684\u5c40\u90e8\u622a\u56fe](https://github.com/MaxLHy0424/MaxLHy0424.github.io/assets/142279449/ef60802e-5e57-4b6f-81cf-aa6add640178)\r\n\r\n\u6309\u7167\u6b63\u5e38\u6d41\u7a0b\u5b89\u88c5, \u6253\u5f00, \u521b\u5efa\u8d26\u6237. \r\n\r\n# 1 \u4fee\u6539 root \u7528\u6237\u5bc6\u7801\r\n\r\n\u901a\u8fc7`sudo passwd root`\u4fee\u6539`root`\u7528\u6237\u5bc6\u7801.\r\n\r\n# 2 \u914d\u7f6e *GNU Nano* \u6587\u672c\u7f16\u8f91\u5668\r\n\r\n\u6253\u5f00`/etc/nanorc`, \u5728\u672b\u5c3e\u8ffd\u52a0:\r\n\r\n```\r\nbind ^X cut main\r\nbind ^C copy main\r\nbind ^V paste all\r\nbind ^Q exit all\r\nbind ^S savefile main\r\nbind ^W writeout main\r\nbind ^O insert main\r\nbind ^H help all\r\nbind ^H exit help\r\nbind ^F whereis all\r\nbind ^G findnext all\r\nbind ^B wherewas all\r\nbind ^D findprevious all\r\nbind ^R replace main\r\nunbind ^U all\r\nunbind ^N main\r\nunbind ^Y all\r\nunbind M-J main\r\nunbind M-T main\r\nbind ^A mark main\r\nbind ^P location main\r\nbind ^T gotoline main\r\nbind ^T gotodir browser\r\nbind ^T cutrestoffile execute\r\nbind ^L linter execute\r\nbind ^E execute main\r\nbind ^K '{mark}{end}{zap}' main\r\nbind ^U '{mark}{home}{zap}' main\r\nbind ^Z undo main\r\nbind ^Y redo main\r\nset tabsize 4\r\nset autoindent\r\nset noconvert\r\nset smarthome\r\nset tabstospaces\r\nset mouse\r\nset linenumbers\r\nset casesensitive\r\nset multibuffer\r\nset nonewlines\r\nset magic\r\nset softwrap\r\nset wordbounds\r\nset constantshow\r\ninclude /usr/share/nano/*.*\r\n```\r\n\r\n# 3 \u914d\u7f6e\u5305\u7ba1\u7406\u5668\r\n\r\n\u6253\u5f00`/etc/pacman.d/mirrorlist`, \u5728\u9876\u90e8\u6dfb\u52a0:\r\n\r\n```\r\nServer = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch\r\n```\r\n\r\n\u6253\u5f00`/etc/pacman.conf`, \u627e\u5230:\r\n\r\n```\r\n#UseSyslog\r\n#Color\r\nNoProgressBar\r\n```\r\n\r\n\u6362\u6210:\r\n\r\n```\r\nUseSyslog\r\nColor\r\n#NoProgressBar\r\n```\r\n\r\n\u7136\u540e\u627e\u5230\u8fd9\u4e00\u884c:\r\n\r\n```\r\nParallelDownloads = 5\r\n```\r\n\r\n\u5c06\u540e\u9762\u7684`5`\u4fee\u6539\u6210\u4f60\u60f3\u8981\u540c\u65f6\u4e0b\u8f7d\u7684\u8f6f\u4ef6\u5305\u7684\u6570\u91cf.\r\n\r\n\u63a5\u7740\u628a\u540e\u9762\u7684\u8f6f\u4ef6\u6e90\u5168\u90e8\u5220\u6389, \u6362\u6210\u4e0b\u9762\u7684:\r\n\r\n```\r\n[testing]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[staging]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[core-testing]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[core-staging]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[core]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[extra-testing]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[extra-staging]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[extra]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[community-testing]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[community-staging]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[community]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[multilib-testing]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[multilib-staging]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[multilib]\r\nInclude = /etc/pacman.d/mirrorlist\r\n[archlinuxcn]\r\nServer = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch\r\n[blackarch]\r\nSigLevel = Never\r\nServer = https://mirrors.tuna.tsinghua.edu.cn/blackarch/$repo/os/$arch\r\n```\r\n\r\n\u6267\u884c\u4ee5\u547d\u4ee4:\r\n\r\n```bash\r\nsudo pacman-key --init\r\nsudo pacman-key --lsign-key '[email protected]'\r\nsudo pacman -Sy archlinuxcn-keyring blackarch-keyring --noconfirm\r\n```\r\n\r\n\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5 *yay* \u7a33\u5b9a\u7248 (\u5b89\u88c5\u5f00\u53d1\u7248\u628a`yay`\u6539\u4e3a`yay-git`):\r\n\r\n````bash\r\nsudo pacman -S yay\r\n````\r\n\r\n\u5982\u679c\u60a8\u613f\u610f\u7684\u8bdd, \u4e5f\u53ef\u4ee5\u8bd5\u8bd5 *paru*, \u53ef\u4ee5\u53c2\u8003[\u8fd9\u7bc7\u6559\u7a0b](https://maxlhy0424.github.io/post/10.html).\r\n\r\n# 4 \u6c49\u5316\r\n\r\n\u6253\u5f00`/etc/locale.gen`, \u627e\u5230:\r\n\r\n```\r\n#en_US.UTF-8 UTF-8\r\n```\r\n\r\n```\r\n#zh_CN.UTF-8 UTF-8\r\n```\r\n\r\n\u5c06\u524d\u9762\u7684`#`\u53bb\u6389.\r\n\r\n\u6253\u5f00`/etc/locale.conf`, \u5c06\u6240\u6709\u6587\u672c\u66ff\u6362\u4e3a:\r\n\r\n```\r\nLANG=en_US.UTF-8\r\n```\r\n\r\n\u6253\u5f00`/etc/profile`, \u5728\u672b\u5c3e\u8ffd\u52a0:\r\n\r\n```\r\nexport LC_ALL=zh_CN.UTF-8\r\nexport LANG=zh_CN.UTF-8\r\nexport LANGUAGE=zh_CN:en_US\r\n```\r\n\r\n\u7136\u540e\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4:\r\n\r\n```bash\r\nsudo pacman -S adobe-source-han-sans-cn-fonts adobe-source-han-serif-cn-fonts wqy-microhei wqy-microhei-lite ttf-hannom wqy-zenhei wqy-bitmapfont ttf-arphic-ukai ttf-arphic-uming ttf-hannom noto-fonts opendesktop-fonts noto-fonts-emoji --noconfirm\r\nsudo locale-gen\r\n```\r\n\r\n# 5 \u89e3\u51b3 *WSLg* \u53ca *Systemd* \u95ee\u9898\r\n\r\n\u6267\u884c:\r\n\r\n```bash\r\necho '# Type Path Mode UID GID Age Argument\r\nL+ /tmp/.X11-unix - - - - /mnt/wslg/.X11-unix' | sudo tee /etc/tmpfiles.d/wslg.conf\r\n```\r\n\r\n\u5982\u679c *Systemd* \u6ca1\u6709\u542f\u52a8, \u53ef\u4ee5\u8bd5\u8bd5:\r\n\r\n```\r\necho '[boot]\r\nsystemd=true' | sudo tee /etc/wsl.conf\r\n```\r\n\r\n# 6 \u5584\u540e\u5de5\u4f5c\u53ca\u540e\u7eed\u4f7f\u7528\u6ce8\u610f\u4e8b\u9879\r\n\r\n\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4:\r\n\r\n```bash\r\nsudo pacman -Syyu base base-devel git zip unzip net-tools tree python wget btop fastfetch --needed --noconfirm\r\nsudo pacman -Rcns $(pacman -Qtdq) --noconfirm\r\nsudo pacman -Scc --noconfirm\r\nsudo rm -rf /tmp/*\r\nfor i in {font,ICE,X11,XIM}; do sudo rm -rf /tmp/.${i}-unix; done\r\nfor i in {cache,log,tmp}; do sudo rm -rf /var/${i}/*; done\r\n```\r\n\r\n> [!IMPORTANT]\r\n> \u5982\u679c\u540e\u7eed\u5b89\u88c5\u8f6f\u4ef6\u5305\u7f3a\u5c11\u4f9d\u8d56, \u53ef\u4ee5\u4e34\u65f6\u6ce8\u91ca\u6389`/etc/pacman.conf`\u4e2d\u6240\u6709\u540e\u7f00\u4e3a`testing`\u6216`staging`\u7684\u8f6f\u4ef6\u6e90, \u5b8c\u6210\u540e\u4f7f\u7528`sudo pacman -Syyu`\u66f4\u65b0\u4f9d\u8d56\u5373\u53ef.\r\n\u3002", "top": 0, "createdAt": 1718882136, "style": "<style>.markdown-alert{padding:0.5rem 1rem;margin-bottom:1rem;border-left:.25em solid var(--borderColor-default,var(--color-border-default));}.markdown-alert .markdown-alert-title {display:flex;font-weight:var(--base-text-weight-medium,500);align-items:center;line-height:1;}.markdown-alert>:first-child {margin-top:0;}.markdown-alert>:last-child {margin-bottom:0;}</style><style>.markdown-alert.markdown-alert-note {border-left-color:var(--borderColor-accent-emphasis, var(--color-accent-emphasis));background-color:var(--color-accent-subtle);}.markdown-alert.markdown-alert-note .markdown-alert-title {color: var(--fgColor-accent,var(--color-accent-fg));}</style><style>.markdown-alert.markdown-alert-important {border-left-color:var(--borderColor-done-emphasis, var(--color-done-emphasis));background-color:var(--color-done-subtle);}.markdown-alert.markdown-alert-important .markdown-alert-title {color: var(--fgColor-done,var(--color-done-fg));}</style>", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/articletoc.js'></script><script src='https://blog.meekdai.com/Gmeek/plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/142279449?v=4", "createdDate": "2024-06-20", "dateLabelColor": "#bc4c00"}, "P3": {"htmlDir": "docs/post/3.html", "labels": ["\u5f00\u53d1", "\u6559\u7a0b"], "postTitle": "\u624b\u628a\u624b\u6559\u60a8\u7f16\u8bd1\u9002\u7528\u4e8e WSL 2 \u7684 Linux Kernel", "postUrl": "post/3.html", "postSourceUrl": "https://github.com/MaxLHy0424/MaxLHy0424.github.io/issues/3", "commentNum": 0, "wordCount": 2101, "description": "WSL 2 \u5373\u4f7f\u66f4\u65b0\u5230\u6700\u65b0\u9884\u53d1\u5e03\u7248\u672c, Linux Kernel \u7248\u672c\u4e5f\u662f`6.6.xxx`. \u4e00\u90e8\u5206\u8f6f\u4ef6\u53ef\u80fd\u4f1a\u9700\u8981\u66f4\u9ad8\u7684\u5185\u6838\u7248\u672c, \u6216\u8005\u662f\u7528\u6237\u60f3\u8981\u6d4b\u8bd5\u6700\u65b0\u7684 Linux Kernel \u7279\u6027. \u56e0\u6b64, \u7f51\u4e0a\u66ff\u6362 WSL 2 \u7684 Linux Kernel \u7684\u6559\u7a0b\u624d\u4f1a\u5982\u6b64\u6d8c\u73b0.\r\n\r\n> [!CAUTION]\r\n> \u8fd9\u53ef\u80fd\u4f1a\u5bfc\u81f4\u90e8\u5206 GNU/Linux \u53d1\u884c\u7248\u4e0d\u7a33\u5b9a, \u8f6f\u4ef6\u65e0\u6cd5\u8fd0\u884c\u7b49\u95ee\u9898. \u6240\u4ee5\u4e0d\u5efa\u8bae\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u66ff\u6362 WSL 2 \u7684 Linux Kernel.\r\n\r\n> [!TIP]\r\n> \u5982\u679c\u60a8\u5728 WSL 2 \u4e2d\u4f7f\u7528 Arch Linux, \u5efa\u8bae\u5148\u9605\u8bfb[\u8fd9\u7bc7\u6559\u7a0b](https://MaxLHy0424.github.io/post/2.html), \u5bf9 Arch WSL \u8fdb\u884c\u57fa\u672c\u7684\u914d\u7f6e, \u7136\u540e\u518d\u9605\u8bfb\u672c\u6559\u7a0b.\r\n\r\n# 1 \u5b89\u88c5\u4f9d\u8d56\r\n\r\nDebian \u7cfb:\r\n\r\n```bash\r\nsudo apt install build-essential flex bison dwarves libssl-dev libelf-dev\r\n```\r\n\r\nArch \u7cfb:\r\n\r\n```bash\r\nsudo pacman -S base-devel flex bison pahole openssl libelf bc\r\n```\r\n\r\n# 2 \u4e0b\u8f7d Linux Kernel \u6e90\u4ee3\u7801\r\n\r\n\u8bbf\u95ee\u7f51\u7ad9 ['The Linux Kernel Archive'](https://kernel.org), \u7b49\u5f85\u52a0\u8f7d\u5b8c\u6210\u540e, \u53ef\u4ee5\u770b\u5230\u7f51\u9875\u4e2d\u95f4\u7684 Linux Kernel \u6e90\u4ee3\u7801\u5b58\u6863\u5217\u8868. \u5728\u6b64\u4e4b\u524d, \u6211\u4eec\u9700\u8981\u4e86\u89e3 Linux Kernel \u7684\u4e3b\u8981\u5f00\u53d1\u5206\u652f:\r\n\r\n- `mainline` (\u4e3b\u7ebf)\r\n - Linux Kernel \u7684\u4e3b\u8981\u5f00\u53d1\u5206\u652f, \u7531 ***Linus Torvalds*** \u7ba1\u7406, \u5305\u542b\u6700\u65b0\u7684 Linux Kernel \u7279\u6027\u53ca\u6f0f\u6d1e\u4fee\u590d.\r\n - \u5e38\u5e38\u4f5c\u4e3a\u4e0b\u4e00\u4e2a Linux Kernel \u7684\u5f00\u53d1\u5206\u652f, \u53ef\u80fd\u5b58\u5728\u4e00\u4e9b\u7a33\u5b9a\u6027\u95ee\u9898.\r\n- `stable` (\u7a33\u5b9a)\r\n - \u6700\u5e38\u7528\u7684 Linux Kernel \u5206\u652f, \u5305\u542b\u6700\u65b0\u7684\u6f0f\u6d1e\u4fee\u590d, \u65e5\u5e38\u4f7f\u7528\u9996\u9009.\r\n- `longterm` (\u957f\u671f)\r\n - \u8f83\u65e7\u7684 Linux Kernel \u5206\u652f, \u6301\u7eed\u8fdb\u884c\u6f0f\u6d1e\u4fee\u590d. \u957f\u671f\u4f7f\u7528\u9996\u9009.\r\n\r\n\u6839\u636e\u5177\u4f53\u9700\u6c42\u4e0b\u8f7d\u5bf9\u5e94\u7684 Linux Kernel, \u7136\u540e\u901a\u8fc7 Windows \u8d44\u6e90\u7ba1\u7406\u5668\u590d\u5236\u5230\u524d\u9762\u5b89\u88c5\u597d\u4f9d\u8d56\u7684 GNU/Linux \u53d1\u884c\u7248\u7684\u7528\u6237\u5bb6\u76ee\u5f55\u4e2d.\r\n\r\n\u7136\u540e\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4 (\u5c06`<File>`\u66ff\u6362\u4e3a\u60a8\u7684 Linux Kernel \u538b\u7f29\u5305\u6587\u4ef6\u540d, \u5c06`<Dir>`\u66ff\u6362\u4e3a\u60a8\u7684 Linux Kernel \u538b\u7f29\u5305\u89e3\u538b\u540e\u7684\u76ee\u5f55\u540d):\r\n\r\n```bash\r\ncd ~\r\ntar xf <File>\r\ncd <Dir>\r\n```\r\n\r\n# 3 \u7f16\u8bd1\u5185\u6838\r\n\r\n> [!NOTE]\r\n> \u5982\u679c\u60a8\u5728\u4e2d\u56fd\u5927\u9646, \u6b64\u6b65\u9aa4\u53ef\u80fd\u9700\u8981\u4f7f\u7528\u7f51\u7edc\u4ee3\u7406.\r\n\r\n\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u4e0b\u8f7d\u9002\u7528\u4e8e WSL 2 \u7684 Linux Kernel \u6784\u5efa\u914d\u7f6e\u5e76\u4fdd\u5b58:\r\n\r\n```bash\r\nwget https://raw.githubusercontent.com/microsoft/WSL2-Linux-Kernel/linux-msft-wsl-6.1.y/arch/x86/configs/config-wsl -O arch/x86/configs/config-wsl\r\n```\r\n\r\n\u7136\u540e\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u4f7f\u7528\u5168\u90e8\u7ebf\u7a0b\u7f16\u8bd1\u5185\u6838:\r\n\r\n```bash\r\nmake KCONFIG_CONFIG=arch/x86/configs/config-wsl -j$(nproc)\r\n```\r\n\r\n\u9014\u4e2d\u7684\u7f16\u8bd1\u914d\u7f6e\u9009\u62e9\u4e00\u8def\u6309\u56de\u8f66\u5373\u53ef.\r\n\r\n# 4 \u4fdd\u5b58\u5e76\u66ff\u6362\r\n\r\n\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4 (\u5c06`<PATH>`\u66ff\u6362\u4e3a C \u76d8\u4e0b\u7684\u6587\u4ef6\u8def\u5f84, \u4f8b\u5982`Data/WslLinuxKernel`):\r\n\r\n```bash\r\ncp arch/x86/boot/bzImage /mnt/c/<PATH>\r\n```\r\n\r\n\u7136\u540e\u5c06\u6587\u4ef6\u540d\u6539\u4e3a`kernel`.\r\n\r\n\u63a5\u7740, \u5728\u5f53\u524d Windows \u7528\u6237\u76ee\u5f55\u4e0b\u521b\u5efa\u6587\u4ef6`.wslconfig` (\u6709\u5219\u4e0d\u7528), \u6dfb\u52a0 (`[wsl2]`\u65e0\u9700\u91cd\u590d\u6dfb\u52a0; \u5c06`C:\\\\<PATH>\\\\kernel`\u66ff\u6362\u4e3a\u60a8\u7684 Linux Kernel \u6587\u4ef6\u8def\u5f84; \u628a\u8def\u5f84\u5206\u9694\u7b26\u66ff\u6362\u4e3a`\\\\`):\r\n\r\n```\r\n[wsl2]\r\nkernel=C:\\\\<PATH>\\\\kernel \r\n```\r\n\r\n\u63a5\u7740, \u5728 Windows Terminal \u4e2d\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4:\r\n\r\n```Batch\r\nwsl --shutdown\r\n```\r\n\r\n\u518d\u6b21\u542f\u52a8 WSL 2 \u4e2d\u7684 GNU/Linux \u53d1\u884c\u7248, \u6267\u884c:\r\n\r\n```bash\r\nuname -a\r\n```\r\n\r\nLinux Kernel \u5df2\u7ecf\u6210\u529f\u66ff\u6362, \u4e00\u5207\u5927\u529f\u544a\u6210!\r\n\u3002", "top": 0, "createdAt": 1718966600, "style": "<style>.markdown-alert{padding:0.5rem 1rem;margin-bottom:1rem;border-left:.25em solid var(--borderColor-default,var(--color-border-default));}.markdown-alert .markdown-alert-title {display:flex;font-weight:var(--base-text-weight-medium,500);align-items:center;line-height:1;}.markdown-alert>:first-child {margin-top:0;}.markdown-alert>:last-child {margin-bottom:0;}</style><style>.markdown-alert.markdown-alert-note {border-left-color:var(--borderColor-accent-emphasis, var(--color-accent-emphasis));background-color:var(--color-accent-subtle);}.markdown-alert.markdown-alert-note .markdown-alert-title {color: var(--fgColor-accent,var(--color-accent-fg));}</style><style>.markdown-alert.markdown-alert-tip {border-left-color:var(--borderColor-success-emphasis, var(--color-success-emphasis));background-color:var(--color-success-subtle);}.markdown-alert.markdown-alert-tip .markdown-alert-title {color: var(--fgColor-success,var(--color-success-fg));}</style><style>.markdown-alert.markdown-alert-caution {border-left-color:var(--borderColor-danger-emphasis, var(--color-danger-emphasis));background-color:var(--color-danger-subtle);}.markdown-alert.markdown-alert-caution .markdown-alert-title {color: var(--fgColor-danger,var(--color-danger-fg));}</style>", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/articletoc.js'></script><script src='https://blog.meekdai.com/Gmeek/plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/142279449?v=4", "createdDate": "2024-06-21", "dateLabelColor": "#bc4c00"}, "P4": {"htmlDir": "docs/post/4.html", "labels": ["\u65e5\u5e38", "\u6587\u5b66", "\u5b66\u4e60"], "postTitle": "\u7ec8\u7a76\u662f\u5c0f\u5b66\u6bd5\u4e1a\u4e86", "postUrl": "post/4.html", "postSourceUrl": "https://github.com/MaxLHy0424/MaxLHy0424.github.io/issues/4", "commentNum": 0, "wordCount": 673, "description": "> \u672c\u6587\u539f\u5b9a\u4e8e\u4eca\u5929\u4e0b\u5348 7 \u70b9\u53d1\u5e03, \u4f46\u56e0\u4e3a\u7a81\u7136\u6709\u4e8b, \u5ef6\u8fdf\u5230\u4e86\u73b0\u5728, \u6df1\u611f\u62b1\u6b49.\r\n\r\n\u4e0d\u77e5\u4e0d\u89c9\u95f4, \u5c0f\u5b66\u516d\u5e74\u65f6\u5149\u5306\u5306\u800c\u53bb. \u4eca\u5929\u8d77, \u6211\u5df2\u4e0d\u518d\u662f\u4e00\u540d\u5c0f\u5b66\u751f. \u9c9c\u8273\u7684\u7ea2\u9886\u5dfe\u6446\u653e\u5728\u67dc\u5b50\u7684\u4e00\u89d2, \u6821\u5fbd\u968f\u624b\u4e22\u5728\u62bd\u5c49\u7684\u6df1\u5904, \u6821\u670d\u6d88\u6c89\u5728\u4e86\u8863\u67dc\u4e2d. \u4ee5\u5f80\u671d\u5915\u76f8\u5904\u7684\u540c\u5b66, \u73b0\u5728\u53ea\u5b58\u4e8e\u7167\u7247\u91cc\u4e86. \u5c0f\u5b66\u516d\u5e74, \u6bcf\u4e00\u6b21\u7684\u6b22\u4e50, \u54ed\u6ce3, \u632f\u4f5c, \u90fd\u6c89\u5165\u4e86\u6628\u65e5\u7684\u5915\u9633. \u5c0f\u5b66\u751f\u6d3b, \u81f3\u6b64\u544a\u4e00\u6bb5\u843d, \u753b\u4e0a\u4e86\u5706\u6ee1\u7684\u53e5\u53f7.\r\n\r\n\u516d\u5e74, 9600 \u8282\u8bfe, 240 \u4e2a\u661f\u671f, 12 \u4e2a\u5b66\u671f, \u4e00\u5f20\u8bd5\u5377\u8003\u6563\u4e86\u4e00\u7fa4\u4eba, \u6700\u540e\u53ea\u7559\u4e0b\u4e00\u5f20\u7167\u7247\u548c\u4e00\u58f0\u518d\u89c1. \u516d\u5e74, \u4e66\u9f50\u4e86, \u4eba\u5374\u6563\u4e86, \u548c\u671d\u5915\u76f8\u5904\u7684\u540c\u5b66\u4eec\u5750\u5230\u7ad9\u4e86, \u4e5f\u8be5\u4e0b\u8f66\u4e86...\u4e0b\u8f66\u540e\uff0c\u65b0\u7684\u5217\u8f66\u4f9d\u65e7\u5750\u6ee1\u4e86\u4eba, \u53ef\u60dc, \u5df2\u7ecf\u4e0d\u662f\u539f\u6765\u90a3\u7fa4\u4eba\u4e86...\r\n\r\n\u8fd8\u8bb0\u5f97\u90a3\u6bcf\u5929\u4e24\u58f0 '\u8001\u5e08\u597d' \u548c '\u8001\u5e08\u518d\u89c1', \u5230\u73b0\u5728, \u53ea\u5269 '\u6709\u7f18\u518d\u89c1'. \u65f6\u5149\u5306\u5306\u4e2d, \u6bcf\u4e2a\u9c9c\u6d3b\u7684\u4eba\u4f7f\u6211\u96be\u5fd8. \u6211\u7684\u540c\u5b66, \u6211\u7684\u8001\u5e08, \u73b0\u5728\u4ed6\u4eec\u90fd\u6c89\u4e8e\u6211\u7684\u6f2b\u6f2b\u7684\u8bb0\u5fc6\u957f\u6cb3\u4e2d\u4e86. \u90a3\u4e9b\u5feb\u4e50\u7684\u65f6\u5149, \u90fd\u5c06\u5728\u6211\u5185\u5fc3\u6df1\u5904\u5982\u5b9d\u77f3\u822c\u95ea\u95ea\u53d1\u5149. \u660e\u660e\u5df2\u662f\u9ed1\u591c, \u4f46\u6211\u4ecd\u53ef\u89c1\u6628\u65e5\u7684\u5915\u9633...\r\n\r\n\u6211\u5c06\u6c38\u8fdc\u94ed\u8bb0\u8fd9\u4e00\u5207, \u76f4\u5230\u6c38\u8fdc...\r\n\r\n\u6211\u7684\u6545\u4e8b\u5c1a\u672a\u753b\u4e0b\u53e5\u53f7, \u5927\u5bb6\u7684\u6545\u4e8b\u5c1a\u672a\u753b\u4e0b\u53e5\u53f7. \u4f60\u6211\u7684\u6545\u4e8b, \u4ecd\u9700\u7ee7\u7eed\u5199\u4e0b\u53bb, \u76f4\u5230\u4eba\u751f\u7ec8\u672b\u7684\u53e5\u53f7. \u8fd9\u6837\u7684\u65f6\u523b\u4f1a\u5728\u4e0d\u4e45\u7684\u5c06\u6765\u91cd\u6f14, \u800c\u4f60\u6211, \u4ecd\u7136\u8d70\u7740\u81ea\u5df1\u7684\u4eba\u751f\u4e4b\u8def. \u6211\u4eec\u56de\u9996\u5915\u9633, \u66f4\u8981\u770b\u5411\u8fdc\u65b9, \u5c06\u6211\u4eec\u7684 '\u9752\u6625\u5267' \u7ee7\u7eed\u6f14\u4e0b\u53bb...\r\n\r\n> \u8c28\u4ee5\u6b64\u6587\u732e\u7ed9\u6211\u4eb2\u7231\u7684\u540c\u5b66, \u8001\u5e08, \u4ee5\u53ca\u6211\u7684\u6bcd\u6821. \u613f\u6211\u4eec\u90fd\u80fd\u4e66\u5199\u51fa\u81ea\u5df1\u4eba\u751f\u7684\u8f89\u714c\u7bc7\u7ae0.\u3002", "top": 0, "createdAt": 1719064421, "style": "", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/articletoc.js'></script><script src='https://blog.meekdai.com/Gmeek/plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/142279449?v=4", "createdDate": "2024-06-22", "dateLabelColor": "#bc4c00"}, "P5": {"htmlDir": "docs/post/5.html", "labels": ["\u5f00\u53d1", "\u6559\u7a0b"], "postTitle": "\u4e3a Hyper-V \u4e2d\u7684 Arch Linux \u542f\u7528\u589e\u5f3a\u4f1a\u8bdd", "postUrl": "post/5.html", "postSourceUrl": "https://github.com/MaxLHy0424/MaxLHy0424.github.io/issues/5", "commentNum": 0, "wordCount": 3255, "description": "\u4f7f\u7528 Hyper-V \u53bb\u5b89\u88c5 GNU/Linux \u53d1\u884c\u7248, \u542f\u7528\u589e\u5f3a\u4f1a\u8bdd\u6700\u4ee4\u4eba\u5934\u5927. \u4e0d\u6e05\u695a\u662f\u4e0d\u662f Microsoft \u6709\u610f\u4e3a\u4e4b\u8ba9\u5927\u5bb6\u7528 WSL 2. \u4f46\u603b\u5f52, \u8fd9\u5e76\u4e0d\u5bb9\u6613.\r\n\r\n\u672c\u6559\u7a0b\u5c06\u6559\u60a8\u5982\u4f55\u4e3a Hyper-V \u4e2d\u7684 Arch Linux \u865a\u62df\u673a\u542f\u7528\u589e\u5f3a\u4f1a\u8bdd.\r\n\r\n# 0 \u51c6\u5907\u5de5\u4f5c\r\n\r\n> [!IMPORTANT]\r\n> \u8bf7\u786e\u4fdd\u60a8\u7684 Arch Linux \u865a\u62df\u673a\u662f\u7b2c\u4e8c\u4ee3\u865a\u62df\u673a, \u540c\u65f6\u4f7f\u7528 *pipewire* \u4f5c\u58f0\u97f3\u670d\u52a1. \u5e76\u4e14\u5728 Hyper-V \u8bbe\u7f6e\u4e2d\u5141\u8bb8\u4f7f\u7528\u589e\u5f3a\u4f1a\u8bdd.\r\n\r\n\u7136\u540e, \u5728\u4e3b\u673a Windows OS \u4e0b\u4ee5\u7ba1\u7406\u5458\u6743\u9650\u6253\u5f00 PowerShell, \u6267\u884c (`<VM>`\u6539\u6210 Arch Linux \u865a\u62df\u673a\u7684\u540d\u5b57, \u6700\u597d\u52a0\u4e0a\u82f1\u6587\u534a\u89d2\u53cc\u5f15\u53f7):\r\n\r\n```powershell\r\nSet-VM -VMName <VM> -EnhancedSessionTransportType HvSocket\r\n```\r\n\r\n# 1 \u914d\u7f6e\u5305\u7ba1\u7406\u5668\r\n\r\n\u8be6\u89c1[\u8fd9\u7bc7\u6559\u7a0b](https://maxlhy0424.github.io/post/2.html)\u7684\u7b2c 3 \u90e8\u5206\u548c[\u53e6\u4e00\u7bc7\u6559\u7a0b](https://maxlhy0424.github.io/post/10.html).\r\n\r\n# 2 \u5b89\u88c5\u96c6\u6210\u670d\u52a1\r\n\r\n\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4:\r\n\r\n```bash\r\nsudo pacman -S hyperv\r\nfor i in {vss,fcopy,kvp}; do sudo systemctl enable hv_${i}_daemon.service; done\r\n```\r\n\r\n# 3 \u5b89\u88c5\u8f6f\u4ef6\u5305\r\n\r\n\u5982\u679c\u6ca1\u6709\u5b89\u88c5 *git*, \u8bf7\u5148\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4:\r\n\r\n```bash\r\nsudo pacman -S git base-devel\r\n```\r\n\r\n\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4:\r\n\r\n```bash\r\ngit clone https://github.com/microsoft/linux-vm-tools.git\r\ngit clone https://aur.archlinux.org/xrdp-devel-git.git\r\n```\r\n\r\n\u9996\u5148\u5207\u6362\u5230\u6587\u4ef6\u5939`xrdp-devel-git`, \u5728\u6587\u4ef6`PKGBUILD`\u4e2d\u7684`build()`\u90e8\u5206\u4e2d, \u6dfb\u52a0\u4ee5\u4e0b\u53c2\u6570\u5230\u6784\u5efa\u9009\u9879\u4e2d:\r\n\r\n```\r\n--enable-vsock\r\n```\r\n\r\n\u5373\u6574\u4e2a`build()`\u53d8\u4e3a:\r\n\r\n```\r\nbuild() {\r\n cd $pkgname\r\n ./configure --prefix=/usr \\\r\n --sysconfdir=/etc \\\r\n --localstatedir=/var \\\r\n --sbindir=/usr/bin \\\r\n\t --libexecdir=/usr/lib \\\r\n --with-systemdsystemdunitdir=/usr/lib/systemd/system \\\r\n --enable-jpeg \\\r\n --enable-tjpeg \\\r\n --enable-fuse \\\r\n\t --enable-opus \\\r\n\t --enable-rfxcodec \\\r\n\t --enable-mp3lame \\\r\n\t --enable-pixman \\\r\n --enable-vsock\r\n # Fight unused direct deps\r\n sed -i -e 's/ -shared / -Wl,-O1,--as-needed\\0 /g' -e 's/ if test '$export_dynamic' = yes && test -n '$export_dynamic_flag_spec'; then/ func_append compile_command ' -Wl,-O1,--as-needed'\\n func_append finalize_command ' -Wl,-O1,--as-needed'\\n\\0/' libtool\r\n make V=0\r\n}\r\n```\r\n\r\n\u5c31\u662f`# Fight unused direct deps`\u4e0a\u9762\u7684\u4e24\u884c\u6539\u4e86\u4e00\u4e0b.\r\n\r\n\u7f16\u8f91\u5b8c\u6210\u540e, \u6267\u884c\u547d\u4ee4:\r\n\r\n```\r\nmakepkg --skipchecksum -si\r\n```\r\n\r\n\u7136\u540e\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4:\r\n\r\n```\r\nparu -S xorg-xinit xorgxrdp-devel-git openssl-1.1 pipewire-module-xrdp\r\n```\r\n\r\n\u63a5\u7740\u5207\u6362\u56de\u5f53\u521d\u514b\u9686\u4ed3\u5e93\u65f6\u6240\u5728\u7684\u76ee\u5f55, \u5207\u6362\u5230`linux-vm-tools/arch`, \u6267\u884c:\r\n\r\n```bash\r\nsudo ./install-config.sh\r\n```\r\n\r\n> [!WARNING]\r\n> \u4e0d\u8981\u4f7f\u7528`linux-vm-tools/arch`\u4e2d\u7684`makepkg.sh`\u811a\u672c, \u5176\u7f16\u8bd1\u9009\u9879\u5e76\u4e0d\u6b63\u786e.\r\n\r\n# 4 \u89e3\u51b3 *XRDP* \u53cd\u590d\u8fde\u63a5\u95ee\u9898\r\n\r\n\u5728\u5f53\u524d\u7528\u6237\u7684\u5bb6\u76ee\u5f55\u4e0b\u521b\u5efa`.xinitrc`.\r\n\r\n\u6839\u636e\u4e0d\u540c\u7684\u684c\u9762\u73af\u5883\u6dfb\u52a0\u5185\u5bb9:\r\n - *i3w / dwm*:\r\n\r\n ``` \r\n exec i3w\r\n ```\r\n\r\n - *Gnome*:\r\n\r\n ```\r\n unset SESSION_MANAGER\r\n unset DBUS_SESSION_BUS_ADDRESS\r\n exec dbus-launch gnome-shell --x11\r\n ```\r\n\r\n - *KDE Plasma*:\r\n\r\n ```\r\n export DESKTOP_SESSION=plasma\r\n /usr/lib/plasma-dbus-run-session-if-needed startplasma-x11 \r\n ```\r\n\r\n - *Xfce4*:\r\n\r\n ```\r\n unset SESSION_MANAGER\r\n unset DBUS_SESSION_BUS_ADDRESS\r\n exec dbus-launch startxfce4\r\n ```\r\n\r\n\u7136\u540e\u6267\u884c:\r\n\r\n```bash\r\nsudo systemctl enable xrdp.service\r\nsudo systemctl enable xrdp-sesman.service\r\nsudo xrdp-keygen xrdp /etc/xrdp/rsakeys.ini\r\nsudo pacman -Rcns $(pacman -Qtdq)\r\n```\r\n\r\n\u63a5\u7740\u91cd\u542f\u865a\u62df\u673a.\r\n\r\n\u91cd\u542f\u540e\u4f9d\u6b21\u8f93\u5165\u7528\u6237\u540d, \u7528\u6237\u5bc6\u7801\u767b\u5f55\u8d26\u6237, \u7136\u540e\u5728\u5f39\u51fa\u7a97\u53e3\u4e2d\u518d\u6b21\u8f93\u5165\u8d26\u6237\u5bc6\u7801\u5373\u53ef.\r\n\r\n> [!TIP]\r\n> \u5b9e\u9645\u4e0a\u76f4\u63a5\u5173\u95ed\u5f39\u51fa\u7684\u7a97\u53e3\u4e5f\u662f\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u7684, \u4e0d\u8fc7\u6700\u597d\u8fd8\u662f\u8f93\u5165\u4ee5\u4e0b\u8d26\u6237\u5bc6\u7801.\r\n\r\n\u81f3\u6b64, \u4e00\u5207\u5927\u529f\u544a\u6210!\r\n\r\n# DLC \u6c49\u5316 *SDDM*\r\n\r\n\u8fd9\u4e00\u90e8\u5206\u548c\u672c\u7bc7\u6559\u7a0b\u6ca1\u4ec0\u4e48\u5173\u7cfb, \u4e86\u89e3\u4e0b\u5c31\u53ef\u4ee5.\r\n\r\n\u5982\u679c\u662f\u4ee5 *Systemd* \u542f\u52a8 *SDDM*, \u53ef\u4ee5\u6253\u5f00`/usr/lib/systemd/system/sddm.service`, \u5728`[Service]`\u4e0b\u6dfb\u52a0:\r\n\r\n```\r\nEnvironment=LANG=zh_CN.UTF-8\r\n```\r\n\r\n\u5982\u679c\u4e0d\u662f *Systemd* \u542f\u52a8, \u53ea\u80fd\u6539`/etc/locale.conf`\u4e86 (\u4e0d\u5efa\u8bae\u6539, \u865a\u62df\u7ec8\u7aef\u4f1a\u4e71\u7801).\r\n\u3002", "top": 0, "createdAt": 1719218686, "style": "<style>.markdown-alert{padding:0.5rem 1rem;margin-bottom:1rem;border-left:.25em solid var(--borderColor-default,var(--color-border-default));}.markdown-alert .markdown-alert-title {display:flex;font-weight:var(--base-text-weight-medium,500);align-items:center;line-height:1;}.markdown-alert>:first-child {margin-top:0;}.markdown-alert>:last-child {margin-bottom:0;}</style><style>.markdown-alert.markdown-alert-tip {border-left-color:var(--borderColor-success-emphasis, var(--color-success-emphasis));background-color:var(--color-success-subtle);}.markdown-alert.markdown-alert-tip .markdown-alert-title {color: var(--fgColor-success,var(--color-success-fg));}</style><style>.markdown-alert.markdown-alert-important {border-left-color:var(--borderColor-done-emphasis, var(--color-done-emphasis));background-color:var(--color-done-subtle);}.markdown-alert.markdown-alert-important .markdown-alert-title {color: var(--fgColor-done,var(--color-done-fg));}</style><style>.markdown-alert.markdown-alert-warning {border-left-color:var(--borderColor-attention-emphasis, var(--color-attention-emphasis));background-color:var(--color-attention-subtle);}.markdown-alert.markdown-alert-warning .markdown-alert-title {color: var(--fgColor-attention,var(--color-attention-fg));}</style>", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/articletoc.js'></script><script src='https://blog.meekdai.com/Gmeek/plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/142279449?v=4", "createdDate": "2024-06-24", "dateLabelColor": "#bc4c00"}, "P6": {"htmlDir": "docs/post/6.html", "labels": ["\u65e5\u5e38", "\u5f00\u53d1"], "postTitle": "CRCSN \u5f00\u53d1\u5c0f\u8bb0 01", "postUrl": "post/6.html", "postSourceUrl": "https://github.com/MaxLHy0424/MaxLHy0424.github.io/issues/6", "commentNum": 0, "wordCount": 638, "description": "\u9996\u5148\u7ed9\u4e0d\u77e5\u9053\u5565\u662f CRCSN \u7684\u8bb2\u8bb2. \u603b\u800c\u8a00\u4e4b, \u8fd9\u5c31\u662f\u6211\u81ea\u5df1\u5f00\u53d1\u7684\u4e00\u4e2a\u5c0f\u9879\u76ee, \u4f5c\u7528\u662f\u7528\u6765\u7834\u89e3\u5b66\u6821\u673a\u623f\u91cc\u6bd4\u8f83\u4e3b\u6d41\u7684\u63a7\u5236\u8f6f\u4ef6\u7528\u7684. \u5f53\u521d\u56e0\u4e3a\u4e00\u65f6\u51b2\u52a8\u800c\u6210, \u76ee\u524d\u6b63\u5728\u89c4\u5212 v5.0.0 \u5927\u66f4\u65b0.\r\n\r\n\u5927\u7248\u672c\u66f4\u65b0, \u5148\u753b\u4e2a\u997c\u5427. v5.0.0 \u76ee\u524d\u89c4\u5212\u7684\u66f4\u65b0\u5982\u4e0b:\r\n - ConsoleUI (\u4f2a GUI)\r\n - \u91cd\u6784 '\u5de5\u5177\u7bb1'\r\n\r\nConsoleUI \u662f\u5728 Bilibili \u4e0a\u770b\u5230\u4e00\u4e2a\u89c6\u9891 (\u8be6\u89c1[\u6b64\u5904](https://www.bilibili.com/video/BV1X14y1n7S4/)), \u5b9e\u73b0\u4e86\u5728\u63a7\u5236\u53f0\u7a97\u53e3\u4e2d\u4f7f\u7528\u9f20\u6807\u70b9\u9009, \u60f3\u8d77 CRCSN \u88ab\u540c\u5b66\u5410\u69fd\u5b66\u4e60\u6210\u672c\u9ad8, \u4ed6\u4eec\u4e0d\u4f1a\u7528 ~(\u6211\u4e5f\u662f\u771f\u7684\u9189\u4e86)~, \u624d\u6709\u6b21\u7acb\u9879. \u76ee\u524d\u6253\u7b97\u901a\u8fc7~\u590d\u5236\u7c98\u8d34\u522b\u4eba\u5199\u597d\u7684~\u51fd\u6570\u8c03\u7528 Windows API \u5b9e\u73b0.\r\n\r\n\u81f3\u4e8e\u91cd\u6784 '\u5de5\u5177\u7bb1'...\u600e\u4e48\u8bf4\u5462, '\u5de5\u5177\u7bb1' \u8fd9\u4e1c\u897f\u4ece v4.0.0 \u6dfb\u52a0\u4ee5\u6765, \u4f7f\u7528\u7684\u4eba\u51e0\u4e4e\u6ca1\u6709, \u4f46\u5927\u90e8\u5206\u7684 Bug \u5374\u90fd\u662f\u8fd9\u4e1c\u897f\u7684\u95ee\u9898...\u4e8e\u662f\u6298\u817e\u4e86\u597d\u51e0\u4e2a\u7248\u672c\u540e, \u5fcd\u65e0\u53ef\u5fcd\u624d\u5728 v4.9.0 \u79fb\u9664. \u76ee\u524d\u8fd8\u80fd\u518d\u7a0b\u5e8f\u5185\u770b\u89c1\u5b83, \u4f46\u5df2\u7ecf\u88ab\u6211\u5220\u7684\u53ea\u5269\u4e2a\u7a7a\u58f3\u4e86. \u4e5f\u7b97\u662f\u628a\u90a3\u4e9b\u5c4e\u5c71\u4ee3\u7801\u79fb\u9664\u4e86.\r\n\r\nv5.0.0 \u7684\u5f00\u53d1\u5206\u652f\u9884\u8ba1\u4e8e 2024 \u5e74 6 \u6708 26 \u65e5 17:00 \u5de6\u53f3\u540c\u6b65\u81f3 GitHub \u4ed3\u5e93, \u8fd8\u8bf7\u5404\u4f4d\u62ed\u76ee\u4ee5\u5f85!\r\n\r\nGitHub \u4ed3\u5e93\u8bf7\u70b9[\u6b64\u5904](https://github.com/MaxLHy0424/CRCSN)\u8bbf\u95ee.\u3002", "top": 0, "createdAt": 1719302769, "style": "", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/articletoc.js'></script><script src='https://blog.meekdai.com/Gmeek/plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/142279449?v=4", "createdDate": "2024-06-25", "dateLabelColor": "#bc4c00"}, "P7": {"htmlDir": "docs/post/7.html", "labels": ["\u65e5\u5e38", "\u5f00\u53d1"], "postTitle": "CRCSN \u5f00\u53d1\u5c0f\u8bb0 02", "postUrl": "post/7.html", "postSourceUrl": "https://github.com/MaxLHy0424/MaxLHy0424.github.io/issues/7", "commentNum": 0, "wordCount": 433, "description": "\u4e09\u5929\u8fc7\u53bb\u4e86, CRCSN v5.0.0 \u7684\u5f00\u53d1\u5de5\u4f5c\u5feb\u9a6c\u52a0\u97ad\u8fdb\u884c\u7740, \u8bb2\u8bb2\u8fd9\u51e0\u5929\u7684\u6210\u679c\u5427.\r\n\r\n### \u5b8c\u5168\u91cd\u6784\r\n\r\n\u76ee\u524d, \u5df2\u7ecf\u5b8c\u5168\u5c06\u6838\u5fc3\u4ee3\u7801\u4ece\u5197\u4f59\u7684\u51fd\u6570\u4e2d\u62c6\u5206\u51fa\u6765, \u7edf\u4e00\u653e\u5728\u547d\u540d\u7a7a\u95f4`CRCSN`\u4e0b, \u5e76\u4fdd\u5b58\u5728`module.hpp`\u4e2d. \u4e4b\u540e\u5f00\u53d1\u65b0\u529f\u80fd\u53ea\u8981\u5411\u547d\u540d\u7a7a\u95f4\u5185\u6dfb\u52a0\u65b0\u51fd\u6570, \u7136\u540e\u5728\u4e3b\u9875\u521b\u5efa\u4e00\u4e2a\u6761\u76ee\u5c31\u884c\u4e86.\r\n\r\n## \u5b9e\u88c5 ConsoleUI\r\n\r\nConsoleUI \u76ee\u524d\u57fa\u672c\u53d6\u4ee3\u4e86\u952e\u76d8\u8f93\u5165\u9009\u62e9\u7684\u65b9\u5f0f, \u8ba9\u64cd\u4f5c\u66f4\u52a0\u7b80\u5355\u65b9\u4fbf. \u7ecf\u8fc7\u8fd9\u51e0\u5929\u7684\u6253\u78e8, \u7f8e\u89c2\u5ea6\u4e0a\u4e5f\u65e0\u9700\u62c5\u5fc3. \u76ee\u524d\u7684\u6700\u65b0\u5f00\u53d1\u7248\u672c`24w27d`\u5df2\u7ecf\u57fa\u672c\u5b8c\u6210\u4e86\u4e3b\u9875\u7684\u91cd\u6784, \u5177\u4f53\u89c1\u4e0b\u56fe:\r\n![CRCSN \u7248\u672c 24w27d \u7684\u4e3b\u9875](https://github.com/MaxLHy0424/MaxLHy0424.github.io/assets/142279449/49740e9c-bc68-422a-94d2-750ee54cbdeb)\r\n\r\nv5.0.0 \u81f4\u529b\u8ba9\u5927\u5bb6\u66f4\u52a0\u6ee1\u610f!\r\n\u3002", "top": 0, "createdAt": 1719568215, "style": "", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/articletoc.js'></script><script src='https://blog.meekdai.com/Gmeek/plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/142279449?v=4", "createdDate": "2024-06-28", "dateLabelColor": "#bc4c00"}, "P10": {"htmlDir": "docs/post/10.html", "labels": ["\u5f00\u53d1", "\u6559\u7a0b", "\u8f6f\u4ef6"], "postTitle": "paru: \u6bd4 yay \u66f4\u52a0\u5f3a\u5927\u7684 AUR \u52a9\u624b", "postUrl": "post/10.html", "postSourceUrl": "https://github.com/MaxLHy0424/MaxLHy0424.github.io/issues/10", "commentNum": 0, "wordCount": 9871, "description": "[*paru*](https://github.com/Morganamilo/paru) \u662f *yay* \u7684\u4f5c\u8005\u4e4b\u4e00 Morganamilo \u4f7f\u7528 Rust \u7f16\u5199\u7684\u53e6\u4e00\u4e2a AUR \u52a9\u624b. \u57fa\u672c\u547d\u4ee4\u4e0e\u529f\u80fd\u4e0e *yay* \u548c *pacman* \u51e0\u4e4e\u4e00\u6837, \u6240\u4ee5\u8fc1\u79fb\u8fc7\u6765\u4e0d\u4f1a\u6709\u4efb\u4f55\u56f0\u96be.\r\n\r\n# 0 \u5b89\u88c5\r\n\r\n\u5982\u679c\u6ca1\u6709\u5b89\u88c5\u5176\u4ed6\u7684 AUR \u52a9\u624b, \u53ef\u4ee5\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4:\r\n```bash\r\nsudo pacman -S --needed git base-devel\r\ngit clone https://aur.archlinux.org/paru-git.git\r\ncd paru-git\r\nmakepkg -si\r\n```\r\n\r\n\u5982\u679c\u6709\u5b89\u88c5 *yay*, \u53ef\u4ee5\u76f4\u63a5\u6267\u884c:\r\n```bash\r\nyay -S paru-git\r\n```\r\n\r\n# 1 \u57fa\u672c\u7528\u6cd5\r\n\r\n## 1.1 `paru`\r\n\r\n\u5f53\u4ec0\u4e48\u53c2\u6570\u90fd\u4e0d\u52a0\u7684\u65f6\u5019, \u9ed8\u8ba4\u6267\u884c`paru -Syu`, \u9996\u5148\u4ece\u8f6f\u4ef6\u4ed3\u5e93\u67e5\u627e\u66f4\u65b0, \u7136\u540e\u4ece AUR \u67e5\u627e\u66f4\u65b0.\r\n\r\n## 1.2 `paru <search terms>`\r\n\r\n\u901a\u8fc7 *paru* \u641c\u7d22\u5173\u952e\u8bcd`<search terms>`\u7684\u8f6f\u4ef6\u5305, \u5e76\u8be2\u95ee\u8981\u5b89\u88c5\u54ea\u4e00\u4e2a. \u4ee5\u4e0b\u662f `paru texlive-full` \u7684\u8f93\u51fa:\r\n```\r\n1 aur/texlive-full 1:2022.20220406-1 [+5 ~0.00] [\u5df2\u5b89\u88c5]\r\n This packages provides texlive-full in /opt. It also tricks ArchLinux into thinking it has its texlive packages installed.\r\n:: \u9700\u8981\u5b89\u88c5\u7684\u5305 (\u4f8b\u5982: 1 2 3, 1-3):\r\n:: \r\n```\r\n\r\n## 1.3 `paru <operation> [options] [targets]`\r\n\r\n\u8fd9\u91cc`<operation>`\u662f\u4e00\u4e2a\u5fc5\u987b\u53c2\u6570, \u8868\u793a\u64cd\u4f5c. \u7528\u7f29\u5199\u7684\u65f6\u5019\u7528\u4e00\u4e2a\u5927\u5199\u5b57\u6bcd\u8868\u793a, \u4f8b\u5982`-S`\u8868\u793a`--sync`, `<options>`\u662f\u9009\u9879. \u591a\u4e2a\u9009\u9879\u53ef\u4ee5\u5199\u5728\u4e00\u8d77, \u4f8b\u5982`paru --sync -y -u`\u5c31\u662f\u5e38\u89c1\u7684`paru -Syu`.\r\n\r\n# 2 *paru* \u7279\u6709\u7684\u64cd\u4f5c\r\n\r\n## 2.1 `-P` (`--show`)\r\n\r\n\u6253\u5370\u76f8\u5173\u7684\u9009\u9879.\r\n\r\n### 2.1.1 `-c` (`--complete`)\r\n\r\n\u6253\u5370\u6240\u6709\u6765\u81ea AUR \u548c\u8f6f\u4ef6\u4ed3\u5e93\u7684\u5305, \u7528\u4e8e\u81ea\u52a8\u8865\u5168, **\u7528\u6237\u4e0d\u5e94\u76f4\u63a5\u4f7f\u7528**.\r\n\r\n### 2.1.2 `-s` (`--state`)\r\n\r\n\u5c55\u793a\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\u7684\u4fe1\u606f\u4ee5\u53ca\u7cfb\u7edf\u5065\u5eb7\u60c5\u51b5, \u4ee5\u53ca\u662f\u5426\u6709\u8fc7\u671f\u5305, \u5b64\u513f\u5305\u7b49.\r\n\r\n### 2.1.3 `-w` (`--news`)\r\n\r\n\u5c55\u793a\u6765\u81ea Arch Linux \u4e3b\u9875\u7684\u65b0\u95fb. \u53ea\u5c55\u793a\u6bd4\u6240\u6709\u672c\u5730\u8f6f\u4ef6\u5305\u6784\u5efa\u65e5\u671f\u8981\u65b0\u7684\u65b0\u95fb, \u8981\u5c55\u793a\u6240\u6709\u65b0\u95fb, \u8bf7\u4f7f\u7528`-ww`.\r\n\r\n### 2.1.4 `-o` (`--order`)\r\n\r\n\u5c55\u793a\u76ee\u6807\u8f6f\u4ef6\u5305\u7684\u6784\u5efa\u987a\u5e8f.\r\n\r\n## 2.2 `-G` (`--getpkgbuild`)\r\n\r\n\u4ece ABS (Arch Linux Build System, Arch Linux \u6784\u5efa\u7cfb\u7edf) \u6216\u8005 AUR \u4e0b\u8f7d PKGBUILD, ABS \u53ea\u80fd\u5bf9 Arch Linux \u8f6f\u4ef6\u4ed3\u5e93\u7528.\r\n\r\n### 2.2.1 `-p` (`--print`)\r\n\r\n\u5c06`PKGBUILD`\u6253\u5370\u5230\u7ec8\u7aef, \u800c\u4e0d\u662f\u4e0b\u8f7d`PKGBUILD`.\r\n\r\n### 2.2.2 `-c` (`--comments`)\r\n\r\n\u5c55\u793a\u8f6f\u4ef6\u5305\u7684 AUR \u8bc4\u8bba.\r\n\r\n### 2.2.3 `-s` (`--ssh`)\r\n\r\n\u901a\u8fc7 ssh \u514b\u9686 AUR \u4ed3\u5e93.\r\n\r\n## 2.3 `-U` (`--upgrade`)\r\n\r\n\u5f53\u4e0d\u5e26\u76ee\u6807\u6267\u884c\u7684\u65f6\u5019, \u4f7f\u7528 *makepkg* \u76f8\u540c, \u6784\u5efa\u5f53\u524d\u6587\u4ef6\u5939\u4e0b\u7684`PKGBUILD`.\r\n\r\n### 2.3.1 `-i` (`--install`)\r\n\r\n\u6784\u5efa\u5b8c\u6bd5\u540e\u540c\u65f6\u5b89\u88c5.\r\n\r\n## 2.4 `-L` (`--repoctl`)\r\n\r\n\u5217\u51fa\u6240\u6709\u4ed3\u5e93.\r\n\r\n### 2.4.1 `-l` (`--list`)\r\n\r\n\u663e\u793a\u672c\u5730\u4ed3\u5e93\u7684\u8f6f\u4ef6\u5305.\r\n\r\n### 2.4.2 `-d` (`--delete`)\r\n\r\n\u79fb\u9664\u672c\u5730\u7684\u4e00\u4e2a\u8f6f\u4ef6\u5305, \u4f7f\u7528`-dd`\u540c\u65f6\u5378\u8f7d\u8be5\u8f6f\u4ef6\u5305.\r\n\r\n### 2.4.3 `-y` (`--refresh`)\r\n\r\n\u5237\u65b0\u672c\u5730\u4ed3\u5e93.\r\n\r\n### 2.4.4 `-q` (`--quiet`)\r\n\r\n\u5c55\u793a\u66f4\u5c11\u4fe1\u606f.\r\n\r\n## 2.5 `-C` (`--chrootctl`)\r\n\r\n\u5230 chroot \u7684\u4ea4\u4e92\u5f0f\u547d\u4ee4\u884c.\r\n\r\n### 2.5.1 `-i` (`--install`)\r\n\r\n\u5c06\u4e00\u4e2a\u8f6f\u4ef6\u5305\u5b89\u88c5\u5230 chroot.\r\n\r\n### 2.5.2 `-u` (`--sysupgrade`)\r\n\r\n\u66f4\u65b0 chroot.\r\n\r\n# 3 \u6269\u5c55 *pacman* \u7684\u64cd\u4f5c\r\n\r\n\u6269\u5c55\u5230\u540c\u65f6\u652f\u6301\u8f6f\u4ef6\u4ed3\u5e93\u548c AUR \u7684\u8f6f\u4ef6\u5305\u7684\u64cd\u4f5c\u6709`-R`, `-S`, `-Si`, `-Sl`, `-Ss`, `-Su`, `-Sc`, `-Qu`, `-T`.\r\n\r\n## 3.1 `-R`\r\n\r\n*paru* \u4f1a\u540c\u65f6\u6e05\u9664\u5173\u4e8e`devel`\u5305\u7684\u7f13\u5b58\u6570\u636e.\r\n\r\n## 3.2 `-Sc`\r\n\r\n*paru* \u4f1a\u540c\u65f6\u6e05\u9664\u7f13\u5b58\u7684 AUR \u8f6f\u4ef6\u5305\u4ee5\u53ca\u7f13\u5b58\u4e2d\u4efb\u4f55\u672a\u88ab\u8ddf\u8e2a\u7684\u6587\u4ef6. \u6e05\u9664\u672a\u88ab\u8ddf\u8e2a\u7684\u6587\u4ef6\u4f1a\u6e05\u9664\u6240\u6709\u4e0b\u8f7d\u7684 source \u4ee5\u53ca\u6784\u5efa\u597d\u7684\u8f6f\u4ef6\u5305\uff0c\u4f46\u662f\u4e0b\u8f7d\u7684 VCS source \u4f1a\u88ab\u4fdd\u7559\u3002", "top": 0, "createdAt": 1723174163, "style": "", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/articletoc.js'></script><script src='https://blog.meekdai.com/Gmeek/plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/142279449?v=4", "createdDate": "2024-08-09", "dateLabelColor": "#bc4c00"}, "P11": {"htmlDir": "docs/post/11.html", "labels": ["\u65e5\u5e38", "\u5f00\u53d1"], "postTitle": "CRCSN \u5f00\u53d1\u5c0f\u8bb0 03", "postUrl": "post/11.html", "postSourceUrl": "https://github.com/MaxLHy0424/MaxLHy0424.github.io/issues/11", "commentNum": 0, "wordCount": 798, "description": "\u65e5\u5b50\u8fc7\u5f97\u771f\u5feb\u5462. \u4e0d\u77e5\u4e0d\u89c9\u95f4, CRCSN **v5.0.0** \u7684\u5f00\u53d1\u5df2\u7ecf\u63a5\u8fd1\u5c3e\u58f0, \u9762\u5411\u516c\u4f17\u6d4b\u8bd5\u7684 **v5.0.0-beta.2** \u4e5f\u5df2\u7ecf\u53d1\u5e03. \u4e5f\u8d8a\u6765\u8d8a\u4e34\u8fd1\u5f00\u5b66\u4e86, \u5e0c\u671b\u521d\u4e2d\u80fd\u4e0a\u7535\u8111\u8bfe\u5427 (\u7b11).\r\n\r\n\u81f3\u4e8e\u4ec0\u4e48\u65f6\u5019\u53d1\u5e03, \u55ef......\u5982\u679c\u4e00\u5207\u987a\u5229\u7684\u8bdd, \u53ef\u80fd\u4f1a\u5728 8 \u6708 25 \u65e5, \u5177\u4f53\u65f6\u95f4\u5f85\u5b9a.\r\n\r\n\u5e9f\u8bdd\u4e0d\u591a\u8bf4, \u5728\u6b64\u7f57\u5217\u8fd9\u4e00\u4e2a\u591a\u6708\u7684\u5f00\u53d1\u6210\u679c ~(\u6211\u624d\u4e0d\u4f1a\u544a\u8bc9\u4f60\u8fd9\u4e9b\u4e1c\u897f\u662f v5.0.0 \u6b63\u5f0f\u7248\u66f4\u65b0\u65e5\u5fd7\u7684\u4e00\u90e8\u5206, \u7edd\u5bf9\u4e0d\u662f\u56e0\u4e3a\u6211\u592a\u61d2\u4e86)~:\r\n\r\n### \u8f6f\u4ef6\u672c\u4f53 (v5.0.0)\r\n\r\n- \u62c6\u5206\u6e90\u4ee3\u7801\u6587\u4ef6;\r\n- \u8fc1\u79fb\u81f3\u73b0\u4ee3 C++ \u6807\u51c6;\r\n- \u91cd\u6784\u8f6f\u4ef6\u67b6\u6784;\r\n- \u91cd\u6784\u7834\u89e3/\u6062\u590d\u6a21\u5757, \u589e\u5f3a\u62d3\u5c55\u6027;\r\n- \u6dfb\u52a0\u8f6f\u4ef6\u56fe\u6807;\r\n- \u652f\u6301\u8001\u65e7\u7684 Windows OS (\u5982 Windows 7);\r\n- \u79fb\u9664\u952e\u76d8\u8f93\u5165\u9009\u62e9, \u6539\u4e3a\u9f20\u6807\u70b9\u9009;\r\n- \u79fb\u9664\u547d\u4ee4\u884c\u53c2\u6570`-color=`;\r\n- \u6dfb\u52a0\u547d\u4ee4\u884c\u53c2\u6570`--sparse--view`;\r\n- \u9ed8\u8ba4\u9501\u5b9a\u7a97\u53e3\u5927\u5c0f, \u7981\u7528\u90e8\u5206\u7a97\u53e3\u63a7\u4ef6;\r\n- \u652f\u6301\u7a97\u53e3\u534a\u900f\u660e;\r\n- \u79fb\u9664 '\u5de5\u5177\u7bb1';\r\n- \u4fee\u590d\u5728\u7f6e\u9876\u7a97\u53e3\u7684\u7ebf\u7a0b\u521b\u5efa\u524d\u5207\u6362\u524d\u53f0\u7a97\u53e3, \u5bfc\u81f4\u9519\u8bef\u7f6e\u9876\u5176\u4ed6\u7a97\u53e3;\r\n- \u4fee\u590d\u4ee5\u7ba1\u7406\u5458\u6743\u9650\u542f\u52a8\u65f6, \u7a97\u53e3\u6807\u9898\u4e2d\u51fa\u73b0`\u7ba1\u7406\u5458: `\u5b57\u6837;\r\n- \u4fee\u590d\u4ece\u975e GBK \u6587\u5b57\u7f16\u7801\u7684\u63a7\u5236\u53f0\u4e2d\u542f\u52a8, \u6240\u6709\u975e ASCII \u5b57\u7b26\u4e71\u7801;\r\n- \u4fee\u590d\u90e8\u5206\u6570\u636e\u7c7b\u578b\u4e0d\u5339\u914d;\r\n- \u4fee\u6b63\u7248\u6743\u4fe1\u606f;\r\n- \u5176\u4ed6\u6280\u672f\u6027\u66f4\u6539.\r\n\r\n### \u542f\u52a8\u811a\u672c (v2.0.0)\r\n\r\n- \u91cd\u6784\u542f\u52a8\u811a\u672c;\r\n- \u6539\u4e3a\u975e\u5185\u8054\u542f\u52a8;\r\n- \u6dfb\u52a0\u542f\u52a8\u7b49\u5f85\u63d0\u793a;\r\n- \u6dfb\u52a0\u663e\u793a\u5f53\u524d\u542f\u52a8\u7684\u8f6f\u4ef6\u7248\u672c\u652f\u6301\u7684 CPU \u67b6\u6784, \u4f9d\u8d56\u7684 Runtime;\r\n- \u4fee\u6b63\u7248\u6743\u4fe1\u606f;\r\n- \u5176\u4ed6\u6280\u672f\u6027\u66f4\u6539.\r\n\r\n### \u5176\u4ed6\r\n\r\n- \u4f18\u5316\u9879\u76ee\u7ed3\u6784;\r\n- \u91cd\u6784\u6784\u5efa\u7cfb\u7edf.\r\n- \u4f18\u5316\u7f16\u8bd1\u547d\u4ee4.\r\n\u3002", "top": 0, "createdAt": 1723721132, "style": "", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/articletoc.js'></script><script src='https://blog.meekdai.com/Gmeek/plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/142279449?v=4", "createdDate": "2024-08-15", "dateLabelColor": "#bc4c00"}}, "singeListJson": {"P1": {"htmlDir": "docs/about.html", "labels": ["about"], "postTitle": "\u5173\u4e8e", "postUrl": "about.html", "postSourceUrl": "https://github.com/MaxLHy0424/MaxLHy0424.github.io/issues/1", "commentNum": 4, "wordCount": 724, "description": "\u6b22\u8fce\u6765\u5230\u6211 MaxLHy0424 \u7684 Blog \ud83e\udd17.\r\n\r\n\u8fd9\u91cc\u4f1a\u53d1\u5e03**\u6211\u6574\u7406\u7684\u4e00\u4e9b\u8d44\u6e90**, \u548c**\u6211\u81ea\u5df1\u5199\u7684\u6587\u7ae0** (\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e**\u6559\u7a0b**, **\u540c\u4eba\u6587**).\r\n\r\n\u611f\u5174\u8da3\u7684\u8bdd, \u53ef\u4ee5\u5c06\u672c\u7f51\u7ad9\u52a0\u5165\u6d4f\u89c8\u5668\u6536\u85cf\u5939, \u6216\u8005\u63a8\u8350\u7ed9\u5176\u4ed6\u4eba. \u6709 GitHub \u8d26\u6237\u7684\u8bdd, \u5c31\u8bc4\u8bba\u4e0b\u5427, \u8ba9 Blog \u70ed\u95f9\u4e9b\u4e5f\u4e0d\u9519 \ud83d\ude09.\r\n\r\n\u81f3\u4e8e\u6211?......\u5728\u6b64\u4ecb\u7ecd\u4e0b, \u6211\u662f\u5b66\u751f ~(\u4e0d\u662f 24 \u5c81)~, 2024 \u5e74\u4e0b\u534a\u5e74\u6b63\u5f0f\u6210\u4e3a\u4e00\u540d *OIer* \ud83d\ude0e. \u4f1a\u7528 **C++** \u548c **Shell** \u5199\u70b9\u5c0f\u5de5\u5177, \u5e73\u65f6\u559c\u6b22\u6298\u817e Linux \ud83e\uddd0. \u5076\u5c14\u5199\u5199\u540c\u4eba\u6587 ~(\u5927\u534a\u662f R18+)~ \ud83e\udd75. \u6e38\u620f\u65b9\u9762, \u4e3b\u73a9 ***Minecraft*** \u548c ***\u851a\u84dd\u6863\u6848*** (\u65e5\u670d), \u540c\u65f6\u4e5f\u4f1a\u81ea\u5df1\u505a\u4e00\u4e9b\u6e38\u620f\u73a9 \ud83d\ude06.\r\n\r\n**\u6211\u7684\u4e2a\u4eba\u8d26\u6237**:\r\n - [Bilibili](https://space.bilibili.com/1678066522)\r\n - [MineBBS](https://www.minebbs.com/members/maxlhy.88192/)\r\n - [GitHub](https://github.com/MaxLHy0424)\r\n - QQ: 1097268127\r\n - Xbox ID: MaxLHy0424\r\n\r\n\u987a\u5e26\u4e00\u63d0, \u6b64 Blog \u57fa\u4e8e [Gmeek](https://github.com/Meekdai/Gmeek), \u5728\u8fd9\u91cc\u4e5f\u63a8\u8350\u770b\u770b\u5b83\u7684\u7ef4\u62a4\u8005 [Meekdai](https://github.com/Meekdai) \u7684 [Blog](https://blog.meekdai.com) \ud83d\ude1a.\u3002", "top": 0, "createdAt": 1718876649, "style": "", "script": "<script src='https://blog.meekdai.com/Gmeek/plugins/articletoc.js'></script><script src='https://blog.meekdai.com/Gmeek/plugins/lightbox.js'></script>", "head": "", "ogImage": "https://avatars.githubusercontent.com/u/142279449?v=4", "createdDate": "2024-06-20", "dateLabelColor": "#bc4c00"}}, "labelColorDict": {"about": "#FFFFFF", "\u4e8c\u521b": "#5319E7", "\u5176\u4ed6": "#D4C5F9", "\u5b66\u4e60": "#FBCA99", "\u5f00\u53d1": "#1D76DB", "\u6559\u7a0b": "#E99695", "\u6587\u5b66": "#B60205", "\u65e5\u5e38": "#FBCA04", "\u6e38\u620f": "#0E8A16", "\u8f6f\u4ef6": "#006B75"}, "faviconUrl": "https://avatars.githubusercontent.com/u/142279449?v=4", "ogImage": "https://avatars.githubusercontent.com/u/142279449?v=4", "primerCSS": "<link href='https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/Primer/21.0.7/primer.css' rel='stylesheet' />", "homeUrl": "https://MaxLHy0424.github.io", "prevUrl": "disabled", "nextUrl": "disabled"}