<?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>WING LOON &#187; Linux</title>
	<atom:link href="http://wingloon.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://wingloon.com</link>
	<description>decoding my knowledge through blogging</description>
	<lastBuildDate>Sun, 22 Jan 2012 05:00:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To Install Setup L2TP over IPsec VPN in Debian Lenny</title>
		<link>http://wingloon.com/2012/01/11/how-to-install-setup-l2tp-over-ipsec-vpn-in-debian-lenny/</link>
		<comments>http://wingloon.com/2012/01/11/how-to-install-setup-l2tp-over-ipsec-vpn-in-debian-lenny/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 06:21:23 +0000</pubDate>
		<dc:creator>wingloon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wingloon.com/?p=1217</guid>
		<description><![CDATA[In this how to, I am going to share how to install setup L2TP over IPsec VPN in Debian Lenny using openswan and xl2tpd package. I am going to use Pre-Shared Key (PSK) in IPsec and CHAP as an authentication mechanism. This how to has been tested on iPad 2, Mac OS X Lion and [...]]]></description>
			<content:encoded><![CDATA[<p>In this how to, I am going to share how to install setup L2TP over IPsec VPN in Debian Lenny using openswan and xl2tpd package. I am going to use Pre-Shared Key (PSK) in IPsec and CHAP as an authentication mechanism. This how to has been tested on iPad 2, Mac OS X Lion and Windows 7. However, if you tested this how to with other OSes and smartphones, I would like to hear from you in the comments. </p>
<p>I am using <a href="http://bit.ly/yyPKWo" target="_blank">Hostigation KVM</a> (affiliate link) for this how to. Let&#8217;s get started and I am using root. </p>
<p><span id="more-1217"></span></p>
<p>1. Install Openswan using command below in Debian Lenny (answer the default questions asked): -<br />
<code># aptitude install openswan</code></p>
<p>2. Add the below configuration to /etc/ipsec.conf file: -<br />
<code># basic configuration<br />
config setup<br />
	nat_traversal=yes<br />
	virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12<br />
	nhelpers=0<br />
	protostack=netkey</p>
<p># Add connections here<br />
conn L2TP-PSK-CLIENTS<br />
	authby=secret<br />
	pfs=no<br />
	auto=add<br />
	keyingtries=3<br />
	rekey=no<br />
	type=transport<br />
	left=%defaultroute<br />
	leftnexthop=%defaultroute<br />
	leftprotoport=17/1701<br />
	right=%any<br />
	rightsubnet=vhost:%priv,%no<br />
	rightprotoport=17/%any<br />
	dpddelay=40<br />
	dpdtimeout=130<br />
	dpdaction=clear</p>
<p>#Disable Opportunistic Encryption<br />
include /etc/ipsec.d/examples/no_oe.conf</code></p>
<p>3. Next, enter your prefer Pre-Shared Key (PSK) to /etc/ipsec.secrets file below: -<br />
<code>YourIPHere %any: PSK "sharedsecrethere"</code></p>
<p>4. Then, restart IPsec service using command below: -<br />
<code># /etc/init.d/ipsec restart</code></p>
<p>5. Then, configure the Linux Kernel using command below: -<br />
<code># for each in /proc/sys/net/ipv4/conf/*; do echo 0 > $each/accept_redirects; echo 0 > $each/send_redirects; done</code></p>
<p>6. By now, IPsec configuration is done and you can verify it and you must get no errors using command below: -<br />
<code># ipsec verify</code></p>
<p>7. Install xl2tpd using the command below in Debian Lenny: -<br />
<code># aptitude install xl2tpd</code></p>
<p>8. Add the below xl2tpd configuration to /etc/xl2tpd/xl2tpd.conf file: -<br />
<code>[lns default]<br />
ip range = 10.20.30.2-10.20.30.254<br />
local ip = 10.20.30.1<br />
require chap = yes<br />
require authentication = yes<br />
refuse pap = yes<br />
name = LinuxVPNserver<br />
hostname = YourVPNHostname<br />
ppp debug = yes<br />
length bit = yes<br />
pppoptfile = /etc/xl2tpd/ppp-options.xl2tpd</code></p>
<p>9. Add the below PPP configuration to /etc/xl2tpd/ppp-options.xl2tpd file: -<br />
<code>crtscts<br />
idle 1800<br />
mtu 1200<br />
mru 1200<br />
nodefaultroute<br />
debug<br />
lock<br />
proxyarp<br />
connect-delay 5000<br />
ms-dns 8.8.4.4<br />
ms-dns 8.8.8.8<br />
name l2tpd<br />
lcp-echo-interval 30<br />
lcp-echo-failure 4<br />
logfile /var/log/ppp.log</code></p>
<p>10. Configure CHAP as the above xl2tpd configuration only require CHAP and not PAP by modify /etc/ppp/chap-secrets file as below: -<br />
<code>username l2tpd password *</code></p>
<p>11. Next, enable routing in Linux Kernel using command below: -<br />
<code># echo 1 > /proc/sys/net/ipv4/ip_forward</code></p>
<p>12. Next, configure the Linux firewall (iptables) to enable masquerading (Internet sharing) using command below: -<br />
<code># iptables -t nat -A POSTROUTING -o eth0 -s 10.20.30.0/24 -j MASQUERADE</code></p>
<p>Resources:
<li><a href="http://confoundedtech.blogspot.com/2011/08/android-nexus-one-ipsec-psk-vpn-with.html" target="_blank">Confounded Technology: Android IPSec PSK VPN &#8211; Nexus One with OpenSWAN</a></li>
<li><a href="http://bailey.st/blog/2011/07/06/secure-ipsecl2tp-vpn-for-on-the-road-android-devices/" target="_blank">Electic Security: Secure IPsec/L2TP VPN for on the road android devices</a></li>
]]></content:encoded>
			<wfw:commentRss>http://wingloon.com/2012/01/11/how-to-install-setup-l2tp-over-ipsec-vpn-in-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yum Install Google Chrome on Fedora 16</title>
		<link>http://wingloon.com/2011/12/16/yum-install-google-chrome-on-fedora-16/</link>
		<comments>http://wingloon.com/2011/12/16/yum-install-google-chrome-on-fedora-16/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 10:39:26 +0000</pubDate>
		<dc:creator>wingloon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wingloon.com/?p=1215</guid>
		<description><![CDATA[This post will cover a simple installation guide to yum install Google Chrome on Fedora 16. Please make sure you login as root. 1. Add Google Chrome Yum Repository Add the below to /etc/yum.repos.d/google.repo file: - [google-chrome-32] name=google-chrome - 32-bit baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub [google-chrome-64] name=google-chrome - 64-bit baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub 2. Yum Install [...]]]></description>
			<content:encoded><![CDATA[<p>This post will cover a simple installation guide to yum install <strong>Google Chrome</strong> on <strong>Fedora 16</strong>. Please make sure you login as root.</p>
<p>1. Add Google Chrome Yum Repository<br />
Add the below to /etc/yum.repos.d/google.repo file: -</p>
<p><code>[google-chrome-32]<br />
name=google-chrome - 32-bit<br />
baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386<br />
enabled=1<br />
gpgcheck=1<br />
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub</code></p>
<p><code>[google-chrome-64]<br />
name=google-chrome - 64-bit<br />
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64<br />
enabled=1<br />
gpgcheck=1<br />
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub</code></p>
<p>2. Yum Install Google Chrome<br />
You can choose to install one of the following: -</p>
<p># Yum install Google Chrome Stable 64-bit<br />
<code>yum instal google-chrome-stable.x86_64</code></p>
<p># Yum install Google Chrome Beta 64-bit<br />
<code>yum instal google-chrome-beta.x86_64</code></p>
<p># Yum install Google Chrome Unstable 64-bit<br />
<code>yum instal google-chrome-unstable.x86_64</code></p>
<p># Yum install Google Chrome Stable 32-bit<br />
<code>yum instal google-chrome-stable.i386</code></p>
<p># Yum install Google Chrome Beta 32-bit<br />
<code>yum instal google-chrome-beta.i386</code></p>
<p># Yum install Google Chrome Unstable 32-bit<br />
<code>yum instal google-chrome-unstable.i386</code></p>
<p>Thank you for reading this and I hope you enjoy it. If you found these helpful, please contribute to help: <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBJ9GuvXrDm+uUNTevYiTUqngFWgJZflJgsVSzahanqrATcHF40BAXq8UgHz7mU9SkfQrXTRyfLbDof1irlxUe+aQTLlTXn7BLtJRJBkc0phx9xmmYNCKVrpFEhkFaHyM+M90y7AApgMK1GiJg8WmbUHtJTatM+Fgy6fWK5Tg/49DELMAkGBSsOAwIaBQAwgcQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIoirLyP428ruAgaAtUd2ShDOR5sHf0yIOKv+KsAqHTWKGklWGg1+vSKMX1QrPBd3ht5U3u3coHqOjFOdZInLFDHYNDZU0WLXwgmxmbto66aAM91lbZEq1VxYJaB6ar5rVBoEP4HoJyA3b6bQOFWkJxP/8MI8GXjiFUqxXTvlKa5BBBVza2YiZovzztBanFK3rhuNGWavjSceQnyp39maKzJUPwwOiYIb7YUcWoIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZ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85+XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDcxMTAxMTI0MjUwWjAjBgkqhkiG9w0BCQQxFgQUiobJbULWwiXdt2VPzw9U6ntVPhwwDQYJKoZIhvcNAQEBBQAEgYBDMnBJG8cAcxEDQ/1OYl7NxWRULl0qTlTNs9lDp24ueF0o0Mmi6d54Ua+Lahe+vs0ceqFUACmTiN3IZGlSHEFBjbkiplzy+6QZVKh5XO6bGgyU/Idzbrzuut3Cyu+jKA1XoHegoW6r/bxicgxretew3QB5NNJEgThc0sfCbhAv2Q==-----END PKCS7-----
">
</form></p>
]]></content:encoded>
			<wfw:commentRss>http://wingloon.com/2011/12/16/yum-install-google-chrome-on-fedora-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yum Install Adobe Flash Player 11 on Fedora 16</title>
		<link>http://wingloon.com/2011/12/16/yum-install-adobe-flash-player-11-on-fedora-16/</link>
		<comments>http://wingloon.com/2011/12/16/yum-install-adobe-flash-player-11-on-fedora-16/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 06:19:34 +0000</pubDate>
		<dc:creator>wingloon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wingloon.com/?p=1212</guid>
		<description><![CDATA[This post will cover a simple installation guide to yum install Adobe Flash Player 11 on Fedora 16. Please make sure you login as root. 1. RPM Install Adobe Yum Repository (choose either 32-bit or 64-bit) # Adobe Repository x86 32-bit rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux # Adobe Repository x86_64 64-bit rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm [...]]]></description>
			<content:encoded><![CDATA[<p>This post will cover a simple installation guide to yum install <strong>Adobe Flash Player 11</strong> on <strong>Fedora 16</strong>. Please make sure you login as root.</p>
<p>1. RPM Install Adobe Yum Repository (choose either 32-bit or 64-bit)<br />
# Adobe Repository x86 32-bit<br />
<code>rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm<br />
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux</code></p>
<p># Adobe Repository x86_64 64-bit<br />
<code>rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm<br />
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux</code></p>
<p>2. Yum Install Adobe Flash Player 11<br />
<code>yum instal flash-plugin</code></p>
<p>3. Verify Adobe Flash Player version<br />
Run <strong>Mozilla Firefox</strong> and enter <strong>about:plugins</strong> in address bar. You should look for the similar result as below: -</p>
<p><code>Shockwave Flash<br />
File: libflashplayer.so<br />
Version: Shockwave Flash 11.1 r102</code></p>
<p>Then, you can browse to www.ipvee.com and <a href="http://www.ipvee.com" target="_blank">verify Adobe Flash Player version</a> by clicking <strong>Web Browser</strong>.</p>
<p>Thank you for reading this and I hope you enjoy it. If you found these helpful, please contribute to help: <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBJ9GuvXrDm+uUNTevYiTUqngFWgJZflJgsVSzahanqrATcHF40BAXq8UgHz7mU9SkfQrXTRyfLbDof1irlxUe+aQTLlTXn7BLtJRJBkc0phx9xmmYNCKVrpFEhkFaHyM+M90y7AApgMK1GiJg8WmbUHtJTatM+Fgy6fWK5Tg/49DELMAkGBSsOAwIaBQAwgcQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIoirLyP428ruAgaAtUd2ShDOR5sHf0yIOKv+KsAqHTWKGklWGg1+vSKMX1QrPBd3ht5U3u3coHqOjFOdZInLFDHYNDZU0WLXwgmxmbto66aAM91lbZEq1VxYJaB6ar5rVBoEP4HoJyA3b6bQOFWkJxP/8MI8GXjiFUqxXTvlKa5BBBVza2YiZovzztBanFK3rhuNGWavjSceQnyp39maKzJUPwwOiYIb7YUcWoIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMB4XDTA0MDIxMzEwMTMxNVoX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MwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDcxMTAxMTI0MjUwWjAjBgkqhkiG9w0BCQQxFgQUiobJbULWwiXdt2VPzw9U6ntVPhwwDQYJKoZIhvcNAQEBBQAEgYBDMnBJG8cAcxEDQ/1OYl7NxWRULl0qTlTNs9lDp24ueF0o0Mmi6d54Ua+Lahe+vs0ceqFUACmTiN3IZGlSHEFBjbkiplzy+6QZVKh5XO6bGgyU/Idzbrzuut3Cyu+jKA1XoHegoW6r/bxicgxretew3QB5NNJEgThc0sfCbhAv2Q==-----END PKCS7-----
">
</form></p>
]]></content:encoded>
			<wfw:commentRss>http://wingloon.com/2011/12/16/yum-install-adobe-flash-player-11-on-fedora-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing VMware vSphere Hypervisor ESXi 5.0.0</title>
		<link>http://wingloon.com/2011/09/21/installing-vmware-vsphere-hypervisor-esxi-5-0-0/</link>
		<comments>http://wingloon.com/2011/09/21/installing-vmware-vsphere-hypervisor-esxi-5-0-0/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 18:27:16 +0000</pubDate>
		<dc:creator>wingloon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wingloon.com/?p=1208</guid>
		<description><![CDATA[This post will cover an installation guide for VMware vSphere Hypervisor ESXi 5.0.0 only. The VMware vSphere Hypervisor ESXi 5.0.0 is completely free. Download the installation VMware vSphere Hypervisor ESXi 5.0.0 ISO from VMware website and get a free license. Let’s start. Power up your server and insert the VMware vSphere Hypervisor ESXi 5.0.0 installation [...]]]></description>
			<content:encoded><![CDATA[<p>This post will cover an installation guide for VMware vSphere Hypervisor ESXi 5.0.0 only. The VMware vSphere Hypervisor ESXi 5.0.0 is completely free. Download the installation <a href="http://www.vmware.com/products/vsphere-hypervisor/overview.html" target="_blank">VMware vSphere Hypervisor ESXi 5.0.0 ISO</a> from VMware website and get a free license.</p>
<p>Let’s start. Power up your server and insert the VMware vSphere Hypervisor ESXi 5.0.0 installation CD into the CD-ROM drive. The installation process starts automatically. You will see the screen as below.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a01.jpg" alt="VMware VMvisor Boot Menu" /></p>
<p><span id="more-1208"></span></p>
<p>Next, you will see the <strong>Loading ESXi installer</strong> screen as below.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a02.jpg" alt="Loading ESXi installer" /></p>
<p>Then, you will see the <strong>Welcome to the VMware ESXi 5.0.0 Installation</strong> screen as below. Hit the <strong>Enter</strong> button to proceed.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a03.jpg" alt="Welcome to the VMware ESXi 5.0.0 Installation" /></p>
<p>Next, you will see the <strong>End User License Agreement (EULA)</strong> screen as below. Press <strong>F11</strong> button to accept the license and continue.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a04.jpg" alt="End User License Agreement" /></p>
<p>You will then see the next screen <strong>Select a Disk to Install or Upgrade</strong> as below telling you that which disk to install. Select your preferred disk and press <strong>Enter</strong> button to proceed.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a05.jpg" alt="Select a Disk to Install or Upgrade" /></p>
<p>Next, select <strong>Install ESXi, overwrite VMFS datastore</strong> to install ESXi.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a06.jpg" alt="ESXi and VMFS found" /></p>
<p>You need to select a keyboard layout, in my case <strong>US Default</strong> and press <strong>Enter</strong> button to proceed.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a07.jpg" alt="Please select a keyboard layout" /></p>
<p>The <strong>Confirm Install</strong> screen is displayed below. Press <strong>F11</strong> button to proceed.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a08.jpg" alt="Confirm Install" /></p>
<p>Enter your preferred root password and press <strong>Enter</strong> button to proceed.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a09.jpg" alt="Please enter a root password" /></p>
<p>The <strong>Installing ESXi 5.0.0</strong> has started and 34% in progressing.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a10.jpg" alt="Installing ESXi 5.0.0" /></p>
<p>Next, you will see the <strong>Installation Complete</strong> screen as below. ESXi 5.0.0 has been successfully installed and you can press the <strong>Enter</strong> button to reboot the server.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a11.jpg" alt="Installation Complete" /></p>
<p>The <strong>Rebooting Server</strong> screen is displayed below. Let’s prepare for the new VMware ESXi 5.0.0.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a12.jpg" alt="" /></p>
<p>Finally, the <strong>VMware ESXi 5.0.0</strong> successfully rebooted as below.</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/linux/esxi5/esxi500a13.jpg" alt="VMware ESXi 5.0.0" /></p>
<p>Thank you for reading this and I hope you enjoy it. If you found these helpful, please contribute to help: <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBh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kqhkiG9w0BCQUxDxcNMDcxMTAxMTI0MjUwWjAjBgkqhkiG9w0BCQQxFgQUiobJbULWwiXdt2VPzw9U6ntVPhwwDQYJKoZIhvcNAQEBBQAEgYBDMnBJG8cAcxEDQ/1OYl7NxWRULl0qTlTNs9lDp24ueF0o0Mmi6d54Ua+Lahe+vs0ceqFUACmTiN3IZGlSHEFBjbkiplzy+6QZVKh5XO6bGgyU/Idzbrzuut3Cyu+jKA1XoHegoW6r/bxicgxretew3QB5NNJEgThc0sfCbhAv2Q==-----END PKCS7-----
">
</form></p>
]]></content:encoded>
			<wfw:commentRss>http://wingloon.com/2011/09/21/installing-vmware-vsphere-hypervisor-esxi-5-0-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To Shrink a VMDK File in ESX 4 and Windows</title>
		<link>http://wingloon.com/2011/06/09/how-to-shrink-a-vmdk-file-in-esx-4-and-windows/</link>
		<comments>http://wingloon.com/2011/06/09/how-to-shrink-a-vmdk-file-in-esx-4-and-windows/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 10:21:56 +0000</pubDate>
		<dc:creator>wingloon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://wingloon.com/?p=1194</guid>
		<description><![CDATA[Today, I would like to share a howto reduce or shrink a VMware VMDK file (aka hard disk) for a Windows VM . Bare in mind that this is not reducing or shrinking a volume in Windows and leaving a free partition space. For this howto, I will be reducing or shrinking the Hard Disk [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I would like to share a howto reduce or shrink a VMware VMDK file (aka hard disk) for a Windows VM . Bare in mind that this is not reducing or shrinking a volume in Windows and leaving a free partition space. For this howto, I will be reducing or shrinking the Hard Disk 2 for a Windows VM from <strong>30GB to 5GB</strong> whereby the example VMDK file name will be <strong>sourcedisk_1.vmdk</strong> which is D:\ drive. Logon to your Windows VM and shrink the target disk 30GB to 5GB. In the Disk Management, right click on the partition that you want to shrink and select &#8220;Shrink Volume&#8221; from the menu.</p>
<p><span id="more-1194"></span></p>
<p>In the Shrink dialog, you will need to enter the amount you want to shrink by and not the new size. For example, if you want to shrink to 5GB partition you need to enter <strong>25600</strong> into the box and you will have <strong>5117</strong> total size after shrink in MB which is <strong>5GB</strong>. Click Shrink button to proceed and you will now have 5GB NTFS partition and the rest is RAW partition. You can proceed to shutdown this VM.</p>
<p>Logon to your ESX host and nagivate to the sourcedisk_1.vmdk file. Edit the VMDK file and look for &#8220;Extent description&#8221; section as below: -</p>
<p><code><br />
# Extent description<br />
RW 62914560 VMFS "sourcedisk_1-flat.vmdk"<br />
</code></p>
<p>The value between &#8216;RW&#8217; and &#8216;VMFS&#8217; is the size of disk. You can use the formula below to determine the value whereby DiskSize is in GB.</p>
<p><code>(DiskSize * 1024 * 1024 * 1024)/512 = 62914560</code></p>
<p>So, we will then change the value to 10485760 to represent 5GB and it should look like below: -</p>
<p><code><br />
# Extent description<br />
RW 10485760 VMFS "sourcedisk_1-flat.vmdk"<br />
</code></p>
<p>Next, run the vmkfstool to clone to a new disk and called it <strong>targetdisk_2.vmdk</strong> as below: -</p>
<p><code>vmkfstool -i sourcedisk_1.vmdk targetdisk_2.vmdk</code></p>
<p>Once the clone is completed, you will discover that the cloned disk now has a new size of 5GB as below: -</p>
<p><code><br />
-rw------- 1 root root  5368709120 Jun  9 18:08 targetdisk_2-flat.vmdk<br />
-rw------- 1 root root         423 Jun  9 18:08 targetdisk_2.vmdk<br />
</code></p>
<p>Now, this is an important part. Edit the targetdisk_2.vmdk file and comment the following line as below: -</p>
<p><code><br />
#ddb.geometry.sectors = "63"<br />
#ddb.geometry.heads = "255"<br />
#ddb.geometry.cylinders = "7832"<br />
</code></p>
<p>Next, remove the sourcedisk_1.vmdk from the VM in Edit Settings and do not delete disk. You can delete it later in the datastore browser. Then, add the new targetdisk_2.vmdk in Edit Settings of the VM.</p>
<p>Finally, power up the VM but you will not be able to see the 5GB hard disk. You&#8217;ll need to switch the disk to &#8220;Online&#8221; status in Disk Management.</p>
<p>I know this is a long process but it does help me. You may reboot the VM one time to make sure you are able to see the 5GB hard disk. If everything is fine, you can proceed to delete of the sourcedisk_1.vmdk file in the datastore browser. Hope this is useful to all VMware Administrator and please do correct me if this is wrong or I had missed out something. Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://wingloon.com/2011/06/09/how-to-shrink-a-vmdk-file-in-esx-4-and-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

