Upload
arnut-ruttanatirakul
View
3.671
Download
0
Embed Size (px)
DESCRIPTION
คู่มือการติดตั้ง CentOS Linux บน VMWare (ตอนที่ 1)
Citation preview
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
1
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
ก�������� CentOS Linux �� VMWare (� ���� 1)
������������������������ ��!"��#!��� "����������$��"� ก$��������� ��!���%�#��&��
$'�� �ก�()ก*� +,���������� Labs $,�" ��������������%�-�"��.�/�0/� ������ �%��������12������ 3 ก���+�
�,�4�$��ก��� ���5������� Linux Server +��3 ������������ �!�+�����,�#�6�ก��� �����0ก-&�-�&7�#�&�������.��ก�
�$����!����!� (Virtualization) ���5���#�� VMware �#�&5 �� 7.x .�!ก,�"�� Network Interface Card 2 �� ��$��
�� ���� Windows 7
ก���ก���������� ��!����5� LAN Card +,��#� 2 ��
eth 0 (Public) �5������ก ����� ��!8�!��ก ก,�"���!�����!�4�%��"��!�������$���!#ก � Router "�����
���� ��!����5�����!�� ก9����ก��5����+�����"��#!���������ก��"�.�ก8�!��ก����":��"�ก,�"������50�4�%�+�����4�� �
+�ก����"���ก�
eth 1 (Private) �5������ก ����� ��!8�!�� $,�" ��+ก+��!�"���������ก ��!��"��#!��� (Client) ก,�"��4�%�
����4�%����� (Private IP Address)
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
2
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
�!�����!� Private IP Address
Class 5�#� �� IP address ก,�"�� � private
�������-�&7�#�& (eth1) !. 4�%�$,�" ��+ก
�"���������ก ��! Class A
10.0.0.0 ')� 10.255.255.255
10.0.20.1 10.0.20.2 - 10.0.20.254
Class B 172.16.0.0 ')� 172.16.255.255
172.16.0.1 172.16.0.2 - 172.16.0.254
Class C 192.168.0.0 ')� 192.168.255.255 192.168.10.1 192.168.10.2 - 192.168.10.254
* ก�ก,�"�� IP Address $,�" ��+ก�"���������ก ��!$���'ก,�"��4��������$� � ������"�ก,�"���!����5�#� ��4�%���������� ��
Default Subnet mask
Subnet mask
Class A 255.0.0.0
Class B 255.255.0.0
Class C 255.255.255.0
��ก��5����+�� ก9�����������ก ��!+,��#����! �����ก��5�4�%��������$ A "�� ���$ B $���'�5� Subnet mask
�������$ C 4�� �5��
IP Address : 172.16.0.1
Subnet mask : 255.255.255.0
Tips
Note.
��ก9�����������ก��,��#9 Subnet �%��������5������"��#!���$���'� ��4�����#:�4-& �%����,��#9- ���:���4��&4�� �������� �����,��#:�4-&$���#:���� http://www.subnet-calculator.com ��� http://www.subnetmask.info
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
3
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
�#:�4-& www.subnet-calculator.com
�#:�4-& http://www.subnetmask.info
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
4
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
ก��� �����0ก-&8�!��.��ก� VMWare ������F�� �ก� Windows 7
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
5
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
����� ������� Linux Server �� VMWare
������������� ������.��ก� VMWare 7.x
$���'��#�&."��.��ก� VMWare �#�&5 �����$0�4������#:�4-& http://downloads.vmware.com
�#:�4-& http://downloads.vmware.com
1. �,�ก��� ��.��ก� VMWare �"���!���!ก���
2. �,�ก�� ���������ก���.��ก� VMWare Workstation ����$ก&�:��
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
6
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
���ก����ก��� VMWare Workstation
3. ���ก����ก������� File > New > Virtual Machine…
���ก����ก Virtual Machine…
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
7
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
5. ����ก�����ก��� ����� Typical �$:+���#���ก����0G� Next
����ก�����ก��� ����� Typical
6. ����ก#�6�ก��� ��
���������"�����ก���� I will the operating system later.
Installer disc
�� ��+�ก���� CD/DVD
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
8
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
Install disc image file
�� ��+�ก47�& image file ����������$ก0� .iso
CentOS-5.6-i386-bin-DVD.iso
I will the operating system later
�� �������$� ����� ������ก����F�� �ก����
����ก���� I will the operating system later.
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
9
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
7. ���ก����ก����F�� �ก����� Linux "�� OS #����������� ���!�� �$:+���#���ก����0G� Next
����ก����F�� �ก����� Linux ����#�&5 ������ก���� Red Hat Linux "�� OS #����������� ���!��
8. ��5��� Virtual machine ������ก��������� ������ CentOS Linux 5.6 �$:+���#���ก����0G� Next
����ก%��������ก��,� #�� ��4��ก:�4#� "�ก4������ก���+�ก,�"������
C:\Users\user_name\Documents\Virtual Machines\Virtual machine_name
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
10
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
��5��� Virtual machine
9. ก,�"��%������H�&���$ก&����5��� ����� Linux ��������ก,�"������ 10 GB �$:+���#���ก����0G� Next
ก,�"��%������H�&���$ก&����5��� ����� Linux
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
11
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
10. ���ก����ก����0G� Finish
���ก����ก����0G� Finish
12. ���ก����ก Edit Virtual machine �%���� ��!�����!��%������
���ก����ก Edit Virtual machine
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
12
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
13. �,�ก�� ��!�����!���������ก� ��������$������� �����%���������
- �%���"��#!�#��+,����� 2 GB
- �%��� Network Adapter ����� 2 ��������� Bridged
- �ก�4 Network Adapter ����� 1 ���� Bridged
- �%���H�&���$ก&������� IDE %������ 10 GB (Remove H�&���$ก&��� SCSI ��ก)
* ก9���� IDE 4��+,�������������!�����
� ��!�����!� virtual machine ��������ก�
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
13
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
ก,�"�� Hard Disk
ก,�"�� Network Adapter
ก,�"�� #�� �� Linux #�����ก��� ��+�ก���� DVD "��+�ก image file
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
14
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
14. �$���!�����!����ก,�"���$:+���#
�$���!�����!����ก,�"���$:+���#
15. �$������� �� Linux "��ก9�����ก�� ����� image file ก:�"�� ������ #�� ���5�5��4����47�&�� ��
�5�� CentOS-5.6-i386-bin-DVD.iso
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
15
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
16. ���ก��� Power on this virtual machine �%��������� ��
17. ���+��,�ก�� ��$��."��ก��� ��������0ก-&� ���
� ��$��ก��� ��������0ก-&
������ก��� �� Linux Server �� VMWare (����� 1) Copyright(c) 2011 by CMS Learning Technology.
16
CMS Learning Technology Center Co.,Ltd.
Tel. 088-579-1324 Fax. 02-903-0080 ext. 6310 e-Mail. [email protected]
http://www.cmslearning.co.th
Tips.
ก�$� �+�ก.��ก� VMWare ����� Windows
�"�ก��0G� Ctrl + Alt %���ก �