<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SpaLinux.com &#187; VMware</title>
	<atom:link href="http://spalinux.com/category/vmware/feed" rel="self" type="application/rss+xml" />
	<link>http://spalinux.com</link>
	<description>Resources for Relaxing Linux System Administrators</description>
	<lastBuildDate>Mon, 26 Jul 2010 09:51:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>คอนฟิก VMware Server Networks บน Windows</title>
		<link>http://spalinux.com/2009/05/configure_vmware_server_networks_on_windows</link>
		<comments>http://spalinux.com/2009/05/configure_vmware_server_networks_on_windows#comments</comments>
		<pubDate>Fri, 08 May 2009 18:31:51 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware Server]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=632</guid>
		<description><![CDATA[หลังจากสร้าง Virtual Machine ใน VMware Server ที่ประกอบด้วย CPU, Memory, Disk เรียบร้อยแล้ว อีกส่วนหนึ่งที่สำคัญคือคอนฟิก network คือ ทำอย่างไรให้เครื่อง Guest Virtual Machine ที่อยู่ข้างใน สามารถติดต่อส่งข้อมูลกับเครื่องอื่นๆ ได้ ทั้งเครื่องหลัก (Host) และเครื่องอื่นๆ เลย โดยดีฟอลต์จากการติดตั้ง จะมีการสร้างพอร์ตแลนขึ้นมา 1 พอร์ต ในเครื่อง Guest สำหรับเชื่อมต่อกับเครื่องหลัก เราสามารถสร้างเพิ่มเติมได้ โดยคลิ้กที่ &#8220;Edit virtual machine settings&#8221; แต่ในช่วงทดลอง ทำความเข้าใจ และการใช้งานโดยทั่วไปส่วนใหญ่แล้ว พอร์ตแลยเดียวก็เพียงพอ เมื่อเครื่อง Guest Virtual Machine มีพอร์ตแลน แล้ว คำถามต่อมา คือต้องคอนฟิก network และ IP address อย่างไร [...]]]></description>
			<content:encoded><![CDATA[<p>หลังจากสร้าง Virtual Machine ใน VMware Server ที่ประกอบด้วย CPU, Memory, Disk เรียบร้อยแล้ว อีกส่วนหนึ่งที่สำคัญคือคอนฟิก network คือ ทำอย่างไรให้เครื่อง Guest Virtual Machine ที่อยู่ข้างใน สามารถติดต่อส่งข้อมูลกับเครื่องอื่นๆ ได้ ทั้งเครื่องหลัก (Host) และเครื่องอื่นๆ เลย</p>
<p>โดยดีฟอลต์จากการติดตั้ง จะมีการสร้างพอร์ตแลนขึ้นมา 1 พอร์ต ในเครื่อง Guest สำหรับเชื่อมต่อกับเครื่องหลัก เราสามารถสร้างเพิ่มเติมได้ โดยคลิ้กที่ &#8220;Edit virtual machine settings&#8221; แต่ในช่วงทดลอง ทำความเข้าใจ และการใช้งานโดยทั่วไปส่วนใหญ่แล้ว พอร์ตแลยเดียวก็เพียงพอ</p>
<p><span id="more-632"></span></p>
<p>เมื่อเครื่อง Guest Virtual Machine มีพอร์ตแลน แล้ว คำถามต่อมา คือต้องคอนฟิก network และ IP address อย่างไร เพื่อให้รับส่งข้อมูลกับเครื่องหลัก และ physical network ภายนอกได้ จากการติดตั้ง VMware Server โปรแกรมจะสร้าง Network Connections บนเครื่องหลัก Windows ขึ้นมาจำนวน 2 พอร์ตดังนี้</p>
<ul>
<li>VMware Network Adapter VMnet1 เชื่อมต่อเข้ากับ VMnet1 เป็นคอนฟิกประเภท Host-only สำหรับ Guest Virtual Machine</li>
<li>VMware Network Adapter VMnet8 เชื่อมต่อเข้ากับ VMnet8 เป็นคอนฟิกประเภท NAT สำหรับ Guest Virtual Machine</li>
</ul>
<p>การตรวจสอบ Network Connections ที่สร้างขึ้น และคอนฟิก IP Address ของแต่ละพอร์ต</p>
<p><img class="alignnone size-full wp-image-634" title="New created Network connections" src="http://spalinux.com/wp-content/uploads/2009/05/network_connections.png" alt="New created Network connections" width="729" height="453" /></p>
<p>คอนฟิก network และ IP Address ของ VMnet1</p>
<p><img class="alignnone size-full wp-image-635" title="VMnet1 properties IP Address" src="http://spalinux.com/wp-content/uploads/2009/05/vmnet1_properties_ip_addres.png" alt="VMnet1 properties IP Address" width="612" height="650" /></p>
<p> </p>
<p>คอนฟิก network และ IP Address ของ VMnet8</p>
<p><img class="alignnone size-full wp-image-636" title="VMnet8 properties IP Address" src="http://spalinux.com/wp-content/uploads/2009/05/vmnet8_properties_ip_addres.png" alt="VMnet8 properties IP Address" width="613" height="647" /></p>
<p> </p>
<p>การคอนฟิกคือต้องเลือกพอร์ตแลนของ Guest ว่าจะต่อเข้ากับ network อย่างไร อยู่ในโหมดแบบไหน</p>
<p>โหมดการคอนฟิก network ใน VMware จะมีอยู่สามแบบหลักๆ คือ</p>
<ol>
<li><strong>Bridged</strong>: ทำให้พอร์ตแลนของ Guest Virtual Machine เหมือนกับต่อตรง (Connected directly) กับ physical network จริงๆ ภายนอกเลย เช่นถ้าเครื่องหลัก Windows (Host) เรา ต่อใช้ Wireless (192.168.1.0/24) อยู่ ถ้าเลือกใช้โหมดนี้สำหรับ Virtual Machine จะเหมือนกับว่าเครื่องข้างในนี้ ต่ออยู่กับ Wireless (192.168.1.0/24) ด้วย ทำให้สามารถเซ็ตค่า IP Address ได้ในวงเดียวกันเลย</li>
<li><strong>NAT</strong>: โหมดนี้จะคอนฟิกพอร์ตแลนของ Guest ต่อเข้ากับ VMnet8 ของเครื่องหลัก (Host) และเครื่องหลักจะทำหน้าที่ (NAT) เพื่อให้เครื่อง Guest สามารถรับส่งข้อมูลกับ physical network ข้างนอกได้</li>
<li><strong>Host-only</strong>: โหมดนี้พอร์ตแลนของ Guest จะต่อเข้ากับ VMnet1 ของเครื่องหลัก (Host) เท่านั้น ไม่สามารถส่งข้อมูลไปนอกเครื่องได้</li>
</ol>
<p>รันโปรแกรม &#8220;Manage Virtual Networks&#8221; จาก Start -&gt; All programs -&gt; VMware -&gt; VMware Server -&gt; Manage Virtual Networks หรือคลิ้กเลือกจากเมนู Host -&gt; Virtual Network Settings&#8230; ในโปรแกรม VMware Server Console</p>
<p>หน้าแสดง Virtual Network</p>
<p><img class="alignnone size-full wp-image-638" title="VMnet Summary" src="http://spalinux.com/wp-content/uploads/2009/05/01_summary.png" alt="VMnet Summary" width="544" height="442" /></p>
<p>สำหรับการเริ่มต้น แนะนำให้เริ่มต้นจากคอนฟิกเป็น Host-only เพื่อเชื่อมเข้ากับ  VMnet1 ก่อน ให้รับส่งข้อมูลกันได้เฉพาะระหว่าง Guest กับ Host</p>
<p>การคอนฟิกพอร์ตแลนของ Guest ให้อยู่ในโหมดที่ต้องการทำได้ดังนี้</p>
<ul>
<li>คลิ้กที่ Edit Virtual machine settings ในหน้า Console</li>
<li>ในแท็ป Hardware คลิ้กเลือก Ethernet ด้านขวามือจะมี &#8220;Network Connection&#8221; แสดง ให้เลือกเป็น [x] Host-only</li>
</ul>
<p><img class="alignnone size-full wp-image-639" title="Edit Ethernet" src="http://spalinux.com/wp-content/uploads/2009/05/edit_ethernet.png" alt="Edit Ethernet" width="617" height="475" /></p>
<p>สามารถดูคอนฟิก IP Address ได้จากการคลิ้กแท็ป &#8220;Host Virtual Network Mapping&#8221; แล้วกดปุ่มเครื่องหมายมากกว่า ที่อยู่ทางขวาของ VMnet1 แล้วเลือก Subnet</p>
<p><img class="alignnone size-full wp-image-640" title="Host Virtual Network Map" src="http://spalinux.com/wp-content/uploads/2009/05/03_host_virtual_network_map.png" alt="Host Virtual Network Map" width="609" height="447" /></p>
<p>หน้าจอจะแสดง Subnet Address ของ VMnet1 เราสามารถเปลี่ยบเป็น Address ที่ต้องการได้ โดยระบุช่อง IP Address เป็น Subnet Address และระบุ Subnet Mask</p>
<p>หมายเหตุ เมื่อมีการเปลี่ยนแปลง Subnet Address ค่าคอนฟิก DHCP และ IP Address ของ &#8220;VMware Network Adapter VMnet1&#8243; จะเปลี่ยนตามไปด้วย</p>
<p><img class="alignnone size-full wp-image-641" title="VMnet1 Subnet" src="http://spalinux.com/wp-content/uploads/2009/05/03_1-subnet.png" alt="VMnet1 Subnet" width="294" height="139" /></p>
<p>คอนฟิกโดยดีฟอลต์อีกอย่างของ VMware Server คือจะมีการแจก IP address โดยอัตโนมัติ (DHCP) ให้กับ Guest</p>
<p><img class="alignnone size-full wp-image-642" title="VMnet DHCP" src="http://spalinux.com/wp-content/uploads/2009/05/03_1-dhcp.png" alt="VMnet DHCP" width="402" height="420" /></p>
<p>ที่เหลือคือต้องคอนฟิก IP Address ของ OS ที่รันใน Virtual Machine ให้อยู่ใน Subnet ที่ถูกต้อง หรือจะคอนฟิกให้รับจาก DHCP จะได้เหมือนกัน</p>
<h4>ข้อมูลอ้างอิง</h4>
<ul>
<li><a href="http://spalinux.com/2009/05/install_vmware_server_on_windows_xp">ติดตั้ง VMware Server บน Windows XP</a></li>
<li><a href="http://spalinux.com/2009/05/create_virtual_machine_in_vmware_server_on_windows_xp">สร้าง Virtual Machine ใน VMware Server บน Windows XP</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2009/05/configure_vmware_server_networks_on_windows/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>สร้าง Virtual Machine ใน VMware Server บน Windows XP</title>
		<link>http://spalinux.com/2009/05/create_virtual_machine_in_vmware_server_on_windows_xp</link>
		<comments>http://spalinux.com/2009/05/create_virtual_machine_in_vmware_server_on_windows_xp#comments</comments>
		<pubDate>Thu, 07 May 2009 18:53:52 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware Server]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=621</guid>
		<description><![CDATA[หลังจาก ติดตั้ง VMware Server บน Windows XP เสร็จแล้ว ขั้นตอนต่อไปคือการสร้าง Virtual Machine ขึ้นมาใน VMware Server เพื่อทำหน้าที่เป็นเครื่องคอมพิวเตอร์เสมือน ไว้สำหรับทดลองใช้ลงลีนุกซ์หรือระบบปฎิบิตการอื่นๆ ได้ ไม่ว่าจะเป็น Windows เวอร์ชั่นต่างๆ หรือ Sun Solaris (x86) ได้อีกด้วย ไปที่ Start -&#62; All Programs -&#62; VMware -&#62; VMware Server -&#62; VMware Server Console เลือก [x] Local Host เพื่อรันโปรแกรม VMware Server Console     คลิ้ก &#8220;New Virtual Machine&#8221; เพื่อเริ่มต้นรัน Wizard ช่วยสร้าง Virtual Machine [...]]]></description>
			<content:encoded><![CDATA[<p>หลังจาก <a href="http://spalinux.com/2009/05/install_vmware_server_on_windows_xp">ติดตั้ง VMware Server บน Windows XP</a> เสร็จแล้ว ขั้นตอนต่อไปคือการสร้าง Virtual Machine ขึ้นมาใน VMware Server เพื่อทำหน้าที่เป็นเครื่องคอมพิวเตอร์เสมือน ไว้สำหรับทดลองใช้ลงลีนุกซ์หรือระบบปฎิบิตการอื่นๆ ได้ ไม่ว่าจะเป็น Windows เวอร์ชั่นต่างๆ หรือ Sun Solaris (x86) ได้อีกด้วย</p>
<p><span id="more-621"></span></p>
<p>ไปที่ Start -&gt; All Programs -&gt; VMware -&gt; VMware Server -&gt; VMware Server Console เลือก [x] Local Host เพื่อรันโปรแกรม VMware Server Console  </p>
<p><img class="alignnone size-full wp-image-624" title="VMware Server Console" src="http://spalinux.com/wp-content/uploads/2009/05/10_connected_to_local_host1.png" alt="VMware Server Console" width="732" height="532" /></p>
<p> </p>
<p>คลิ้ก &#8220;<strong>New Virtual Machine</strong>&#8221; เพื่อเริ่มต้นรัน Wizard ช่วยสร้าง Virtual Machine</p>
<p><img class="alignnone size-full wp-image-606" title="Welcome to the New Virtual Machine Wizard" src="http://spalinux.com/wp-content/uploads/2009/05/01_welcome_to_the_new_virtual_machine_wizard.png" alt="Welcome to the New Virtual Machine Wizard" width="441" height="388" /></p>
<p> </p>
<p>หน้า &#8220;Select the Appropriate Configuration&#8221; แนะนำให้คลิ้กเลือก [x] Custom เพื่อปรับแต่งค่าคอนฟิกที่ใช้ในการสร้าง Virtual Machine </p>
<p><img class="alignnone size-full wp-image-607" title="Select the Appropriate Configuration" src="http://spalinux.com/wp-content/uploads/2009/05/02_select_the_appropriate_configuration.png" alt="Select the Appropriate Configuration" width="441" height="388" /></p>
<p> </p>
<p>หน้า &#8220;Select a Guest Operating System&#8221; เลือก ระบบปฎิบัติการที่เราต้องการจะลงใน Virtual Machine ในแต่ละ OS ยังมีเวอร์ชั่นต่างๆ ให้เลือกได้อีกด้วย</p>
<p>ถ้าต้องการลงลินุกซ์ เลือก [x] Linux ส่วนเวอร์ชั่นที่มีให้เลือกนั้น ถ้าตรงกับ  Linux Distribution ที่ต้องการจะลงบน Virtual Machine ก็ให้เลือกเวอร์ชั่นนั้น อาจจะเลือกใกล้เคียง แต่ถ้าไม่มีชื่อที่ตรง และต้องการจะลง Linux Distribution ใหม่ๆ แนะนำให้เลือกเป็น &#8220;Other Linux 2.6.x&#8221; ถ้าเครื่องสามารถรันโปรแกรม 64-bit ได้ ให้เลือก kernel 64-bit แต่ถ้ารันไม่ได้ ให้เลือก ที่ไม่มีคำว่า 64-bit</p>
<p><img class="alignnone size-full wp-image-608" title="Select a Guest Operating System" src="http://spalinux.com/wp-content/uploads/2009/05/03_select_a_guest_operating_system.png" alt="Select a Guest Operating System" width="441" height="388" /></p>
<p><strong></strong> </p>
<p><strong>หมายเหตุ</strong> สามารถตรวจสอบได้ว่าเครื่องของคุณสามารถรัน Guest OS ที่เป็น 64-bit ได้หรือไม่ จากหน้าเว็บไซต์ <a href="http://www.vmware.com/download/server/drivers_tools.html" target="_blank">Download VMware Server Drivers &amp; Tools</a> ในส่วน <strong>Processor Check for 64-Bit Compatibility</strong> มีโปรแกรมเล็กๆ ที่สามารถดาวน์โหลดมารันเพื่อตรวจสอบได้ที่ <a href="http://download3.vmware.com/software/wkst/VMware-guest64check-5.5.0-18463.exe">http://download3.vmware.com/software/wkst/VMware-guest64check-5.5.0-18463.exe</a></p>
<p>ตัวอย่างผลลัพธ์การตรวจสอบ Processor Check for 64-Bit Compatibility  ว่าสามารถรัน 64-bit Guest OS ได้</p>
<p> <img class="alignnone size-full wp-image-625" title="Processor Check for 64-bit compatibility" src="http://spalinux.com/wp-content/uploads/2009/05/processor_check_for_64-bit_compatibility.png" alt="Processor Check for 64-bit compatibility" width="428" height="126" /></p>
<p> </p>
<p>หน้า &#8220;Name the Virtual Machine&#8221;  ใส่ชือ Virtual machine name กดปุ่ม [Browse...] เลือกไดเร็คทอรี ที่ไว้เก็บไฟล์ที่ใช้สร้าง Guest OS</p>
<p> <img class="alignnone size-full wp-image-609" title="Name the Virtual Machine" src="http://spalinux.com/wp-content/uploads/2009/05/04_name_the_virtual_machine.png" alt="Name the Virtual Machine" width="441" height="388" /></p>
<p> </p>
<p>หน้า &#8220;Set Access Rights&#8221; แนะนำให้คลิ้ก ไม่เลือก [ ] Make this virtual machine private</p>
<p><img class="alignnone size-full wp-image-610" title="Set Access Rights" src="http://spalinux.com/wp-content/uploads/2009/05/05_set_access_rights.png" alt="Set Access Rights" width="441" height="388" /></p>
<p> </p>
<p>หน้า &#8220;Startup/ Shutdown Options&#8221; แนะนำเลือกรันเป็น [x] Local system account ส่วน On host startup, On host shutdown คือให้เปิดหรือปิด Virtual Machine นี้ตอนเปิด ปิดครื่องหลัก หรือไม่</p>
<p><img class="alignnone size-full wp-image-611" title="Startup Shutdown Options" src="http://spalinux.com/wp-content/uploads/2009/05/06_startup_shutdown_options.png" alt="Startup Shutdown Options" width="441" height="388" /></p>
<p> </p>
<p>หน้า &#8220;Processor Configuration&#8221; เลือกจำนวน CPU ที่จะใช้ใน Virtual Machine </p>
<p><img class="alignnone size-full wp-image-612" title="Processor Confiugration" src="http://spalinux.com/wp-content/uploads/2009/05/07_processor_confiugration.png" alt="Processor Confiugration" width="441" height="388" /></p>
<p> </p>
<p>หน้า &#8220;Memory for the Virtual Machine&#8221; เลือกขนาด memory ของ Virtual Machine</p>
<p><strong>คำเตือน </strong>ขนาด memory ที่สร้างให้ Virtual Machine ไม่สมควรมากเกินขนาด  physical memory จริงๆ ที่เครื่องมี และต้องเผื่อบางส่วนให้เครื่องหลัก (Host) ไว้ใช้ด้วย เพราะไม่เช่นนั้นจะมีการใช้ดิสก์ของเครื่องช่วยทำเป็น memory เพิ่มเติม ทำให้เครื่องช้า</p>
<p><img class="alignnone size-full wp-image-613" title="Memory for the Virtual Machine" src="http://spalinux.com/wp-content/uploads/2009/05/08_memory_for_the_virtual_machine.png" alt="Memory for the Virtual Machine" width="441" height="388" /></p>
<p> </p>
<p>เลือกคอนฟิกทางด้าน network</p>
<p>หมายเหตุ ส่วน network จะยกไปอธิบายบทความถัดไป ตอนนี้ให้เลือก [x] Use bridged networking</p>
<p><img class="alignnone size-full wp-image-614" title="Network Type" src="http://spalinux.com/wp-content/uploads/2009/05/09_network_type.png" alt="Network Type" width="441" height="388" /></p>
<p> </p>
<p>หน้า &#8220;Select a Disk&#8221; เลือก [x] Create a new virtual disk</p>
<p><img class="alignnone size-full wp-image-615" title="Select a Disk" src="http://spalinux.com/wp-content/uploads/2009/05/10_select_a_disk.png" alt="Select a Disk" width="441" height="388" /></p>
<p> </p>
<p>เลือกคอนฟิกชนิดของดิสก์ที่จะถูกทำเป็น Disk ใน Guest แนะนำให้เลือกเป็น [x] SCSI </p>
<p>ชนิดของดิสก์ตรงนี้ไม่ใช่ประเภทของ Physical Disk ที่เครื่องหลัก (Host) ใช้อยู่</p>
<p><img class="alignnone size-full wp-image-616" title="Select a Disk Type" src="http://spalinux.com/wp-content/uploads/2009/05/11_select_a_disk_type.png" alt="Select a Disk Type" width="441" height="388" /></p>
<p> </p>
<p> เลือกชื่อ Disk file แนะนำให้ตั้งชื่อเหมือนชื่อ &#8220;Virtual machine name&#8221; ที่ตั้งไว้ตอนแรก เพื่อง่ายต่อการจดจำ ในกรณีที่มีการ copy ไฟล์ไปไว้ที่อื่น</p>
<p><img class="alignnone size-full wp-image-618" title="Specify Disk File" src="http://spalinux.com/wp-content/uploads/2009/05/13_specify_disk_file.png" alt="Specify Disk File" width="441" height="388" /></p>
<p> </p>
<p>หน้า &#8220;Specify Disk Capacity&#8221; ระบุขนาดดิสก์ (หน่วย GB) ที่จะสร้างสำหรับ Guest OS  สำหรับการทดลองใช้แนะนำให้ไม่เลือก [x] Allocate all disk space now เพราะถ้าเลือกไปจะต้องมีการจองขนาด physical disk เท่ากับขนาด Disk size ที่ระบุ</p>
<p>หมายเหตุ สามารถดู Disk size ที่ต้องระบุที่ <a href="http://spalinux.com/2008/12/creating_various_disk_size_in_vmware_server">ทดลองสร้างดิสก์ขนาดต่างๆ ใน VMware Server</a> เพื่อให้ได้ขนาดดิสก์ที่มองเห็นได้จาก Guest Virtual Machine</p>
<p><img class="alignnone size-full wp-image-617" title="Specify Disk Capacity" src="http://spalinux.com/wp-content/uploads/2009/05/12_specify_disk_capacity.png" alt="Specify Disk Capacity" width="441" height="388" /> </p>
<p> </p>
<p> หน้าจอแสดงคอนฟิกของ Virtual Machine ที่สร้างได้ คลิ้กที่ &#8220;Start this virtual machine&#8221; เพื่อเปิด Virtual Machine (เหมือนเปิดเครื่อง)</p>
<p><img class="alignnone size-full wp-image-619" title="New Created Virtual Machine" src="http://spalinux.com/wp-content/uploads/2009/05/14_new_created_virtual_machine.png" alt="New Created Virtual Machine" width="732" height="533" /></p>
<p> </p>
<p> หน้าจอแสดงการบู๊ตของ Virtual Machine</p>
<p><img class="alignnone size-full wp-image-620" title="Booting Virtual Machine" src="http://spalinux.com/wp-content/uploads/2009/05/15_booting_virtual_machine.png" alt="Booting Virtual Machine" width="652" height="613" /></p>
<p> </p>
<p> หากกดปุ่ม F2 ตอนบู๊ต สามารถเข้าหน้าจอคอนฟิก BIOS ของ Virtual Machine ได้</p>
<p><img class="alignnone size-full wp-image-605" title="BIOS of Virtual Machine" src="http://spalinux.com/wp-content/uploads/2009/05/16_bios_of_virtual_machine.png" alt="BIOS of Virtual Machine" width="652" height="613" /></p>
<p>กดปุ่มสี่เหลี่ยมสีแดงซ้ายมือสุด เพื่อปิดเครื่อง Virtual Machine</p>
<h4>ข้อมูลอ้างอิง</h4>
<ul>
<li><a href="http://spalinux.com/2009/05/install_vmware_server_on_windows_xp">ติดตั้ง VMware Server บน Windows XP</a></li>
<li><a href="http://spalinux.com/2008/12/creating_various_disk_size_in_vmware_server">ทดลองสร้างดิสก์ขนาดต่างๆ ใน VMware Server</a></li>
<li><a href="http://spalinux.com/2009/05/configure_vmware_server_networks_on_windows">คอนฟิก VMware Server Networks บน Windows</a></li>
<li><a href="http://www.vmware.com/download/server/drivers_tools.html" target="_blank">Download VMware Server Drivers &amp; Tools &#8211; Processor Check for 64-Bit Compatibility</a> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2009/05/create_virtual_machine_in_vmware_server_on_windows_xp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ติดตั้ง VMware Server บน Windows XP</title>
		<link>http://spalinux.com/2009/05/install_vmware_server_on_windows_xp</link>
		<comments>http://spalinux.com/2009/05/install_vmware_server_on_windows_xp#comments</comments>
		<pubDate>Wed, 06 May 2009 18:00:11 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware Server]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=588</guid>
		<description><![CDATA[บทความในที่เขียนไปแล้วในเว็บไซต์ส่วนใหญ่ จะเหมาะสำหรับ Linux Administrator ที่มีประสบการณ์การใช้งานลีนุกซ์มาบ้างแล้ว คือมีเซิร์ฟเวอร์ติดตั้ง สามารถใช้ Secure Shell เป็น ความตั้งใจอีกอย่างนึงคืออยากให้ผู้ที่ไม่เคยใช้ลีนุกซ์มาก่อนเลย แต่มีความสนใจจะหัดใช้ เพียงแต่ว่าไม่รู้จะเริ่มต้นอย่างไร ใช้บทความในเว็บไซต์นี้เป็นคำแนะนำ จุดเริ่มต้นทดลอง ศึกษา ขอเริ่มต้นด้วยการติดตั้ง VMware Server บน Windows XP ซึ่งเป็นโปรแกรมที่สามารถสร้างเครื่องจำลอง (Virtual Machine) ขึ้นมาอยู่ภายในเครื่องของเราเอง โดยเครื่องจำลอง (Guest) นี้มีความสามารถเทียบเท่ากับเครื่อง PC ทั่วไป เช่นนำมาใช้ติดตั้ง Windows, ลีนุกซ์ แยกต่างหากจากเครื่องที่เราใช้อยู่ได้ เพื่อการทดลองติดตั้งโปรแกรมต่างๆ ลงไป ดาวน์โหลดโปรแกรม VMware Server ได้ที่ Download VMware Server แนะนำให้ใช้เป็นเวอร์ชั่น 1.0.x ล่าสุดที่เขียนบทความ (6 May 2009) เป็นเวอร์ชั่น 1.0.9 ไฟล์มีขนาดประมาณ 150MBytes สำหรับ [...]]]></description>
			<content:encoded><![CDATA[<p>บทความในที่เขียนไปแล้วในเว็บไซต์ส่วนใหญ่ จะเหมาะสำหรับ Linux Administrator ที่มีประสบการณ์การใช้งานลีนุกซ์มาบ้างแล้ว คือมีเซิร์ฟเวอร์ติดตั้ง สามารถใช้ Secure Shell เป็น</p>
<p>ความตั้งใจอีกอย่างนึงคืออยากให้ผู้ที่ไม่เคยใช้ลีนุกซ์มาก่อนเลย แต่มีความสนใจจะหัดใช้ เพียงแต่ว่าไม่รู้จะเริ่มต้นอย่างไร ใช้บทความในเว็บไซต์นี้เป็นคำแนะนำ จุดเริ่มต้นทดลอง ศึกษา</p>
<p>ขอเริ่มต้นด้วยการติดตั้ง VMware Server บน Windows XP ซึ่งเป็นโปรแกรมที่สามารถสร้างเครื่องจำลอง (Virtual Machine) ขึ้นมาอยู่ภายในเครื่องของเราเอง โดยเครื่องจำลอง (Guest) นี้มีความสามารถเทียบเท่ากับเครื่อง PC ทั่วไป เช่นนำมาใช้ติดตั้ง Windows, ลีนุกซ์ แยกต่างหากจากเครื่องที่เราใช้อยู่ได้ เพื่อการทดลองติดตั้งโปรแกรมต่างๆ ลงไป</p>
<p><span id="more-588"></span>ดาวน์โหลดโปรแกรม VMware Server ได้ที่</p>
<p><a href="http://www.vmware.com/download/server/" target="_blank">Download VMware Server</a></p>
<p>แนะนำให้ใช้เป็นเวอร์ชั่น 1.0.x ล่าสุดที่เขียนบทความ (6 May 2009) เป็นเวอร์ชั่น 1.0.9 ไฟล์มีขนาดประมาณ 150MBytes</p>
<p>สำหรับ Windows เลือกดาวน์โหลดไฟล์สำหรับ &#8220;VMware Server for Windows Operating Systems.&#8221;</p>
<p><a href="http://download3.vmware.com/software/vmserver/VMware-server-installer-1.0.9-156507.exe">http://download3.vmware.com/software/vmserver/VMware-server-installer-1.0.9-156507.exe</a></p>
<p>สามารถของ Serial Number ฟรีได้ที่</p>
<p><a href="http://register.vmware.com/content/registration.html" target="_blank">Download VMware Server &#8211; Registration</a></p>
<p>เมื่อได้ไฟล์มาแล้วก็สามารถติดตั้งได้ง่ายเหมือนโปรแกรมบน Windows ทั่วไป</p>
<p>หน้าจอ Welcome to the installatoin wizard for VMware Server กดปุ่ม [Next &gt;]</p>
<p><img class="alignnone size-full wp-image-589" title="Welcome to the Installation Wizard for VMware Server" src="http://spalinux.com/wp-content/uploads/2009/05/01_welcome_to_the_installation_wizard_for_vmware_server.png" alt="Welcome to the Installation Wizard for VMware Server" width="504" height="386" /></p>
<p> </p>
<p>หน้า &#8220;License Agreement&#8221; คลิ้ก [x] I accept the terms in the license agreement แล้วกดปุ่ม [Next &gt;]</p>
<p><img class="alignnone size-full wp-image-590" title="License Agreement" src="http://spalinux.com/wp-content/uploads/2009/05/02_license_agreement.png" alt="License Agreement" width="504" height="386" /></p>
<p>หน้า &#8220;Setup Type&#8221; แนะนำให้เลือก [x] Custom แล้วกด [Next &gt;]</p>
<p><img class="alignnone size-full wp-image-591" title="Setup Type" src="http://spalinux.com/wp-content/uploads/2009/05/03_setup_type.png" alt="Setup Type" width="504" height="386" /></p>
<p>เมื่อเลือกแบบ [Custom Setup] จะสามารถเลือก components ที่จะลงได้ หรือกด Browse เพื่อเลือก drive ที่ install</p>
<p>หมายเหตุ ถ้าใช้ Windows XP ไม่แนะนำให้เลือก VMware Management Interface เพราะต้องใช้ IIS ด้วย</p>
<p><img class="alignnone size-full wp-image-592" title="Custom Setup" src="http://spalinux.com/wp-content/uploads/2009/05/04_custom_setup.png" alt="Custom Setup" width="504" height="386" /></p>
<p>หน้าจอ &#8220;Ready to Install the VMware Server componets&#8221; กดปุ่ม [Install]</p>
<p><img class="alignnone size-full wp-image-593" title="Ready to Install the VMware Server components" src="http://spalinux.com/wp-content/uploads/2009/05/05_ready_to_install_the_vmware_server_components.png" alt="Ready to Install the VMware Server components" width="504" height="386" />s</p>
<p>หน้าจอแสดงกำลังติดตั้ง VMware Server</p>
<p><img class="alignnone size-full wp-image-594" title="Installing VMware Server_components" src="http://spalinux.com/wp-content/uploads/2009/05/06_installing_vmware_server_components.png" alt="Installing VMware Server_components" width="504" height="386" /></p>
<p>หล้งจากติดตั้งเสร็จ ต้องกรอกข้อมูล รวมทั้ง Serial Number ที่ขอมาจากเว็บไซต์</p>
<p><img class="alignnone size-full wp-image-595" title="Customer Information" src="http://spalinux.com/wp-content/uploads/2009/05/07_customer_information.png" alt="Customer Information" width="504" height="386" /></p>
<p>เสร็จสิ้นการติดตั้ง</p>
<p><img class="alignnone size-full wp-image-596" title="Installation Wizard completed" src="http://spalinux.com/wp-content/uploads/2009/05/08_installation_wizard_completed.png" alt="Installation Wizard completed" width="504" height="386" /></p>
<p> </p>
<p>คลิ้ก Start -&gt; All Programs -&gt; VMware -&gt; VMware Server -&gt; VMware Server Console เลือก [x] Local Host</p>
<p><img class="alignnone size-full wp-image-597" title="VMware Server Console" src="http://spalinux.com/wp-content/uploads/2009/05/09_vmware_server_console.png" alt="VMware Server Console" width="730" height="536" /></p>
<p>หน้าจอ VMware Server Console ที่อยู่ในเครื่องของเราเอง</p>
<p><img class="alignnone size-full wp-image-598" title="Connected to Local Host" src="http://spalinux.com/wp-content/uploads/2009/05/10_connected_to_local_host.png" alt="Connected to Local Host" width="732" height="532" /></p>
<p>ตอนต่อไปจะแนะนำวิธีการคอนฟิกและสร้าง Guest Virtual Machine ใน VMware Server Console</p>
<h4>ข้อมูลอ้างอิง</h4>
<ul>
<li><a href="http://www.vmware.com/download/server/" target="_blank">Download VMware Server</a></li>
<li><a href="http://register.vmware.com/content/registration.html" target="_blank">Download VMware Server &#8211; Registration</a></li>
<li><a href="http://spalinux.com/2009/05/create_virtual_machine_in_vmware_server_on_windows_xp">สร้าง Virtual Machine ใน VMware Server บน Windows XP</a></li>
<li><a href="http://spalinux.com/2009/05/configure_vmware_server_networks_on_windows">คอนฟิก VMware Server Networks บน Windows</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2009/05/install_vmware_server_on_windows_xp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ทดลองสร้างดิสก์ขนาดต่างๆ ใน VMware Server</title>
		<link>http://spalinux.com/2008/12/creating_various_disk_size_in_vmware_server</link>
		<comments>http://spalinux.com/2008/12/creating_various_disk_size_in_vmware_server#comments</comments>
		<pubDate>Fri, 12 Dec 2008 10:38:59 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Disk]]></category>
		<category><![CDATA[Filesystem]]></category>
		<category><![CDATA[Linux Installation]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=389</guid>
		<description><![CDATA[บทความนี้ไม่มีไรมาก แค่ทดลองสร้างดิสก์ใน VMware Server ด้วยขนาดต่างๆ ที่ใกล้เคียงกับขนาดฮาร์ดดิสก์จริงๆ (physical disk) ที่มีขายทั่วไป ทั้งนี้เพื่อเปรียบเทียบค่าต่างๆ เช่น จำนวน cylinder, block, หรือ disk size ที่ใช้ได้จริงหลังการสร้าง filesystem แบบ ext3 บนลินุกซ์ ระบบทดสอบ Host OS รัน VMware Server 1.0.7 Guest OS ติดตั้ง Fedora 10 (i386) การเพิ่มดิสก์ใน VMware Server ก่อนที่จะเพิ่มดิสก์ได้ ต้อง shutdown ตัว Guest OS ก่อน หลังจากปิดเรียบร้อย ใช้โปรแกรม VMware Server Console เพื่อแก้ไขค่าคอนฟิกของ Guest OS ดังนี้ คลิ้กที่ลิงค์ [...]]]></description>
			<content:encoded><![CDATA[<p>บทความนี้ไม่มีไรมาก แค่ทดลองสร้างดิสก์ใน VMware Server ด้วยขนาดต่างๆ ที่ใกล้เคียงกับขนาดฮาร์ดดิสก์จริงๆ (physical disk) ที่มีขายทั่วไป ทั้งนี้เพื่อเปรียบเทียบค่าต่างๆ เช่น จำนวน cylinder, block, หรือ disk size ที่ใช้ได้จริงหลังการสร้าง filesystem แบบ ext3 บนลินุกซ์</p>
<p><span id="more-389"></span></p>
<h4>ระบบทดสอบ</h4>
<ul>
<li>Host OS รัน VMware Server 1.0.7</li>
<li>Guest OS ติดตั้ง Fedora 10 (i386)</li>
</ul>
<h4>การเพิ่มดิสก์ใน VMware Server</h4>
<p>ก่อนที่จะเพิ่มดิสก์ได้ ต้อง shutdown ตัว Guest OS ก่อน หลังจากปิดเรียบร้อย ใช้โปรแกรม VMware Server Console เพื่อแก้ไขค่าคอนฟิกของ Guest OS ดังนี้</p>
<ul>
<li>คลิ้กที่ลิงค์ &#8220;Edit virtual machine settings&#8221; ในแท็ปของ Guest OS ที่ต้องการแก้ไข</li>
<li>ในหน้า Virtual Machine Settings แท็ป Hardware กดปุ่ม [Add...]</li>
<li>จะเข้าสู่หน้า Add Hardware Wizard กดปุ่ม [Next &gt;]</li>
<li>เลือก Hardware Type เป็น &#8220;Hard Disk&#8221; แล้วกดปุ่ม [Next &gt;]</li>
<li>ในหน้า Select a Disk เลือกชนิดเป็น &#8220;Create a new virtual disk&#8221; แล้วกดปุ่ม [Next &gt;]</li>
<li>เลือก Virtual Disk Type เป็น &#8220;SCSI (Recommended)&#8221; แล้วกดปุ่ม [Next &gt;]</li>
<li>ใส่ขนาด Disk capacity ที่ต้องการ โดยหน่วยจะเป็น GB สามารถดูตารางด้านล่างเพื่อเปรียบเทียบขนาดที่ต้องระบุใน VMware Server เทียบกับขนาดที่คำสั่ง fdisk ในลินุกซ์จะเห็น (หมายเหตุ สำหรับการทดลอง ในการระบุ Disk Capacity แนะนำให้คลิ้กไม่เลือก &#8220;Allocate all disk space now&#8221; และ &#8220;Split disk into 2 GB files&#8221; ออกไป</li>
<li>ในหน้า Specify Disk File ใส่ชื่อไฟล์ที่ใช้เก็บดิสก์ใน VMware ที่สร้างขึ้น แล้วกดปุ่ม [Finish]</li>
<li>กดปุ่ม Power On ใน VMware Server Console เพื่อเปิด Guest OS อีกครั้ง</li>
</ul>
<p>ตารางเปรียบเทียบค่าที่ต้องระบุ (GB) ใน VMware Server และขนาดที่คำสั่ง fdisk ในลินุกซ์มองเห็น</p>
<pre>   ----------------   -----
   VMware Disk Size   fdisk
   ----------------   -----
      37.3               40
     111.8              120
     232.9              250
     298.1              320
     372.6              400
     465.7              500
     931.4             1000</pre>
<p>ส่วนที่เหลือจะเป็นการเปรียบเทียบค่าต่างๆ ที่ได้จากการระบุดิสก์ขนาดต่างๆ</p>
<h4>Disk 40 GB</h4>
<pre>[root@vmware-disk ~]# <strong>fdisk -l /dev/sdb</strong></pre>
<pre>Disk /dev/sdb: 40.0 GB, 40050569728 bytes
255 heads, 63 sectors/track, 4869 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4fa7e4c7</pre>
<pre>   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        4869    39110211   83  Linux</pre>
<pre>[root@vmware-disk ~]# <strong>mkfs.ext3 /dev/sdb1
</strong>[root@vmware-disk ~]# <strong>mkdir /mnt/40G
</strong>[root@vmware-disk ~]# <strong>mount /dev/sdb1 /mnt/40G</strong></pre>
<pre>[root@vmware-disk ~]# <strong>df -h /mnt/40G/
</strong>Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1              37G  177M   35G   1% /mnt/40G</pre>
<h4>Disk 120 GB</h4>
<pre>[root@vmware-disk ~]# <strong>fdisk -l /dev/sdc</strong></pre>
<pre>Disk /dev/sdc: 120.0 GB, 120044335616 bytes
255 heads, 63 sectors/track, 14594 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0ccd4dcd</pre>
<pre>   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       14594   117226273+  83  Linux</pre>
<pre>[root@vmware-disk ~]# <strong>mkfs.ext3 /dev/sdc1
</strong>[root@vmware-disk ~]# <strong>mkdir /mnt/120G
</strong>[root@vmware-disk ~]# <strong>mount /dev/sdc1 /mnt/120G</strong></pre>
<pre>[root@vmware-disk ~]# <strong>df -h /mnt/120G/
</strong>Filesystem            Size  Used Avail Use% Mounted on
/dev/sdc1             111G  188M  105G   1% /mnt/120G</pre>
<h4>Disk 250 GB</h4>
<pre>[root@vmware-disk ~]# <strong>fdisk -l /dev/sdd</strong></pre>
<pre>Disk /dev/sdd: 250.0 GB, 250074470400 bytes
255 heads, 63 sectors/track, 30403 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x341bd7b6</pre>
<pre>   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1       30403   244212066   83  Linux</pre>
<pre>[root@vmware-disk ~]# <strong>mkfs.ext3 /dev/sdd1
</strong>[root@vmware-disk ~]# <strong>mkdir /mnt/250G
</strong>[root@vmware-disk ~]# <strong>mount /dev/sdd1 /mnt/250G</strong></pre>
<pre>[root@vmware-disk ~]# <strong>df -h /mnt/250G/
</strong>Filesystem            Size  Used Avail Use% Mounted on
/dev/sdd1             230G  188M  218G   1% /mnt/250G</pre>
<h4>Disk 320 GB</h4>
<pre>[root@vmware-disk ~]# <strong>fdisk -l /dev/sde</strong></pre>
<pre>Disk /dev/sde: 320.0 GB, 320082437632 bytes
255 heads, 63 sectors/track, 38914 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x254c4f2d</pre>
<pre>   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1       38914   312576673+  83  Linux</pre>
<pre>[root@vmware-disk ~]# <strong>mkfs.ext3 /dev/sde1
</strong>[root@vmware-disk ~]# <strong>mkdir /mnt/320G
</strong>[root@vmware-disk ~]# <strong>mount /dev/sde1 /mnt/320G</strong></pre>
<pre>[root@vmware-disk ~]# <strong>df -h /mnt/320G/
</strong>Filesystem            Size  Used Avail Use% Mounted on
/dev/sde1             294G  191M  279G   1% /mnt/320G</pre>
<h4>Disk 400 GB</h4>
<pre>[root@vmware-disk ~]#<strong> fdisk -l /dev/sdf</strong></pre>
<pre>Disk /dev/sdf: 400.0 GB, 400076203520 bytes
255 heads, 63 sectors/track, 48639 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3d2e7cad</pre>
<pre>   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1               1       48639   390692736   83  Linux</pre>
<pre>[root@vmware-disk ~]# <strong>mkfs.ext3 /dev/sdf1</strong>
[root@vmware-disk ~]# <strong>mkdir /mnt/400G
</strong>[root@vmware-disk ~]# <strong>mount /dev/sdf1 /mnt/400G</strong></pre>
<pre>[root@vmware-disk ~]# <strong>df -h /mnt/400G/
</strong>Filesystem            Size  Used Avail Use% Mounted on
/dev/sdf1             367G  195M  348G   1% /mnt/400G</pre>
<h4>Disk 500 GB</h4>
<pre>[root@vmware-disk ~]# <strong>fdisk -l /dev/sdg</strong></pre>
<pre>Disk /dev/sdg: 500.0 GB, 500041567232 bytes
255 heads, 63 sectors/track, 60793 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe76bfa8e</pre>
<pre>   Device Boot      Start         End      Blocks   Id  System
/dev/sdg1               1       60793   488319741   83  Linux</pre>
<pre>[root@vmware-disk ~]# <strong>mkfs.ext3 /dev/sdg1
</strong>[root@vmware-disk ~]# <strong>mkdir /mnt/500G
</strong>[root@vmware-disk ~]# <strong>mount /dev/sdg1 /mnt/50</strong>0G</pre>
<pre>[root@vmware-disk ~]# <strong>df -h /mnt/500G/</strong>
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdg1             459G  199M  435G   1% /mnt/500G</pre>
<h4>Disk 1000 GB (1 TB)</h4>
<pre>[root@vmware-disk ~]# <strong>fdisk -l /dev/sdh</strong></pre>
<pre>Disk /dev/sdh: 1000.0 GB, 1000083134464 bytes
255 heads, 63 sectors/track, 121586 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x96fd10a2</pre>
<pre>   Device Boot      Start         End      Blocks   Id  System
/dev/sdh1               1      121586   976639513+  83  Linux</pre>
<pre>[root@vmware-disk ~]# <strong>mkfs.ext3 /dev/sdh1
</strong>[root@vmware-disk ~]# <strong>mkdir /mnt/1000G
</strong>[root@vmware-disk ~]# <strong>mount /dev/sdh1 /mnt/1000G</strong></pre>
<pre>[root@vmware-disk ~]# <strong>df -h /mnt/1000G/
</strong>Filesystem            Size  Used Avail Use% Mounted on
/dev/sdh1             917G  200M  871G   1% /mnt/1000G</pre>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2008/12/creating_various_disk_size_in_vmware_server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
