{"id":18859,"date":"2015-04-24T13:26:51","date_gmt":"2015-04-24T05:26:51","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2015\/04\/24\/%e8%a9%a6%e7%94%a8-vmware-photon-linux-1-0tp1\/"},"modified":"2021-03-18T17:24:24","modified_gmt":"2021-03-18T09:24:24","slug":"%e8%a9%a6%e7%94%a8-vmware-photon-linux-1-0tp1","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2015\/04\/24\/%e8%a9%a6%e7%94%a8-vmware-photon-linux-1-0tp1\/","title":{"rendered":"\u8a66\u7528 VMware photon Linux 1.0TP1"},"content":{"rendered":"<p>VMware \u91cb\u51fa photon Linux 1.0TP1\uff0cTP1 \u5c31\u662f Technical Preview \u6280\u8853\u9810\u89bd\u7248\uff0c\u66f4\u8a73\u7d30\u7684\u8a0a\u606f\u53ef\u4ee5\u53c3\u8003\uff1a<br \/><a href=\"http:\/\/www.ithome.com.tw\/news\/95384\" target=\"_blank\" rel=\"noopener noreferrer\">Container\u592a\u592f\u4e86\uff01VMware\u4e5f\u63a8\u51faLinux\u4f5c\u696d\u7cfb\u7d71 | iThome<\/a><\/p>\n<p>\u5149\u789f\u958b\u6a5f\u756b\u9762\uff0c<br \/><a id=\"res_3057288\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3057288.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3057288.png\" border=\"0\" alt=\"\" \/><\/a>[@more@]2. \u8edf\u9ad4\u6388\u6b0a\uff0c\u9078\u64c7 <span style=\"color: #ff0000\">Accept<\/span><br \/><a id=\"res_3057287\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3057287.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3057287.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>3. \u5b89\u88dd\u786c\u789f<br \/><a id=\"res_3057286\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3057286.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3057286.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>4. \u9078\u64c7<span style=\"color: #ff0000\"> Yes<\/span> \u78ba\u8a8d<br \/><a id=\"res_3057285\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3057285.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3057285.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>5. \u5b89\u88dd\u985e\u578b\uff0c\u9019\u88e1\u9078\u64c7 <span style=\"color: #ff0000\">Photon Full OS (All)<\/span><br \/><a id=\"res_3057284\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3057284.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3057284.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>6. \u4e3b\u6a5f\u540d\u7a31\u8a2d\u5b9a<br \/><a id=\"res_3057283\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3057283.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3057283.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>7. \u5b89\u88dd\u904e\u7a0b<br \/><a id=\"res_3057281\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3057281.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3057281.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>8. \u5b89\u88dd\u5b8c\u6210<br \/><a id=\"res_3057280\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3057280.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3057280.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>9. \u767b\u5165<br \/><a id=\"res_3057278\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3057278.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3057278.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p># <span style=\"color: #ff0000\">cat \/etc\/lsb-release<\/span><br \/><span style=\"color: #0000ff\">DISTRIB_ID=VMware Photon<\/span><br \/><span style=\"color: #0000ff\">DISTRIB_RELEASE=1.0 TP1<\/span><br \/><span style=\"color: #0000ff\">DISTRIB_CODENAME=Photon<\/span><br \/><span style=\"color: #0000ff\">DISTRIB_DESCRIPTION=VMware Photon 1.0 TP1<\/span><\/p>\n<p>\u4f7f\u7528\u7684\u611f\u89ba\uff1a<br \/>1. base on RedHat \/ CentOS\uff0c\u4f7f\u7528 yum \/ rpm<br \/>2. \u4f3c\u4e4e\u7528\u4f86\u548c VMware \u7684\u7522\u54c1\u914d\u5408\u7684\uff0c\u7f3a\u5c11\u5e38\u7528\u7684\u5957\u4ef6<br \/># <span style=\"color: #ff0000\">yum search vsftp<\/span><br \/><span style=\"color: #0000ff\">Warning: No matches found for: vsftp<\/span><br \/><span style=\"color: #0000ff\">No Matches found<\/span><br \/>3. \u57f7\u884c yum update \u6703\u51fa\u73fe\u932f\u8aa4\u8a0a\u606f<br \/># <span style=\"color: #ff0000\">yum update<\/span><br \/><span style=\"color: #0000ff\">file:\/\/\/media\/cdrom\/usr\/src\/photon\/RPMS\/repodata\/repomd.xml: [Errno 14] curl#37 &#8211; &#8220;Couldn&#8217;t open file \/media\/cdrom\/usr\/src\/photon\/RPMS\/repodata\/repomd.xml&#8221;<\/span><br \/><span style=\"color: #0000ff\">Trying other mirror.<\/span><br \/><span style=\"color: #0000ff\">Setting up Update Process<\/span><br \/><span style=\"color: #0000ff\">No Packages marked for Update<\/span><\/p>\n<p>\u89e3\u6c7a\u65b9\u5f0f\uff1a<br \/># <span style=\"color: #ff0000\">mkdir \/mnt\/photon<\/span><br \/># <span style=\"color: #ff0000\">mount -o loop photon-1.0TP1.iso \/mnt\/photon<\/span><br \/><span style=\"color: #0000ff\">mount: \/dev\/loop0 is write-protected, mounting read-only<\/span><br \/># <span style=\"color: #ff0000\">sed -i &#8216;s\/media\/cdrom\/mnt\/photon\/&#8217; \/etc\/yum.repos.d\/photon-iso.repo<\/span><br \/># <span style=\"color: #ff0000\">yum update<\/span><br \/>\u6216<br \/># <span style=\"color: #ff0000\">sed -i &#8216;s\/enabled=1\/enabled=0\/&#8217; \/etc\/yum.repos.d\/photon-iso.repo<\/span><br \/># <span style=\"color: #ff0000\">yum update<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VMware \u91cb\u51fa photon Linux 1.0TP1\uff0cTP1 \u5c31\u662f Technical Preview &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2015\/04\/24\/%e8%a9%a6%e7%94%a8-vmware-photon-linux-1-0tp1\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008\u8a66\u7528 VMware photon Linux 1.0TP1\u3009<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[147],"tags":[],"class_list":["post-18859","post","type-post","status-publish","format-standard","hentry","category-c-78492"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["571849"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18859"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/comments?post=18859"}],"version-history":[{"count":1,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18859\/revisions"}],"predecessor-version":[{"id":20448,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18859\/revisions\/20448"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=18859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=18859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=18859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}