Navigation : Top/VMware/CentOS

CentOS

CentOSをVMwareで使用する.

Install

VMware前のセットアップ

  1. VMwareをインストール
  2. CentOS ISOイメージをダウンロード
  3. Virtual machines for VMware Playerでvmxファイルを作成し,ダウンロード(CentOS-5.2.zip)
    • Super Simpleを選択
    • Virtual Machine Name: CentOS-5.2
    • Virtual Machine Operating System: Redhat Enterprise Linux 4
    • Virtual Machine Memory Size: 768MB(任意)大きすぎるとスワップが発生
    • Virtual Machine Disk Size: 16GB(任意)
  4. ダウンロードしたCentOS-5.2.zipを解凍し,C:\Virtual Machines\CentOS-5.2に置く.
  5. C:\Virtual Machines\CentOS-5.2CentOS-5.2.vmxを編集(元に戻す)
    # Settings for physical CDROM drive
    ide1:0.present = "TRUE"
    #ide1:0.deviceType = "cdrom-raw"
    ide1:0.deviceType = "cdrom-image"
    ide1:0.startConnected = "TRUE"
    #ide1:0.fileName = "auto detect"
    ide1:0.fileName = "C:\Users\mori\Desktop\CentOS-5.2-i386-bin-1of6.iso"
    ide1:0.autodetect = "TRUE"

CentOSのインストール

  1. CentOS-5.2.vmxをクリックしてVMwareを起動
  2. インストーラーに従って進める
  3. CDの交換は,VMware右下のディスクの交換をクリック,もしくは「VM」→「設定」→「CD/DVD」を選択し,isoイメージを選択.「起動中」のラジオボタンがオンになっているかどうかを確認.

VMtoolsのインストール

  1. C:\Virtual Machines\CentOS-5.2CentOS-5.2.vmxを再編集
    • ide1:0.deviceType = "cdrom-raw"
    • #ide1:0.deviceType = "cdrom-image"
    • ide1:0.fileName = "auto detect"
    • ide1:0.fileName = "C:\Users\mori\Desktop\CentOS-5.2-i386-bin-1of6.iso"
      ide1:0.deviceType = "cdrom-raw"
      #ide1:0.deviceType = "cdrom-image"
      ide1:0.startConnected = "TRUE"
      ide1:0.fileName = "auto detect"
      #ide1:0.fileName = "C:\Users\mori\Desktop\CentOS-5.2-i386-bin-1of6.iso"
      ide1:0.autodetect = "TRUE"
  2. xtermでrootになる.
  3. cd /media
  4. rpm -ivh VMwareTools-6.0.5-109488.i386.rpm
  5. vmware-config-tools.plを実行
  6. 適切な解像度を選択

Link