{"id":1099,"date":"2014-02-11T17:39:45","date_gmt":"2014-02-11T09:39:45","guid":{"rendered":"http:\/\/www.hsyyf.me\/?p=1099"},"modified":"2014-02-11T17:42:14","modified_gmt":"2014-02-11T09:42:14","slug":"%e4%b8%8d%e5%81%9a%e6%ad%bb%e5%b0%b1%e4%b8%8d%e4%bc%9a%e6%ad%bb","status":"publish","type":"post","link":"https:\/\/www.hsyyf.me\/?p=1099","title":{"rendered":"\u4e0d\u505a\u6b7b\u5c31\u4e0d\u4f1a\u6b7b\u2014\u2014\u4efb\u610f\u53d1\u884c\u7248\u4e2d\u5b89\u88c5\u57fa\u672carchlinux"},"content":{"rendered":"<pre>\u5728\u4efb\u4f55\u53d1\u884c\u7248\u4e2d\u5b89\u88c5\u4e00\u4e2a\u57fa\u672c\u7684Archlinux,\u6765\u6e90<!--DVFMTSC--><a title=\"Archbootstrap\" href=\"https:\/\/wiki.archlinux.org\/index.php\/Archbootstrap\" target=\"_blank\">ArchWiki<\/a>\u3002\r\n\u8c28\u8bb0\uff1a<span style=\"color: #ff0000;\">\u4e0d\u505a\u6b7b\u5c31\u4e0d\u4f1a\u6b7b\uff0c\u4e0d\u505a\u6b7b\u5c31\u4e0d\u4f1a\u6b7b<\/span>\uff0c\u56e0\u4e3a\u5f88\u91cd\u8981\u6240\u4ee5\u8bf4\u4e24\u904d\u3002\r\n\u5148\u4e0b<a title=\"arch-bootstrap.sh\" href=\"https:\/\/raw.github.com\/tokland\/arch-bootstrap\/master\/arch-bootstrap.sh\" target=\"_blank\">arch-bootstrap.sh<!--DVFMTSC--><\/a>.\r\n\u5148\u770b\u8bf4\u660e\u2014\u2014<\/pre>\n<p><code lang=\"bash\"># arch-bootstrap: Bootstrap a base Arch Linux system using any GNU distribution.<br \/>\n#<br \/>\n# Dependencies: bash >= 4, coreutils, wget, sed, gawk, tar, gzip, chroot, xz.<br \/>\n# Project: https:\/\/github.com\/tokland\/arch-bootstrap<br \/>\n#<br \/>\n# Install:<br \/>\n#<br \/>\n#   # install -m 755 arch-bootstrap.sh \/usr\/local\/bin\/arch-bootstrap<br \/>\n#<br \/>\n# Some examples:<br \/>\n#<br \/>\n#   # arch-bootstrap destination<br \/>\n#   # arch-bootstrap -a x86_64 -r ftp:\/\/ftp.archlinux.org destination-x86_64<br \/>\n#<br \/>\n# And then you can chroot to the destination directory (root\/root):<br \/>\n#<br \/>\n#   # chroot destination<br \/>\n<\/code><\/p>\n<pre>\r\n\u9ed8\u8ba4\u5b89\u88c532\u4e3a\u7684arch:<\/pre>\n<pre># bash arch-bootstrap.sh myarch\r\n\r\n\u5982\u679c\u9700\u8981\u5b89\u88c564\u4f4darch\uff1a<\/pre>\n<pre># bash arch-bootstrap.sh -a x86_64 -r \"ftp:\/\/ftp.archlinux.org\" myarch<\/pre>\n<p>\u8c28\u8bb0\uff1a\u4e0d\u505a\u6b7b\u5c31\u4e0d\u4f1a\u6b7b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4efb\u4f55\u53d1\u884c\u7248\u4e2d\u5b89\u88c5\u4e00\u4e2a\u57fa\u672c\u7684Archlinux,\u6765\u6e90ArchWiki\u3002 \u8c28\u8bb0\uff1a\u4e0d\u505a\u6b7b\u5c31\u4e0d\u4f1a\u6b7b\uff0c\u4e0d\u505a\u6b7b\u5c31\u4e0d\u4f1a\u6b7b\uff0c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[27],"tags":[146,44],"class_list":["post-1099","post","type-post","status-publish","format-standard","hentry","category-27","tag-arch-bootstrap","tag-archlinux"],"_links":{"self":[{"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=\/wp\/v2\/posts\/1099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1099"}],"version-history":[{"count":0,"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=\/wp\/v2\/posts\/1099\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hsyyf.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}