<?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 10.04</title>
	<atom:link href="http://www.asim.pk/tag/ubuntu-10-04/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>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>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>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>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>Install PHP5 ADOdb extension on Ubuntu</title>
		<link>http://www.asim.pk/2010/05/30/install-php5-adodb-extension-on-ubuntu/</link>
		<comments>http://www.asim.pk/2010/05/30/install-php5-adodb-extension-on-ubuntu/#comments</comments>
		<pubDate>Sun, 30 May 2010 05:00:37 +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[ADOdb]]></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=673</guid>
		<description><![CDATA[ADOdb library is a very good data abstraction layer for PHP. Installing a PHP extension enables the library to auto-detect this and give even better performance. To install this library on Ubuntu 10.04 LTS do this]]></description>
			<content:encoded><![CDATA[<p><a href="http://adodb.sf.net/">ADOdb</a> library is a very good data abstraction layer for <a href="http://www.php.net">PHP</a>. Installing a PHP extension enables the library to auto-detect this and give even better performance. To install this library on <strong>Ubuntu 10.04 LTS</strong> do this</p>
<pre class="brush: plain; title: ; notranslate">apt-get install php5-adodb</pre>
<p><img src="http://www.asim.pk/wp-content/uploads/2010/05/php5-adodb-on-ubuntu.png" alt="" title="php5-adodb-on-ubuntu" width="638" height="128" class="aligncenter size-full wp-image-674" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/05/30/install-php5-adodb-extension-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PHP&#8217;s SSH2 extension on Ubuntu</title>
		<link>http://www.asim.pk/2010/05/27/installing-phps-ssh2-extension-on-ubuntu/</link>
		<comments>http://www.asim.pk/2010/05/27/installing-phps-ssh2-extension-on-ubuntu/#comments</comments>
		<pubDate>Thu, 27 May 2010 16:18:45 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[LTS]]></category>
		<category><![CDATA[PECL]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[PHPIZE]]></category>
		<category><![CDATA[SSH2]]></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=660</guid>
		<description><![CDATA[On Ubuntu 10.04 LTS, Do this (there&#8217;s no need to do any compiling anymore) You can now test if PHP recognizes it&#8217;s new ssh2 extension by running: Don&#8217;t forget to restart Apache]]></description>
			<content:encoded><![CDATA[<p>On Ubuntu 10.04 LTS, Do this (there&#8217;s no need to do any compiling anymore)</p>
<pre class="brush: plain; title: ; notranslate">apt-get install libssh2-1-dev libssh2-php</pre>
<p>You can now test if PHP recognizes it&#8217;s new ssh2 extension by running:</p>
<pre class="brush: plain; title: ; notranslate">php -m |grep ssh2</pre>
<p>Don&#8217;t forget to restart Apache</p>
<pre class="brush: plain; title: ; notranslate">service apache2 restart</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/05/27/installing-phps-ssh2-extension-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Good bye CentOS! Hello Ubuntu</title>
		<link>http://www.asim.pk/2010/05/15/good-bye-centos-hello-ubuntu/</link>
		<comments>http://www.asim.pk/2010/05/15/good-bye-centos-hello-ubuntu/#comments</comments>
		<pubDate>Fri, 14 May 2010 20:01:00 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS 5.4]]></category>
		<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[EPEL]]></category>
		<category><![CDATA[iWeb]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[LTS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=655</guid>
		<description><![CDATA[Its been about almost more then two years since I have been playing with CentOS on many different platforms etc. Its very stable but on the other hand, PHP/MySQL updates are very hard to get and still PHP is 5.1.6. &#8230; <a href="http://www.asim.pk/2010/05/15/good-bye-centos-hello-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Its been about almost more then two years since I have been playing with CentOS on many different platforms etc. Its very stable but on the other hand, PHP/MySQL updates are very hard to get and still PHP is 5.1.6. I tried EPEL repo and it updated PHP to 5.3.1 but still there were conflicts with stuff and many core packages.</p>
<p>So, I thought why not move to Ubuntu since it has just announced 10.04LTS (Long Term Support) in April 2010. Folks at iWeb were really nice to do a reinstall without any charges and also process a memory upgrade request at an amazing 50% discount.</p>
<p><strong>Ubuntu 10.04 LTS</strong></p>
<ul>
<li>Apache 2 version is 2.2.14</li>
<li>PHP version is 5.3.2</li>
<li>MySQL version is 5.1.41-3ubuntu12</li>
<li>SVN (Subversion) version is 1.6.6</li>
</ul>
<p><strong>As a comparison CentOS 5.4 has the following versions</strong></p>
<ul>
<li>Apache 2 version is 2.2.3</li>
<li>PHP version is 5.1.6</li>
<li>MySQL version is 5.0.77</li>
<li>SVN (Subversion) version is 1.4.2</li>
</ul>
<p>So if you are a PHP developer looking to deploy a Linux flavour on your new box, choose Ubuntu <img src='http://www.asim.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/05/15/good-bye-centos-hello-ubuntu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

