ä»äºã§ãVMWare ä¸ã« CentOS5 ãå ¥ãããã¨ã«ãèªåç¨ã«ã¡ã¢ã
VMWare ãåãã¦ã ãã CentOS ãåãã¦(RedHatã¯æ使ã£ã¦ããã©)ã
ãã¦ã³ãã¼ã
- VMWare Server
- ç¡åãç»é²ãã¦ãã·ãªã¢ã«çªå·ãåå¾ããå¿ è¦ããã
- http://www.vmware.com/jp/download/server/
- CentOS5
- http://isoredirect.centos.org/centos/5/isos/i386/
- DVD iso (3.6GB)ãé¸æãããã㯠Torrent ã使ãã¹ããããã
- æåé¸ãã ãã©ã¼ãé ãã¦çµäºã¾ã§50æéã¨ãåºã¦æ¤æ»ãããã«ãªã£ãã
ã²ã¹ãOS
- Virtual Machine ä½æ
- æåTypicalã§ãã£ãããCentOSã¤ã³ã¹ãã¼ã«ä¸ã«HDDãè¦ããªãã£ãã®ã§ãããç´ãã
- Customã§ã
- Guest Operationg System: Linux, Version: Red Hat Linux
- Access rights: Make this virtual machine private ã«ãã§ãã¯
- Virtual machine account: Use that powers on the virtual machine
- Number of processors: One
- Memory: 256MB
- Network connection: Use bridged networking
- I/O adapter types: IDE Adapter: ATAPI, SCSI Adapters: LSI Logic â ããããã¤ã³ããããï¼
- Disk: Create a new virtual disk
- Virtual Disk Type: SCSI
- Disk capacity: 5.0GB (ãã¹ãOSã®HDDã足ããªãã®ãããã)ãAllocatate all disk space now ã¯ãã§ãã¯ãå¤ã
- å®äºã
- CentOSã¤ã³ã¹ãã¼ã«
- Virtual Machine ã® setting ã§ãCD-ROMã«ãUse ISO imageãã§ããã¦ã³ãã¼ããã CentOS ã® iso ãã¡ã¤ã«ãæå®
- Virtual Machine ãèµ·å
- ãWould you like to initialize this drive, erasing ALL DATA?ãã¨èãããã®ã§ãYes
- ãRemove linux partitions on selected drives and create default layoutãã§Next
- Network Devices 㯠eth0 ã DHCP ã«
- ã¤ã³ã¹ãã¼ã«ã½ããã¦ã§ã¢ã¯ãDesktop - Gnome ãé¸æ
- ããã«ã«ã¹ã¿ãã¤ãºãããã¨é¸ãã æ°ããããã©ããªã«ãåºã¦ãããã®ã¾ã¾ã¤ã³ã¹ãã¼ã«éå§ã
- åèµ·åãã¦ã»ããã¢ããç»é¢ã«ãªãã
- ããã§ã¤ã¡ã¼ã¸ã®ããã¯ã¢ãããåãããã£ããã©ãHDDããªãã®ã§æ念ã
- CentOSã»ããã¢ãã
- firewallã¯enabledã«ãã¦ããã¼ãã¯é©å½ã«ã
- SELinuxã£ã¦ç¥ããªãã®ã§disabledã(éçºç¨ã ãããã¾ããªã)
- ãã¨ã¯é©å½ã«ã
- SELinuxã®è¨å®ãå¤ããã®ã§ãã¾ããªãã¼ãã
- æ®éã®ã¦ã¼ã¶ã§ãã°ã¤ã³ããããupdateããã¨åºã¦ããã®ã§ãupdateå®è¡ãã¾ããªãã¼ãã
- ããããã¯ãyumã§å
¥ç¨ãªãã®ãããã¦ããã
- Desktop - Gnome ãé¸æããããã§ããã¹ã¯ãããã¢ããªã¨ãã大å¤ã«å ¥ã£ã¦ããã¿ããããã¶ãããããªãã£ããªããã
-
- Pythonãå
¥ãã¦ãäºæ
ã£ãã
- yumã§å ¥ãã®ã¯Python2.4.3ãæåããå ¥ã£ã¦ããã
- ãããã¨ããã£ã¦Python2.5ã make ãã¦ãæ®éã«ã¤ã³ã¹ãã¼ã«ã
- ãã®å¾ Python2.4ã yum remove python ããããä¾åé¢ä¿ã§480ããã±ã¼ã¸ãåé¤(!)ããã¦ã大å¤ãªãã¨ã«ã
- æè¨: Python ã¯ã¤ã³ãã©ã®ä¸é¨ãéçºç¨ã®ã¯å¥é(HOMEã«)å ¥ãããã
- Pythonãå
¥ãã¦ãäºæ
ã£ãã