VMware Workstation 9でCentOS 6をインストールします.5(チュートリアルのインストール)
22163 ワード
一、CentOSer 6をダウンロードする.5ミラーファイル.
http://mirrors.usc.edu/pub/linux/distributions/centos/6.5/isos/
二、新しい仮想マシンを作成し、CentOS 6と命名する.5.
1.VMware Workstation 9のホームページで「Createa New Virtual Machine」を選択し、新しい仮想マシンを作成する.
2、「Custom(advanced)」を選択し、構成をカスタマイズ(拡張)します.
3、デフォルト、次へ
4、「I will install the operating system later.」を選択し、後でOSをインストールします.
5、「CentOS」を選択し、次へ
6、カスタム仮想マシン名を設定し、ここでは「CentOS」に設定し、仮想マシンの保存場所を設定し、ここでは「D:DocumentVirtual MachinesCentOS」に設定する.個人の好みに応じて設定することができます.
7、デフォルト、次へ.
8、仮想マシンメモリを設定する.パソコンメモリによって設定できる.ここで2048 MBを設定する.
9、ネットワーク接続方式を設定し、NAT方式を設定する.
10、デフォルト、次へ.
11、「Createa new virtual disk」を選択し、新しい仮想ディスクを作成します.
12、デフォルト、次のステップ.
13、ディスク容量を指定し、ここでは20 GBである.「Split virtual disk into multiple files」にチェックマークを付けて、仮想ディスクを複数のファイルに分割します.
14、デフォルト、次へ.
15、ここに仮想マシンの具体的な情報をリストし、「Finish」をクリックして完成する.
三、仮想マシンミラーファイルディレクトリを設定する.
1.新しい仮想マシンCentOSの設定ウィンドウを開きます.
2.仮想マシンにおけるオペレーティングシステムのミラーファイルを設定.isoの位置.
四、仮想マシンのインストールCentOS 6を起動する.5
1、仮想マシンを起動する.
2、「Install or upgrade an existing system」を選択し、既存のシステムをインストールまたはアップグレードします.
3、CDメディアをテストするかどうか、「Skip」を選択してスキップします.
4、次のステップ.
5、言語を選択し、ここでは「English(English)」を選択し、英語を選択します.
6、キーボードを選択し、デフォルト、次へ.
7、設置設備を選択し、「Basic Storage Devices」を選択し、基本記憶設備を選択する.
8、「Yes,Discard any data」、「はい、すべてのデータを無視する」を選択し、次のステップに進みます.
9、ホスト名を設定します.ここではデフォルトで、次のステップに進みます.
10、タイムゾーンを選択し、「Etc/GMT+8」を選択し、北京タイムゾーンを選択する.
11、管理者rootパスワードを設定します.
12、ここでパスワードを提示するのは簡単すぎて、「UseAnyway」を選んで、無視します.
13、インストールタイプを選択し、「Create Custom Layout」を選択し、カスタムレイアウトを作成する.
14、現在の空きコントロールが20473 MBであることをここに表示し、「Create」をクリックしてパーティションを作成します.
15、「Standard Partition」を選択し、標準パーティションを選択する.
16、最初のマウントポイント:/boot、サイズ:128 MB、ファイルシステムタイプ:ext 3を作成する.
17、パーティションの作成を続け、「Create」をクリックします.
18、同じく「Standard Partition」を選択し、標準パーティションを選択する.
19、swapパーティションを作成し、サイズ:2000 MB.
20、作成/パーティションを続け、「Create」をクリックします.
21、同じく「Standard Partition」を選択し、標準パーティションを選択します.
22、ルートディレクトリ「/」の作成、サイズ:すべての空き領域、ファイルタイプ:ext 3を選択します.
23、パーティション化後の空間分布状況を下図に示します.次のステップです.
24、「Format」を選択し、フォーマットします.
25、「Write changes to disk」を選択し、変更をディスクに書き込む.
26、次のステップ.
27、黙々と“Minimal”で、ここで“Desktop”デスクトップを選択して、“Customize Now”を選択して、今カスタマイズします.
28、必要なインストーラを選択し、次のステップに進みます.
29、インストール中です.
30、「Reboot」をクリックし、システムを再起動する.
31、CentOSシステムを再起動している.
32、起動後にユーザー名とパスワードを入力してシステムにログインする.
五、仮想マシンネットワークの構成
1、ホストホストの仮想ゲートウェイVMnet 8のIPは自動取得に設定されている.具体的には、「プロパティ」を右クリックし、IPV 4行を選択して「プロパティ」をクリックし、自動取得に変更します.
2、同様に、「ローカル接続」を変更しても自動的に取得されます.
3、「仮想マシン」-「設定」、ネットワークアダプタがNATに選択されている.
4、「編集」-「仮想ネットワークエディタ」VMnet 8を選択し、NAT(仮想マシンとホストIPアドレスを共有)をクリックし、DHCPをチェックします(どちらのボックスもチェックします).
「適用」をクリックします.
5、ホスト(windows 7)のVMware DHCPサービスとVMware NATサービスをオープンする.
net start "VMware DHCP Service"net start "VMware NAT Service"
スクリプトを書くと手間が省けます.
新規ファイル:VMwareサービスを開始します.bat
編集内容の保存:
ダブルクリックでVMwareサービスを開始する.bat」の場合、VMwareサーバを簡単に開くことができます.
効果:
6、テスト、CentOSでpingする.
http://mirrors.usc.edu/pub/linux/distributions/centos/6.5/isos/
二、新しい仮想マシンを作成し、CentOS 6と命名する.5.
1.VMware Workstation 9のホームページで「Createa New Virtual Machine」を選択し、新しい仮想マシンを作成する.

