
{"id":2709,"date":"2018-10-31T16:08:44","date_gmt":"2018-10-31T08:08:44","guid":{"rendered":"https:\/\/www.webteach.tw\/?p=2709"},"modified":"2018-10-31T16:08:44","modified_gmt":"2018-10-31T08:08:44","slug":"ubuntu-16-04-%e7%a8%8b%e5%bc%8f%e8%b8%a9%e9%9b%b7%e5%8d%80","status":"publish","type":"post","link":"https:\/\/www.webteach.tw\/?p=2709","title":{"rendered":"[ Linux ] &#8211; Ubuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340"},"content":{"rendered":"<div style='text-align:center' class='yasr-auto-insert-overall'><\/div><div style='text-align:center' class='yasr-auto-insert-visitor'><\/div><div style=\"margin-top: 0px; margin-bottom: 0px;\" class=\"sharethis-inline-share-buttons\" ><\/div><p>\t\t\t\tUbuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340<br \/>\n\u5c0f\u7de8\u56e0\u70ba\u958b\u767c\u74b0\u5883\u8907\u96dc\uff0c\u5e38\u5e38\u56e0\u8cc7\u6e90\u4e0d\u8db3\uff0c\u6240\u4ee5\u958b\u767c\u6642\u53ea\u80fd\u5728\u865b\u64ec\u4e3b\u6a5f\u4e0a\u958b\u767c\uff0c\u773e\u6240\u7686\u77e5\u865b\u64ec\u4e3b\u6a5f\u4e0a\u7684\u74b0\u5883\u4e00\u5b9a\u4e0d\u6703\u662f\u6700\u65b0\u7684\uff0c\u6700\u8fd1\u958b\u767c\u4e86\u4e00\u500b\u6848\u5b50\u5c31\u9047\u5230\u5f88\u591a\u7248\u672c\u554f\u984c\u7279\u958b\u6b64\u7bc7\u505a\u7d00\u9304\u3002<!--more--><br \/>\nmysql \u932f\u8aa4\u8a0a\u606f 1292 &#8211; incorrect datetime value: &#8221; for column \u65e5\u671f\u6642\u9593\u4e0d\u53ef\u70ba\u7a7a\u5b57\u4e32<br \/>\nmysql \u932f\u8aa4\u8a0a\u606f 1292 &#8211; incorrect datetime value: &#8216;0000-00-00 00:00:00&#8217; for column \u65e5\u671f\u6642\u9593\u4e0d\u53ef\u70ba 0000-00-00 00:00:00<br \/>\n\u4ee5\u4e0a\u5169\u500b\u90fd\u662f\u56e0\u70ba\u65b0\u7248\u7684mysql datetime\u4e0d\u5141\u8a31\u8f38\u51650000-00-00 00:00:00 \u6240\u4ee5\u5982\u679c\u4f60\u7684\u9019\u500b\u65e5\u671f\u6b04\u4f4d\u6c92\u6709\u9810\u8a2d\u7684\u503c \u5c31\u5728\u7d50\u69cb\u4e2d \u52fe\u9078 \u5141\u8a31 null<br \/>\ninser \u7684\u6642\u5019 \u8a72\u6b04\u4f4d\u503c\u5c31\u7d66 null<br \/>\n\u518d\u4f86\u56e0\u70ba\u9019\u500b\u5c08\u6848\u6709\u7528\u5230 PHPEXCEL<br \/>\nPHP \u932f\u8aa4\u8a0a\u606f PHP Fatal error:  Uncaught Error: Class &#8216;ZipArchive&#8217; not found in \/var\/www\/html\/ &#8230;<br \/>\n\u9019\u662f\u56e0\u70baPHPEXCEL\u6709\u7528\u5230ZIP\u58d3\u7e2e<br \/>\n\u89e3\u6cd5\uff1a\u5c31\u52a0\u88ddzip<br \/>\n\u6307\u4ee4\uff1a apt install php-zip<br \/>\n\u76ee\u524d\u5c31\u9047\u5230\u9019\u5e7e\u500b \u9084\u6709\u5176\u5b83\u7684\u6703\u518d\u88dc\u5145\u4e0a\u53bb<\/p>\n<div style='text-align:center' class='yasr-auto-insert-overall'><\/div><div style='text-align:center' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>Ubuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340 \u5c0f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"categories":[32,41],"tags":[63,1070],"class_list":["post-2709","post","type-post","status-publish","format-standard","hentry","category-linux","category-ubuntu","tag-16-04","tag-1070"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[ Linux ] - Ubuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340 - \u6df7\u6c34\u6478\u9b5a<\/title>\n<meta name=\"description\" content=\"\u5c0f\u7de8\u56e0\u70ba\u958b\u767c\u74b0\u5883\u8907\u96dc\uff0c\u5e38\u5e38\u56e0\u8cc7\u6e90\u4e0d\u8db3\uff0c\u6240\u4ee5\u958b\u767c\u6642\u53ea\u80fd\u5728\u865b\u64ec\u4e3b\u6a5f\u4e0a\u958b\u767c\uff0c\u773e\u6240\u7686\u77e5\u865b\u64ec\u4e3b\u6a5f\u4e0a\u7684\u74b0\u5883\u4e00\u5b9a\u4e0d\u6703\u662f\u6700\u65b0\u7684\uff0c\u6700\u8fd1\u958b\u767c\u4e86\u4e00\u500b\u6848\u5b50\u5c31\u9047\u5230\u5f88\u591a\u7248\u672c\u554f\u984c\u7279\u958b\u6b64\u7bc7\u505a\u7d00\u9304\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webteach.tw\/?p=2709\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[ Linux ] - Ubuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340 - \u6df7\u6c34\u6478\u9b5a\" \/>\n<meta property=\"og:description\" content=\"\u5c0f\u7de8\u56e0\u70ba\u958b\u767c\u74b0\u5883\u8907\u96dc\uff0c\u5e38\u5e38\u56e0\u8cc7\u6e90\u4e0d\u8db3\uff0c\u6240\u4ee5\u958b\u767c\u6642\u53ea\u80fd\u5728\u865b\u64ec\u4e3b\u6a5f\u4e0a\u958b\u767c\uff0c\u773e\u6240\u7686\u77e5\u865b\u64ec\u4e3b\u6a5f\u4e0a\u7684\u74b0\u5883\u4e00\u5b9a\u4e0d\u6703\u662f\u6700\u65b0\u7684\uff0c\u6700\u8fd1\u958b\u767c\u4e86\u4e00\u500b\u6848\u5b50\u5c31\u9047\u5230\u5f88\u591a\u7248\u672c\u554f\u984c\u7279\u958b\u6b64\u7bc7\u505a\u7d00\u9304\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webteach.tw\/?p=2709\" \/>\n<meta property=\"og:site_name\" content=\"\u6df7\u6c34\u6478\u9b5a\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-31T08:08:44+00:00\" \/>\n<meta name=\"author\" content=\"jeff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"jeff\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/?p=2709#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/?p=2709\"},\"author\":{\"name\":\"jeff\",\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/#\\\/schema\\\/person\\\/d434d754fd581338113eecfa923d7520\"},\"headline\":\"[ Linux ] &#8211; Ubuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340\",\"datePublished\":\"2018-10-31T08:08:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/?p=2709\"},\"wordCount\":50,\"commentCount\":0,\"keywords\":[\"16.04\",\"\u7a0b\u5f0f\u8e29\u96f7\u5340\"],\"articleSection\":[\"Linux\",\"Ubuntu\"],\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.webteach.tw\\\/?p=2709#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/?p=2709\",\"url\":\"https:\\\/\\\/www.webteach.tw\\\/?p=2709\",\"name\":\"[ Linux ] - Ubuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340 - \u6df7\u6c34\u6478\u9b5a\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/#website\"},\"datePublished\":\"2018-10-31T08:08:44+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/#\\\/schema\\\/person\\\/d434d754fd581338113eecfa923d7520\"},\"description\":\"\u5c0f\u7de8\u56e0\u70ba\u958b\u767c\u74b0\u5883\u8907\u96dc\uff0c\u5e38\u5e38\u56e0\u8cc7\u6e90\u4e0d\u8db3\uff0c\u6240\u4ee5\u958b\u767c\u6642\u53ea\u80fd\u5728\u865b\u64ec\u4e3b\u6a5f\u4e0a\u958b\u767c\uff0c\u773e\u6240\u7686\u77e5\u865b\u64ec\u4e3b\u6a5f\u4e0a\u7684\u74b0\u5883\u4e00\u5b9a\u4e0d\u6703\u662f\u6700\u65b0\u7684\uff0c\u6700\u8fd1\u958b\u767c\u4e86\u4e00\u500b\u6848\u5b50\u5c31\u9047\u5230\u5f88\u591a\u7248\u672c\u554f\u984c\u7279\u958b\u6b64\u7bc7\u505a\u7d00\u9304\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/?p=2709#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webteach.tw\\\/?p=2709\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/?p=2709#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\\\/\\\/www.webteach.tw\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[ Linux ] &#8211; Ubuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/#website\",\"url\":\"https:\\\/\\\/www.webteach.tw\\\/\",\"name\":\"\u6df7\u6c34\u6478\u9b5a\",\"description\":\"\u5b78\u7121\u6b62\u5883,\u6559\u5b78\u76f8\u9577\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webteach.tw\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/#\\\/schema\\\/person\\\/d434d754fd581338113eecfa923d7520\",\"name\":\"jeff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5797200e421b670a2ce64d6e7382054c69b231d4aab55742c96bb1e51bc9fefc?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5797200e421b670a2ce64d6e7382054c69b231d4aab55742c96bb1e51bc9fefc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5797200e421b670a2ce64d6e7382054c69b231d4aab55742c96bb1e51bc9fefc?s=96&d=mm&r=g\",\"caption\":\"jeff\"},\"sameAs\":[\"http:\\\/\\\/35.72.55.111\"],\"url\":\"https:\\\/\\\/www.webteach.tw\\\/?author=1\"},false]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[ Linux ] - Ubuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340 - \u6df7\u6c34\u6478\u9b5a","description":"\u5c0f\u7de8\u56e0\u70ba\u958b\u767c\u74b0\u5883\u8907\u96dc\uff0c\u5e38\u5e38\u56e0\u8cc7\u6e90\u4e0d\u8db3\uff0c\u6240\u4ee5\u958b\u767c\u6642\u53ea\u80fd\u5728\u865b\u64ec\u4e3b\u6a5f\u4e0a\u958b\u767c\uff0c\u773e\u6240\u7686\u77e5\u865b\u64ec\u4e3b\u6a5f\u4e0a\u7684\u74b0\u5883\u4e00\u5b9a\u4e0d\u6703\u662f\u6700\u65b0\u7684\uff0c\u6700\u8fd1\u958b\u767c\u4e86\u4e00\u500b\u6848\u5b50\u5c31\u9047\u5230\u5f88\u591a\u7248\u672c\u554f\u984c\u7279\u958b\u6b64\u7bc7\u505a\u7d00\u9304\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webteach.tw\/?p=2709","og_locale":"zh_TW","og_type":"article","og_title":"[ Linux ] - Ubuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340 - \u6df7\u6c34\u6478\u9b5a","og_description":"\u5c0f\u7de8\u56e0\u70ba\u958b\u767c\u74b0\u5883\u8907\u96dc\uff0c\u5e38\u5e38\u56e0\u8cc7\u6e90\u4e0d\u8db3\uff0c\u6240\u4ee5\u958b\u767c\u6642\u53ea\u80fd\u5728\u865b\u64ec\u4e3b\u6a5f\u4e0a\u958b\u767c\uff0c\u773e\u6240\u7686\u77e5\u865b\u64ec\u4e3b\u6a5f\u4e0a\u7684\u74b0\u5883\u4e00\u5b9a\u4e0d\u6703\u662f\u6700\u65b0\u7684\uff0c\u6700\u8fd1\u958b\u767c\u4e86\u4e00\u500b\u6848\u5b50\u5c31\u9047\u5230\u5f88\u591a\u7248\u672c\u554f\u984c\u7279\u958b\u6b64\u7bc7\u505a\u7d00\u9304\u3002","og_url":"https:\/\/www.webteach.tw\/?p=2709","og_site_name":"\u6df7\u6c34\u6478\u9b5a","article_published_time":"2018-10-31T08:08:44+00:00","author":"jeff","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005:":"jeff"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webteach.tw\/?p=2709#article","isPartOf":{"@id":"https:\/\/www.webteach.tw\/?p=2709"},"author":{"name":"jeff","@id":"https:\/\/www.webteach.tw\/#\/schema\/person\/d434d754fd581338113eecfa923d7520"},"headline":"[ Linux ] &#8211; Ubuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340","datePublished":"2018-10-31T08:08:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webteach.tw\/?p=2709"},"wordCount":50,"commentCount":0,"keywords":["16.04","\u7a0b\u5f0f\u8e29\u96f7\u5340"],"articleSection":["Linux","Ubuntu"],"inLanguage":"zh-TW","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webteach.tw\/?p=2709#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webteach.tw\/?p=2709","url":"https:\/\/www.webteach.tw\/?p=2709","name":"[ Linux ] - Ubuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340 - \u6df7\u6c34\u6478\u9b5a","isPartOf":{"@id":"https:\/\/www.webteach.tw\/#website"},"datePublished":"2018-10-31T08:08:44+00:00","author":{"@id":"https:\/\/www.webteach.tw\/#\/schema\/person\/d434d754fd581338113eecfa923d7520"},"description":"\u5c0f\u7de8\u56e0\u70ba\u958b\u767c\u74b0\u5883\u8907\u96dc\uff0c\u5e38\u5e38\u56e0\u8cc7\u6e90\u4e0d\u8db3\uff0c\u6240\u4ee5\u958b\u767c\u6642\u53ea\u80fd\u5728\u865b\u64ec\u4e3b\u6a5f\u4e0a\u958b\u767c\uff0c\u773e\u6240\u7686\u77e5\u865b\u64ec\u4e3b\u6a5f\u4e0a\u7684\u74b0\u5883\u4e00\u5b9a\u4e0d\u6703\u662f\u6700\u65b0\u7684\uff0c\u6700\u8fd1\u958b\u767c\u4e86\u4e00\u500b\u6848\u5b50\u5c31\u9047\u5230\u5f88\u591a\u7248\u672c\u554f\u984c\u7279\u958b\u6b64\u7bc7\u505a\u7d00\u9304\u3002","breadcrumb":{"@id":"https:\/\/www.webteach.tw\/?p=2709#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webteach.tw\/?p=2709"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webteach.tw\/?p=2709#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/www.webteach.tw\/"},{"@type":"ListItem","position":2,"name":"[ Linux ] &#8211; Ubuntu 16.04 \u7a0b\u5f0f\u8e29\u96f7\u5340"}]},{"@type":"WebSite","@id":"https:\/\/www.webteach.tw\/#website","url":"https:\/\/www.webteach.tw\/","name":"\u6df7\u6c34\u6478\u9b5a","description":"\u5b78\u7121\u6b62\u5883,\u6559\u5b78\u76f8\u9577","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webteach.tw\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Person","@id":"https:\/\/www.webteach.tw\/#\/schema\/person\/d434d754fd581338113eecfa923d7520","name":"jeff","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/secure.gravatar.com\/avatar\/5797200e421b670a2ce64d6e7382054c69b231d4aab55742c96bb1e51bc9fefc?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5797200e421b670a2ce64d6e7382054c69b231d4aab55742c96bb1e51bc9fefc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5797200e421b670a2ce64d6e7382054c69b231d4aab55742c96bb1e51bc9fefc?s=96&d=mm&r=g","caption":"jeff"},"sameAs":["http:\/\/35.72.55.111"],"url":"https:\/\/www.webteach.tw\/?author=1"},false]}},"views":614,"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"_links":{"self":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts\/2709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2709"}],"version-history":[{"count":0,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts\/2709\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}