{"id":1003,"date":"2007-10-31T04:42:58","date_gmt":"2007-10-30T20:42:58","guid":{"rendered":"http:\/\/blog.kaishao.idv.tw\/?p=1003"},"modified":"2008-08-21T18:13:15","modified_gmt":"2008-08-21T10:13:15","slug":"%e6%9c%ac%e7%ab%99%e6%98%87%e7%b4%9a%e7%82%bamacosx-105leopard","status":"publish","type":"post","link":"https:\/\/blog.kaishao.idv.tw\/?p=1003","title":{"rendered":"\u672c\u7ad9\u6607\u7d1a\u70baMacOSX 10.5(Leopard)"},"content":{"rendered":"<p><a href=\"http:\/\/www.apple.com\/macosx\/\" target=\"_blank\" class=\"external\" rel=\"nofollow\"><img decoding=\"async\" src=\"http:\/\/blog.kaishao.idv.tw\/wp-content\/uploads\/2007\/10\/leopard_box_125.jpg\" alt=\"leopard_box_125.jpg\"  class=\"alignright\" \/><\/a><\/p>\n<p id=\"fp\">\u672c\u7ad9\u5df2\u6607\u7d1a\u70ba<a href=\"http:\/\/www.apple.com\/macosx\/\" class=\"external\" rel=\"nofollow\" target=\"_blank\">MacOSX 10.5<\/a>(\u4ee3\u865f\uff1aLeopard)\u3002<\/p>\n<p>Leoprad\u662f2007.10.26\u5168\u7403\u958b\u8ce3\uff0c\u56e0\u70ba\u662f\u4e4b\u524d\u5c31\u4e0a\u7db2\u8def\u8a02\u8cfc\u4e4b\u6545\uff0c\u5c31\u5728\u7576\u5929\u6536\u5230\u5feb\u905e\u3002  \u6211\u8cb7\u7684\u662f\u4e00\u822c\u7248\uff08\u7f8e\u91d1129\u5143\uff09\u3002\u4e00\u822c\u7248\u8207 <a href=\"http:\/\/store.apple.com\/1-800-MY-APPLE\/WebObjects\/AppleStore.woa\/wa\/RSLID?mco=A1B54CA5&amp;fnode=home\/shop_mac\/software\/apple&amp;nplm=MB005Z\/A\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Mac OS X Server v10.5 Leopard<\/a>\u7248\uff08\u7f8e\u91d1499 &#8211; 999\u5143\uff09\u7684\u5dee\u5225\u662f\uff0cServer\u7248\u7db2\u8def\u4e3b\u6a5f\u8a2d\u5b9a\u7684\u90e8\u4efd\uff0c\u5168\u90e8\u662f\u5716\u5f62\u5316\u7684\u61c9\u7528\u7a0b\u5f0f\uff0c\u4e5f\u5e7e\u4e4e\u90fd\u5b89\u88dd\u5b8c\u6574\uff0c\u9084\u591a\u4e86\u5e7e\u500bMacOS\u7368\u9580\u7684Server\uff0c\u4f8b\u5982\uff1aiCal Server, Podcast Producer, Spotlight Server, \u67b6Server\u65b9\u4fbf\u591a\u4e86\u3002\u4e00\u822c\u7248\u9084\u662f\u53ef\u4ee5\u505aServer\uff0c\u4f46\u67d0\u4e9b\u8edf\u9ad4\uff0c\u9700\u81ea\u5df1\u53bb\u4e0b\u8f09\u5b89\u88dd\u8a2d\u5b9a\u3001\u4fee\u6539\u7b49\u7b49\u3002  \u5176\u4e2dApache, PHP, MySQL\u90fd\u662f\u96a8\u6a5f\u7248\uff0c\u7248\u672c\u5982\u4e0b\uff1a<\/p>\n<ul>\n<li><a href=\"http:\/\/www.apache.org\/\" class=\"external\" rel=\"nofollow\" target=\"_blank\"> Apache<\/a> Version: Apache\/2.2.6 (Unix) mod_ssl\/2.2.6 OpenSSL\/0.9.7l DAV\/2 <a href=\"http:\/\/http\/\/www.php.net\/\" class=\"external\" rel=\"nofollow\" target=\"_blank\"> PHP<\/a>\/5.2.4<\/li>\n<li><a href=\"http:\/\/www.mysql.com\/\" class=\"external\" rel=\"nofollow\" target=\"_blank\"> MySQL<\/a>\/5.0.45<\/li>\n<\/ul>\n<p><!--more-->\u624b\u52d5\u81ea\u884c\u5b89\u88dd\u8a2d\u5b9a\u6642\u4e0d\u514d\u9047\u5230\u56f0\u96e3\uff0c\u5c24\u5176UNIX\u7d14\u6587\u5b57\u754c\u9762\u53ca\u5404\u7a2e\u7a0b\u5f0f\u8a9e\u8a00\u8a9e\u6cd5\uff0c\u53ca\u529f\u80fd\u5b9a\u7fa9\uff0c\u90fd\u662f\u8981\u53bb\u67e5\u53c3\u8003\u8cc7\u6599\uff0c\u518d\u4e00\u500b\u5b57\u4e00\u500b\u5b57\u53bb\u6539\u3002Apache 1.x \u8207 Apache 2.x\u7684 httpd.conf \u8a9e\u6cd5\u4e0d\u76e1\u76f8\u540c\uff0c\u66f4\u662f\u82b1\u4e86\u4e00\u756a\u529f\u592b\u53bb\u6e2c\u8a66\u3002\u9084\u597d\u7db2\u8def\u641c\u5c0b\u5f15\u64ce\u767c\u9054\uff0c\u5f88\u591a\u5c0f\u6280\u5de7\u65e9\u5c31\u88abUNIX\u9ad8\u624b\u5148\u8a66\u51fa\u4f86\u4e86\u3002<\/p>\n<blockquote><p>\u6253\u958b\u4e26\u7de8\u8f2f httpd.conf  (\u4f4d\u7f6e\u5728 \/etc\/apache2\/httpd.conf).<br \/>\n\u628a\u9019\u884c\u5b57\u524d\u7684\u661f\u865f\u53bb\u6389\uff1a #LoadModule php5_module        libexec\/apache2\/libphp5.so<br \/>\n\u9019\u5169\u884c\u7a0b\u5f0f\u78bc\u8981\u52a0\u9032\u53bb httpd.conf\uff1a AddType application\/x-httpd-php .php AddType application\/x-httpd-php-source .phps<br \/>\n\u628a\u9019\u884c\u5b57\u524d\u7684\u661f\u865f\u53bb\u6389\uff1a #Include \/private\/etc\/apache2\/extra\/httpd-vhosts.conf<br \/>\n\u6253\u958b\u4e26\u7de8\u8f2f \/etc\/apache2\/extra\/httpd-vhosts.conf<br \/>\nApache2\u7684 httpd-vhosts.conf \u865b\u64ec\u7db2\u5740\u540d\u5b57\u683c\u5f0f\u9577\u9019\u500b\u6a23\uff08\u8981\u53e6\u5916\u555f\u52d5DNS Server\uff0c\u82e5\u662fUNIX\u767d\u7661\u53ef\u4ee5\u82b1\u5c0f\u9322\u4e0b\u8f09\u9019\u500b<a href=\"http:\/\/cutedgesystems.com\/software\/DNSEnablerForLeopard\/index.html\" class=\"external\" rel=\"nofollow\" target=\"_blank\">DNS Enabler for Leopard<\/a>\uff09\uff1a<br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.kaishao.idv.tw\/wp-content\/uploads\/2007\/11\/virtualhost.jpg\" alt=\"virtualhost.jpg\"  \/><br \/>\nApache2\u7684 httpd-vhosts.conf \u8f49\u5740\u8a2d\u5b9a\u9577\u9019\u500b\u6a23\uff1a<br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.kaishao.idv.tw\/wp-content\/uploads\/2007\/11\/virtualhost2.jpg\" alt=\"virtualhost2.jpg\"  \/><br \/>\n\u5728 \/etc\/ \u627e\u5230\u4e00\u500b\u6a94\u6848\uff0c\u6a94\u540d\u662f php.ini.default \uff0c\u8907\u88fd\u4e00\u4efd\u4f46\u6539\u540d\u70ba php.ini<br \/>\n\u6253\u958b\u4e26\u7de8\u8f2f\u9019\u500b php.ini<br \/>\n\u627e\u51fa\u6b64\u6a94\u6848 php.ini \u5167\u884c\u7a0b\u5f0f\u78bc\uff1a mysql.default_socket =<br \/>\n\u6539\u70ba\uff1a mysql.default_socket = \/tmp\/mysql.sock<br \/>\n\u627e\u51fa\u6b64\u6a94\u6848 php.ini \u5167\u884c\u7a0b\u5f0f\u78bc\uff1a mysqli.default_socket =<br \/>\n\u6539\u70ba\uff1a mysqli.default_socket = \/private\/tmp\/mysql.sock<\/p><\/blockquote>\n<p>\u6700\u5f8c\u4e00\u500b\u554f\u984c\uff0c\u662f\u5982\u4f55\u958b\u6a5f\u5c31\u555f\u52d5MySQL\uff0c\u53ca\u5efa\u7acbMySQL\u7684root\u5bc6\u78bc\uff0c\u8aaa\u4f86\u8a71\u9577\uff0c\u56e0\u70ba\u6211\u662fTiger 10.4.10\u6607\u4e0a\u4f86\u7684\uff0c\u6709\u4e9b\u8a2d\u5b9a\u53caSQL\u8cc7\u6599\u5eab\u9084\u5728\u3002\u76ee\u524d<a href=\"http:\/\/dev.mysql.com\/downloads\/mysql\/5.0.html#macosx-dmg\" class=\"external\" rel=\"nofollow\" target=\"_blank\">MySQL\u6b63\u5f0f\u7db2\u7ad9\u9084\u6c92\u6709Leopard\u5c08\u7528\u7684MySQL\u5b89\u88dd\u7a0b\u5f0f<\/a>\uff08GUI\u754c\u9762\uff09\u3002\u5148\u53c3\u8003\u9019\u7bc7\uff1a <a href=\"http:\/\/blog.kaishao.idv.tw\/?p=905\">http:\/\/blog.kaishao.idv.tw\/?p=905<\/a><\/p>\n<p>Apache\u7248\u672c\u63d0\u6607\u52302.2.X\uff0c\u4e4b\u524d\u7684\u662f1.33\u3002\u6607\u7d1a\u4e4b\u5f8c\uff0c\u4f5c\u696d\u7cfb\u7d71\u754c\u9762\u82b1\u6a23\u8b8a\u591a\u4e86\uff0c\u4f46Server\u6548\u80fd\u9084\u5728\u89c0\u5bdf\u4e2d\uff0c\u770b\u4f86\u662f\u6709\u6bd4\u4ee5\u524d\u9806\u4e00\u9ede\u3002  Mac OS X v10.5 Leopard\u7684\u684c\u9762\uff08\u53d6\u81eaApple\u7684\u7db2\u8def\u6559\u5b78\u5f71\u7247\uff0c\u7d10\u7d04\u6642\u5831\u7684\u53f0\u7063\u4e4b\u5149\u738b\u5efa\u6c11\u662f\u771f\u7684\uff09<\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"http:\/\/blog.kaishao.idv.tw\/wp-content\/uploads\/2007\/10\/screen-capture.jpg\" alt=\"screen-capture.jpg\"  \/><\/p>\n<p>Mac OS X v10.5 Leopard\u65b0\u529f\u80fd\u4e4b\u4e00\uff1a\u865b\u64ec\u684c\u9762\uff08\u53d6\u81eaApple\u7684\u7db2\u8def\u6559\u5b78\u5f71\u7247\uff09\uff1a<\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"http:\/\/blog.kaishao.idv.tw\/wp-content\/uploads\/2007\/10\/screen-capture-1.jpg\" alt=\"screen-capture-1.jpg\"  \/><\/p>\n<p>\u53c3\u8003\u8cc7\u6599\uff1a<\/p>\n<ul>\n<li><a href=\"http:\/\/www.apple.com.tw\/macosx\/\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Mac OS X Leopard\uff08\u6f22\u6587\uff09<\/a><\/li>\n<li><a href=\"http:\/\/www.apple.com\/macosx\/\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Mac OS X Leopard\uff08\u82f1\u6587\uff09<\/a><\/li>\n<li><a href=\"http:\/\/www.apple.com.tw\/macosx\/guidedtour\/\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Mac OS X Leopard &#8211; \u5c0e\u89bd\u4e4b\u65c5<\/a><\/li>\n<li><a href=\"http:\/\/www.apple.com\/pr\/library\/2007\/10\/16leopard.html\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Apple to Ship Mac OS X Leopard on October 26<\/a><\/li>\n<li><a href=\"http:\/\/www.apple.com\/pr\/library\/2007\/10\/30macosx.html\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Apple Sells Two Million Copies of Mac OS X Leopard in First Weekend<\/a><\/li>\n<\/ul>\n<div class=\"fb-background-color\">\n\t\t\t  <div \n\t\t\t  \tclass = \"fb-comments\" \n\t\t\t  \tdata-href = \"https:\/\/blog.kaishao.idv.tw\/?p=1003\"\n\t\t\t  \tdata-numposts = \"10\"\n\t\t\t  \tdata-lazy = \"true\"\n\t\t\t\tdata-colorscheme = \"light\"\n\t\t\t\tdata-order-by = \"social\"\n\t\t\t\tdata-mobile=true>\n\t\t\t  <\/div><\/div>\n\t\t  <style>\n\t\t    .fb-background-color {\n\t\t\t\tbackground:  !important;\n\t\t\t}\n\t\t\t.fb_iframe_widget_fluid_desktop iframe {\n\t\t\t    width: 800px !important;\n\t\t\t}\n\t\t  <\/style>\n\t\t  ","protected":false},"excerpt":{"rendered":"<p>\u672c\u7ad9\u5df2\u6607\u7d1a\u70baMacOSX 10.5(\u4ee3\u865f\uff1aLeopard)\u3002Leoprad\u662f2007.10.26\u5168\u7403\u958b\u8ce3\uff0c\u56e0\u70ba\u662f\u4e4b\u524d\u5c31\u4e0a\u7db2\u8def\u8a02\u8cfc\u4e4b\u6545\uff0c\u5c31\u5728\u7576\u5929\u6536\u5230\u5feb\u905e\u3002 \u6211\u8cb7\u7684\u662f\u4e00\u822c\u7248\uff08\u7f8e\u91d1129\u5143\uff09\u3002\u4e00\u822c\u7248\u8207 Mac OS X Server v10.5 Leopard\u7248\uff08\u7f8e\u91d1499 &#8211; 999\u5143\uff09\u7684\u5dee\u5225\u662f\uff0cServer\u7248\u7db2\u8def\u4e3b\u6a5f\u8a2d\u5b9a\u7684\u90e8\u4efd\uff0c\u5168\u90e8\u662f\u5716\u5f62\u5316\u7684\u61c9\u7528\u7a0b\u5f0f\uff0c\u4e5f\u5e7e\u4e4e\u90fd\u5b89\u88dd\u5b8c\u6574\uff0c\u9084\u591a\u4e86\u5e7e\u500bMacOS\u7368\u9580\u7684Server\uff0c\u4f8b\u5982\uff1a iCal Server, Podcast Producer, Spotlight Server, \u67b6Server\u65b9\u4fbf\u591a\u4e86\u3002\u4e00\u822c\u7248\u9084\u662f\u53ef\u4ee5\u505aServer\uff0c\u4f46\u67d0\u4e9b\u8edf\u9ad4\uff0c\u9700\u81ea\u5df1\u53bb\u4e0b\u8f09\u5b89\u88dd\u8a2d\u5b9a\u3001\u4fee\u6539\u7b49\u7b49\u3002 \u5176\u4e2dApache, PHP, MySQL\u90fd\u662f\u96a8\u6a5f\u7248\uff0c\u7248\u672c\u5982\u4e0b\uff1a<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"ngg_post_thumbnail":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12,25],"tags":[],"class_list":["post-1003","post","type-post","status-publish","format-standard","hentry","category-applemac","category-25"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pe4Ak-gb","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/blog.kaishao.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/1003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.kaishao.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kaishao.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kaishao.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kaishao.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1003"}],"version-history":[{"count":0,"href":"https:\/\/blog.kaishao.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/1003\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.kaishao.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kaishao.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kaishao.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}