2、「Custom(advanced)」を選択し、構成をカスタマイズ(拡張)します.

3、デフォルト、次へ

4、「I will install the operating system later.」を選択し、後でOSをインストールします.

5、「CentOS」を選択し、次へ

6、カスタム仮想マシン名を設定し、ここでは「CentOS」に設定し、仮想マシンの保存場所を設定し、ここでは「D:DocumentVirtual MachinesCentOS」に設定する.個人の好みに応じて設定することができます.

7、デフォルト、次へ.

8、仮想マシンメモリを設定する.パソコンメモリによって設定できる.ここで2048 MBを設定する.

9、ネットワーク接続方式を設定し、NAT方式を設定する.

10、デフォルト、次へ.

11、「Createa new virtual disk」を選択し、新しい仮想ディスクを作成します.

12、デフォルト、次のステップ.

13、ディスク容量を指定し、ここでは20 GBである.「Split virtual disk into multiple files」にチェックマークを付けて、仮想ディスクを複数のファイルに分割します.

14、デフォルト、次へ.

15、ここに仮想マシンの具体的な情報をリストし、「Finish」をクリックして完成する.

三、仮想マシンミラーファイルディレクトリを設定する.
1.新しい仮想マシンCentOSの設定ウィンドウを開きます.

2.仮想マシンにおけるオペレーティングシステムのミラーファイルを設定.isoの位置.

四、仮想マシンのインストールCentOS 6を起動する.5
1、仮想マシンを起動する.

2、「Install or upgrade an existing system」を選択し、既存のシステムをインストールまたはアップグレードします.

3、CDメディアをテストするかどうか、「Skip」を選択してスキップします.

4、次のステップ.

5、言語を選択し、ここでは「English(English)」を選択し、英語を選択します.

6、キーボードを選択し、デフォルト、次へ.

7、設置設備を選択し、「Basic Storage Devices」を選択し、基本記憶設備を選択する.

8、「Yes,Discard any data」、「はい、すべてのデータを無視する」を選択し、次のステップに進みます.

9、ホスト名を設定します.ここではデフォルトで、次のステップに進みます.

10、タイムゾーンを選択し、「Etc/GMT+8」を選択し、北京タイムゾーンを選択する.

11、管理者rootパスワードを設定します.

12、ここでパスワードを提示するのは簡単すぎて、「UseAnyway」を選んで、無視します.

13、インストールタイプを選択し、「Create Custom Layout」を選択し、カスタムレイアウトを作成する.

14、現在の空きコントロールが20473 MBであることをここに表示し、「Create」をクリックしてパーティションを作成します.

15、「Standard Partition」を選択し、標準パーティションを選択する.

16、最初のマウントポイント:/boot、サイズ:128 MB、ファイルシステムタイプ:ext 3を作成する.

17、パーティションの作成を続け、「Create」をクリックします.

18、同じく「Standard Partition」を選択し、標準パーティションを選択する.

19、swapパーティションを作成し、サイズ:2000 MB.

20、作成/パーティションを続け、「Create」をクリックします.

21、同じく「Standard Partition」を選択し、標準パーティションを選択します.

22、ルートディレクトリ「/」の作成、サイズ:すべての空き領域、ファイルタイプ:ext 3を選択します.

23、パーティション化後の空間分布状況を下図に示します.次のステップです.

24、「Format」を選択し、フォーマットします.

25、「Write changes to disk」を選択し、変更をディスクに書き込む.

26、次のステップ.

27、黙々と“Minimal”で、ここで“Desktop”デスクトップを選択して、“Customize Now”を選択して、今カスタマイズします.

28、必要なインストーラを選択し、次のステップに進みます.

29、インストール中です.

30、「Reboot」をクリックし、システムを再起動する.

31、CentOSシステムを再起動している.

32、起動後にユーザー名とパスワードを入力してシステムにログインする.

五、仮想マシンネットワークの構成
1、ホストホストの仮想ゲートウェイVMnet 8のIPは自動取得に設定されている.具体的には、「プロパティ」を右クリックし、IPV 4行を選択して「プロパティ」をクリックし、自動取得に変更します.

2、同様に、「ローカル接続」を変更しても自動的に取得されます.

3、「仮想マシン」-「設定」、ネットワークアダプタがNATに選択されている.

4、「編集」-「仮想ネットワークエディタ」VMnet 8を選択し、NAT(仮想マシンとホストIPアドレスを共有)をクリックし、DHCPをチェックします(どちらのボックスもチェックします).
「適用」をクリックします.

5、ホスト(windows 7)のVMware DHCPサービスとVMware NATサービスをオープンする.
net start "VMware DHCP Service"net start "VMware NAT Service"
スクリプトを書くと手間が省けます.
新規ファイル:VMwareサービスを開始します.bat
編集内容の保存:
net start "VMware DHCP Service"
net start "VMware NAT Service"
pause
ダブルクリックでVMwareサービスを開始する.bat」の場合、VMwareサーバを簡単に開くことができます.
効果:

6、テスト、CentOSでpingする.
