{"id":513,"date":"2014-04-28T23:48:28","date_gmt":"2014-04-28T14:48:28","guid":{"rendered":"http:\/\/tech.akat.info\/?p=513"},"modified":"2014-09-16T01:13:27","modified_gmt":"2014-09-15T16:13:27","slug":"tuning-maniax-2nd-stage","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=513","title":{"rendered":"tuning maniax -2nd Stage-linux"},"content":{"rendered":"<h2>Debian jessie\u3092\u5229\u7528\u3059\u308b<\/h2>\n<p>Windows Azure xplat CLI Tools\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\nhttp:\/\/go.microsoft.com\/fwlink\/?linkid=275464&#038;clcid=0\u00d7409<br \/>\n\u3088\u308a<br \/>\nhttp:\/\/vmdepot.msopentech.com\/List\/Index?sort=Featured&#038;search=jessie<br \/>\n\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/p>\n<p><a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/04\/2014-05-02_012716.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/04\/2014-05-02_012716-300x198.png\" alt=\"2014-05-02_012716\" width=\"300\" height=\"198\" class=\"alignnone size-medium wp-image-525\" srcset=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2014\/04\/2014-05-02_012716-300x198.png 300w, https:\/\/tech.akat.info\/wp-content\/uploads\/2014\/04\/2014-05-02_012716-624x412.png 624w, https:\/\/tech.akat.info\/wp-content\/uploads\/2014\/04\/2014-05-02_012716.png 696w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nazure account download\r\nazure account import &lt;file_name&gt;.publishsettings\r\nazure site list\r\n<\/pre>\n<p><a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/04\/2014-05-02_021308.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/04\/2014-05-02_021308-300x227.png\" alt=\"2014-05-02_021308\" width=\"300\" height=\"227\" class=\"alignnone size-medium wp-image-527\" srcset=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2014\/04\/2014-05-02_021308-300x227.png 300w, https:\/\/tech.akat.info\/wp-content\/uploads\/2014\/04\/2014-05-02_021308-624x472.png 624w, https:\/\/tech.akat.info\/wp-content\/uploads\/2014\/04\/2014-05-02_021308.png 675w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>WALinuxAgent\u3068\u3044\u3046Daemon\u304c\u5fc5\u8981<\/p>\n<p>apt-get install waagent<br \/>\nwaagent -deprovision<\/p>\n<p>http:\/\/vmdepot.msopentech.com\/Vhd\/Show?vhdId=2427&#038;version=2457<br \/>\n\u5b9f\u884c\u3002<br \/>\nazure vm create DNS_PREFIX -o vmdepot-2427-1-4 -l &#8220;East Asia&#8221; USER_NAME [PASSWORD] [&#8211;ssh] [other_options]<br \/>\nazure vm endpoint create-multiple DNS_PREFIX 22:22<\/p>\n<h2>OS\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@debian:\/etc\/cron.daily# vi \/etc\/sysctl.conf\r\n===\r\n# \u9001\u4fe1\u3057\u305f\u63a5\u7d9a\u8981\u6c42\u306e\u3046\u3061\u3001 \u307e\u3060\u63a5\u7d9a\u5148\u304b\u3089 ACK \u3092\u53d7\u3051\u53d6\u3063\u3066\u3044\u306a\u3044\u3082\u306e\u3092\u8a18\u61b6\u3057\u3066\u304a\u304f\u6700\u5927\u6570\r\nnet.ipv4.tcp_max_syn_backlog = 1024\r\n===\r\nroot@debian:\/etc\/cron.daily# sysctl -p\r\nnet.ipv4.tcp_max_syn_backlog = 1024\r\n<\/pre>\n<p>\u6a19\u6e96\u8a2d\u5b9a\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u6642\u306b\u30a2\u30af\u30bb\u30b9\u30bf\u30a4\u30e0(\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u3093\u3060\u6642\u523b\u304c\u300catime\u300d\u3068\u3044\u3046\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3068\u3057\u3066\u4fdd\u5b58)\u3082\u540c\u6642\u8a18\u9332\u3055\u308c\u308b<br \/>\nnoatime\u306b\u3088\u3063\u3066i\u30ce\u30fc\u30c9\u306e\u30a2\u30af\u30bb\u30b9\u6642\u9593\u304c\u66f4\u65b0\u3055\u308c\u306a\u304f\u306a\u308b<\/p>\n<p>\u30c7\u30fc\u30bf\u306e\u9806\u756a\u306f\u4fdd\u5b58\u3055\u308c\u306a\u3044\u3002\u30e1\u30bf\u30c7\u30fc\u30bf\u304c\u30b8\u30e3\u30fc\u30ca\u30eb\u306b\u8a18\u9332\u3055\u308c\u305f\u3042\u3068\u3067\u30c7\u30fc\u30bf\u304c\u30e1\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306b\u66f8\u304d\u8fbc\u307e\u308c\u308b\u3002<br \/>\n\u3053\u308c\u306f\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u3092\u9ad8\u304f\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3089\u3057\u3044\u3002\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u5185\u90e8\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u5b8c\u5168\u6027\u3092\u4fdd\u8a3c\u3059\u308b\u3002<br \/>\n\u3057\u304b\u3057\u3001\u30af\u30e9\u30c3\u30b7\u30e5\u3057\u305f\u3042\u3068\u306e\u30b8\u30e3\u30fc\u30ca\u30eb\u306b\u3088\u308b\u56de\u5fa9\u3067\u6614\u306e\u30c7\u30fc\u30bf\u306b\u623b\u308b\u3053\u3068\u3082\u8a31\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@debian:\/home# vi \/etc\/fstab\r\n===\r\nUUID=6faa66fe-0f41-4a93-82f4-92c4e2f5794c \/ ext4 noatime,data=writeback,errors=remount-ro 0 1\r\n===\r\nroot@debian:\/home# tune2fs -o journal_data_writeback \/dev\/sda1\r\ntune2fs 1.42.9 (4-Feb-2014)\r\nroot@debian:\/home# tune2fs -l \/dev\/sda1 | grep &quot;Default mount options&quot;\r\nDefault mount options:    journal_data_writeback user_xattr acl\r\n<\/pre>\n<p>\u304a\u307e\u3051<br \/>\nfstab\u306b\u9593\u9055\u3063\u305f\u8a18\u8ff0\u3092\u3057\u305f\u3068\u304d\u306e\u5bfe\u5fdc\u65b9\u6cd5(\u4eca\u56de\u306fRead Only\u3068\u306a\u3063\u3066\u3057\u307e\u3063\u305f)<br \/>\nmount -t ext4 -o rw,remount \/dev\/sda1 \/<\/p>\n<h2>nginx<\/h2>\n<h2>mariadb<\/h2>\n<h2>Memcached Object Cache<\/h2>\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u30e1\u30e2\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u5229\u7528\u3059\u308b<\/p>\n<h2>\u53c2\u8003<\/h2>\n<p>http:\/\/sqlazure.jp\/b\/sqlazure\/1680\/<\/p>\n<p>ClearDB<br \/>\nhttp:\/\/daihukucho.livedoor.biz\/archives\/7589676.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debian jessie\u3092\u5229\u7528\u3059\u308b Windows Azure xplat CLI Tools\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb http:\/\/go.microsoft.com\/fwlink\/?linkid=275464&#038;clc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/513"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=513"}],"version-history":[{"count":12,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/513\/revisions"}],"predecessor-version":[{"id":537,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/513\/revisions\/537"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}