﻿{"id":574,"date":"2020-03-06T12:10:11","date_gmt":"2020-03-06T04:10:11","guid":{"rendered":"http:\/\/www.cloudy.pub\/?p=574"},"modified":"2021-03-18T23:26:16","modified_gmt":"2021-03-18T15:26:16","slug":"centos-bian-yi-l-da-de-lede-ruan-lu-you","status":"publish","type":"post","link":"https:\/\/www.0moon.com\/?p=574","title":{"rendered":"CentOS\u4e0b\u7f16\u8bd1LEDE\/OpenWRT\u8f6f\u8def\u7531"},"content":{"rendered":"<p>\u5168\u7a0b\u6302\u975e\u4e2d\u56fd\u7ebf\u8def\uff0c\u539f\u56e0\u61c2\u7684\u3002<\/p>\n<p>\u7f16\u8bd1\u6b65\u9aa4\uff08\u5185\u6838\u7f16\u8bd1\uff0c\u65b0\u624b\u8bf7\u5728\u8001\u9e1f\u6307\u5bfc\u4e0b\u8fdb\u884c\uff0c\u57fa\u51c6\u7cfb\u7edf\u4e3aCentOS8\uff09\uff1a<\/p>\n<pre>yum groupinstall \"Development Tools\" -y\r\nyum install epel-release -y\r\nyum install autoconf binutils bison bzip2 flex gawk gcc gcc-c++ gettext make ncurses-devel patch unzip wget zlib-devel libiptcdata qemu-img python2 python3 perl rsync svn pcre* git upx ncurses-compat-libs mkisofs -y\r\ngit clone https:\/\/git.openwrt.org\/openwrt\/openwrt.git\r\n\u6216\u8005 \r\ngit clone https:\/\/github.com\/coolsnowwolf\/lede.git\r\n.\/scripts\/feeds update -a \r\n.\/scripts\/feeds install -a\r\nmake defconfig\r\nmake menuconfig\r\n#\u6dfb\u52a0\u4f60\u9700\u8981\u7684\u529f\u80fd\u6a21\u5757\uff0c\u7136\u540e\u4fdd\u5b58.config\r\nmake clean\r\nmake download\r\nmake check\r\nmake V=s\r\n#\u7b49\u5f85\u7f16\u8bd1\u5b8c\u6210\uff0c\u5e76\u89e3\u51b3\u9047\u5230\u7684\u9519\u8bef\r\n#\u5982\u679c\u60f3\u7f16\u8bd1\u66f4\u5feb\uff0c\u5219\u6dfb\u52a0-jx\u53c2\u6570(x\u4e3a\u7f16\u8bd1\u7ebf\u7a0b\u6570\uff0c\u5efa\u8bae&lt;=4)\uff0c\u4e0d\u5efa\u8bae\u7b2c\u4e00\u6b21\u7f16\u8bd1\u4f7f\u7528\uff0c\u56e0\u4e3a\u591a\u7ebf\u7a0b\u7f16\u8bd1\u5c06\u4f1a\u5931\u53bb\u9519\u8bef\u63d0\u793a\u3002\r\n#menuconfig\u83dc\u5355\u4e2d\uff0c\u65e0\u6bd4\u5173\u6ce8\u9009\u9879\u51b2\u7a81\u4ee5\u53caimage\u5927\u5c0f\uff0c\u5982\uff1a--&gt; \"Target Images\" --&gt;\"Root filesystem partition size (in MB)\"\r\n#\u5f00\u542fefi\u652f\u6301\uff1aCONFIG_EFI_IMAGES=y\uff0cCONFIG_PACKAGE_grub2-efi=y\u6216\u8005make menuconfig---Target Images---Build EFI GRUB images\r\n#coolsnowwolf\u7684lede\u5982\u9700\u5f00\u542f\u79d1\u5b66\u4e0a\u7f51\uff0c\u53d6\u6d88feeds.conf.default\u5185src-git helloworld https:\/\/github.com\/fw876\/helloworld\u7684\u6ce8\u91ca<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5168\u7a0b\u6302\u975e\u4e2d\u56fd\u7ebf\u8def\uff0c\u539f\u56e0\u61c2\u7684\u3002 \u7f16\u8bd1\u6b65\u9aa4\uff08\u5185\u6838\u7f16\u8bd1\uff0c\u65b0\u624b\u8bf7\u5728\u8001\u9e1f\u6307\u5bfc\u4e0b\u8fdb\u884c\uff0c\u57fa\u51c6\u7cfb\u7edf\u4e3aCentOS8\uff09\uff1a yum [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,69,12,13],"tags":[76,77],"class_list":["post-574","post","type-post","status-publish","format-standard","hentry","category-c","category-LEDE-OpenWRT","category-linux","category-study","tag-LEDE","tag-ruan-lu-you"],"_links":{"self":[{"href":"https:\/\/www.0moon.com\/index.php?rest_route=\/wp\/v2\/posts\/574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.0moon.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.0moon.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.0moon.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.0moon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=574"}],"version-history":[{"count":29,"href":"https:\/\/www.0moon.com\/index.php?rest_route=\/wp\/v2\/posts\/574\/revisions"}],"predecessor-version":[{"id":623,"href":"https:\/\/www.0moon.com\/index.php?rest_route=\/wp\/v2\/posts\/574\/revisions\/623"}],"wp:attachment":[{"href":"https:\/\/www.0moon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.0moon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.0moon.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}