{"id":2484,"date":"2016-02-12T02:35:14","date_gmt":"2016-02-11T17:35:14","guid":{"rendered":"http:\/\/tech.akat.info\/?p=2484"},"modified":"2016-02-12T02:35:14","modified_gmt":"2016-02-11T17:35:14","slug":"kusanagi-for-microsoft-azure-%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e6%8e%a2%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=2484","title":{"rendered":"KUSANAGI for Microsoft Azure \u306e\u8a2d\u5b9a\u3092\u63a2\u3063\u3066\u307f\u305f"},"content":{"rendered":"<p><a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2016\/02\/2016-02-11_233729.png\" rel=\"attachment wp-att-2485\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2016\/02\/2016-02-11_233729.png\" alt=\"2016-02-11_233729\" width=\"848\" height=\"224\" class=\"alignnone size-full wp-image-2485\" \/><\/a><\/p>\n<h1>OS<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;root@kusanagi shimizu]# uname -a\r\nLinux kusanagi 3.10.0-229.20.1.el7.x86_64 #1 SMP Tue Nov 3 19:10:07 UTC 2015 x86_64 x86_64 x86_64 GNU\/Linux\r\n&#x5B;root@kusanagi shimizu]# cat \/etc\/redhat-release\r\nCentOS Linux release 7.1.1503 (Core)\r\n<\/pre>\n<h1>nginx<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;root@kusanagi shimizu]# nginx -v\r\nnginx version: nginx\/1.8.0\r\n&#x5B;root@kusanagi shimizu]# cat \/etc\/nginx\/nginx.conf\r\n## nginx.conf\r\n\r\nuser httpd www;\r\nworker_processes  auto;\r\nworker_rlimit_nofile  20000;\r\n\r\nerror_log \/var\/log\/nginx\/error.log warn;\r\npid       \/var\/run\/nginx.pid;\r\n\r\nevents {\r\n        worker_connections 4096;\r\n        multi_accept on;\r\n        use epoll;\r\n}\r\n\r\nhttp {\r\n        server_tokens off;\r\n        include \/etc\/nginx\/mime.types;\r\n        default_type application\/octet-stream;\r\n        charset UTF-8;\r\n\r\n        log_format main '$request_time $sent_http_x_f_cache $sent_http_x_b_cache '\r\n                        '$remote_addr - $remote_user &#x5B;$time_local] &quot;$request&quot; '\r\n                                    '$status $body_bytes_sent &quot;$http_referer&quot; '\r\n                                        '&quot;$http_user_agent&quot; &quot;$http_x_forwarded_for&quot;';\r\n\r\n        access_log \/var\/log\/nginx\/access.log  main;\r\n        client_max_body_size     20M;\r\n        client_body_buffer_size 768k;\r\n        sendfile    on;\r\n        tcp_nopush  on;\r\n        tcp_nodelay on;\r\n\r\n        keepalive_timeout 5;\r\n        connection_pool_size 1024;\r\n        request_pool_size 8k;\r\n\r\n        gzip on;\r\n        gzip_http_version 1.0;\r\n        gzip_disable &quot;msie6&quot;;\r\n        gzip_proxied any;\r\n        gzip_min_length 1024;\r\n        gzip_comp_level 2;\r\n        gzip_types text\/plain text\/css application\/x-javascript text\/xml application\/xml application\/xml+rss text\/javascript application\/javascript application\/json;\r\n\r\n        open_file_cache max=100000 inactive=20s;\r\n        open_file_cache_valid 30s;\r\n        open_file_cache_min_uses 2;\r\n        open_file_cache_errors on;\r\n\r\n        fastcgi_cache_path \/var\/cache\/nginx\/wordpress levels=1:2 keys_zone=wpcache:30m max_size=512M inactive=600m;\r\n        fastcgi_ignore_headers &quot;Vary&quot;;\r\n\r\n        include \/etc\/nginx\/conf.d\/*.conf;\r\n\r\n}\r\n<\/pre>\n<h1>MariaDB<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;root@kusanagi shimizu]# mysql --version\r\nmysql  Ver 15.1 Distrib 10.0.22-MariaDB, for Linux (x86_64) using readline 5.1\r\n\r\n&#x5B;root@kusanagi shimizu]# cat \/etc\/my.cnf.d\/server.cnf\r\n#\r\n# These groups are read by MariaDB server.\r\n# Use it for options that only the server (but not clients) should see\r\n#\r\n# See the examples of server my.cnf files in \/usr\/share\/mysql\/\r\n#\r\n\r\n# this is read by the standalone daemon and embedded servers\r\n&#x5B;server]\r\n\r\n# this is only for the mysqld standalone daemon\r\n&#x5B;mysqld]\r\ncharacter_set_server = utf8mb4\r\nmax_connections = 900\r\nthread_cache_size = 300\r\ntable_cache = 256\r\nmax_allowed_packet = 16M\r\nquery_cache_size = 192M\r\ntmp_table_size = 32M\r\nmax_heap_table_size = 32M\r\nthread_stack = 512K\r\n\r\nkey_buffer_size = 32M\r\nsort_buffer_size = 2M\r\nread_buffer_size = 2M\r\nread_rnd_buffer_size = 1M\r\njoin_buffer_size = 1M\r\n\r\nmyisam_sort_buffer_size = 1M\r\nbulk_insert_buffer_size = 1M\r\n\r\ninnodb_buffer_pool_size = 768M\r\ninnodb_log_file_size = 32M\r\ninnodb_use_sys_malloc = 1\r\ninnodb_thread_concurrency = 8\r\n\r\nlog-error = \/var\/log\/mysql\/mysqld.log\r\nlog-warnings = 1\r\n\r\nslow_query_log = 1\r\nslow_query_log_file = &quot;\/var\/log\/mysql\/slow.log&quot;\r\nlong_query_time = 1.2\r\n\r\n#\r\n# * Galera-related settings\r\n#\r\n&#x5B;galera]\r\n# Mandatory settings\r\n#wsrep_provider=\r\n#wsrep_cluster_address=\r\n#binlog_format=row\r\n#default_storage_engine=InnoDB\r\n#innodb_autoinc_lock_mode=2\r\n#bind-address=0.0.0.0\r\n#\r\n# Optional setting\r\n#wsrep_slave_threads=1\r\n#innodb_flush_log_at_trx_commit=0\r\n\r\n# this is only for embedded server\r\n&#x5B;embedded]\r\n\r\n# This group is only read by MariaDB servers, not by MySQL.\r\n# If you use the same .cnf file for MySQL and MariaDB,\r\n# you can put MariaDB-only options here\r\n&#x5B;mariadb]\r\n\r\n# This group is only read by MariaDB-10.0 servers.\r\n# If you use the same .cnf file for MariaDB of different versions,\r\n# use this group for options that older servers don't understand\r\n&#x5B;mariadb-10.0]\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>OS &#x5B;root@kusanagi shimizu]# uname -a Linux kusanagi 3.10.0-229.20.1.el7.x86_64 #1 SMP Tue Nov 3 19:10:07  [&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":[24,25,18],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2484"}],"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=2484"}],"version-history":[{"count":1,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2484\/revisions"}],"predecessor-version":[{"id":2486,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2484\/revisions\/2486"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}