{"id":673,"date":"2011-01-09T05:54:59","date_gmt":"2011-01-08T20:54:59","guid":{"rendered":"http:\/\/blog.isnext.net\/issy\/?p=673"},"modified":"2011-01-09T05:56:36","modified_gmt":"2011-01-08T20:56:36","slug":"%e9%ab%98%e6%a9%9f%e8%83%bdweb%e8%a7%a3%e6%9e%90%e3%83%84%e3%83%bc%e3%83%abpiwik%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/blog.isnext.net\/issy\/archives\/673","title":{"rendered":"\u9ad8\u6a5f\u80fdWeb\u89e3\u6790\u30c4\u30fc\u30ebPiwik\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30e1\u30e2"},"content":{"rendered":"<p>\u25a0\u9ad8\u6a5f\u80fdWeb\u89e3\u6790\u30c4\u30fc\u30ebPiwik\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30e1\u30e2<\/p>\n<p>\u4e8b\u524d\u306bMySQL\u3067DB\u3068\u30e6\u30fc\u30b6\u3092\u4f5c\u6210\u3057\u3066\u304a\u304f\u3053\u3068<br \/>\n\u5c55\u958b\u3057\u305f\u3044URL\u306e\u4f4d\u7f6e\u307e\u3067\u79fb\u52d5<br \/>\n\uff08\u4eca\u56de\u306fhttp:\/\/www.example.com\/piwik\/\u3068\u306a\u308b\u3088\u3046\u4eee\u5b9a\uff09<\/p>\n<p># cd \/var\/www\/html\/<\/p>\n<p>Piwik\u306e\u6700\u65b0\u7248\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5c55\u958b<br \/>\n# wget http:\/\/piwik.org\/latest.zip<br \/>\n# unzip latest.zip<\/p>\n<p>\u4f59\u8a08\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u6d88\u3059<br \/>\n# rm -f How\\ to\\ install\\ Piwik.html<\/p>\n<p>\u6240\u6709\u6a29\u3092apache\u306b\u3057\u3066\u304a\u304f<br \/>\n# chown -R apache:apache piwik<\/p>\n<p>\u66f8\u304d\u8fbc\u307f\u6a29\u9650\u306e\u5909\u66f4<br \/>\n# chmod -R 0777 piwik\/config<br \/>\n# chmod -R 0777 piwik\/tmp<\/p>\n<p>\u5fc5\u8981\u304c\u3042\u308c\u3070php-json\u3092\u8ffd\u52a0<br \/>\n# yum install php-json<\/p>\n<p>php.ini\u306ememory_limit\u306e\u5024\u304c128M\u4ee5\u4e0a\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b<br \/>\n# cat \/etc\/php.ini<\/p>\n<p>apache\u518d\u8d77\u52d5<br \/>\n# apachectl graceful<\/p>\n<p>http:\/\/www.example.com\/piwik\/ \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066GUI\u306e\u6307\u793a\u306b\u5f93\u3046<\/p>\n<p>\u8a08\u6e2c\u3057\u305f\u3044\u30b5\u30a4\u30c8\u306efooter\u90e8\u5206\u306btrack tag\u3067\u6307\u5b9a\u3055\u308c\u305fJavascript\u3092\u8cbc\u308a\u8fbc\u3081\u3070OK\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0\u9ad8\u6a5f\u80fdWeb\u89e3\u6790\u30c4\u30fc\u30ebPiwik\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30e1\u30e2 \u4e8b\u524d\u306bMySQL\u3067DB\u3068\u30e6\u30fc\u30b6\u3092\u4f5c\u6210\u3057\u3066\u304a\u304f\u3053\u3068 \u5c55\u958b\u3057\u305f\u3044URL\u306e\u4f4d\u7f6e\u307e\u3067\u79fb\u52d5 \uff08\u4eca\u56de\u306fhttp:\/\/www.example.com\/piwik\/\u3068\u306a\u308b\u3088\u3046\u4eee\u5b9a\uff09  &hellip; <a href=\"https:\/\/blog.isnext.net\/issy\/archives\/673\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;\u9ad8\u6a5f\u80fdWeb\u89e3\u6790\u30c4\u30fc\u30ebPiwik\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30e1\u30e2&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[20,26,99,97],"class_list":["post-673","post","type-post","status-publish","format-standard","hentry","category-linux","tag-centos","tag-php","tag-piwik","tag-webanalytics"],"_links":{"self":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/comments?post=673"}],"version-history":[{"count":3,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/673\/revisions"}],"predecessor-version":[{"id":675,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/posts\/673\/revisions\/675"}],"wp:attachment":[{"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/media?parent=673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/categories?post=673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.isnext.net\/issy\/wp-json\/wp\/v2\/tags?post=673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}