æ°ããä½ã£ãéçºããã»ã¹ã®åé¡ç¹ãè¦ããããã ãããããã¯ããã¨ãã¦æ¹åããã°ããã®ã«ãããã¸ã§ã¯ãã«ä½µãã¦ãã¼ã©ãªã³ã°ããã¦ãªãã®ã¨ãããããããã¨ãèªçºçã«ããã人ãã¡ãå¿ è¦ã ã¨ããã®ãããããã© â [amazon][aws][ec2] Amazon EC2 ç¨ã«èªå㧠CentOS 5 ã®ã¤ã¡ã¼ã¸ãç¨æãã Amazon EC2 ã§ã¯ãAmazon å ¬å¼ã§ç¨æãããã¤ã¡ã¼ã¸ã®ä»ã«ããããªã²ã¨ãã¤ã¡ã¼ã¸ãç»é²ã㦠share ãã¦ããã§ããããã£ã±ãè¦ãç¥ããã®äººãç¨æããã¤ã¡ã¼ã¸ã¯ãã¾ã使ããããªããªãã¨ãããã¨ã§ãèªåã§ç¨æãã¦ã¿ãã®ã§ãã®æé ã§ãã EC2 ã®ããã¥ã¢ã«ã§ã¯ã"Using Amazon EC2" -> "Creating and Preparing AMIs" ãããã§ããï¼ããã¥ã¢ã«ã¯ Fedora ãã¼ã¹ã§ãï¼ ä½æ¥ã¯ CentOS5 ä¸ã§è¡ãã¾ããã 追è¨
VirtualBox3.0.8ã«ã¦ãã²ã¹ãOSã«CentOS5.3ãå ¥ãããã¨ããããã¤ã³ã¹ãã¼ã©ãéä¸ã§æ¢ã¾ãããã ã¤ã³ã¹ãã¼ã©èµ·åéä¸ã®ãNET: Registered protocol family 2ãã¨ãããã°ã§ããã£ããã VirtualBoxã§ãã²ã¹ãOSã«CentOS5.3ãå ¥ããã®ã¯åãã¦ãããªããä»ã¾ã§ãããªç¾è±¡ã«ééãããã¨ã¯ãªãã£ããã ããã è²ã ãVMã®è¨å®ãããã£ã¦ã¿ããã©ãã¡ã§å°ã£ãã 調ã¹ã¦ã¿ãã¨åãç¾è±¡ã®äººããã¦ãè²ã åãã¦ããã ACPIæ¢ãã¦ãé²ã¾ãªãã¼ã ã¨ããCentOS4ã«ããã¨ãã¾ããã£ãã¨ãã ã¾ããVirtualBoxã®ãã¼ã¸ã§ã³ãéãã®ã§ä¸æ¦ã«è¨ããªãããããã¨ãã£ã解決çã¯è¦å½ãããªãã£ãã ã§ããACPIã¨ãããã¼ã¯ã¼ããåºã«è¨å®ãè¦ç´ãã¦ã¿ãã ããã¦ãã·ã¹ãã ã®ã¡ãã¥ã¼ã®ãã¶ã¼ãã¼ãã¿ã°å ã«ããã ACPIãæå¹åãIO ACPI
Windows PC ä¸ã§ä»®æ³çã« Linux ãåããã¦ããããéçºç°å¢ã¨ãã¦ä½¿ããã¨ãããã便å©ã§ãããããããããã®ã½ããã¨ã㦠VMware ServerãVirtualPCãcoLinux ãªã©ãããã¾ãããä»å VirtualBox ã試ãã¦ã¿ãã¨ãããç°¡åã«éçºç°å¢ãæºåãããã¨ãã§ãã¾ãããVirtualBox ã« CentOS ãå ¥ãã¦ãWindows PC ä¸ã®ã¦ã§ããµã¼ãã¹éçºç°å¢ã¨ãã¦ä½¿ããããã«ããã¾ã§ã®æé ãã¡ã¢ãã¦ãããã¨æãã¾ãã VirtualBox ã®è¯ãç¹ ã¤ã³ã¹ãã¼ã«ãç°¡å ãã¦ã³ãã¼ã&ã¤ã³ã¹ãã¼ã«ã«é¢åãªã¦ã¼ã¶ã¼ç»é²ããªã VMware Server ã¯é¢åã ã£ãæ°ããã UI ã使ãããã è¨å®ç»é¢ãªã©ãåããããã VirtualPC è¿ãï¼ æ¥æ¬èªåããã¦ãã åä½ãéã ä»®æ³ãã·ã³ã®ç¶æ ä¿å/復å ãéã ã¹ãããã·ã§ãããåãã®ããªããªã
CentOS 5.x ãã¤ã³ã¹ãã¼ã«ãããã¨ãããããã¨åæè¨å®ãè¡ã£ã¦ãã¾ããä»ã¯ããµã¼ãç¨éã®å ´å kickstart ã® %post ã»ã¯ã·ã§ã³ã§ãããããªåæè¨å®ãã¾ã¨ãã¦è¡ã£ã¦èªååãã¦ãã¾ããkickstart ã¯ãå¥ã®æ©ä¼ã«å ¬éããã¨ãã¦ãä»å㯠%post ã»ã¯ã·ã§ã³ã§è¡ã£ã¦ããåæè¨å®ãé çªã«ç´¹ä»ãã¾ããç´¹ä»ããé åºã¯ãé ä¸åã§ãã NOZEROCONF ãè¨å®ãã ä½è¨ãªãããã¯ã¼ã¯çµè·¯ãä½ããªãããã«ã/etc/sysconfig/network ã«æ¬¡ã®è¨å®ã追å ãã¾ããAPIPA ã¨ããä»çµã¿ã使ãå ´åã¯å¿ è¦ã§ãã NOZEROCONF=yes IPv6 ãç¡å¹ã«ãã IPv6 ã使ã£ã¦ããªãã®ã§ã/etc/modprobe.conf ã«æ¬¡ã®è¨å®ã追å ãã¾ãã alias net-pf-10 off alias ipv6 off ifdown-eth ã«ãããããã¦
ãªã¼ãã«ã¸ã¼ãå®é£ã¬ã é£ã¹ç©ã®é¼»å¡©å¡©(æªã ã«éããã®ããª) ãªã¼ãã«ã¸ã¼ãã¨ããã«ã¬ã¼ããåç¥ã ããã é½å ã«ããããªããªã¼å°éã®ã«ã¬ã¼å±ã§ã ãã±å¼ãªã©ã§å¤§äººæ°ã®æ¬æ ¼æ¬§é¢¨ã«ã¬ã¼ã楽ãããããã ãããªã ãããªããªãã¶ã¤ã¤ã¼ é½å ã®å¥´ãã¯ãããªè¯ãã¢ã³é£ã£ã¦ãã®ã 許ããããâ¦â¦â¦
ããããã¾ã«å¿ãã¦è¨å¤§ãªæéãæããã®ã§ãã¡ã¢æ¿ããã«æ¸ãã¦ããã¾ããCentOS 5.2(ã¨ãããyumã使ã£ãããã±ã¼ã¸ç®¡çãè¡ãLinuxãã£ã¹ããªãã¥ã¼ã·ã§ã³)ãªãã©ãã§ããªã®ã§ãããã¤ã³ã¹ãã¼ã«å¾ã«ãyum updateããè¡ãã¾ãã«ä»¥ä¸ã®ã³ãã³ãã§ãyumã®fastestmirrorãã©ã°ã¤ã³ããã¼ãããããã«ãããã¨ã yum install yum-fastestmirror æ®éã«ã¤ã³ã¹ãã¼ã«ããã¨ããã©ã«ãã§ã¯fastestmirrorãã©ã°ã¤ã³ããã¼ãããã¦ããªãã®ã§ããã¾ã«æ¿é ãµã¼ãã«ã¤ãªãã£ã¦ãã¾ãããªãæéãæãã¦ãã¡ãã£ã¨ãã«ã¼ãªæ°åã«ãªãã¾ããããã¤ãã¤ã³ã¹ãã¼ã«ããã¨åæã«ä¸çªæ©ããµã¼ãããããã±ã¼ã¸ãåå¾ãã¦ãããã®ã§ã¡ãã£ã¨ãããã¼ã§ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}