{"id":158201,"date":"2019-11-11T10:04:06","date_gmt":"2019-11-11T02:04:06","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=158201"},"modified":"2019-11-28T16:13:17","modified_gmt":"2019-11-28T08:13:17","slug":"linux-labwindows","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-labwindows.html","title":{"rendered":"Linux Lab \u53d1\u5e03 v0.2-rc3\uff0c\u65b0\u589e\u539f\u751f Windows \u652f\u6301"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nLinux Lab \u662f\u4e00\u5957\u7528\u4e8e Linux \u5185\u6838\u5b66\u4e60\u3001\u5f00\u53d1\u548c\u6d4b\u8bd5\u7684\u5373\u65f6\u5b9e\u9a8c\u5ba4\uff0c\u53ef\u4ee5\u6781\u901f\u642d\u5efa\u548c\u4f7f\u7528\uff0c\u529f\u80fd\u5f3a\u5927\uff0c\u7528\u6cd5\u7b80\u5355\uff01<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\n

\u53ef\u4ee5\u7528\u5b83\u6765\u9ad8\u6548\u5730\u5b66\u4e60\u5904\u7406\u5668\u67b6\u6784\u3001Linux \u5185\u6838\u3001\u5d4c\u5165\u5f0f Linux \u7cfb\u7edf\u3001C \u8bed\u8a00\u7f16\u7a0b\u3001Linux \u6c47\u7f16\u3001Shell \u7f16\u7a0b\u7b49\u3002<\/p>\n

\u5982\u679c\u60a8\u60f3\u5b66\u4e60 Linux 0.11 \u5185\u6838\u548c Linux X86 \u6c47\u7f16\u8bed\u8a00\uff0c\u4e5f\u53ef\u4ee5\u8bbf\u95ee\u53e6\u5916\u4e24\u5957 Lab\uff0c\u5373\u00a0Linux 0.11 Lab\u00a0\u548c\u00a0CS630 Qemu Lab\u3002<\/p>\n

\u7248\u672c\u66f4\u65b0<\/strong><\/strong><\/span><\/div>\n

\u7ee7 8 \u6708 16 \u65e5\u53d1\u5e03\u00a0v0.2 rc2\u00a0\u4e4b\u540e\uff0cLinux Lab \u4eca\u65e5\u53d1\u5e03\uff1av0.2-rc3\uff0c\u8be5\u7248\u672c\u9664\u4e86\u4fee\u590d\u90e8\u5206\u529f\u80fd\u3001\u5b8c\u5584\u6587\u6863\u5916\uff0c\u65b0\u589e\u4e86\u539f\u751f Windows \u652f\u6301\u3002<\/p>\n

\u8be5\u7248\u672c\u76f8\u6bd4 v0.2 rc2 \u53ea\u6709\u6570\u7b14\u4fee\u6539\uff0c\u4e3b\u8981\u5982\u4e0b\uff1a<\/p>\n

    \n
  1. \u65b0\u589e\u539f\u751f Windows \u652f\u6301\uff0c\u4ec5\u9700 Docker\uff0c\u65e0\u9700\u5b89\u88c5 Virtualbox \u6216 Vmware\n
      \n
    • \u5f53\u524d\u9a8c\u8bc1\u73af\u5883\uff1aWindows 10 PRO,\u00a0Docker for Windows\uff0cGit for Windows\uff0c\u63a7\u5236\u53f0\u4f7f\u7528\u7684\u00a0Git Bash<\/code>\u3002<\/li>\n
    • \u540c\u6b65\u66f4\u65b0\u5e76\u53d1\u5e03\u00a0Cloud Lab v0.1 rc1\u3002<\/li>\n<\/ul>\n<\/li>\n
    • \u4fee\u590d\u90e8\u5206\u529f\u80fd\u5e76\u5b8c\u5584\u4f7f\u7528\u6587\u6863\n
        \n
      • \u66f4\u65b0 graphic boot \u76f8\u5173\u8bf4\u660e<\/li>\n
      • \u5728\u955c\u50cf\u4e2d\u65b0\u589e\u6570\u4e2a 32 \u4f4d\u4ee3\u7801\u5e93\uff0c\u4fee\u590d gcc 8.x \u7684 -m32 \u652f\u6301<\/li>\n
      • \u5728\u955c\u50cf\u4e2d\u65b0\u589e\u00a0realpath<\/code>\u00a0\u5de5\u5177\uff0cLinux v5.2 \u7528\u5230\u8be5\u5de5\u5177<\/li>\n
      • \u4fee\u590d Risc-V \u4e2d\u4e0d\u81ea\u52a8\u5f15\u7528\u65b0\u7f16\u8bd1 proxy kernel \u7684\u95ee\u9898<\/li>\n
      • \u5728 Checkout buildroot \u4e2d\uff0c\u7981\u6b62\u5220\u9664\u00a0dl\/<\/code>\u00a0\u4e0b\u7684\u6587\u4ef6\uff0c\u7f13\u5b58\u4e0b\u6765\u63d0\u5347\u540e\u7eed\u91cd\u65b0\u7f16\u8bd1\u7684\u901f\u5ea6<\/li>\n
      • \u4fee\u590d\u00a0feature<\/code>\u00a0\u76ee\u6807\u4e2d\u7f3a\u5931\u7684\u00a0feature<\/code>\u00a0\u53c2\u6570<\/li>\n
      • \u4fee\u590d gdb \u8c03\u8bd5\u76f8\u5173\u7684\u53c2\u6570\u5904\u7406\u4ee3\u7801<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n
        \u73af\u5883\u51c6\u5907<\/strong><\/strong><\/span><\/div>\n

        \u5728\u975e Ubuntu \u5e73\u53f0\uff0c\u8bf7\u63d0\u524d\u81ea\u884c\u5b89\u88c5\u597d docker\uff0c\u53ef\u53c2\u8003\u00a0Docker for Mac\u3001Docker for Windows\u3002<\/p>\n

        \u5728 Windows \u5e73\u53f0\u4e0b\uff0c\u5982\u679c\u4e0d\u60f3\u989d\u5916\u5b89\u88c5 Virtualbox \u6216 Vmware \u7684\u8bdd\uff0c\u9700\u8981\uff1a<\/p>\n

          \n
        1. \u51c6\u5907\u597d Windows 10 PRO<\/li>\n
        2. \u5b89\u88c5\u00a0Docker for Windows<\/li>\n
        3. \u5b89\u88c5\u00a0Git for Windows<\/li>\n<\/ol>\n

          \u4e4b\u540e\uff0c\u8fdb\u5165\u5230\u76ee\u6807\u5de5\u4f5c\u76ee\u5f55\uff0c\u901a\u8fc7\u53f3\u952e\u6267\u884c\u00a0Git Bash Here<\/code>\uff0c\u4e4b\u540e\u7684\u64cd\u4f5c\u5c31\u8ddf\u5728 Linux \u4e0b\u5b8c\u5168\u4e00\u6837\u3002<\/p>\n

          \u5982\u679c\u662f\u8001\u7248\u672c\u7684 Windows\uff0c\u53ef\u4ee5\u7528\u00a0Docker Toolbox\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7 Virtualbox \u6216 Vmware \u81ea\u884c\u5b89\u88c5 Ubuntu\u3002<\/p>\n

          \u6781\u901f\u4f53\u9a8c<\/strong><\/strong><\/span><\/div>\n

          \u8be5\u7248\u672c\u4f9d\u8d56\u6700\u65b0\u7684 Cloud Lab \u548c docker \u955c\u50cf\uff1a<\/p>\n

          $<\/span>\u00a0git\u00a0clone<\/span>\u00a0https:\/\/gitee.com\/tinylab\/cloud-lab.git<\/span>\r\n$<\/span>\u00a0cd<\/span>\u00a0cloud-lab<\/span>\r\n$<\/span>\u00a0tools\/docker\/pull\u00a0linux-lab\u00a0\u00a0\u00a0\u00a0\u00a0#\u00a0\u786e\u4fdd\u66f4\u65b0\u00a0docker\u00a0\u955c\u50cf<\/span><\/span>\r\n$<\/span>\u00a0tools\/docker\/run\u00a0linux-lab<\/span>\r\n<\/pre>\n

          \u5df2\u7ecf\u4e0b\u8f7d\u8fc7\u7684\uff0c\u8bf7\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\u5e76\u91cd\u542f Linux Lab\uff1a<\/p>\n

          $<\/span>\u00a0cd<\/span>\u00a0cloud-lab\u00a0&&\u00a0git\u00a0pull<\/span>\r\n$<\/span>\u00a0tools\/docker\/update\u00a0linux-lab<\/span>\r\n$<\/span>\u00a0tools\/docker\/rerun\u00a0linux-lab<\/span>\r\n<\/pre>\n

          \u8fdb\u53bb\u4ee5\u540e\uff0c\u6253\u5f00\u63a7\u5236\u53f0\uff0c\u6572\u5165\u5982\u4e0b\u547d\u4ee4\u5373\u53ef\u542f\u52a8\u4e00\u4e2a\u677f\u5b50\uff1a<\/p>\n

          $<\/span>\u00a0make\u00a0boot<\/span>\r\n<\/pre>\n
          \u5173\u952e\u7279\u6027<\/strong><\/strong><\/span><\/div>\n

          Linux Lab \u5177\u5907\u5982\u4e0b\u7279\u6027\uff1a<\/p>\n

            \n
          1. \u652f\u6301 3 \u5927\u64cd\u4f5c\u7cfb\u7edf\uff08Windows\u3001MacOS\u3001Linux\uff09\uff0c\u53ef\u4ee5\u8f7b\u677e\u5728\u8fd9\u4e09\u5927\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u4f7f\u7528\u3002<\/li>\n
          2. \u652f\u6301 7+ \u5927\u5904\u7406\u5668\u67b6\u6784\uff08X86\u3001ARM\u3001MIPS\u3001PPC\u3001Csky\uff0cRisc-V, Loongson\uff09\uff0c\u5176\u4e2d Loongson \u548c Csky \u4e3a\u56fd\u4ea7\u5904\u7406\u5668\u3002<\/li>\n
          3. \u652f\u6301 15+ \u6b3e\u5f00\u53d1\u677f\uff08i386\/pc, x86_64\/pc, arm\/versatilepb, arm\/vexpress-a9, ppc\/g3beige, mips\/malta, aarch64\/virt, aarch64\/raspi3, riscv32\/virt, riscv64\/virt, csky\/virt, loongson\/ls1b, loongson\/ls2k, loongson\/ls232, loongson\/ls3a7a\uff09\u3002<\/li>\n
          4. \u652f\u6301 5 \u79cd\u767b\u9646\u65b9\u5f0f\uff08docker, ssh, vnc\uff0cwebssh, webvnc\uff09\uff0c\u53ef\u4ee5\u672c\u5730\u8bbf\u95ee\uff0c\u4e5f\u53ef\u4ee5\u8fdc\u7a0b\u8bbf\u95ee\u3002<\/li>\n
          5. \u96c6\u6210\u4e86 5 \u5927\u7ec4\u4ef6\uff08Qemu\u3001U-boot\u3001Buildroot\u3001Linux\u3001Toolchain\uff09\uff0c\u90fd\u6709\u9884\u7f16\u8bd1\u7248\u672c\u3002<\/li>\n
          6. \u5185\u7f6e\u4e86 5 \u5927\u5e73\u53f0\uff0c32 \u4f4d\u548c 64 \u4f4d\u5171 10 \u4e2a Hello World \u6c47\u7f16\u8bed\u8a00\u4f8b\u7a0b\uff0c\u89c1\u00a0examples\/assembly<\/code>\u3002<\/li>\n
          7. \u53ef\u4ee5\u5b66\u4e60\u5904\u7406\u5668\u6307\u4ee4\u96c6\u3001Qemu\u3001Shell\u3001\u6c47\u7f16\u3001C\u3001Linux \u5185\u6838\u3001\u5d4c\u5165\u5f0f Linux\u3002<\/li>\n
          8. \u652f\u6301 Debugging \u548c Testing\u3002<\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

            \u53ef\u4ee5\u7528\u5b83\u6765\u9ad8\u6548\u5730\u5b66\u4e60\u5904\u7406\u5668\u67b6\u6784\u3001Linux \u5185\u6838\u3001\u5d4c\u5165\u5f0f Linux \u7cfb\u7edf\u3001C \u8bed\u8a00\u7f16\u7a0b\u3001Linux \u6c47\u7f16\u3001S […]<\/p>\n","protected":false},"author":643,"featured_media":163180,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-158201","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/158201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/643"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=158201"}],"version-history":[{"count":15,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/158201\/revisions"}],"predecessor-version":[{"id":164216,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/158201\/revisions\/164216"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/163180"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=158201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=158201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=158201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}