ãã¿ã¦ãã¿ã¾ããGPSã第3ä¸ä»£ã¢ãã«äºç´æ³¨æä»ä¸ åã©ãã®GPS端æ«ããä¿è·è ã«éç¥ããç·æ¥ç¨ã® âãç¥ãããã¿ã³âæ©è½ãæ°æè¼ï¼
æ¨å¹´ããImmutable Infrastructureã¨ããè¨èãåºå§ãã¦ããµã¼ãã¼ãç°¡åã«ä½ã£ã¦å£ãã¨ããæ½®æµãåºå§ãã¾ãããã¾ãããµã¼ãã¼ç®¡çãç°¡åã«ãããã¼ã«ã¨ãã¦Dockerã¨ãããã®ãèå ãæµ´ã³ã¦ããããã¾ã©ãã®ãµã¼ãã¼ç®¡çè ã«åãå ¥ãããã¦ãã¾ããã ä»åã¯ããã®Dockerãã¤ã³ã¹ãã¼ã«ãã¦LAMPç°å¢ãæ§ç¯ããã¹ããããè¦ã¦ããããã¨æãã¾ãã Immutable Infrastructureã¨ã¯ï¼ IaaSåã®ã¯ã©ã¦ããVPSã®å°é ã«ãã£ã¦ãç°¡åã«ä»®æ³ãµã¼ãã¼ãç«ã¡ä¸ããããç°å¢ãæ´ã£ã¦ãã¾ããã ã¨ã¯ããããµã¼ãã¼ã®ç«ã¡ä¸ããããã®ã¯ã·ã¹ãã æ§ç¯æã¨ãã·ã¹ãã è¦æ¨¡ã大ããããæã«éããããµã¼ãã¼ã®åä½ãå¤ããããã¢ããªã±ã¼ã·ã§ã³ã®ã¢ãããã¼ããããã¨ãã¯ã稼åãã¦ãããµã¼ãã¼ã®ä¸èº«ãä¿®æ£ããã¨ããã®ãå¾æ¥ã®ããæ¹ã§ããã ãããImmutable Infrastruc
ã¯ããã« Linux ã®ã»ãã¥ãªãã£è¨å®ã£ã¦ãªããªãã¾ã¨ã¾ã£ããã®ããªãã®ã§ãããããªãµã¤ããåèã«ããªããè¨å®ãã¾ã¨ãã¦ã¿ã¾ãããæ³å®ã¯Web ãµã¼ãã¼ã§ã使ç¨ãã¦ãã Linux 㯠CentOS 6.2 ã§ãã è¨å®å 容ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã å ¨ããã±ã¼ã¸ã®ã¢ãããã¼ã ãªã¢ã¼ãããã® root ãã°ã¤ã³ãç¡å¹ã«ãã å ¬ééµæå·æ¹å¼ã使ç¨ãã SSH ãã°ã¤ã³è¨å® iptables è¨å® SSH ãã¼ãçªå·ã®å¤æ´ ä¸è¦ãªãµã¼ãã¹ãåæ¢ ãã°ç£è¦è¨å® ãã¡ã¤ã«æ¹ããæ¤ç¥ãã¼ã«è¨å® ã¦ã£ã«ã¹å¯¾çã½ããè¨å® Apache ã®è¨å® å ¨ããã±ã¼ã¸ã®ã¢ãããã¼ã æåã«ä»¥ä¸ã®ã³ãã³ããå®è¡ãã¦ãå ¨ããã±ã¼ã¸ãææ°ã®ç¶æ ã«ããã # yum ây update å¾ã¯èå¼±æ§ãçºè¦ãããæãã¾ãã¯å®æçã«ããã±ã¼ã¸ã®ã¢ãããã¼ããè¡ãã ãªã¢ã¼ãããã® root ãã°ã¤ã³ãç¡å¹ã«ãã ãªã¢ã¼ãããã¡
WEBãµã¼ãã¹ç¨ã«ãããã®VPSãµã¼ãã¼ãåããå¾ã§å½¹ã«ç«ã¤è¨äºè²ã ãããVPSãµã¼ãã®äººæ°ãé«ãã¨ãããã¨ã§ãåãããããè¨å®ã«ã¤ãã¦ã®è¨äºãã¾ã¨ãã¦ã¿ã¾ããã ãããã®vpsã¨ãã£ã¦ãæ®éã®centosã¨ä¸ç·ãªã®ã§ãä»ã®vpsãµã¼ãã¹ãec2ã§ã使ãã¾ããã¬ã³ã¿ã«ãµã¼ãã¼ã¨éã£ã¦æåã¯ãªã«ãå ¥ã£ã¦ãªãã®ã§åæè¨å®ãå¿ è¦ã§ãããããããã¿ã¨ãã°å¤§ä½å¤§ä¸å¤«ã¨ãããã®ãã¾ã¨ãã¦ã¾ãã ãããã®VPS åæè¨å® ããããã®VPSãåæè¨å®ããã¦ã¿ã | Untitled Documents. root ãã¹ã¯ã¼ãã®å¤æ´ãã¦ã¼ã¶è¿½å ãsudoersç·¨éãsshå ¬ééµè¨ç½®ãããã±ã¼ã¸ç®¡çãã¼ã«ã®è¨å®ç CentOSããµã¼ãã¼ã¨ãã¦æ´»ç¨ããããã®åºæ¬çãªè¨å® (ãããã¤ã³ã¿ã¼ãããåµæ¥æ¥è¨) sshã®ãã¼ãçªå·å¤æ´ãå ¬ééµè¨å®ããã¡ã¤ã¢ã¦ã©ã¼ã«è¨å®ã®ä»ãä¸è¦ãµã¼ãã¹ã®åæ¢ã¨ãã£ããããã¤ã³ã¿ã¼ãã
ãããã®VPSã§Webãµã¼ããæ§ç¯ããã®ã«ãåèã«ãããã¼ã¸ãã¾ã¨ãã¾ããã ç¸éç¹ãæ¯è¼æ¤è¨ãããã¨ã«ãã£ã¦ãæ¨æºçãªä½æ¥æé ãæ´ãåºãã®ã«å½¹ç«ã¡ã¾ããã æ å ±ãå ¬éãæä¾ãã¦ãã ãã£ãçæ§ã«æè¬ãããã¾ããm(__)m ã2011/5/2 追è¨ã ã¤ã³ã¹ãã¼ã«ä½æ¥ã®ã¾ã¨ããã¼ã¸ãç¨æãã¾ããã â ãããã®VPS ã¤ã³ã¹ãã¼ã«ã¾ã¨ã â主ãªä½æ¥å 容 åºæ¬ã¨ãªãä½æ¥å 容ã¯ãããã©ã«ãã®ã²ã¹ãOSï¼CentOSï¼ã使ã£ãäºä¾ã§ããï¼¼(åå°)ï¼ ã¦ã¼ã¶ã¼ã®è¨å® ã»ç®¡çè ã¦ã¼ã¶ã¼ (root) ã®ãã¹ã¯ã¼ãå¤æ´ ã»ä½æ¥ã¦ã¼ã¶ã¼ã®è¿½å ã»ä½æ¥ã¦ã¼ã¶ã¼ã®ã°ã«ã¼ã追å (wheel) ã»ä½æ¥ã¦ã¼ã¶ã¼ã® sudo è¨±å¯ ã»ä½æ¥ã¦ã¼ã¶ã¼ã®ã³ãã³ãã®ãã¹è¿½å SSHã®è¨å® ã»rootã®ãã°ã¤ã³ç¦æ¢ ã»ãã¹ã¯ã¼ãæ¹å¼ã®ãã°ã¤ã³ç¦æ¢ ã»éµèªè¨¼æ¹å¼ã®ãã°ã¤ã³OK ã»ç§å¯éµã¨å ¬ééµã®ä½æã¨è¨ç½® ã»SSHã®ãã¼ãçª
ã©ã³ãã³ã°
ã¡ã³ããã³ã¹
ãç¥ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}