{"id":201,"date":"2008-06-28T01:39:07","date_gmt":"2008-06-27T17:39:07","guid":{"rendered":"http:\/\/learn-house.idv.tw\/?p=201"},"modified":"2011-03-16T21:05:48","modified_gmt":"2011-03-16T13:05:48","slug":"%e7%b5%82%e6%96%bc%e9%a0%86%e5%88%a9%e7%9a%84%e6%90%ac%e7%a7%bb%e9%83%a8%e8%90%bd%e6%a0%bc%e5%88%b0linuxserver","status":"publish","type":"post","link":"https:\/\/learn-house.idv.tw\/?p=201","title":{"rendered":"\u7d42\u65bc\u9806\u5229\u7684\u642c\u79fb\u90e8\u843d\u683c\u5230LinuxServer"},"content":{"rendered":"<p>\u7d42\u65bc\u4e00\u5b78\u671f\u5feb\u7d50\u675f\u4e86\uff0c\u4eca\u5929\u5831\u5b8c\u6700\u5f8c\u4e00\u5802\u7684\u5831\u544a\uff0c\u78a9\u4e00\u7684\u751f\u6d3b\u4e5f\u5c07\u8981\u5ba3\u544a\u7d50\u675f\u4e86<\/p>\n<p>\u5be6\u9a57\u5ba4\u7684\u6230\u53cb\u5011\u76f8\u7d04\u597d\u8981\u53bb\u70e4\u8089\uff0c\u800c\u6211\u537b\u56e0\u70ba\u53e6\u5916\u6709\u4e8b\u800c\u6c92\u6709\u8ddf\u8457\u524d\u5f80<\/p>\n<p>\u4e00\u76f4\u4ee5\u4f86\u5c31\u5f88\u60f3\u628a\u90e8\u843d\u683c\u79fb\u5230LAB\u7684Linux\u4e3b\u6a5f\uff0c\u5df2\u7d93\u6709\u4e00\u5e74\u4e86 = =&#8221;<\/p>\n<p>\u56e0\u6b64\u5c31\u8eb2\u5728\u5bbf\u820d\u5b8c\u6210\u4e00\u76f4\u60f3\u8981\u505a\uff0c\u4f46\u4e00\u76f4\u6c92\u6642\u9593\u7684\u5927\u4e8b<\/p>\n<p>\u9996\u5148\u4e0d\u66c9\u5f97\u70ba\u4ec0\u9ebc\uff0c\u600e\u9ebc\u79fb\u90fd\u6703\u5448\u73fe\u7a7a\u767d\uff0c\u800c\u4e14\u6c92\u932f\u8aa4\u8a0a\u606f<!--more-->\u6211\u7684\u4f5c\u696d\u7cfb\u7d71\u662fCentOS5.0 \u7528\u7684php\u7248\u672c\u662fphp-5.1.6-15.el5<\/p>\n<p>\u5f8c\u4f86\u6211\u66f4\u6539\u4e86php.ini \u932f\u8aa4\u56de\u5831\u7684\u8a2d\u5b9a\uff1a<strong>error_reporting\u00a0 =\u00a0 E_ALL &amp; ~E_NOTICE<\/strong><\/p>\n<p>E_ALL &#8211; \u986f\u793a\u6240\u6709\u7684\u932f\u8aa4\u548c\u8b66\u544a(\u4e0d\u5305\u542b E_STRICT)<\/p>\n<p>E_NOTICE &#8211; \u904b\u884c\u6642\u7684\u7570\u5e38\u901a\u77e5\uff0c\u52a0\u500b~\u4ee3\u8868\u4e0d\u986f\u793a<\/p>\n<p>\u7d42\u65bc\u90e8\u843d\u683c\u986f\u793a\u5167\u5bb9\u51fa\u4f86\u4e86\uff0c\u96d6\u7136\u6709\u5c11\u8a31\u7684\u8b66\u544a\u8a0a\u606f\uff0c\u4f46\u7d93\u904e\u4fee\u5fa9\u5f8c\u5c31\u80fd\u5b8c\u5168\u6b63\u5e38\u4e86<\/p>\n<p>\u56e0\u6b64\u6211\u958b\u59cb\u5099\u4efd\u8cc7\u6599\u5eab\uff0c\u96d6\u7136\u9019\u6307\u4ee4\u5728\u4e4b\u524d\u7684\u6587\u7ae0\u5df2\u7d93\u6709\u63d0\u904e\u4e86\uff0c\u4e0d\u904e\u5728\u9019\u88e1\u6211\u9084\u662f\u5728\u5217\u4e00\u4e0b<\/p>\n<p><strong>mysqldump &#8211;default-character-set utf8 -u \u4f7f\u7528\u8005 -p \u8cc7\u6599\u5eab &gt; D:\\\\\u6a94\u540d.sql <\/strong><\/p>\n<p>\u7576\u5b8c\u5168\u8f49\u79fb\u5f8c\u767c\u73feLifetype\u555f\u52d5<strong>\u8b93\u641c\u5c0b\u5f15\u64ce\u6613\u65bc\u641c\u5c0b\u7684\u7c21\u6f54\u7db2\u5740<\/strong>\u7684\u529f\u80fd\u7121\u6cd5\u6b63\u5e38\u904b\u884c<\/p>\n<p>\u539f\u4f86\u662f\u56e0\u70ba\u6b64\u529f\u80fd\u662f\u900f\u904e.htaccess\u4f86\u8f49\u63db\u6210\u7c21\u6613\u7684\u7db2\u5740\uff0c\u56e0\u6b64\u8981\u6253\u958bapache\u6b64\u529f\u80fd<\/p>\n<p>\u6240\u4ee5\u9700\u8981\u5728\u4e0b\u9762\u8a2d\u5b9a<\/p>\n<p>&lt;Directory &#8220;lifetype\u8cc7\u6599\u593e\u4f4d\u7f6e&#8221;&gt;<br \/>\nOptions Multiviews<br \/>\nAllowOverride All<br \/>\nOrder allow,deny<br \/>\nAllow from all<br \/>\n&lt;\/Directory&gt;<\/p>\n<p>\u6700\u5f8c\uff0c\u7576\u4e00\u5207\u90fd\u5feb\u6e96\u5099\u5c31\u7dd2\u5f8c\uff0c\u958b\u59cb\u8a2d\u5b9a\u6211\u597d\u591a\u90e8\u843d\u683c\u7684\u865b\u64ec\u4e3b\u6a5f<\/p>\n<p>\u8a2d\u5b9a\u597d\u91cd\u65b0\u555f\u52d5apache\u537b\u51fa\u73fe\u4ee5\u4e0b\u932f\u8aa4<\/p>\n<p><strong>[warn] _default_ VirtualHost overlap on port 80, the first has precedence<\/strong><\/p>\n<p>\u770b\u5230\u9019\u8a0a\u606f\u53ea\u8981\u628a<strong>NameVirtualHost *:80<\/strong>\u7684\u6ce8\u89e3\u53bb\u6389\u518d\u91cd\u65b0\u555f\u52d5\u5c31OK\u4e86<\/p>\n<p>\u53e6\u5916\u518d\u88dc\u8a18\u4e00\u500bDNS\u7684\u8a2d\u5b9a\uff0c\u7531\u65bc\u6211\u7684\u90e8\u843d\u683c\u6709\u5411SeedNet\u7533\u8acb\u7db2\u57df<\/p>\n<p>\u56e0\u6b64\u8981\u8a2d\u5b9a\u57df\u540d\u8207IP\u7684\u5c0d\u61c9\uff0c\u597d\u5728\u6211\u7528\u7684\u662fRedHat\u7cfb\u5217\u7684<\/p>\n<p>\u6240\u4ee5\u5b89\u88dd\u7684\u904e\u7a0b\u7c21\u55ae\uff0c\u53ea\u8981\u4e0b\u8f09<a href=\"http:\/\/rs.seed.net.tw\/dns.html\" target=\"_blank\">Linux RPM\uff1aredhat linux 5.2<\/a><\/p>\n<p>rpm -uvh\u5b89\u88dd\u5b8c\u5f8c\uff0c\u7528\/etc\/rc.d\/init\/dyndn start\u5c31\u80fd\u555f\u52d5\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7d42\u65bc\u4e00\u5b78\u671f\u5feb\u7d50\u675f\u4e86\uff0c\u4eca\u5929\u5831\u5b8c\u6700\u5f8c\u4e00\u5802\u7684\u5831\u544a\uff0c\u78a9\u4e00\u7684\u751f\u6d3b\u4e5f\u5c07\u8981\u5ba3\u544a\u7d50\u675f\u4e86 \u5be6\u9a57\u5ba4\u7684\u6230\u53cb\u5011\u76f8\u7d04\u597d\u8981\u53bb\u70e4\u8089\uff0c\u800c\u6211\u537b\u56e0<span class=\"post-excerpt-end\">&hellip;<\/span><\/p>\n<p class=\"more-link\"><a href=\"https:\/\/learn-house.idv.tw\/?p=201\" class=\"themebutton\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-201","post","type-post","status-publish","format-standard","hentry","category-6"],"_links":{"self":[{"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=201"}],"version-history":[{"count":0,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/201\/revisions"}],"wp:attachment":[{"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}