linuxãµã¼ãã®OSå ¨ä½ã«å¹ãã«ã¼ãã«ãã©ã¡ã¼ã¿ã®ãã¥ã¼ãã³ã°ç®æ㨠ãã®è¨å®å¤ãã¾ããã®çç±ãã¾ã¨ãã¦ããã ããã¾ã§èªåã®ç°å¢ã§ã¯ãããããã¨ããã ãã§ããã æä¾ãããµã¼ãã¹ãã¨ã«æ¤è¨ãå¿ è¦ã§ããã ã©ããã©ãå¤æ´ããã®ããã¾ãã¯å¤ããªãã®ãããã®å¤æææã«ã¯ãªãã ããã â»ã¦ã¼ã¶åä½ã§ã·ã¹ãã ãªã½ã¼ã¹ã«å¶éããããå ´åããã¡ããåç §ãã¦ã»ããã 以ä¸ã¯/etc/sysctl.conf ã§è¨å®ãããã®ã¨ããã â 大è¦æ¨¡ãµã¤ãç¨ãã¥ã¼ãã³ã° kernel.pid_max åä½ï¼pidã®æå¤§æ° è¨å®å¤ï¼131072 çç±ï¼pidãæ¯æ¸ãããªã vm.max_map_count åä½ï¼mmapãmallocæã«ã¡ã¢ãªãä»®æ³ç©ºéã«ãããã³ã°ã§ããæ大ãã¼ã¸æ° è¨å®å¤ï¼300000 çç±ï¼ãããã³ã°ã§ããªããªãäºæ ãé²ã net.core.somaxconn åä½ï¼æ¥ç¶(ã½ã±ãã)ãã¥ã¼ã®
å æ¥ããµã¼ãã¼ã®ã»ãã¥ãªãã£è¨å®ããªã«ããã°ãããããããªããã¨ç¸è«ãããã¾ãã¦ã èªåãåå¿è ã®æã©ãã¾ã§ããã°ãããããããæå½ãããã ãã«ãã£ã¦æ²¼ã«å ¥ã£ã¦ããã®ãæãåºããªããèªé¯æ§ç¯ããã¨ãã®ã¡ã¢ãå ã«ã¾ã¨ãã¦ã¿ã¾ããã 注æ ã»ãã¥ãªãã£å¯¾çã¯ç¨éãå ´åãªã©ã«ãã£ã¦éãã¾ãã èªåã§ç解ããããã§èªå·±è²¬ä»»ã§ãããããã¾ãã 対象èªè Linuxã®ãµã¼ãã¼ã建ã¦æ £ãã¦ããªã人 Linuxã¯ããç¨åº¦ãããã人(èªåã§ããã±ã¼ã¸ãå ¥ãããããµã¼ãã¹ãæ¢ãããã§ãã) ã©ã¤ã³ããã âã¯å°å ¥ã®éè¦åº¦ã¨å°å ¥ã®å®¹æãããå人çåè¦ããã¤ããå¤ã§ãã 4ã¤ä»¥ä¸ã"æä½éãããã¨"ã ã¨æã£ã¦ãã ããã sshd
ããã¤ãã¯ãã ãæ±ã»é¤æ²¹ã»ã¿ããã»ç ç³ãæ··ãã¦ç ®ç«ã¦ãæ軽ã«ä½ããã¨ãã§ãã¾ãã ã ãæ±150mlã«ããããã大ããï¼ã»ã¿ãã大ãã1/2ã»ç ç³å°ãã1/2ãåããããã®ãç ®ç«ã¦ã¦ã¢ã«ã³ã¼ã«ãé£ã°ããããç±ãã¨ã£ã¦ãªãã¾ãã¾ãã ã¬ã·ãã«ããããã¤ããæ¿ç¸®ã¿ã¤ãã ã£ãå ´åã«ã¯é©å®ç ®è©°ãã¦ä½¿ãã¾ãï¼3åæ¿ç¸®ã§ããã°1/3ç¨åº¦ã«ã¾ã§ç ®è©°ããï¼ã ç£ä¿®ï¼é¢å²¡å¼ç¾ï¼æçç 究家ï¼
æ¦è¦ 1. ã«ã¼ãã«ãã©ã¡ã¼ã¿ã®è¨å® 2. 主ãªãã¥ã¼ãã³ã°ãã©ã¡ã¼ã¿ 3. ãã©ã¡ã¼ã¿ã®ããã©ã«ãå¤ã®èª¿ã¹æ¹ 1. ã«ã¼ãã«ãã©ã¡ã¼ã¿ã®è¨å® ã«ã¼ãã«ãã©ã¡ã¼ã¿ã¯ã次ã®2ç®æã§è¨å®ã§ãã¾ãã â /etc/sysctl.conf è¨å®ãã¡ã¤ã«ã«è¨è¿°ãã¾ãã ã·ã¹ãã èµ·åæã«åæ ããããããæä¹ çã«é©ç¨ãããå ´åã«ã¯sysctl.conf ã«è¨è¿°ãã¾ãã â¡/proc ä»¥ä¸ /proc 以ä¸ã®åãã£ã¬ã¯ããªããªã¼ã®ãã¡ã¤ã«å ã«å¿ è¦ãªå¤ãè¨è¿°ããå³æåæ ãããããåèµ·åããã¨è¨å®ãå ã«æ»ãã¾ãã ä¸æçã«åæ ãããå ´åã«è¨è¿°ãã¾ãã ⢠/procãã¡ã¤ã«ã·ã¹ãã Linuxã®æãç¹å¾´çãªç¹ã¨ãã¦ã ãã·ã¹ãã ã®ç¶æ ãâãã¡ã¤ã«âã¨ããåä½ã§æ±ãäºãã§ããããã¨ã§ãã /proc 以ä¸ã«ã·ã¹ãã ã®ç¾å¨ã®ç¶æ ãè¨è¿°ããã¦ãããã¡ã¤ã«ãåå¨ãã¾ãã [/proc/net] $ cd /proc/n
ãªããDMMããweb3ã«åå ¥ããã®ããSeamoon Protocolããç®æãæ°ããªã¨ã³ã¿ã¡ä½é¨ã®æªæ¥ã¨ã¯
Tuned ã¯ã·ã¹ãã ã³ã³ãã¼ãã³ãã®ä½¿ç¨ãç£è¦ãã¦ããã®ç£è¦æ å ±ãåºã«ãã¦åçã«ã·ã¹ãã è¨å®ããã¥ã¼ãã³ã°ãããã¼ã¢ã³ã§ããåçãªãã¥ã¼ãã³ã°ã§ã¯ãæå®ã®ã·ã¹ãã ã®ç¨¼åæéä¸ã«å種ã·ã¹ãã ã³ã³ãã¼ãã³ããç°ãªãæ¹æ³ã§ä½¿ç¨ããæ¹æ³ãèæ ®ãã¾ããä¾ãã°ããã¼ããã©ã¤ãã¯èµ·åæã¨ãã°ã¤ã³æã«å¤§ãã«ä½¿ç¨ããã¾ããã主㫠OpenOffice ã é»åã¡ã¼ã«ã¯ã©ã¤ã¢ã³ãã®ãããªã¢ããªã±ã¼ã·ã§ã³ã使ãæã«ã¯ã»ã¨ãã©ä½¿ç¨ããã¾ãããåæ§ã« CPU ã¨ãããã¯ã¼ã¯ããã¤ã¹ã¯ãç°ãªãææã«ç°ãªãæ¹æ³ã§ä½¿ç¨ããã¾ããTuned ã¯ããããã³ã³ãã¼ãã³ãã®åä½ãç£è¦ãã¦ããããã®ä½¿ç¨ã®å¤åã«å¯¾å¿ãã¾ãã å®éã®ä¾ã¨ãã¦ãæ¨æºçãªãªãã£ã¹ã«ããã¯ã¼ã¯ã¹ãã¼ã·ã§ã³ãèæ ®ãã¦ã¿ã¾ããããã»ã¨ãã©ã®æé帯ã§ã¤ã¼ãµãããã®ãããã¯ã¼ã¯ã¤ã³ã¿ã¼ãã§ã¼ã¹ãã»ã¼ä½¿ç¨ããã¦ããªãç¶æ ã¨ãã¾ããã»ãã®æ°ä»¶ã®é»åã¡ã¼ã«ã®çä¿¡ãçºä¿¡
I'm using Ansible for some simple user management tasks with a small group of computers. Currently, I have my playbooks set to hosts: all and my hosts file is just a single group with all machines listed: # file: hosts [office] imac-1.local imac-2.local imac-3.local I've found myself frequently having to target a single machine. The ansible-playbook command can limit plays like this: ansible-playb
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}