ãããã¤ã³ã¹ãã¼ã«ä»£è¡¨ã®ã©ã¤ãããã¯ããã°
äºæç ãæãåããªãITç³»æ°å ¥ç¤¾å¡ã«è´ãã·ãªã¼ãºç¬¬1段ã ~/.ssh/configã«ã¯ãããããªè¨å®ãæ¸ããããå¨å²ãè¦æ¸¡ããéãããã¾ãæ´»ç¨ããã¦ããããã«ã¯è¦åããããªããããã§ãä»åã¯ä¾¿å©ãªè¨å®ãããã¤ãéãã¦ã¿ãã é·ããã¹ãåã«çãååãã¤ãã Host exp1 HostName verrrryyy.looooong.hostname.example.jpãssh verrrryyy.looooong.hostname.example.jpã®ä»£ããã«ssh exp1ã§ãã°ã¤ã³ã§ããããã«ãªãã ã¡ãªã¿ã«ãzshã®å ´åãconfigãã¡ã¤ã«ã«ç»é²ããããã¹ãåã¯sshã³ãã³ããæã¤ã¨ãã«è£å®ãããã®ã§æ´ã«ä¾¿å©ã ç¹å®ã®ãã¹ãã¸ãã°ã¤ã³ããã¨ãã®ã¦ã¼ã¶åãéµãã«ã¹ã¿ãã¤ãºãã Host github.com User tkng IdentityFile ~/.ssh/id_rsa
nginxãvarnishãªã©ãã¢ããã§ãããApacheãã¾ã ã¾ã å®ç¸¾ãå®å®æ§ããæ¡ç¨ããã¦ããã¨æãã¾ããããã§ã¯ããã©ã«ãã¨ã¯ç°ãªãå¤ã«å¤æ´ãããµã¼ãè¨å®ãä¸å¿ã«ãããã©ã¼ãã³ã¹æ¹åãå®å ¨æ§åä¸ã®ããã®Apacheã®è¨å®ãç´¹ä»ãã¾ãã mpmã®ç¢ºèª > /path/to/bin/httpd -V Server version: Apache/2.2.19 (Unix) Server built: Jun 23 2011 17:13:13 Server's Module Magic Number: 20051115:28 Server loaded: APR 1.4.5, APR-Util 1.3.12 Compiled using: APR 1.4.5, APR-Util 1.3.12 Architecture: 64-bit Server MPM: Worker PreforkãW
æè¿ããããã®VPSã[ABLENET]ãªã©ã®ä½ä¾¡æ ¼ã«ãé¢ãããé«å質ãªVPSãµã¼ãã¹ããserversmanãªã©ã®ä½ä¾¡æ ¼ãªVPSãµã¼ãã¹ãå¢ãã¦ãå人ã§ãæ°è»½ã«åããäºãåºæ¥ãããã«ãªã£ãã ã¨ããããã§ãVPSï¼ããã¦âVPSâã§ããå¿ è¦ã¯ãªãããã©å®ãã®ã§ï¼ã®è²ã ãªä½¿ãéã VPSãåããç®çã¨ãã¦å®çªã£ã½ãã®ããã¦ã§ããµã¼ããã¡ã¼ã«ãµã¼ãã¨ãã¦ã®å©ç¨ã ã¨æãã ã¦ã§ããµã¼ããã¡ã¼ã«ãµã¼ããªããå ±ç¨ã¬ã³ã¿ã«ãµã¼ããåããã°äºè¶³ããå ´åãå¤ãã¨ã¯æãããã©ãå ±ç¨ã¬ã³ã¿ã«ãµã¼ãã®ããã«åã«ããã£ãç°å¢ã§ã¯ç¡ããèªå好ã¿ã®ç°å¢ãæ§ç¯ã§ããï¼ã¨ããã®ããVPSã§ã¦ã§ããµã¼ãçãåä½ãããé åãããããªãã åèãµã¤ãï¼ ã¦ã§ãéçºè ã®ããã®ã1æéã§ã§ããLAMPç°å¢æ§ç¯è¡ï¼CentOSç·¨ï¼ â ãããã¤ã³ã¿ã¼ãããåµæ¥æ¥è¨ ãããã®VPS ã®ãµã¼ãã¹æä¾å ã§ããããããã¤ã³ã¿ã¼ãããã®ç°ä¸
ã¯ããã¦ã®ããã VPS + CentOS ã®åæè¨å®ãããã¥ã¼ãã³ã°ãªã©ã®ä½æ¥ã¾ã¨ãã§ä¸è¬çãªãµã¼ãã¼ã®è¨å®æ¹æ³ãç´¹ä»ãã¾ãããããããã®VPS ã®è¨å®ã®ä¸ã§ APC ã®å ¥ãæ¹ã nginx ã®å ¥ãæ¹ãªã©ã¯è©¦ããªãã£ãã®ã§è¿½è¨ã¨ãã¦ã¡ã¢ãã¦ããã¾ãã ä»åã以ä¸ã®è¨äºãåèã«ããã¦é ãã¾ãããããã«å ¨ã¦ãããã®ã§ç§ã®è¨äºã§ã¯ä½æ¥ãã·ã³ãã«ã«ç´¹ä»ãã¦ããã¾ããããã«æ¸ãã¦ãªãç©ã«ã¤ãã¦ã¯ãã®è¨äºã§æ¸ãã¦ã¿ã¾ãã ã¦ã§ãéçºè ã®ããã®ã1æéã§ã§ããLAMPç°å¢æ§ç¯è¡ï¼CentOSç·¨ï¼ â ãããã¤ã³ã¿ã¼ãããåµæ¥æ¥è¨ CentOS 5.6 ã¸ã¢ããã°ã¬ã¼ããã ããã VPS ã¯ãã®ããã°ãæ¸ãã¦ããç¾æç¹ã§å¥ç´ããç¶æ ã 㨠CentOS 5.5 ãã¤ã³ã¹ãã¼ã«ããã¦ãã¾ãããã®ãã CentOS ã 5,6 ã«ã¢ãããã¼ããã¾ãã ã¾ãèªåã®ç°å¢ã CentOS 5.5 ãªã®ãã調ã¹ã¾ã
ä»ã¾ã§å ±ç¨ãµã¼ãã¼ãã使ã£ããã¨ãããã¾ããã§ãããå¤ãã®ãµã¼ãã¹ãä½ãä¸ã§å°æãµã¼ãã¼ã使ã£ãããããã®VPS ã使ã£ããã§ããããã«ãªãã°è¡ããªãã¨æã£ãã®ã§ã丸1æ¥ããã¦åå¼·ãã¾ãããCUI ã§ã®ãµã¼ãã¼ç®¡çã¯åãã¦ãªã®ã§ãééã£ã¦ããã¨ããããã£ããæãã¦ãã ããã
ãµã¼ãä¸ã§åãã¦ãã©ã®phpãéããï¼ã調ã¹ããããPhpTopãã ããµã¼ãç£è¦ã«è¶ 使ãããtopã³ãã³ãã®ã¾ã¨ããã¨ããã¨ã³ããªã§æ§ã ãªtopã³ãã³ããç´¹ä»ããã®ã§ãããphptopãªããã®ãæ°ãã«çºè¦ããã®ã§ãç´¹ä»ã å ·ä½çã«åºæ¥ããã¨ã¯ãä»ãµã¼ãã§åãã¦ãããã®ãæå®ããæéã§ããã£ã¨ãã¢ã¯ã»ã¹ãå¤ãphpãCPUãå¤ãæ¶è²»ãã¦ããphpãã¡ã¢ãªãå¤ã使ã£ã¦ããphpã¨ãã£ããã®ãéé ã«ã½ã¼ãã§ããã¨ãããã®ã§ãã ãµã¼ãä¸ã§å¤ãã®phpãåãã¦ãããã©ããè² è·ãé«ããã©ã©ããéãã®ãããããããªãã¨ããå ´åã«ä½¿ãã¾ãã top ã³ãã³ãã§ã¯ httpd ãåãã¦ããããããåãããªãã®ã§ phper ãªæ¹ã§è² è·ã«ãæ©ã¿ã®æ¹ã¯ä½¿ã£ã¦ã¿ãã®ãããããã ãã¨ãã°ã $ phptop -t 15 -s mem ã®ããã«å®è¡ããã¨ã15å以å ã§ãã¡ã¢ãªãå¤ã使ã£ã¦ããé ã«ã½ã¼ããå¯è½ã
èªå® ãµã¼ãã®ã¤ã³ãã©è¨è¨æ¸ãå ¬éãã¾ãã Design paper of the home serverï¼æç²ï¼ æ¨å¤ã«Twitterã§å ¬éãããäºæ³å¤ã«åé¿ããã£ãã®ã§ãã¡ããã¨ã¨ã³ããªã«æ®ããã¨ã«ãã¾ãããã¯ã©ãã¯ãããããããããã®ã§ãç´°ããé¨åã¯å ¬éã§ããªããã¨ããäºæ¿ãã ããã å 容ã¯ãããªæãã è¦ä»¶æ¦è¦ æ©å¨ä»æ§ ãããã¯ã¼ã¯è¨è¨ ã½ããã¦ã§ã¢ã¹ã¿ãã¯è¨è¨ å ±éåºç¤è¨è¨ ãµã¼ã詳細è¨è¨ ä¸è¨ã«ããã¯ã¢ããè¨è¨ãéç¨ç®¡çã¾ãã*1ãå ããã°ãã¤ã³ãã©ã®è¨è¨æ¸ã¯ã ããããããªæãã§ã¯ãªããã¨æãã¾ãã ã¤ã³ãã©ã®è¦ä»¶å®ç¾©ã¯é£ãã ä¸æ¹ã§ãã¤ã³ãã©ã®è¦ä»¶å®ç¾©ã¯ååã«æ¨æºåãé²ãã§ããããä¼ç¤¾ããã¼ã ã«ãã£ã¦æåãããªãéãã¾ããç¹ã«åè¨éçºï¼SIï¼ã®å ´åã¯ãã客æ§ã®ä¸ã«ã¤ã³ãã©ã«è©³ãã人ãããªãã¦èª¿æ´ã«è¦å´ãããã¨ãå¤ãã¨æãã¾ããè²»ç¨ã¨å¯ç¨æ§ã®ãã¬ã¼ããªãã®é¨åã¯ãªããªãä¼ããã¥
å®å®ã»é«éã»ä½ä¾¡æ ¼ ãµã¼ãã¼é¸ã³ã§è¿·ãããªãã« ãããã®VPS ã·ã³ãã«ãªã³ã³ããã¼ã«ããã«ãã¹ã¿ã¼ãã¢ããã¹ã¯ãªããããã±ãããã£ã«ã¿ã¼æ©è½ã§ ã¯ããã¦ãµã¼ãã¼ãæ±ãåå¿è ãå®å¿ããµã¼ãã¼ã®ã¹ããã¯ã¯ãå©ç¨è¦æ¨¡ã«åããã¦ãã¤ã§ãæ¡å¼µå¯è½ã å¦ç¿ç¨éãããã¸ãã¹ã¾ã§ãå¹ åºãã·ã¼ã³ã§ãå©ç¨ããã ãã¾ãã ãç³ã込㿠ã¯ããã¦VPSããå©ç¨ã®æ¹ã¸ãç³ãè¾¼ã¿ã®æµã
mod_perl ç°å¢ã§ã®æé©ãªè¨å®ãæ¢ãã¹ãï¼prefork MPMï¼ããªãã¡å¤å ¸ç Apacheï¼ã«ã¤ãã¦èª¿ã¹ã¦ã¿ã¾ãããå®å°ãã¹ããããããã§ã¯ãªãï¼ããã¾ã§ããã¥ã¡ã³ãã«åºã¥ãã·ãã¥ã¬ã¼ã·ã§ã³ã§ãã ã¾ãï¼prefork MPM ã§ã¯ ServerLimit ãã£ã¬ã¯ãã£ãã¯ãã¾ãæå³ãæã¡ã¾ããï¼MaxClients 以ä¸ã®å¤ã«ãã¦ããã° OKï¼ã®ã§çç¥ãã¾ãã MaxClients = 8 StartServers = 4 MinSpareServers = 2 MaxSpareServers = 6 MaxRequestsPerChild > 0ã¨ããè¨å®ã§ã®ã·ããªãªãèãã¦ã¿ã¾ããã ã³ãã¯ã·ã§ã³åä½ 1.........httpd èµ·åããã 2.----....StartServers = 4 ã ãã4ã¤ãã©ã¼ã¯ããã 3.C---....1人ãããªã¯ã¨ã¹ããããã 4
å°¾è¤æ£äººã§ãã ã¢ã¯ã»ã¹æ°ã®å¤ãã³ã³ã·ã¥ã¼ãåãã® web ãµã¼ãã¹ã¯ãå¦çé度ãããªãéè¦ã«ãªã£ã¦ãã¾ãã å¿çé度ãé ãã¨ä½¿ç¨ãã¦ããã¦ã¼ã¶ã«ã¨ã£ã¦ã¹ãã¬ã¹ã«ãªãã¾ããã å¦çã«æéããããã°ãµã¼ãã«å¯¾ããè² è·ãé«ããªãã¾ã(å³å¯ã«è¨ãã¨éã)ã ããã§ã¦ãã¦ã§ã¯ãããããªå·¥å¤«ããã¦å¦çé度ã®é«éåãè¡ã£ã¦ãã¾ãã ä¸å£ã«é«éåã¨ãã£ã¦ããããããªè¦ç´ ãããã¾ããã大ããåãã¦3ã¤ã®æ®µéãããã¾ãã ã»ãã¼ãã¦ã§ã¢ã«ããé«éå ã»ã½ããã¦ã§ã¢ã«ããé«éå ã»ããã°ã©ã ã®å·¥å¤«ã«ããé«éå ããããããã3ã¤ã¯ç¬ç«ã§ã¯ãªããäºãã«å½±é¿ããã£ã¦ããã®ã§å®å ¨ã«åãã¦èãããã¨ã¯ã§ãã¾ããã ãããããã©ã®ãããªé¨åã«å½±é¿ãä¸ãã¦ããã®ããã¡ããã¨ç解ãã¦ãã¥ã¼ãã³ã°ãããã¨ã大äºã§ãã ãã ããé«éåããã¨ãã«å¿ãã¦ãããªãã®ããé«å¯ç¨æ§ã§ãã ãããé«éã«åä½ãã¦ãå®å®ãã¦åä½ã
ã¤ã³ãã¬ã¹R&Dãéå¶ãæ¿å®ã»æ ¼å®ãµã¼ãã¼ããé«æ©è½ãµã¼ãã¹ã¾ã§å½å ãµã¼ãã¼ãã¹ãã£ã³ã°1600件以ä¸ããã¬ã³ã¿ã«ãµã¼ãã¼ãæ¯è¼ã»æ¤ç´¢ãè©«ã³ã¨è¨æ£ 8æ30æ¥çºå£²ãã¬ã³ã¿ã«ãµã¼ãã¼å®å ¨ã¬ã¤ãVol.14ãã®ãã¬ã³ã¿ã«ãµã¼ãã¼ãã¥ã¼ã¹ Pick Upãã«ããã¦æ²è¼å 容ã«èª¤ãããããã¾ããã®ã§ãç¥ãããããã¾ãã 32ãã¼ã¸ä¸æ®µå·¦ããµã¤ãã¼ãã©ã¹ãã年次åå²è³¼å ¥å¯è½ãªæå¹æé3å¹´ã®ãµã¼ãã¼è¨¼ææ¸ãçºå£²ãã«ããã¾ãã¦ã証ææ¸ã®å称ããSuperServer3å¹´å²ãã¨ãã¦ããã¾ãããæ£ããã¯ãSureServer3å¹´å²ãã§ãããè¿·æããããããèªè ã®çæ§ãªãã³ã«é¢ä¿åä½ã«ã¯æ·±ããè©«ã³ç³ãä¸ãã¾ãã >> ç¶ããèªã
ãæãã¦ãããã³ãã¥ããã£ã¼ãªã®ã§ãã ãªãããã¥ã¼ã¹ã¨ããã£ããããã«æ¸ãããã¨æã£ã¦ã¾ãããã¨ããããããããã®ããã° æåããããããµã¼ãã¹ã®ååæ¡ä»¶ã®ä¸ã¤ mixiãgreeãã¯ã¦ãªã2chããã³ãã³åç»ã¨ã ããã¨æåã©ããã®ãµã¼ãã¹ã®ä¸ã®äººãã話ããèãã¦ã¦ãã ãããå ±éãã¦ããã©ã ããã¾ãè¨åããã¦ããªãäºå®ã ã¹ã¿ã¼ãæãããã¯ç¾å¨ã«ãããã£ã¦ ãããã¤ã³ã¿ã¼ãããã®å°ç¨ãµã¼ãã使ã£ã¦ããã ã¹ã¿ã¼ãã¢ããã«ã³ã¹ãããããã«ã ããç¨åº¦ã®è¦æ¨¡ã®ãµã¼ãã¹ããããã¨ããã¨ã ãããã¤ã³ã¿ã¼ãããã®å°ç¨ãµã¼ãã¯å®ãã7800åã ãã ãroot権éã§èªåã§ããããããããªãããããªãã®ã§ã ç´ äººã«ã¯æ¬é ãããã ãã§ããroot権éã§ããããåºæ¥ããããã®äººãããªããã°ã ãµã¼ãã¹ã®æ¹åãåºæ¥ãªãã£ããã ã¾ããå®ä¾¡ãªã³ã¼ã¹ã®å°ç¨ãµã¼ãã®ãã¼ãã¦ã§ã¢ã®ã¹ããã¯ã¯ ããã¾ããããª
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}