makes your sites more secure, more reliable, and more scalable than any other solution.
主ã«ã¢ããªã±ã¼ã·ã§ã³éçºè åãã«ãLinuxãµã¼ãä¸ã®åé¡ã調æ»ããããã«ãã¦ã§ããªãã¬ã¼ã·ã§ã³ã¨ã³ã¸ãã¢ã¨ãã¦æ¥å¸¸çã«ãã£ã¦ãããã¨ãç´¹ä»ãã¾ãã ã¨ãããã調ã¹ããã¨ãç¾ åãã¦ããã®ã§ã¯ãªããæ¬å½ã«èªåãç¾å ´ã§ä½¿ã£ã¦ãããã®ã ãã«æ å ±ãçµã£ã¦ãã¾ãã æ®æ®µä½¿ã£ã¦ããããã©ããã¢ããªã±ã¼ã·ã§ã³éçºè åãã§ã¯ãªããã®ã¯ããã¦çãã¦ãã¾ãã MySQLãNginxãªã©ãåå¥ã®ããã«ã¦ã§ã¢ã«éå®ãããã¦ãã¦ã«ã¤ãã¦ã¯æ¸ãã¦ãã¾ããã ãã°ã¤ã³ãããã¾ã確èªããã㨠ä»ã«ãã°ã¤ã³ãã¦ãã人ãããã確èªï¼wï¼ ãµã¼ãã®ç¨¼åæéã®ç¢ºèª (uptime) ããã»ã¹ããªã¼ãã¿ã (ps) NICãIPã¢ãã¬ã¹ã®ç¢ºèª (ip) ãã¡ã¤ã«ã·ã¹ãã ã®ç¢ºèªï¼dfï¼ è² è·ç¶æ³ç¢ºèª top iostat netstat / ss ãã°èª¿æ» /var/log/messages or /var/log/syslog /
Dockerã§ã³ã³ãããèµ·åããéã«ã次ã®ããã«cpu-sharesã¨memory-limitãæå®ãããã¨ãã§ãã¾ãã # docker run -c 256 -m 512m hogehogeããã¯å é¨çã«ã¯cgroupsã使ã£ã¦ãã¾ãããRHEL7ã®Dockerã§ã¯ãsystemdã¨é£æºãã¦cgroupsã®å¶å¾¡ãè¡ã£ã¦ãã¾ãããã®è¾ºãã®è§£èª¬ã§ããcgroupsãã®ãã®èª¬æã¯ä¸è¨ãåç §ä¸ããã ã»Control Groups (cgroups) ã³ã³ããããçæãããUnit ã¾ãããã¹ãç¨ã«ContOS6ã®ã³ã³ãããèµ·åãã¦ãä¸ã§topã³ãã³ãã§ãå®è¡ãã¦ããã¾ãã # docker run -it -c 256 -m 512m centos /bin/bash bash-4.1# topå¥ã®ç«¯æ«ãããã°ã¤ã³ãã¦ãã³ã³ããIDã確èªãã¾ãã # docker ps CONTAINER
Hardware information Like for every thing, there are plenty of commands to check information about the hardware of your linux system. Some commands report only specific hardware components like cpu or memory while the rest cover multiple hardware units. This post takes a quick look at some of the most commonly used commands to check information and configuration details about various hardware peri
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Docker ã¯ãã LXC ãåçºæãã¦ããããã§ã¯ãªãã¨ããã話ãDotCloud ã®ãã¡ã¦ã³ãã¼ã«ãã stackoverflow ã®è³ªåã¸ã®åçã LXC ã¯ãã¼ã ã¹ãã¼ã¹ãã³ã³ããã¼ã«ã°ã«ã¼ãçã® Linux ã«ã¼ãã«ã±ã¼ãããªãã£æ©è½ãå©ç¨ããããã»ã¹ãä»ã®ããã»ã¹ãããµã³ãããã¯ã¹åãããããããã»ã¹ã¸ã®ãªã½ã¼ã¹ã®å²å½ã¦ãã³ã³ããã¼ã«ãã¦ãããDocker ã¯ãã®ãã¼ã¬ãã«ã®ã«ã¼ãã«æ©è½ã軸ã«ã以ä¸ã®ãããªæ©è½ãæä¾ãã¦ããã LXC ã«å¯¾ã Docker ãæä¾ãã¦ããæ©è½ ã©ããªãã·ã³ã¸ããã¼ã¿ãã«ãããã¤å¯è½ Doc
Features Why choose Mackerel? Mackerel is a server monitoring service provided by Hatena Co., Ltd.that offers all the functions necessary for cloud monitoring and service operation. Overwhelmingly Simple Installation Simply install the monitoring agent on your server and you're ready to start monitoring. See details Full-fledged Monitoring The ability to integrate various communication tools promo
Immutable Infrastructure Conference #1 : ATND ã§LTãã¦ããã å 容ã¯ãããã«ã´ããæ¨ã¦ã¾ãããã¨ãã話以ä¸ã®ãã®ã¯ç¹ã«ãªãã èæ¯ã®èª¬æãå°ãéã ã£ãã®ã§è£è¶³ããã¨ãJenkins ã®ã¸ã§ãã¹ã¯ãªããã§ãgit push ãã度㫠docker run ãã¦ããã ã´ããã©ãã©ããã¾ã£ã¦ãã£ãã¨ããæãã 1 push ããããã¢ããªã³ã³ãããDBã³ã³ããã¨ãåããã¦3ã³ã³ãããããèµ·åãã¦ãããéçºãæ´»çºã ã¨ãã©ãã©ãã´ãããã¾ãã ããã«è£è¶³ããã¨ãDevice mapper ããã¿ã®ã´ãã¯ãaufs 使ãã¨ããªã解決ã§ããããªæãã¯ãã¦ãã (Device mapper ã ã¨ãããã¯ããã¤ã¹ã¬ãã«ã§ã¤ã¡ã¼ã¸å·®åã表ç¾ããã®ã§ãããã¤ã¹æ¯(å·®å)æ¯ã« mount ãèµ°ãã¿ãããªå®è£ ã«ãªã£ã¦ããã©ãaufs ã ã¨ãã¡ã¤ã«ã·ã¹ãã åä½ã§è¤æ°ã®
æ¬ããã°ã§ã·ãªã¼ãºåãããè¨äºã¾ã¨ããåè¨äºã®è¦ç´ã³ã¡ã³ãã¤ããæ°ãããã®é ã«ä¸¦ã¹ã¦ããã Electron ã試ã NW.js ã¨åã Chromium + Node ç³»ã®ãã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦æè¿ã¯ Electron ã®ã»ããå¢ããããããªã®ã§è©¦ããããªã£ãã·ãªã¼ãºã Electron ã試ã - éçºç°å¢ã®æ§ç¯ Electron ã試ã 2 - ããã±ã¼ã¸åã«ããããã©ãããã©ã¼ã åºæå¦çã¨ã³ã³ãã¤ã«åå² Electron ã試ã 3 - ç°¡æé³æ¥½ãã¬ã¼ã¤ã¼ Electron ã試ã 4 - ç°¡æé³æ¥½ãã¬ã¼ã¤ã¼ 2 Electron ã試ã 5 - Electron v0.35.0 å¯¾å¿ Electron ã試ã 6 - è¤æ°ã¦ã£ã³ãã¦ã®ç®¡ç Electron ã試ã 7 - Electron v1.0 å¯¾å¿ Electron ã試ã 9 - electron-prebuilt ã®ãã
ã¡ãã£ã¨ã³ã¬ã¯æåçãã£ãã®ã§ï¼ ãåç¥ã®æ¹ã¯ãåç¥ãªã®ã§ããããããã®ã¢ã¸ã¥ã¼ã«ã åèï¼Connect - High quality middleware for node.js ã¤ã³ã¹ãã¼ã« Node.jsã¨npmã¯ä½¿ããæ³å®ã§ã è¨ãããããªnpmã§ã¤ã³ã¹ãã¼ã«ã cd /path/to/my/project mkdir sample && cd sample npm install connectãããã°ã以ä¸ã®ãã¡ã¤ã«ãç¨æãã¾ãã var cnct = require('connect'); cnct().use(cnct.static('/path/to/my/project/sample')).listen(3000); Connectãrequire ã©ããããã¥ã¡ã³ãã«ã¼ãã«ããã ä½çªãã¼ãã ãã£ãããã ãã ãã¡ã¤ã«å㯠server.js ã¨ã§ããã¦ããã¨ãã¦
Chef使ããã¨ãã¦ããã©Chefããããã¤ããï¼ å ·ä½çã«ã¯ä»¥ä¸ãã¤ããï¼ ç¬èªæ¦å¿µå¤ã chefã®ã¯ã©ã¤ã¢ã³ãã対象ãã¹ãã«å ¥ããªããã°ãªããªã knifeã¨ãè¦ããªãã¨ãããªãå¤é¨ãã¼ã«ããã æåãããã£ã¬ã¯ããªæ§æããããã (rails newããã¨ãã®ãã®ããã¡ï¼ å ¬å¼ããã¥ã¡ã³ãã®éãå¤ããã¤ãããã«ãã 以åã«miyagawaããã®podcast ãèãã¦ããnaoyaãããAnsibleã£ã¦ããã·ã³ãã«ãªããã´ã£ã·ã§ãã³ã°ãã¼ã«ãããã£ã¦ãã話ãããã¦ããã®ã§ï¼ä½¿ã£ã¦ã¿ãï¼ AnsibleWorks | Radically simple IT orchestration Ansible 触ã£ã¦ã¦æããã¤ã¡ã¼ã¸ã¯ï¼ChefãRailsã§AnsibleãSinatraãªæãï¼ ãã£ã¬ã¯ããªæ§æããªã (ä¸å¿å¤§è¦æ¨¡éç¨ãèãããã£ã¬ã¯ããªæ§æã®ãã¹ããã©ã¯ãã£ã¹ Best P
Nginxã¨Apacheãå ±åãããå ´åãNginxããªã¼ãã¹ãããã·ã«ãã¦ãApacheãããã¯ã¨ã³ãã«ããæ§æãé常ã åç´ã«ãªãã¼ã¹ãããã·ãåããã¨ãApacheå´ã«ä¼ããã¯ã©ã¤ã¢ã³ãã®IPã¢ãã¬ã¹ãå ¨ã¦Nginxã®ã¢ãã¬ã¹ã«ãªã£ã¦ãã¾ãããããã®å¯¾å¿ãå ¥ãã¤ã¤è¨å®ãè¡ãã 1. Nginxã®ãããã·è¨å® /usr/local/nginx/conf/nginx.confã«ã以ä¸ã®éã追å ã server { listen xxx.xxx.xxx.xxx; server_name hoge.com; # ãã®ãµã¼ãã¸ã®å ¨ã¦ã®ã¢ã¯ã»ã¹ã転é location / { proxy_pass http://127.0.0.1:8080; #proxy_redirect off; # ãã®è¨å®ããªãã¦ã.htaccessã§ã®å¶éã¯å¯è½ã # ãã ããcgiçããåç §ããéã«Nginxã®IPã¢
ã¡ã¢ãnginxã®ãªãã¼ã¹ãããã·ã§ãã¡ã¤ã«ããã£ãã·ã¥ããæ¹æ³ã è¨å®ãããã¼ã¸ã¯ãããããã¯ã¨ã³ãã¯GoogleAppEngineã http://www.nullpobug.com/ 試ããnginxã®ãã¼ã¸ã§ã³ã¯0.7ãUbuntu10.04ã®ãªã®ã§å¤ãã nginxã®è¨å® nginx.confã®ä¸ã§conf.dãsites-enabledãincludeãããããã«ãªã£ã¦ããã¨ãåæã /etc/nginx/conf.d/proxy_cache.conf proxy_cache_path /var/cache/nginx/cache levels=1:2 keys_zone=my-key:16m max_size=100m inactive=120m; proxy_temp_path /var/cache/nginx/tmp;httpãã£ã¬ã¯ãã£ãã«proxy_cache_pat
ã¢ããã³ã¦ã§ãã§ã¯ãããã Web ãµã¤ããããã°ãæ§ç¯ããããããã°ã©ãã³ã°ã«é¢ããåå¼·ãå§ãããã¨ããæ¹ã対象ã¨ãã¦ãç¥ã£ã¦ããã¨ä¾¿å©ãªæ å ±ã«ã¤ãã¦çºä¿¡ãã¦ããã¾ãã Google Authenticatorã®ã¨ã¯ã¹ãã¼ãã¨å¾©å 2022 å¹´ 10 æ 02 æ¥å ¬é / 2022 å¹´ 10 æ 02 æ¥æ´æ° AdSenseã¨ã¯ï¼AdSenseã使ã£ãåºåã®ä½æãåçã®ç¢ºèªãªã©ã®åºæ¬æä½ãå¾¹åºè§£èª¬ 2021 å¹´ 05 æ 24 æ¥å ¬é / 2021 å¹´ 05 æ 24 æ¥æ´æ° ã¨ãã¯ã¹ãµã¼ãã¼ã使ã£ãWordPressã®å§ãæ¹ãåå¿è ã®æ¹åãã«å¾¹åºè§£èª¬ 2021 å¹´ 04 æ 29 æ¥å ¬é / 2021 å¹´ 04 æ 29 æ¥æ´æ° Twitterã®å§ãæ¹ãåå¿è ã®æ¹åãã«å¾¹åºè§£èª¬ 2021 å¹´ 04 æ 13 æ¥å ¬é / 2021 å¹´ 04 æ 13 æ¥æ´æ° Gmailã®å§ãæ¹ãåå¿è ã®
Perlã®ã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ãããï¼ ãµã¼ãã¼ã«Perlã®å種ã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ããã«ã¯ãCPAN ã使ãã¨è¶ ã©ã¯ãã³ã§ãã ããã§ã¯ããµã¼ãã¼ã«ã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ããããã®ãã¼ã«ãCPANã®è¨å®æ¹æ³ã¨ããã®ä½¿ãæ¹ã解説ãã¾ãã ãã®ã»ã¯ã·ã§ã³ã¯ãLinuxãµã¼ãã¼åãã«æ¸ããã¦ããã¾ãã CPANã¨ã¯ ãã¢ã¸ã¥ã¼ã«ï¼æ©è½ã®ããã¾ãï¼ããç°¡åã«ã¤ã³ã¹ãã¼ã«ãã¦ãããã·ã¹ãã ã§ãã* èªåçã«ãã¢ã¸ã¥ã¼ã«ã®ææ°ã½ã¼ã¹ãã¡ã¤ã«ãåã£ã¦æ¥ã¦ãã³ã³ãã¤ã«ããã¤ã³ã¹ãã¼ã«ããä¾åé¢ä¿ã解決ãã¦ãããåªããã®ã§ãã CPANã®ç°å¢ãè¨å®ãã CPANã®ã¹ã¯ãªããã¯ããã¦ãã®Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã«æ¨æºã§å ¥ã£ã¦ãã¾ãã ãã ããã¾ãã¯è¨å®ãå¿ è¦ã§ãã楽ãããããã«ã¯ããããªãã®åªåãããããã§ãâ¦ã shellï¼ã³ãã³ãã©ã¤ã³ï¼ã§ã以ä¸ã®éãæã¡ã¾
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}