<?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>Open source blog, linux, php, python, security &#187; ubuntu</title>
	<atom:link href="http://www.alonon.net/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alonon.net</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 07:23:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>

   <image>
    <title>Open source blog, linux, php, python, security</title>
    <url>http://0.gravatar.com/avatar/5152c5736f5f8dd9570ffb2f9068e8ab.png?s=48</url>
    <link>http://www.alonon.net</link>
   </image>
		<item>
		<title>How to disable-enable touchpad in ubuntu 11.10</title>
		<link>http://www.alonon.net/how-to-disable-enable-touchpad-in-ubuntu-11-10/</link>
		<comments>http://www.alonon.net/how-to-disable-enable-touchpad-in-ubuntu-11-10/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 22:35:06 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[touchpad]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=427</guid>
		<description><![CDATA[Company that i worked in gave me a laptop with Windows 7. Actually I don&#8217;t like working with laptops because of their keyboard. But this one (hp pavilion dv6) seems OK because its keyboards is really big. After i installed UBUNTU 11.10 shortcut key for &#8220;disable touchpad&#8221; didn&#8217;t worked. It&#8217;s big problem because when i&#8217;m &#8230; <a href="http://www.alonon.net/how-to-disable-enable-touchpad-in-ubuntu-11-10/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Company that i worked in gave me a laptop with Windows 7. Actually I don&#8217;t like working with laptops because of their keyboard. But this one (hp pavilion dv6) seems OK because its keyboards is really big. After i installed UBUNTU 11.10 shortcut key for &#8220;disable touchpad&#8221; didn&#8217;t worked. It&#8217;s big problem because when i&#8217;m typing, always touching to touchpad ! After a huge research i found this:</p>
<blockquote>
<pre>sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install touchpad-indicator</pre>
<p>After installation, open the indicator from <em>Applications -&gt; Accessories -&gt; Touchpad Indicator</em> and set your touchpad in top-right</p></blockquote>
<p>This is the easiest way to disable keywords.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/how-to-disable-enable-touchpad-in-ubuntu-11-10/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Server optimizations 2</title>
		<link>http://www.alonon.net/server-optimizations-steps-2/</link>
		<comments>http://www.alonon.net/server-optimizations-steps-2/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 20:47:16 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ab]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[apc]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=345</guid>
		<description><![CDATA[http://www.alonon.net/server-optimization-errors/ after this, i found some new things to use server hardware more efficiency. (I&#8217;m using ubuntu so that codes listed below works for only ubuntu servers.) 1.  Using a Php Accelerator I found apc. There are some such as Xcache and eAccelerator. Apc is creating php files cache. Before install it, you can test &#8230; <a href="http://www.alonon.net/server-optimizations-steps-2/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.alonon.net/server-optimization-errors/">http://www.alonon.net/server-optimization-errors/</a> after this, i found some new things to use server hardware more efficiency.</p>
<p>(I&#8217;m using ubuntu so that codes listed below works for only ubuntu servers.)</p>
<h2>1.  Using a Php Accelerator</h2>
<p>I found <a href="http://pecl.php.net/package/APC">apc</a>. There are some such as <a href="http://trac.lighttpd.net/xcache/">Xcache</a> and <a href="http://eaccelerator.net/">eAccelerator</a>. Apc is creating php files cache. Before install it, you can test your apache performanse with <a href="http://manpages.ubuntu.com/manpages/jaunty/man8/ab.8.html">ab</a>.</p>
<blockquote><p>ab -c5 -n100 http://www.yoursite.com/index.php<br />
-c <span style="text-decoration: underline;">concurrency</span><br />
Number of multiple requests to perform at a time. Default is one<br />
request at a time.</p>
<p>-n <span style="text-decoration: underline;">requests</span><br />
Number  of requests to perform for the benchmarking session. The<br />
default is to just perform a single request which usually  leads<br />
to non-representative benchmarking results.</p></blockquote>
<p>After testing you can easily install apc with typing:</p>
<blockquote><p>sudo apt-get install php-apc</p>
<p>sudo service apache2 restart</p></blockquote>
<p>Than test again.</p>
<blockquote><p>ab -c5 -n100 http://www.yoursite.com/index.php</p></blockquote>
<p>You can see the difference. Apc comes with a simple control script in /usr/share/doc/php-apc/apc.php.gz to use it</p>
<blockquote><p>gunzip /usr/share/doc/php-apc/apc.php.gz<br />
cp /usr/share/doc/php-apc/apc.php /yousites.com/apc.php</p></blockquote>
<h2>2. Enable browser caching with apache2</h2>
<p>Firstly to check browser caching, install firebug (ff extension)<a href="http://getfirebug.com"> http://getfirebug.com/.</a> After that open firebug and click network tab (Net). Than refresh your web page. You can see get process for each file in your webpage (js,png,gif,ico). There is a green bar symbolizing connection. If you are using browser caching this green bar should be &#8220;0&#8243; after second reload of page. If not</p>
<p>enable expires module of apache2</p>
<blockquote><p>sudo a2enmod expires</p></blockquote>
<p>restart apache</p>
<blockquote><p>sudo service apache2 restart</p></blockquote>
<p>Add this line to your .htaccess file</p>
<blockquote><p>ExpiresActive on<br />
ExpiresByType application/javascript &#8220;access plus 1 months&#8221;<br />
ExpiresByType image/jpg &#8220;access plus 1 month&#8221;<br />
ExpiresByType image/jpeg &#8220;access plus 1 month&#8221;<br />
ExpiresByType image/gif &#8220;access plus 1 month&#8221;<br />
ExpiresByType image/png &#8220;access plus 1 month&#8221;<br />
ExpiresByType text/css &#8220;access plus 1 months&#8221;</p></blockquote>
<p>access plus means access time for each visitor. Also you can use your website .conf file to use it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/server-optimizations-steps-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grub2 Configurations</title>
		<link>http://www.alonon.net/grub2-configurations/</link>
		<comments>http://www.alonon.net/grub2-configurations/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 15:42:48 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[grub2]]></category>
		<category><![CDATA[memtest]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=341</guid>
		<description><![CDATA[Q: How to delete old version of kernels in grub2 menu ? A: Delete them from /boot directory. Both initrd and vmlinuz files. Than run update-grub. Q: How to hide recovery mode in grub2 menu ? A: Change this line #GRUB_DISABLE_LINUX_RECOVERY=&#8221;true&#8221; as GRUB_DISABLE_LINUX_RECOVERY=&#8221;true&#8221; (delete command character.) in /etc/default/boot. Than run update-grub. Q: How to disable &#8230; <a href="http://www.alonon.net/grub2-configurations/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Q: How to delete old version of kernels in grub2 menu ?</strong></p>
<p>A: Delete them from /boot directory. Both initrd and vmlinuz files. Than run update-grub.</p>
<p><strong>Q: How to hide recovery mode in grub2 menu ?</strong></p>
<p>A: Change this line #GRUB_DISABLE_LINUX_RECOVERY=&#8221;true&#8221; as GRUB_DISABLE_LINUX_RECOVERY=&#8221;true&#8221; (delete command character.) in /etc/default/boot. Than run update-grub.</p>
<p><strong>Q: How to disable memtest in grub2 menu ?</strong></p>
<blockquote><p>cd /etc/grub.d</p>
<p>sudo chmod -x 20_memtest86+</p>
<p>update grub</p></blockquote>
<p>Some other changes in grub menu. In /etc/grub.d there are 6 executable files. These are</p>
<blockquote>
<ul>
<li><strong>00_header</strong> Sets initial  appearance items such as the graphics mode, default selection, timeout,  etc.  These settings are normally imported from information from <em>/etc/default/grub</em>. Users normally do not need to make changes to this file.</li>
<li><strong>05_debian_theme</strong> The settings in this file set splash image, text colors, selection  highlighting and themes. In the absence of a splash image, this file  sets a monochromatic theme for the initial menu display. How to set font  renderings and splash images are discussed in detail in the <em>Splash Images and Themes</em> section.</li>
<li><strong>10_hurd</strong> Locates Hurd kernels. Not currently used.</li>
<li><strong>10_linux</strong> Locates kernels on the root device for the operating system currently  in use. It takes this information and establishes the names displayed on  the menu for these kernels.  Thanks to the code in <strong>10_linux</strong>, it is <em>not</em> necessary (or even possible) to explicitly contruct the list of kernel names displayed on the menu.  <strong>Note:</strong> If you don&#8217;t want all your old kernels to appear in the menu list, remove their files from <em>/boot</em>.</li>
<li><strong>20_memtest86+</strong> Searches for <em>/boot/memtest86+.bin</em> and includes it as an option on the GRUB 2 boot menu. There is  currently no line option to remove this entry from the menu. The display  of <em>memtest86+</em> can be inhibited by removing the executable bit from this file:  <tt>sudo chmod -x /etc/grub.d/20_memtest86+</tt> and then running <tt>sudo update-grub</tt>.</li>
<li><strong>30_os-prober</strong> This file uses <em>os-prober</em>, which searches for Linux and other operating systems. Results are placed in <em>grub.cfg</em> based on the scripts in this file. The file is divided into 4 sections,  representing the types of operating systems handled by the scripts:  Windows, Linux, OSX, and Hurd. Variables in this file determine the  format of the displayed names in <em>/boot/grub/grub.cfg</em> and on the  GRUB 2 menu. Users familiar with basic scripting can alter these  variables to change the format of the displayed menu entries.  Alternatively, the user can insert an entry into <em>/etc/default/grub</em> which disables this script. (See below)</li>
<li><strong>40_custom</strong> A template for adding custom menu entries which will be inserted into <em>grub.cfg</em> upon execution of the <tt>update-grub</tt> command. The contents of this file, below the &#8220;<em>exec tail -n +3 $0</em>&#8221; line and the default comments, are imported directly into <em>/boot/grub/grub.cfg</em> without any changes.</li>
</ul>
</blockquote>
<p>By setting executables bits of these file &#8220;0&#8243;,  you can disable function of file for grub menu. Forexample, if you want to disable memtest in grub2 menu, just set &#8220;0&#8243; to executable bit of 20_memtest86. <span style="text-decoration: underline;">sudo chmod -x 20_memtest86+</span> than <span style="text-decoration: underline;">update-grub.</span> To make it enable set &#8220;1&#8243; <span style="text-decoration: underline;">sudo chmod +x 20_memtest86+</span> and <span style="text-decoration: underline;">update-grub.</span></p>
<p><span style="text-decoration: underline;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/grub2-configurations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to learn ubuntu version</title>
		<link>http://www.alonon.net/how-to-learn-ubuntu-version/</link>
		<comments>http://www.alonon.net/how-to-learn-ubuntu-version/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 20:18:51 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=264</guid>
		<description><![CDATA[To learn your ubuntu version/ release there are two ways that i know. first sudo cat /etc/lsb-release second sudo cat /etc/issue]]></description>
			<content:encoded><![CDATA[<p>To learn your ubuntu version/ release  there are two ways that i know.</p>
<p>first</p>
<blockquote><p>sudo cat /etc/lsb-release
</p></blockquote>
<p>second</p>
<blockquote><p>sudo cat /etc/issue</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/how-to-learn-ubuntu-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>User groups and Users in Ubuntu</title>
		<link>http://www.alonon.net/user-groups-and-users-in-ubuntu/</link>
		<comments>http://www.alonon.net/user-groups-and-users-in-ubuntu/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 20:54:47 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[group]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=202</guid>
		<description><![CDATA[Today, i opened a new user (account) and gave ssh access a user on my linode vps. Opened new group Created new user Changed user group Check user group is true Giving ssh access to user Restarting sshd Lets firstly add a user in Ubuntu sudo adduser USERNAME Create new group in Ubuntu sudo addgroup &#8230; <a href="http://www.alonon.net/user-groups-and-users-in-ubuntu/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today, i opened  a new user (account) and gave ssh access a user on my linode vps.</p>
<ul>
<li>Opened new group</li>
<li>Created new user</li>
<li>Changed user group</li>
<li>Check user group is true</li>
<li>Giving ssh access to user</li>
<li>Restarting sshd</li>
<p>Lets firstly add a user in Ubuntu</p>
<blockquote><p>sudo adduser USERNAME</p>
</blockquote>
<p>Create new group in Ubuntu</p>
<blockquote><p>sudo addgroup GROUPNAME</p>
</blockquote>
<p>Change user group, you can do it with two way. You can edit file or delete user and add again with group</p>
<blockquote><p>sudo vi /etc/group</p>
</blockquote>
<p>change</p>
<blockquote><p>GROUPNAME:x:1002:<b>USERNAME</b></p>
</blockquote>
<p>or delete user and add again </p>
<blockquote><p>sudo userdel USERNAME <br />
sudo useradd USERNAME -g GROUPNAME</p>
</blockquote>
<p>Check user group or learn user group in Ubuntu</p>
<blockquote><p>id USERNAME</p>
</blockquote>
<p>Give ssh access to a user in Ubuntu</p>
<blockquote><p>sudo vi /etc/ssh/sshd_config </p>
</blockquote>
<p>change </p>
<blockquote><p>AllowUsers alonon OTHERUSERNAME NEWUSERNAME</p>
</blockquote>
<p>than</p>
<blockquote><p>sudo service ssh restart </p>
</blockquote>
<p>Also you can delete a user in ubuntu with </p>
<blockquote><p>sudo userdel USERNAME</p>
</blockquote>
<p>Group delete in Ubuntu</p>
<blockquote><p>sudo groupdel GROUPNAME</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/user-groups-and-users-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apt-get commands cheat sheet</title>
		<link>http://www.alonon.net/apt-get-commands-cheat-sheet/</link>
		<comments>http://www.alonon.net/apt-get-commands-cheat-sheet/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 21:47:48 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=210</guid>
		<description><![CDATA[some apt-get commands Here is quick cheat sheet you will find handy while using apt-get at shell prompt: Syntax Description Example(s) apt-get install {package} Install the new package. If package is installed then try to upgrade to latest version apt-get install zipapt-get install lsof samba mysql-client apt-get remove {package} Remove/Delete an installed package except configuration &#8230; <a href="http://www.alonon.net/apt-get-commands-cheat-sheet/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>some apt-get commands</p>
<p>Here is quick cheat sheet you will find handy while using apt-get at shell prompt:</p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#60834A" width="100%" >
<tr align=center>
<td width="33%" bgcolor="#E7EFE7"><b>Syntax</b></td>
<td width="33%" bgcolor="#E7EFE7"><b>Description</b></td>
<td width="34%" bgcolor="#E7EFE7"><b>Example(s)</b></td>
</tr>
<tr>
<td width="33%">apt-get install {package}</td>
<td width="33%">Install the new package. If package is installed then try to upgrade to latest version</td>
<td width="34%">apt-get install zip<br />apt-get install lsof samba mysql-client</td>
</tr>
<tr>
<td width="33%">apt-get remove {package}</td>
<td width="33%">Remove/Delete an installed package except configuration files</td>
<td width="34%">apt-get remove zip</td>
</tr>
<tr>
<td width="33%">apt-get &#8211;purge remove {package}</td>
<td width="33%">Remove/Delete everything including configuration files</td>
<td width="34%">apt-get &#8211;purge remove mysql-server</td>
</tr>
<tr>
<td width="33%">apt-get update<br />apt-get upgrade</td>
<td width="33%">Resynchronize the package index files and Upgrade the Debian Linux system including security update (Internet access required)</td>
<td width="34%">apt-get update<br />apt-get upgrade</td>
</tr>
<tr>
<td width="33%">apt-get update<br />apt-get dist-upgrade</td>
<td width="33%">
Usually use to upgrade to Debian distribution. For example Woody to Sarge upgrade. &#8216;dist-upgrade&#8217; in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a &#8220;smart&#8221; conflict resolution system, and  it  will  attempt  to  upgrade  the  most  important  packages  at the expense of less important ones if necessary.
</td>
<td width="34%">apt-get update<br />apt-get dist-upgrade</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/apt-get-commands-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10, Karmic Koala, released‎</title>
		<link>http://www.alonon.net/ubuntu-9-10-karmic-koala-released%e2%80%8e/</link>
		<comments>http://www.alonon.net/ubuntu-9-10-karmic-koala-released%e2%80%8e/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 16:16:52 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 9.10]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=162</guid>
		<description><![CDATA[Ubuntu 9.10 has released, it has some new faetures, i shared a few of them. For more Store, sync and share Integrated &#8220;Ubuntu One&#8221; technology gives you 2 GB of online storage for free. Easily share files between your own and your friends&#8217; computers. Upgrade at low cost for more storage if you need it. &#8230; <a href="http://www.alonon.net/ubuntu-9-10-karmic-koala-released%e2%80%8e/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 9.10 has released, it has some new faetures, i shared a few of them. <a href="http://www.ubuntu.com/">For more</a></p>
<h2>Store, sync and share</h2>
<p><img class="alignright" src="http://www.ubuntu.com/files/masthead/910/tour/ubuntu-910-share-files.jpg" alt="" width="301" height="132" /><br />
Integrated &#8220;Ubuntu One&#8221; technology gives you 2 GB of online storage for free. Easily share files between your own and your friends&#8217; computers. Upgrade at low cost for more storage if you need it.<br />
<img src="http://www.ubuntu.com/files/masthead/910/tour/ubuntu-910-software-center.jpg" alt="" /></p>
<h2>Software Center</h2>
<p>Instant access to thousands of free and open-source                applications</p>
<p>Categories include: Education, Games, Sound and Video, Graphics,                Programming and Office.</p>
<p>Simply select the applications you want to use and the Software                Center will add them to your computer</p>
<p>No CDs, no licenses, no hassle.</p>
<h2>Download Ubuntu 9.10</h2>
<ul>
<li><a href="http://noncdn.releases.ubuntu.com//9.10/ubuntu-9.10-desktop-amd64.iso.torrent" target="_blank">Bittorent links (64 bit)</a> and <a href="http://noncdn.releases.ubuntu.com//9.10/ubuntu-9.10-desktop-i386.iso.torrent" target="_blank">32 bit</a></li>
<li><a href="http://mirror.its.uidaho.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-desktop-i386.iso" target="_blank">Direct ISO CD Images 32 bit</a></li>
<li><a href="http://mirror.its.uidaho.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-desktop-amd64.iso" target="_blank">Direct ISO CD Images 64 bit</a></li>
<li><a href="http://www.ubuntu.com/getubuntu/download" target="_blank">Mirror list</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/ubuntu-9-10-karmic-koala-released%e2%80%8e/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dns Cache with dnsmasq</title>
		<link>http://www.alonon.net/dns-cache-with-dnsmasq/</link>
		<comments>http://www.alonon.net/dns-cache-with-dnsmasq/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 20:24:11 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dns cache]]></category>
		<category><![CDATA[dnsmasq]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=137</guid>
		<description><![CDATA[To make a faster browsing , you can use dns cache. To understand why you should use dns cache, you should learn how dns works. With the each client request, dns try to find ip address for domain. Forexample for each you type www.google.com, your browser try to find google.com ips again. Dns cache is &#8230; <a href="http://www.alonon.net/dns-cache-with-dnsmasq/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To make a faster browsing , you can use dns cache.</p>
<p>To understand why you should use dns cache, you should learn how dns works.</p>
<p><img class="aligncenter" title="dns" src="http://www.yourdictionary.com/images/computer/DNS.GIF" alt="" width="348" height="754" /></p>
<p>With the each client request, dns try to find ip address for domain. Forexample for each you type www.google.com, your browser try to find google.com ips again. Dns cache is hold this ip in local, so you can access faster.</p>
<p>I&#8217;m using <a href="http://www.thekelleys.org.uk/dnsmasq/doc.html">dnsmasq</a> , to install in ubuntu.</p>
<blockquote><p>&#8220;sudo apt-get install dnsmasq&#8221;</p></blockquote>
<p>to configure (i&#8217;m using static ip, if you are using a dynamic ip more configuration might have to be done. )</p>
<p>open /etc/dhcp3/dhclient.conf</p>
<blockquote><p>&#8220;vi /etc/dhcp3/dhclient.conf&#8221;</p></blockquote>
<p>change</p>
<blockquote><p>#prepend domain-name-servers 127.0.0.1;</p></blockquote>
<p>with</p>
<blockquote><p>prepend domain-name-servers 127.0.0.1;</p></blockquote>
<p>Example:</p>
<p>dig ebay.com<br />
<span style="color: #999999;"><br />
; &lt;&lt;&gt;&gt; DiG 9.5.1-P2 &lt;&lt;&gt;&gt; ebay.com<br />
;; global options:  printcmd<br />
;; Got answer:<br />
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 45431<br />
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0</span></p>
<p><span style="color: #888888;">;; QUESTION SECTION:<br />
;ebay.com.            IN    A</span></p>
<p><span style="color: #888888;">;; ANSWER SECTION:<br />
ebay.com.        2330    IN    A    66.211.160.88<br />
ebay.com.        2330    IN    A    66.135.205.13<br />
ebay.com.        2330    IN    A    66.135.205.14<br />
ebay.com.        2330    IN    A    66.135.221.10<br />
ebay.com.        2330    IN    A    66.135.221.11<br />
ebay.com.        2330    IN    A    66.211.160.87</span><br />
<strong><br />
<span style="color: #000000;">;; Query time: 140 msec</span></strong><br />
<span style="color: #888888;">;; SERVER: 127.0.0.1#53(127.0.0.1)<br />
;; WHEN: Sat Sep  5 23:21:51 2009<br />
;; MSG SIZE  rcvd: 122</span></p>
<p>After dns cache:</p>
<p><span style="color: #999999;">dig ebay.com</span></p>
<p><span style="color: #888888;">; &lt;&lt;&gt;&gt; DiG 9.5.1-P2 &lt;&lt;&gt;&gt; ebay.com<br />
;; global options:  printcmd<br />
;; Got answer:<br />
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 17990<br />
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0</span></p>
<p><span style="color: #888888;">;; QUESTION SECTION:<br />
;ebay.com.            IN    A</span></p>
<p><span style="color: #888888;">;; ANSWER SECTION:<br />
ebay.com.        2327    IN    A    66.211.160.87<br />
ebay.com.        2327    IN    A    66.135.221.11<br />
ebay.com.        2327    IN    A    66.135.221.10<br />
ebay.com.        2327    IN    A    66.135.205.14<br />
ebay.com.        2327    IN    A    66.135.205.13<br />
ebay.com.        2327    IN    A    66.211.160.88</span></p>
<p><strong><span style="color: #000000;">;; Query time: 0 msec</span></strong><span style="color: #888888;"><br />
;; SERVER: 127.0.0.1#53(127.0.0.1)<br />
;; WHEN: Sat Sep  5 23:21:54 2009<br />
;; MSG SIZE  rcvd: 122</span></p>
<p><span style="color: #999999;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/dns-cache-with-dnsmasq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>install php apache mysql phpmyadmin</title>
		<link>http://www.alonon.net/install-php-apache-mysql-phpmyadmin/</link>
		<comments>http://www.alonon.net/install-php-apache-mysql-phpmyadmin/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 08:32:59 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=30</guid>
		<description><![CDATA[On ubuntu and kubuntu systems you can install php5 apache2 mysql and phpmyadmin with this command sudo apt-get install apache2 php5 php5-mysql php5-gd mysql-server phpmyadmin To enable mod_rewrite run this: sudo ln -sfn /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/ sudo /etc/init.d/apache2 restart]]></description>
			<content:encoded><![CDATA[<p>On ubuntu and kubuntu systems you can install php5 apache2 mysql and phpmyadmin with this command</p>
<blockquote><p>sudo apt-get install apache2 php5 php5-mysql php5-gd mysql-server phpmyadmin</p></blockquote>
<p>To enable mod_rewrite run this:</p>
<blockquote><p>sudo ln -sfn /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/<br />
sudo /etc/init.d/apache2 restart</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/install-php-apache-mysql-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

