<?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>TechBytes &#187; Ubuntu</title>
	<atom:link href="http://www.asim.pk/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.asim.pk</link>
	<description>Technology Bytes</description>
	<lastBuildDate>Fri, 20 Jan 2012 12:48:54 +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>vzfree utility to check memory usage in OpenVZ VPS</title>
		<link>http://www.asim.pk/2011/04/23/vzfree-utility-to-check-memory-usage-in-openvz-vps/</link>
		<comments>http://www.asim.pk/2011/04/23/vzfree-utility-to-check-memory-usage-in-openvz-vps/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 20:00:38 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtual Private Server]]></category>
		<category><![CDATA[OpenVZ]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[vzfree]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=904</guid>
		<description><![CDATA[From the official blog post Gee. It has been a while since I’ve last written here, and it will be a while again for my next post as I will be on holidays from next Monday (visiting families in Hong &#8230; <a href="http://www.asim.pk/2011/04/23/vzfree-utility-to-check-memory-usage-in-openvz-vps/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>From the <a href="http://hostingfu.com/article/vzfree-checking-memory-usage-inside-openvz-ve" target="_blank">official blog post</a></p>
<blockquote><p>Gee. It has been a while since I’ve last written here, and it will be  a while again for my next post as I will be on holidays from next  Monday (visiting families in Hong Kong and Taiwan). Let me share one  small utility program that I wrote quite a while ago.</p>
<p>We all know that the Linux command <code>free(1)</code> is pretty  useless inside an OpenVZ VE, even those with meminfo virtualised. So I  basically wrote this little util to grab the data from the dreadful <code>user_beancounters</code> and format them into something useful. It’s written in C and only  depends on libc so it’s pretty light weight. It also does a little bit  of analysis instead of just dumping the data, which I will explain later  on.</p></blockquote>
<p><span id="more-904"></span>To install vzfree, do this</p>
<pre class="brush: plain; title: ; notranslate">apt-get install build-essential</pre>
<p>then download the vzfree compressed file from the official website using <code>wget</code> (check the <a href="http://hostingfu.com/article/vzfree-checking-memory-usage-inside-openvz-ve" target="_blank">official blog post</a> for updated version if the following one is not working)</p>
<pre class="brush: plain; title: ; notranslate">wget http://hostingfu.com/files/vzfree/vzfree-0.1.tgz</pre>
<p>Extract the file</p>
<pre class="brush: plain; title: ; notranslate">tar -vxf vzfree-0.1.tgz</pre>
<p>then do</p>
<pre class="brush: plain; title: ; notranslate">cd vzfree-0.1</pre>
<p>Now the final step</p>
<pre class="brush: plain; title: ; notranslate">make &amp;&amp; sudo make install</pre>
<p>Now try running the utility from shell</p>
<pre class="brush: plain; title: ; notranslate">root@ed3:~# vzfree
             Total     Used     Free
Kernel:   2048.00M    1.83M 2046.17M
Allocate:  512.00M   60.36M  451.64M (256M Guaranteed)
Commit:    256.00M   23.32M  232.68M (35.6% of Allocated)
Swap:                 0.00M          (0.0% of Committed)
root@ed3:~#</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2011/04/23/vzfree-utility-to-check-memory-usage-in-openvz-vps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VPSLatch VPS Benchmark</title>
		<link>http://www.asim.pk/2010/08/28/vpslatch-vps-benchmark/</link>
		<comments>http://www.asim.pk/2010/08/28/vpslatch-vps-benchmark/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 00:38:53 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Virtual Private Server]]></category>
		<category><![CDATA[byte-un]]></category>
		<category><![CDATA[OpenVZ]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[Ubuntu 10.04 LTS]]></category>
		<category><![CDATA[Ubuntu Server]]></category>
		<category><![CDATA[unixbench]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[VPSLatch]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=795</guid>
		<description><![CDATA[Unix Benchmark results from VPSLatch (OpenVZ running Ubuntu 10.04 LTS 32bit on their Orlando, FL node) using unixbench v 5.1.2 Specs: 1024MB / 60GB OpenVZ running Ubuntu 10.04 LTS 32bit Note: This VPS has the best benchmark that I have &#8230; <a href="http://www.asim.pk/2010/08/28/vpslatch-vps-benchmark/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Unix Benchmark results from <a href="http://www.vpslatch.net/">VPSLatch (OpenVZ running Ubuntu 10.04 LTS 32bit on their Orlando, FL node)</a> using <a href="http://code.google.com/p/byte-unixbench/">unixbench v 5.1.2</a></p>
<p><strong>Specs:</strong> 1024MB / 60GB OpenVZ running Ubuntu 10.04 LTS 32bit</p>
<p><strong>Note:</strong> This VPS has the best benchmark that I have ever seen, wow, no doubt Adam is having busy managing the best VPS+CPanel combination ever!</p>
<p><span id="more-795"></span></p>
<pre class="brush: plain; title: ; notranslate">
   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.2                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   December 22, 2007                  johantheghost at yahoo period com

1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

8 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

8 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

8 x Execl Throughput  1 2 3

8 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

8 x File Copy 256 bufsize 500 maxblocks  1 2 3

8 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

8 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

8 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

8 x Process Creation  1 2 3

8 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

8 x Shell Scripts (1 concurrent)  1 2 3

8 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: vpslatch: GNU/Linux
   OS: GNU/Linux -- 2.6.18-194.8.1.el5.028stab070.2 -- #1 SMP Tue Jul 6 14:55:39 MSD 2010
   Machine: i686 (unknown)
   Language: en_US.utf8 (charmap=&quot;UTF-8&quot;, collate=&quot;UTF-8&quot;)
   CPU 0: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (5066.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (5066.7 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 2: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (5066.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 3: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (5066.6 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 4: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (5066.6 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 5: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (5066.5 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 6: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (5066.6 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 7: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (5066.5 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   20:23:21 up 19 min,  1 user,  load average: 0.08, 0.13, 0.12; runlevel 2

------------------------------------------------------------------------
Benchmark Run: Fri Aug 27 2010 20:23:21 - 20:56:44
8 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       11525914.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2293.8 MWIPS (8.0 s, 7 samples)
Execl Throughput                               3511.7 lps   (29.3 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        458753.7 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          143068.6 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1003490.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                              912377.1 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  16975.8 lps   (10.0 s, 7 samples)
Process Creation                              10703.4 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3159.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1637.5 lpm   (60.0 s, 2 samples)
System Call Overhead                         833256.4 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   11525914.1    987.7
Double-Precision Whetstone                       55.0       2293.8    417.1
Execl Throughput                                 43.0       3511.7    816.7
File Copy 1024 bufsize 2000 maxblocks          3960.0     458753.7   1158.5
File Copy 256 bufsize 500 maxblocks            1655.0     143068.6    864.5
File Copy 4096 bufsize 8000 maxblocks          5800.0    1003490.8   1730.2
Pipe Throughput                               12440.0     912377.1    733.4
Pipe-based Context Switching                   4000.0      16975.8     42.4
Process Creation                                126.0      10703.4    849.5
Shell Scripts (1 concurrent)                     42.4       3159.9    745.3
Shell Scripts (8 concurrent)                      6.0       1637.5   2729.2
System Call Overhead                          15000.0     833256.4    555.5
                                                                   ========
System Benchmarks Index Score                                         713.5

------------------------------------------------------------------------
Benchmark Run: Fri Aug 27 2010 20:56:44 - 21:29:45
8 CPUs in system; running 8 parallel copies of tests

Dhrystone 2 using register variables       58812113.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    18001.3 MWIPS (10.2 s, 7 samples)
Execl Throughput                              20114.1 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        533044.1 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          188915.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1352929.0 KBps  (30.0 s, 2 samples)
Pipe Throughput                             5495180.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                1548613.4 lps   (10.0 s, 7 samples)
Process Creation                              54771.6 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  18879.4 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   2446.6 lpm   (60.0 s, 2 samples)
System Call Overhead                        5667263.4 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   58812113.0   5039.6
Double-Precision Whetstone                       55.0      18001.3   3273.0
Execl Throughput                                 43.0      20114.1   4677.7
File Copy 1024 bufsize 2000 maxblocks          3960.0     533044.1   1346.1
File Copy 256 bufsize 500 maxblocks            1655.0     188915.8   1141.5
File Copy 4096 bufsize 8000 maxblocks          5800.0    1352929.0   2332.6
Pipe Throughput                               12440.0    5495180.2   4417.3
Pipe-based Context Switching                   4000.0    1548613.4   3871.5
Process Creation                                126.0      54771.6   4346.9
Shell Scripts (1 concurrent)                     42.4      18879.4   4452.7
Shell Scripts (8 concurrent)                      6.0       2446.6   4077.6
System Call Overhead                          15000.0    5667263.4   3778.2
                                                                   ========
System Benchmarks Index Score                                        3254.2

root@vpslatch:~/unixbench-5.1.2#</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/08/28/vpslatch-vps-benchmark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NAGIOS 3 with notifications on twitter</title>
		<link>http://www.asim.pk/2010/08/16/nagios-3-with-notifications-on-twitter/</link>
		<comments>http://www.asim.pk/2010/08/16/nagios-3-with-notifications-on-twitter/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 12:00:14 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[Experiments]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Social Networking]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Virtual Private Server]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Nagios3]]></category>
		<category><![CDATA[Twitgios]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=763</guid>
		<description><![CDATA[I have been experimenting with NAGIOS3 on Ubuntu (I will write a how-to-install on NAGIOS later) and it has served me very good in monitoring my 7 VPS from different providers in different part of the world. I have already &#8230; <a href="http://www.asim.pk/2010/08/16/nagios-3-with-notifications-on-twitter/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have been experimenting with NAGIOS3 on Ubuntu (I will write a how-to-install on NAGIOS later) and it has served me very good in monitoring my 7 VPS from different providers in different part of the world. I have already recorded 3 hours of downtime from ThrustVPS which is a great deal for me. I now know which VPS has the best time and which ones have hiccups (e.g. my 2Host VPS gave me two unreachable notifications but the VPS was running and still reports the uptime as 4 days).</p>
<p>Since I use twitter more, even when Im on the road, notifications via email is a bit slow for me. Luckily I found a <a href="http://edvoncken.net/2010/07/twitter-for-nagios-notifications/" target="_blank">great tutorial online to do that</a>.</p>
<p><span id="more-763"></span><a href="http://edvoncken.net/2010/07/twitter-for-nagios-notifications/" target="_blank">Twagios – Use Twitter for Nagios notifications</a></p>
<p>I registered a new twitter account for this purpose <a href="http://twitter.com/twitgios" target="_blank">@twitgios</a>, made its tweets private and followed this newly created account from my primary twitter account <a href="http://twitter.com/asimzeeshan" target="_blank">@asimzeeshan</a>. Configured NAGIOS with twitter-nagios plugin and Viola! it now tweets status and updates as mentions to my personal account.</p>
<p><a href="http://www.asim.pk/wp-content/uploads/2010/08/twitgios_nagios_tweets_on_twitter.png" target="_blank" rel="lightbox[763]"><img class="aligncenter size-full wp-image-764" title="twitgios_nagios_tweets_on_twitter" src="http://www.asim.pk/wp-content/uploads/2010/08/twitgios_nagios_tweets_on_twitter.png" alt="" width="530" height="215" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/08/16/nagios-3-with-notifications-on-twitter/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Spacerich VPS Benchmark</title>
		<link>http://www.asim.pk/2010/08/14/spacerich-vps-benchmark/</link>
		<comments>http://www.asim.pk/2010/08/14/spacerich-vps-benchmark/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 11:50:05 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Virtual Private Server]]></category>
		<category><![CDATA[Benchmark]]></category>
		<category><![CDATA[byte-unixbench]]></category>
		<category><![CDATA[OpenVZ]]></category>
		<category><![CDATA[spacerich]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[Ubuntu 10.04 LTS]]></category>
		<category><![CDATA[Ubuntu Server]]></category>
		<category><![CDATA[unixbench]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=758</guid>
		<description><![CDATA[Update (26-Aug-2010): From my experience, they have very huge iowait and hence I/O problems on their VPS servers. You have to wait for like 10-15 seconds for a &#8216;uptime&#8217; command to execute which is pretty pathetic. So in my opinion, &#8230; <a href="http://www.asim.pk/2010/08/14/spacerich-vps-benchmark/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>Update (26-Aug-2010):</strong> From my experience, they have very huge iowait and hence I/O problems on their VPS servers. You have to wait for like 10-15 seconds for a &#8216;uptime&#8217; command to execute which is pretty pathetic. So in my opinion, it was useless for me.</p></blockquote>
<p>Unix Benchmark results from <a href="http://www.spacerich.com/">Spacerich (OpenVZ running Ubuntu 10.04 LTS 32bit on their Munich, Germany node)</a> using <a href="http://code.google.com/p/byte-unixbench/">unixbench v 5.1.2</a></p>
<p><strong>Specs:</strong> 256MB / 25GB OpenVZ running Ubuntu 10.04 LTS 32bit</p>
<p><strong>Note:</strong> Being in Europe, it has the best response time to Asia especially Pakistan</p>
<p><span id="more-758"></span></p>
<pre class="brush: plain; title: ; notranslate">
   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.2                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   December 22, 2007                  johantheghost at yahoo period com

1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: spacerich.li-node.com: GNU/Linux
   OS: GNU/Linux -- 2.6.18-194.3.1.el5.028stab069.6 -- #1 SMP Wed May 26 18:31:05 MSD 2010
   Machine: i686 (unknown)
   Language: en_US.utf8 (charmap=&quot;ANSI_X3.4-1968&quot;, collate=&quot;ANSI_X3.4-1968&quot;)
   CPU 0: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz (5346.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   14:13:03 up 7 min,  1 user,  load average: 0.50, 0.57, 0.28; runlevel 2

------------------------------------------------------------------------
Benchmark Run: Sat Aug 14 2010 14:13:03 - 15:08:10
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       12575216.5 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2497.3 MWIPS (10.1 s, 7 samples)
Execl Throughput                               3557.9 lps   (29.5 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        421088.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          121289.6 KBps  (30.1 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1117419.3 KBps  (30.1 s, 2 samples)
Pipe Throughput                              818415.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 251880.4 lps   (10.0 s, 7 samples)
Process Creation                              11495.8 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5067.7 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                    657.5 lpm   (60.0 s, 2 samples)
System Call Overhead                         638652.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   12575216.5   1077.6
Double-Precision Whetstone                       55.0       2497.3    454.0
Execl Throughput                                 43.0       3557.9    827.4
File Copy 1024 bufsize 2000 maxblocks          3960.0     421088.5   1063.4
File Copy 256 bufsize 500 maxblocks            1655.0     121289.6    732.9
File Copy 4096 bufsize 8000 maxblocks          5800.0    1117419.3   1926.6
Pipe Throughput                               12440.0     818415.4    657.9
Pipe-based Context Switching                   4000.0     251880.4    629.7
Process Creation                                126.0      11495.8    912.4
Shell Scripts (1 concurrent)                     42.4       5067.7   1195.2
Shell Scripts (8 concurrent)                      6.0        657.5   1095.9
System Call Overhead                          15000.0     638652.8    425.8
                                                                   ========
System Benchmarks Index Score                                         842.6

root@spacerich:~/unixbench-5.1.2#</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/08/14/spacerich-vps-benchmark/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>ThrustVPS XEN HVM Benchmark</title>
		<link>http://www.asim.pk/2010/08/13/thrustvps-xen-hvm-benchmark/</link>
		<comments>http://www.asim.pk/2010/08/13/thrustvps-xen-hvm-benchmark/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 21:23:50 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Virtual Private Server]]></category>
		<category><![CDATA[Benchmark]]></category>
		<category><![CDATA[byte-unixbench]]></category>
		<category><![CDATA[DamnVPS]]></category>
		<category><![CDATA[HVM]]></category>
		<category><![CDATA[ThrustVPS]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.04 LTS]]></category>
		<category><![CDATA[Ubuntu Server]]></category>
		<category><![CDATA[unixbench]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[XEN]]></category>
		<category><![CDATA[XEN HVM]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=752</guid>
		<description><![CDATA[Update (25-Aug-2010): Rus Foster from ThrustVPS.com is a blackmailer and a person with low self-esteem. He actually blackmailed me to hand him over certain domain names which he thinks believes is breaching the AUP. My accounts, VPS and the $60 &#8230; <a href="http://www.asim.pk/2010/08/13/thrustvps-xen-hvm-benchmark/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>Update (25-Aug-2010): Rus Foster from ThrustVPS.com is a blackmailer and a person with low self-esteem. He actually blackmailed me to hand him over certain domain names which he <del datetime="2010-08-26T11:36:34+00:00">thinks</del> believes is breaching the AUP. My accounts, VPS and the $60 of affiliate commission was terminated. I will advise everyone to <a href="http://www.asim.pk/2010/08/26/thrustvps-a-review-summary-stay-away-from-them/">KEEP AWAY from Rus Foster and ThrustVPS.com (click here to read the full review)</a></strong></p></blockquote>
<p>Unix Benchmark results from <a href="http://www.thurstvps.com/">ThrustVPS (XEN HVM running Ubuntu 10.04 LTS on their West Coast (LA) node)</a> using <a href="http://code.google.com/p/byte-unixbench/">unixbench v 5.1.2</a></p>
<p><strong>Specs:</strong> 512MB / 15GB XEN HVM running Ubuntu 10.04 LTS 32bit</p>
<p><strong>Note:</strong> Although the test results from the <a href="http://www.asim.pk/2010/07/28/thrustvps-benchmark/">previous bechmark on their XEN PV is just average</a>, this one is the best benchmark I had on a 512MB VPS ever!</p>
<p><span id="more-752"></span></p>
<pre class="brush: plain; title: ; notranslate">
   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.2                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   December 22, 2007                  johantheghost at yahoo period com

1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

4 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

4 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

4 x Execl Throughput  1 2 3

4 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

4 x File Copy 256 bufsize 500 maxblocks  1 2 3

4 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

4 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

4 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

4 x Process Creation  1 2 3

4 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

4 x Shell Scripts (1 concurrent)  1 2 3

4 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: localhost: GNU/Linux
   OS: GNU/Linux -- 2.6.32-24-generic -- #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010
   Machine: i686 (unknown)
   Language: en_US.utf8 (charmap=&quot;UTF-8&quot;, collate=&quot;UTF-8&quot;)
   CPU 0: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (4787.3 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext
   CPU 1: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (4788.7 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext
   CPU 2: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (4793.6 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext
   CPU 3: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (4788.9 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext
   08:38:41 up 1 min,  1 user,  load average: 0.24, 0.14, 0.05; runlevel 2

------------------------------------------------------------------------
Benchmark Run: Thu Aug 12 2010 08:38:41 - 09:07:10
4 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       16188739.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2503.0 MWIPS (10.1 s, 7 samples)
Execl Throughput                               2909.4 lps   (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        533447.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          147009.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1292546.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                              898724.3 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  11947.9 lps   (10.0 s, 7 samples)
Process Creation                               6958.8 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5266.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1807.2 lpm   (60.0 s, 2 samples)
System Call Overhead                         968404.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   16188739.8   1387.2
Double-Precision Whetstone                       55.0       2503.0    455.1
Execl Throughput                                 43.0       2909.4    676.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     533447.8   1347.1
File Copy 256 bufsize 500 maxblocks            1655.0     147009.5    888.3
File Copy 4096 bufsize 8000 maxblocks          5800.0    1292546.5   2228.5
Pipe Throughput                               12440.0     898724.3    722.4
Pipe-based Context Switching                   4000.0      11947.9     29.9
Process Creation                                126.0       6958.8    552.3
Shell Scripts (1 concurrent)                     42.4       5266.9   1242.2
Shell Scripts (8 concurrent)                      6.0       1807.2   3012.1
System Call Overhead                          15000.0     968404.3    645.6
                                                                   ========
System Benchmarks Index Score                                         752.2

------------------------------------------------------------------------
Benchmark Run: Thu Aug 12 2010 09:07:10 - 09:35:45
4 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables       63458442.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     9814.8 MWIPS (10.1 s, 7 samples)
Execl Throughput                              13593.1 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        422856.7 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          114278.2 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1403251.2 KBps  (30.0 s, 2 samples)
Pipe Throughput                             3312735.5 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 717177.8 lps   (10.0 s, 7 samples)
Process Creation                              39660.5 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  15456.3 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   2031.6 lpm   (60.1 s, 2 samples)
System Call Overhead                        3128398.4 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   63458442.8   5437.7
Double-Precision Whetstone                       55.0       9814.8   1784.5
Execl Throughput                                 43.0      13593.1   3161.2
File Copy 1024 bufsize 2000 maxblocks          3960.0     422856.7   1067.8
File Copy 256 bufsize 500 maxblocks            1655.0     114278.2    690.5
File Copy 4096 bufsize 8000 maxblocks          5800.0    1403251.2   2419.4
Pipe Throughput                               12440.0    3312735.5   2663.0
Pipe-based Context Switching                   4000.0     717177.8   1792.9
Process Creation                                126.0      39660.5   3147.7
Shell Scripts (1 concurrent)                     42.4      15456.3   3645.3
Shell Scripts (8 concurrent)                      6.0       2031.6   3385.9
System Call Overhead                          15000.0    3128398.4   2085.6
                                                                   ========
System Benchmarks Index Score                                        2293.4

root@wc:~/unixbench-5.1.2#</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/08/13/thrustvps-xen-hvm-benchmark/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Not getting a package on Ubuntu?</title>
		<link>http://www.asim.pk/2010/07/25/not-getting-a-package-on-ubuntu/</link>
		<comments>http://www.asim.pk/2010/07/25/not-getting-a-package-on-ubuntu/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 19:00:58 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtual Private Server]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[Ubuntu 10.04 LTS]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=738</guid>
		<description><![CDATA[If you are not getting a package on Ubunu using apt-get then chances are that it has not been updated in the /etc/apt/sources.list file For example, the following should be there in the sources.list file if you are running Ubuntu &#8230; <a href="http://www.asim.pk/2010/07/25/not-getting-a-package-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are not getting a package on Ubunu using apt-get then chances are that it has not been updated in the /etc/apt/sources.list file</p>
<p>For example, the following should be there in the sources.list file if you are running Ubuntu 10.04 LTS (codename lucid)</p>
<pre class="brush: plain; title: ; notranslate">
## main &amp; restricted repositories
deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted

deb http://security.ubuntu.com/ubuntu lucid-updates main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-updates main restricted

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted

## universe repositories - uncomment to enable
deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe

deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/07/25/not-getting-a-package-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install byte-unixBench on Ubuntu</title>
		<link>http://www.asim.pk/2010/07/23/how-to-install-byte-unixbench-on-ubuntu/</link>
		<comments>http://www.asim.pk/2010/07/23/how-to-install-byte-unixbench-on-ubuntu/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 17:34:57 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Benchmark]]></category>
		<category><![CDATA[byte-unixbench]]></category>
		<category><![CDATA[unixbench]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=721</guid>
		<description><![CDATA[From UnixBench project homepage: UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years. The purpose of UnixBench is to provide a basic indicator of the performance of a Unix-like system; hence, multiple &#8230; <a href="http://www.asim.pk/2010/07/23/how-to-install-byte-unixbench-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>From <a href="http://code.google.com/p/byte-unixbench/" target="_blank">UnixBench</a> project homepage:</p>
<blockquote><p>UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years.</p>
<p>The purpose of UnixBench is to provide a basic indicator of the performance of a Unix-like system; hence, multiple tests are used to test various aspects of the system&#8217;s performance. These test results are then compared to the scores from a baseline system to produce an index value, which is generally easier to handle than the raw scores. The entire set of index values is then combined to make an overall index for the system.</p>
<p>Some very simple graphics tests are included to measure the 2D and 3D graphics performance of the system.</p>
<p>Multi-CPU systems are handled. If your system has multiple CPUs, the default behaviour is to run the selected tests twice &#8212; once with one copy of each test program running at a time, and once with N copies, where N is the number of CPUs. This is designed to allow you to assess:</p>
<p>    * the performance of your system when running a single task<br />
    * the performance of your system when running multiple tasks<br />
    * the gain from your system&#8217;s implementation of parallel processing </p>
<p>Do be aware that this is a system benchmark, not a CPU, RAM or disk benchmark. The results will depend not only on your hardware, but on your operating system, libraries, and even compiler. </p></blockquote>
<p>First install required libraries for compilation :</p>
<pre class="brush: plain; title: ; notranslate">apt-get install libx11-dev libgl1-mesa-dev libxext-dev perl  perl-modules make</pre>
<p>Then get the unixbench and run it :</p>
<pre class="brush: plain; title: ; notranslate">wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz
tar xvf unixbench-5.1.2.tar.gz
cd unixbench-5.1.2
./Run</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/07/23/how-to-install-byte-unixbench-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Lighttpd, PHP and MySQL on Ubuntu</title>
		<link>http://www.asim.pk/2010/07/19/installing-lighttpd-php-and-mysql-on-ubuntu/</link>
		<comments>http://www.asim.pk/2010/07/19/installing-lighttpd-php-and-mysql-on-ubuntu/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 13:22:38 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtual Private Server]]></category>
		<category><![CDATA[FastCGI]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[Ubuntu 10.04 LTS]]></category>
		<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=709</guid>
		<description><![CDATA[If you are not getting a package on Ubuntu, please check to see if your /etc/apt/sources.list file is updated. This is common with most VPS providers On VPS, especially with challenging small memory limit (e.g. 64MB or 128MB) lighttpd is &#8230; <a href="http://www.asim.pk/2010/07/19/installing-lighttpd-php-and-mysql-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p>If you are <a href="http://www.asim.pk/2010/07/25/not-getting-a-package-on-ubuntu/" target="_blank">not getting a package on Ubuntu, please check to see if your /etc/apt/sources.list file is updated</a>. This is common with most VPS providers</p></blockquote>
<p>On VPS, especially with challenging small memory limit (e.g. 64MB or 128MB) lighttpd is the best option instead of Apache. In this article I will show you how to do that. On a fresh box (which has no apache installed) type this to get lighttpd webserver installed</p>
<pre class="brush: plain; title: ; notranslate">apt-get install lighttpd</pre>
<p>Now install PHP5 CGI package and PHP5 command line package</p>
<pre class="brush: plain; title: ; notranslate">apt-get install php5-cgi php5-cli</pre>
<p>Edit the following file</p>
<pre class="brush: plain; title: ; notranslate">nano /etc/php5/cgi/php.ini</pre>
<p>and uncomment this line</p>
<pre class="brush: plain; title: ; notranslate">cgi.fix_pathinfo = 1</pre>
<p>Now enable fastcgi module</p>
<pre class="brush: plain; title: ; notranslate">lighty-enable-mod fastcgi</pre>
<p>Restart Lighttpd</p>
<pre class="brush: plain; title: ; notranslate">/etc/init.d/lighttpd restart</pre>
<p>You get the welcome page<br />
<a href="http://www.asim.pk/wp-content/uploads/2010/07/lighttpd-welcome-page.png" rel="lightbox[709]"><img src="http://www.asim.pk/wp-content/uploads/2010/07/lighttpd-welcome-page-300x128.png" alt="" title="lighttpd-welcome-page" width="300" height="128" class="aligncenter size-medium wp-image-711" /></a></p>
<p>Lets install MySQL 5.1 server and client</p>
<pre class="brush: plain; title: ; notranslate">apt-get install mysql-server mysql-client</pre>
<p>and optionally phpMyAdmin</p>
<pre class="brush: plain; title: ; notranslate">apt-get install phpmyadmin</pre>
<p>Now create a test page to see if phpinfo is all Ok</p>
<pre class="brush: plain; title: ; notranslate">nano /var/www/info.php</pre>
<p>Type in the following</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
phpinfo();
</pre>
<p><a href="http://www.asim.pk/wp-content/uploads/2010/07/phpinfo-fastcgi.png" rel="lightbox[709]"><img src="http://www.asim.pk/wp-content/uploads/2010/07/phpinfo-fastcgi-262x300.png" alt="" title="phpinfo-fastcgi" width="262" height="300" class="aligncenter size-medium wp-image-713" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/07/19/installing-lighttpd-php-and-mysql-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>PHP Depreciated errors on Ubuntu 10.04 LTS</title>
		<link>http://www.asim.pk/2010/06/21/php-depreciated-errors-on-ubuntu-10-04-lts/</link>
		<comments>http://www.asim.pk/2010/06/21/php-depreciated-errors-on-ubuntu-10-04-lts/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 20:01:51 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Depreciated]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[Ubuntu 10.04 LTS]]></category>
		<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=688</guid>
		<description><![CDATA[If you have installed LAMP (Apache, MySQL and PHP on Ubuntu 10.04 LTS) then running this on SSH would be giving you certain PHP Depreciated warning like these Its a noted bug with Ubuntu and changes may be pushed soon &#8230; <a href="http://www.asim.pk/2010/06/21/php-depreciated-errors-on-ubuntu-10-04-lts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you have installed LAMP (Apache, MySQL and PHP on Ubuntu 10.04 LTS) then running this on SSH</p>
<pre class="brush: plain; title: ; notranslate">php -v</pre>
<p>would be giving you certain PHP Depreciated warning like these</p>
<pre class="brush: plain; title: ; notranslate">root@sea:~# php -v
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/idn.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imagick.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP 5.3.2-1ubuntu4 with Suhosin-Patch (cli) (built: Apr  9 2010 08:23:39)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies</pre>
<p>Its a noted bug with Ubuntu and changes may be pushed soon but to fix this just edit each of these files and replace comments starting with &#8216;<strong>#</strong>&#8216; to &#8216;<strong>;</strong>&#8216;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/06/21/php-depreciated-errors-on-ubuntu-10-04-lts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Set mysql&#8217;s root password on fresh copy from SolusVM OS template</title>
		<link>http://www.asim.pk/2010/06/20/set-mysql-root-password-on-fresh-copy-from-solusvm-os-template/</link>
		<comments>http://www.asim.pk/2010/06/20/set-mysql-root-password-on-fresh-copy-from-solusvm-os-template/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 17:43:29 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtual Private Server]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL 5.1]]></category>
		<category><![CDATA[OS Templates]]></category>
		<category><![CDATA[SolusVM]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=686</guid>
		<description><![CDATA[On SolusVM, your host may provide you with OS templates such as &#8220;Ubuntu 10.04 LTS LAMP&#8221; and you click-install it to your VPS. Now how do you change its mysql&#8217;s root password? simple, run these two commands on SSH after &#8230; <a href="http://www.asim.pk/2010/06/20/set-mysql-root-password-on-fresh-copy-from-solusvm-os-template/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On SolusVM, your host may provide you with OS templates such as &#8220;Ubuntu 10.04 LTS LAMP&#8221; and you click-install it to your VPS. Now how do you change its mysql&#8217;s root password? simple, run these two commands on SSH after doing</p>
<pre class="brush: plain; title: ; notranslate">mysql</pre>
<pre class="brush: plain; title: ; notranslate">UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';
FLUSH PRIVILEGES;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/06/20/set-mysql-root-password-on-fresh-copy-from-solusvm-os-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

