{"id":1297,"date":"2010-05-27T15:30:11","date_gmt":"2010-05-27T06:30:11","guid":{"rendered":"http:\/\/doodlenote.net\/?p=1297"},"modified":"2010-05-27T15:30:11","modified_gmt":"2010-05-27T06:30:11","slug":"linode%e5%88%9d%e6%9c%9f%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/doodlenote.net\/?p=1297","title":{"rendered":"Linode\u521d\u671f\u8a2d\u5b9a"},"content":{"rendered":"<p>\/etc\/ssh\/sshd_config<br \/>\nroot\u30ed\u30b0\u30a4\u30f3\u7981\u6b62\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u7981\u6b62<\/p>\n<p>putty\u9375\u8a8d\u8a3c\u8a2d\u5b9a<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff08apt-get\uff09<br \/>\napache2<br \/>\nmysql-server<br \/>\nw3m<br \/>\nphp5-gd<br \/>\nlocate<br \/>\nsubversion, subversion-tools, libapache2-svn<br \/>\nlibapache2-svn(apache\u3067\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u516c\u958b)<br \/>\nsqlite3<br \/>\n\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u8a2d\u5b9a<br \/>\n    $ sudo dpkg-reconfigure tzdata<\/p>\n<p>\u30a6\u30a3\u30b6\u30fc\u30c9\u5f62\u5f0f\u3067\u306f\u3058\u307e\u308b\u306e\u3067\u3001\u300cAsia\u300d\u3092\u9078\u3093\u3067\u300cOK\u300d\u3001\u300cTokyo\u300d\u3092\u9078\u3093\u3067\u300cOK\u300d<br \/>\n    $ date<\/p>\n<p>\u3068\u6253\u3063\u3066\u3001\u73fe\u5728\u306e\u65e5\u672c\u6642\u9593\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u5b8c\u4e86\u3002<\/p>\n<p>\n\u6700\u521d\u306fEUC-JP\u3063\u307d\u3044\u2026\u3002<\/p>\n<p>\u65e5\u672c\u8a9e\u30ed\u30b1\u30fc\u30eb\u8a2d\u5b9a<br \/>\n    $ sudo apt-get install language-pack-ja<br \/>\n    $ sudo dpkg-reconfigure locales<br \/>\n    $ sudo update-locale LANG=ja_JP.UTF-8<\/p>\n<p>\u3044\u3063\u305f\u3093\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u3066\u304b\u3089\u30ed\u30b0\u30a4\u30f3\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3002<br \/>\n    $ locale<br \/>\n    LANG=ja_JP.UTF-8<br \/>\n    LC_CTYPE=\u201dja_JP.UTF-8\u2033<br \/>\n    LC_NUMERIC=\u201dja_JP.UTF-8\u2033<br \/>\n    LC_TIME=\u201dja_JP.UTF-8\u2033<br \/>\n    LC_COLLATE=\u201dja_JP.UTF-8\u2033<br \/>\n    LC_MONETARY=\u201dja_JP.UTF-8\u2033<br \/>\n    LC_MESSAGES=\u201dja_JP.UTF-8\u2033<br \/>\n    LC_PAPER=\u201dja_JP.UTF-8\u2033<br \/>\n    LC_NAME=\u201dja_JP.UTF-8\u2033<br \/>\n    LC_ADDRESS=\u201dja_JP.UTF-8\u2033<br \/>\n    LC_TELEPHONE=\u201dja_JP.UTF-8\u2033<br \/>\n    LC_MEASUREMENT=\u201dja_JP.UTF-8\u2033<br \/>\n    LC_IDENTIFICATION=\u201dja_JP.UTF-8\u2033<br \/>\n    LC_ALL=<\/p>\n<p>\nMysql5.0\u3092UTF-8\u3067\u4f7f\u3046\u8a2d\u5b9a\u3002<br \/>\n    $sudo vi \/etc\/mysql\/my.cnf<\/p>\n<p>\u9069\u5207\u306b\u4e0b\u8a18\u3092\u8ffd\u52a0<br \/>\n    [client]<br \/>\n    default-character-set=utf8<\/p>\n<p>    [mysqld]<br \/>\n    default-character-set=utf8<br \/>\n    skip-character-set-client-handshake<\/p>\n<p>\u518d\u8d77\u52d5<br \/>\n    $ sudo \/etc\/init.d\/mysql restart<\/p>\n<p>\u78ba\u8a8d<br \/>\n    mysql\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066status\u3092\u5b9f\u884c<\/p>\n<p>    Client characterset:    utf8<br \/>\n    Server characterset:    utf8<\/p>\n<p>\n\u3042\u3001PHP\u5165\u3063\u3066\u306a\u3044\u307f\u305f\u3044\u3060\u3002<br \/>\nsudo apt-get install php5 php5-mysql php-pear<br \/>\nsudo pear install -a Log<\/p>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u5206\u597d\u307f\u306b\u3002<br \/>\nsudo vi \/etc\/php5\/apache2\/php.ini<\/p>\n<p>Apache\u8a2d\u5b9a\u518d\u30ed\u30fc\u30c9\u3002<br \/>\nsudo \/etc\/init.d\/apache2 reload<\/p>\n<p>\nmysql \u30e6\u30fc\u30b6\u30fc\u8a2d\u5b9a<\/p>\n<p>\u30b9\u30fc\u30d1\u30fc\u6a29\u9650<br \/>\nGRANT ALL PRIVILEGES ON *.* TO \u30e6\u30fc\u30b6\u30fc@localhost <br \/>\n\tIDENTIFIED BY &#8216;\u30d1\u30b9\u30ef\u30fc\u30c9&#8217; WITH GRANT OPTION;<\/p>\n<p>GRANT ALL PRIVILEGES ON *.* TO \u30e6\u30fc\u30b6\u30fc@&#8221;%&#8221; <br \/>\n\tIDENTIFIED BY &#8216;\u30d1\u30b9\u30ef\u30fc\u30c9&#8217; WITH GRANT OPTION;<\/p>\n<p>\u4e00\u822c\u30e6\u30fc\u30b6\u30fc<br \/>\ncreate user \u30e6\u30fc\u30b6\u30fc identified by &#8216;\u30d1\u30b9\u30ef\u30fc\u30c9&#8217;;<br \/>\ngrant all privileges on DB\u540d.* to \u30e6\u30fc\u30b6\u30fc@localhost identified by &#8216;\u30d1\u30b9\u30ef\u30fc\u30c9&#8217;;<\/p>\n<p>ssh\u30dd\u30fc\u30c8\u5909\u66f4<br \/>\nsudo vi \/etc\/ssh\/sshd_config<\/p>\n<p># What ports, IPs and protocols we listen for<br \/>\nPort 22<br \/>\n\u3092\u4efb\u610f\u306e\u30dd\u30fc\u30c8\u306b\u5909\u66f4<\/p>\n<p>\/etc\/sysctl.conf<br \/>\nTCP SYN Flood\u653b\u6483\u5bfe\u7b56<br \/>\nnet.ipv4.tcp_syncookies=1<br \/>\nSmurf\u653b\u6483\u5bfe\u7b56<br \/>\nnet.ipv4.icmp_echo_ignore_broadcasts = 1<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/etc\/ssh\/sshd_config root\u30ed\u30b0\u30a4\u30f3\u7981\u6b62\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u7981\u6b62 putty\u9375\u8a8d\u8a3c\u8a2d\u5b9a \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff08apt-get\uff09 apache2 mysql-server w3m php5-g&hellip;<a href=\"https:\/\/doodlenote.net\/?p=1297\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Linode\u521d\u671f\u8a2d\u5b9a<\/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":[18],"tags":[3],"class_list":["post-1297","post","type-post","status-publish","format-standard","hentry","category-server","tag-oldblog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linode\u521d\u671f\u8a2d\u5b9a - Memolog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/doodlenote.net\/?p=1297\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linode\u521d\u671f\u8a2d\u5b9a - Memolog\" \/>\n<meta property=\"og:description\" content=\"\/etc\/ssh\/sshd_config root\u30ed\u30b0\u30a4\u30f3\u7981\u6b62\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u7981\u6b62 putty\u9375\u8a8d\u8a3c\u8a2d\u5b9a \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff08apt-get\uff09 apache2 mysql-server w3m php5-g&hellip;Continue reading Linode\u521d\u671f\u8a2d\u5b9a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/doodlenote.net\/?p=1297\" \/>\n<meta property=\"og:site_name\" content=\"Memolog\" \/>\n<meta property=\"article:published_time\" content=\"-0001-11-30T00:00:00+00:00\" \/>\n<meta name=\"author\" content=\"\u4ffa\u69d8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u4ffa\u69d8\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/doodlenote.net\/?p=1297#article\",\"isPartOf\":{\"@id\":\"https:\/\/doodlenote.net\/?p=1297\"},\"author\":{\"name\":\"\u4ffa\u69d8\",\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1\"},\"headline\":\"Linode\u521d\u671f\u8a2d\u5b9a\",\"datePublished\":\"-0001-11-30T00:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/doodlenote.net\/?p=1297\"},\"wordCount\":244,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1\"},\"keywords\":[\"OldBlog\"],\"articleSection\":[\"\u30b5\u30fc\u30d0\u30fc\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/doodlenote.net\/?p=1297\",\"url\":\"https:\/\/doodlenote.net\/?p=1297\",\"name\":\"Linode\u521d\u671f\u8a2d\u5b9a - Memolog\",\"isPartOf\":{\"@id\":\"https:\/\/doodlenote.net\/#website\"},\"datePublished\":\"-0001-11-30T00:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/doodlenote.net\/?p=1297#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/doodlenote.net\/?p=1297\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/doodlenote.net\/?p=1297#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/doodlenote.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linode\u521d\u671f\u8a2d\u5b9a\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/doodlenote.net\/#website\",\"url\":\"https:\/\/doodlenote.net\/\",\"name\":\"Memolog\",\"description\":\"\u6368\u3066\u308b\u306b\u306f\u60dc\u3057\u3044\u7a0b\u5ea6\u306e\u30b4\u30df\uff3e\uff3e\",\"publisher\":{\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/doodlenote.net\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1\",\"name\":\"\u4ffa\u69d8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fcda4a2c8afdf7f8db4d55e3ba71ce95258d02a3522b2c9aae85dfc5b59e56ef?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fcda4a2c8afdf7f8db4d55e3ba71ce95258d02a3522b2c9aae85dfc5b59e56ef?s=96&d=mm&r=g\",\"caption\":\"\u4ffa\u69d8\"},\"logo\":{\"@id\":\"https:\/\/doodlenote.net\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linode\u521d\u671f\u8a2d\u5b9a - Memolog","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:\/\/doodlenote.net\/?p=1297","og_locale":"ja_JP","og_type":"article","og_title":"Linode\u521d\u671f\u8a2d\u5b9a - Memolog","og_description":"\/etc\/ssh\/sshd_config root\u30ed\u30b0\u30a4\u30f3\u7981\u6b62\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u7981\u6b62 putty\u9375\u8a8d\u8a3c\u8a2d\u5b9a \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff08apt-get\uff09 apache2 mysql-server w3m php5-g&hellip;Continue reading Linode\u521d\u671f\u8a2d\u5b9a","og_url":"https:\/\/doodlenote.net\/?p=1297","og_site_name":"Memolog","article_published_time":"-0001-11-30T00:00:00+00:00","author":"\u4ffa\u69d8","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u4ffa\u69d8","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/doodlenote.net\/?p=1297#article","isPartOf":{"@id":"https:\/\/doodlenote.net\/?p=1297"},"author":{"name":"\u4ffa\u69d8","@id":"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1"},"headline":"Linode\u521d\u671f\u8a2d\u5b9a","datePublished":"-0001-11-30T00:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/doodlenote.net\/?p=1297"},"wordCount":244,"commentCount":0,"publisher":{"@id":"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1"},"keywords":["OldBlog"],"articleSection":["\u30b5\u30fc\u30d0\u30fc"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/doodlenote.net\/?p=1297","url":"https:\/\/doodlenote.net\/?p=1297","name":"Linode\u521d\u671f\u8a2d\u5b9a - Memolog","isPartOf":{"@id":"https:\/\/doodlenote.net\/#website"},"datePublished":"-0001-11-30T00:00:00+00:00","breadcrumb":{"@id":"https:\/\/doodlenote.net\/?p=1297#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/doodlenote.net\/?p=1297"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/doodlenote.net\/?p=1297#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/doodlenote.net\/"},{"@type":"ListItem","position":2,"name":"Linode\u521d\u671f\u8a2d\u5b9a"}]},{"@type":"WebSite","@id":"https:\/\/doodlenote.net\/#website","url":"https:\/\/doodlenote.net\/","name":"Memolog","description":"\u6368\u3066\u308b\u306b\u306f\u60dc\u3057\u3044\u7a0b\u5ea6\u306e\u30b4\u30df\uff3e\uff3e","publisher":{"@id":"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/doodlenote.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/doodlenote.net\/#\/schema\/person\/b4d9e28d72f0b174ecabb474276c9cc1","name":"\u4ffa\u69d8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/doodlenote.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fcda4a2c8afdf7f8db4d55e3ba71ce95258d02a3522b2c9aae85dfc5b59e56ef?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fcda4a2c8afdf7f8db4d55e3ba71ce95258d02a3522b2c9aae85dfc5b59e56ef?s=96&d=mm&r=g","caption":"\u4ffa\u69d8"},"logo":{"@id":"https:\/\/doodlenote.net\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/posts\/1297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doodlenote.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1297"}],"version-history":[{"count":0,"href":"https:\/\/doodlenote.net\/index.php?rest_route=\/wp\/v2\/posts\/1297\/revisions"}],"wp:attachment":[{"href":"https:\/\/doodlenote.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doodlenote.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doodlenote.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}