<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>TechieNote</title>
	
	<link>http://www.techienote.com</link>
	<description />
	<lastBuildDate>Mon, 04 Feb 2013 04:10:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Techienote" /><feedburner:info uri="techienote" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Techienote</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>How to convert MKV files to MP4 Ubuntu 12.10 / 12.04 / 11.10</title>
		<link>http://feedproxy.google.com/~r/Techienote/~3/1SBLawjT6ao/how-to-convert-mkv-files-to-mp4-ubuntu.html</link>
		<comments>http://www.techienote.com/2013/02/how-to-convert-mkv-files-to-mp4-ubuntu.html#comments</comments>
		<pubDate>Mon, 04 Feb 2013 04:10:54 +0000</pubDate>
		<dc:creator>Vidyadhar</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Convert]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[libav-tools]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[media coversion]]></category>
		<category><![CDATA[mkv to mp4]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 11.10]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<category><![CDATA[ubuntu 12.10]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[video player]]></category>

		<guid isPermaLink="false">http://www.techienote.com/?p=3593</guid>
		<description><![CDATA[Recently I have downloaded some video files from the internet which were in MKV format. I want to play the same files on my video player. But here comes the problem, my video player do not support MKV files. As there was number of files I decided to convert the same using avconv command. &#8220;avconv&#8221; [...]]]></description>
				<content:encoded><![CDATA[<p></p><p>Recently I have downloaded some video files from the internet which were in MKV format. I want to play the same files on my video player. But here comes the problem, my video player do not support MKV files.</p>
<p>As there was number of files I decided to convert the same using avconv command. &#8220;avconv&#8221; comes with libav-tools package on Ubuntu. It is the backend for many of the GUI tools cited in other answers.</p>
<p>Changing container without re-encoding content could not be simpler:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">avconv <span style="color: #660033;">-i</span> input.mkv <span style="color: #660033;">-codec</span> copy output.mp4</pre></td></tr></table></div>

<p>It auto-detects a Matroska > MPEG4 container conversion based on input/output filenames. -codec copy tells all content should be copied as-is without re-encoding.</p>
<p>If format auto-detection fails, you can use the -f option before either input, output, or both. From the manual:</p>
<p><strong>f fmt (input/output)</strong></p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="awk" style="font-family:monospace;">Force input or output file format. The format is normally autodetected <span style="color: #000000; font-weight: bold;">for</span> input files and guessed from file extension <span style="color: #000000; font-weight: bold;">for</span> output files, so this option is not needed <span style="color: #000000; font-weight: bold;">in</span> most cases.</pre></td></tr></table></div>

<p>If you want to transfer both the video and audio (both losslessly) and for it not to choke on subtitles then:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">avconv <span style="color: #660033;">-i</span> input.mkv -c:v copy -c:a copy <span style="color: #660033;">-sn</span> output.mp4.</pre></td></tr></table></div>

<p>MP4 supports the most of the common audio formats used in MKVs including MP3 and AAC</p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.techienote.com/2012/11/install-vlc-free-media-player-on-ubuntu.html" title="Permanent link to Install VLC Free Media Player on Ubuntu 12.10, 12.04, 11.10">Install VLC Free Media Player on Ubuntu 12.10, 12.04, 11.10</a>  </li>
<li> <a href="http://www.techienote.com/2012/03/free-youtube-download-ubuntu.html" title="Permanent link to Free YouTube Download Ubuntu">Free YouTube Download Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2010/12/youtube-downloader-for-linux.html" title="Permanent link to Youtube Downloader for Linux">Youtube Downloader for Linux</a>  </li>
<li> <a href="http://www.techienote.com/2010/12/spilt-and-join-file-with-lxsplit.html" title="Permanent link to Spilt and Join file with LXSplit">Spilt and Join file with LXSplit</a>  </li>
<li> <a href="http://www.techienote.com/2011/07/mp3-mpeg4-aac-support-in-ffmpeg.html" title="Permanent link to MP3, MPEG4, AAC support in FFmpeg">MP3, MPEG4, AAC support in FFmpeg</a>  </li>
</ol></div><p></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Techienote?a=1SBLawjT6ao:HqSA7z2p9hQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=1SBLawjT6ao:HqSA7z2p9hQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Techienote?i=1SBLawjT6ao:HqSA7z2p9hQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=1SBLawjT6ao:HqSA7z2p9hQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Techienote?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=1SBLawjT6ao:HqSA7z2p9hQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Techienote?i=1SBLawjT6ao:HqSA7z2p9hQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=1SBLawjT6ao:HqSA7z2p9hQ:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/Techienote?i=1SBLawjT6ao:HqSA7z2p9hQ:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=1SBLawjT6ao:HqSA7z2p9hQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Techienote?i=1SBLawjT6ao:HqSA7z2p9hQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=1SBLawjT6ao:HqSA7z2p9hQ:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=1SBLawjT6ao:HqSA7z2p9hQ:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Techienote?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Techienote/~4/1SBLawjT6ao" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techienote.com/2013/02/how-to-convert-mkv-files-to-mp4-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techienote.com/2013/02/how-to-convert-mkv-files-to-mp4-ubuntu.html</feedburner:origLink></item>
		<item>
		<title>Install Configure DHCP Server Ubuntu 12.10 / 12.04 / 11.10</title>
		<link>http://feedproxy.google.com/~r/Techienote/~3/JLzeWItZOvA/install-configure-dhcp-server-ubuntu.html</link>
		<comments>http://www.techienote.com/2013/01/install-configure-dhcp-server-ubuntu.html#comments</comments>
		<pubDate>Mon, 28 Jan 2013 04:13:57 +0000</pubDate>
		<dc:creator>Vidyadhar</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[build ubuntu server]]></category>
		<category><![CDATA[Caching Nameserver]]></category>
		<category><![CDATA[common records type]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[configure caching nameserver]]></category>
		<category><![CDATA[Configure logging for DNS server]]></category>
		<category><![CDATA[Configure logging for named servers]]></category>
		<category><![CDATA[dhcp server]]></category>
		<category><![CDATA[DHCP server cheatsheet]]></category>
		<category><![CDATA[DHCP server working]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[DNS basic]]></category>
		<category><![CDATA[DOMAIN NAME SERVER]]></category>
		<category><![CDATA[DOMAIN NAME SERVICE]]></category>
		<category><![CDATA[Ethernet routers]]></category>
		<category><![CDATA[Install Configure DHCP Server on Ubuntu]]></category>
		<category><![CDATA[Install Configure DHCP Server Ubuntu 11.10]]></category>
		<category><![CDATA[Install Configure DHCP Server Ubuntu 12.04]]></category>
		<category><![CDATA[Install Configure DHCP Server Ubuntu 12.10]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[local network]]></category>
		<category><![CDATA[option routers]]></category>
		<category><![CDATA[Primary Master Nameserver]]></category>
		<category><![CDATA[simple caching nameserver]]></category>
		<category><![CDATA[Testing DNS Server]]></category>
		<category><![CDATA[Testing named server]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[Troubleshooting DNS Server]]></category>
		<category><![CDATA[ubuntu server]]></category>
		<category><![CDATA[udp]]></category>
		<category><![CDATA[understand DHCP server]]></category>
		<category><![CDATA[understand dns server]]></category>
		<category><![CDATA[what are DNS servers]]></category>
		<category><![CDATA[wireless access]]></category>

		<guid isPermaLink="false">http://www.techienote.com/?p=3575</guid>
		<description><![CDATA[Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to automatically assign an IP address to a computer from a defined range of numbers (i.e., a scope) configured for a given network. DHCP assigns an IP address when a system is started, for example: A user turns on a computer with [...]]]></description>
				<content:encoded><![CDATA[<p></p><p><strong>Dynamic Host Configuration Protocol (DHCP)</strong> is a network protocol that enables a server to automatically assign an IP address to a computer from a defined range of numbers (i.e., a scope) configured for a given network.</p>
<p>DHCP assigns an IP address when a system is started, for example:</p>
<ul>
<li>A user turns on a computer with a DHCP client.</li>
<li>The client computer sends a broadcast request (called a DISCOVER or DHCPDISCOVER), looking for a DHCP server to answer.</li>
<li>The router directs the DISCOVER packet to the correct DHCP server.</li>
<li>The server receives the DISCOVER packet. Based on availability and usage policies set on the server, the server determines an appropriate address (if any) to give to the client. The server then temporarily reserves that address for the client and sends back to the client an OFFER (or DHCPOFFER) packet, with that address information. The server also configures the client&#8217;s DNS servers, WINS servers, NTP servers, and sometimes other services as well.</li>
<li>The client sends a REQUEST (or DHCPREQUEST) packet, letting the server know that it intends to use the address.</li>
<li>The server sends an ACK (or DHCPACK) packet, confirming that the client has a been given a lease on the address for a server-specified period of time.</li>
</ul>
<p>When a computer uses a static IP address, it means that the computer is manually configured to use a specific IP address. One problem with static assignment, which can result from user error or inattention to detail, occurs when two computers are configured with the same IP address. This creates a conflict that results in loss of service. Using DHCP to dynamically assign IP addresses minimizes these conflicts.</p>
<p>For a technical review of DHCP standards, see <a href="http://www.faqs.org/rfcs/rfc2131.html" title="DHCP Reference" target="_blank">RFCs 2131</a> and <a href="http://www.faqs.org/rfcs/rfc2132.html" title="DHCP Reference" target="_blank">2132</a>.</p>
<p><strong>Note:</strong> At Indiana University, UITS prohibits individuals and departments from setting up local DHCP servers on the IU network. Almost all wireless access points, many wired Ethernet routers, and computers running Internet Connection Sharing have built-in DHCP servers. While this makes configuration of a small network easier, it can cause problems when the DHCP servers are used in larger networks. Client computers configured to use DHCP for IP assignment do not need statically assigned IP addresses. In addition, they generally do not need to have addresses configured for DNS servers or WINS servers, as these are also set by the DHCP server.</p>
<p>Earlier we have seen <a href="http://www.techienote.com/2010/11/ddns-dhcp-server-on-ubuntu.html" title="DDNS Server Ubuntu" target="_blank">how to install DNS server on Ubuntu 10.10</a> and <a href="http://www.techienote.com/2012/11/install-configure-local-dns-server-ubuntu.html" title="Local DNS Server Ubuntu 12.10 / 12.04 / 11.10" target="_blank">installing local DNS server on Ubuntu</a>. In this tutorial we will see how to setup Local DHCP server on Ubuntu 12.10.</p>
<p><strong>Note:</strong> that this method will also work on Ubuntu 12.04 and 11.10</p>
<p>Step By Step Guide to Install and Configure DHCP Server on Ubuntu 12.10</p>
<p><strong>Step 1:</strong> Make sure that the latest version is installed:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> <span style="color: #660033;">-y</span> isc-dhcp-server</pre></td></tr></table></div>

<p><strong>Note:</strong> Don’t be alarmed if the startup fails; that&#8217;s because you haven&#8217;t configured it yet.</p>
<p><strong>Step 2.1:</strong> Enable the DCHP server on your network interface (in my case eth0):</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>default<span style="color: #000000; font-weight: bold;">/</span>isc-dhcp-server</pre></td></tr></table></div>

<p><strong>Step 2.2:</strong> Set <strong>INTERFACES=&#8221;"</strong> to the name of the network interface that you want to enable the DHCP server on:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">INTERFACES</span>=<span style="color: #ff0000;">&quot;eth0&quot;</span></pre></td></tr></table></div>

<p><strong>Step 3.1:</strong> Edit the DHCP server configuration:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>dhcp<span style="color: #000000; font-weight: bold;">/</span>dhcpd.conf</pre></td></tr></table></div>

<p><strong>Step 3.2:</strong> The contents of my configuration file, for me the comments already in the file was what I needed to make the necessary changes:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Sample configuration file for ISC dhcpd for Debian</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as</span>
<span style="color: #666666; font-style: italic;"># configuration file instead of this file.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#</span>
&nbsp;
ddns-update-style none;
option domain-name <span style="color: #ff0000;">&quot;techienote.home&quot;</span>;
option domain-name-servers server.techienote.home;
default-lease-time <span style="color: #000000;">600</span>;
max-lease-time <span style="color: #000000;">7200</span>;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 <span style="color: #7a0874; font-weight: bold;">&#123;</span>
  range 192.168.1.101 192.168.1.250;
  option subnet-mask 255.255.255.0;
  option broadcast-address 192.168.1.255;
  option routers 192.168.1.1;
  option domain-name-servers 192.168.1.98;
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></td></tr></table></div>

<p>This needs a little bit of explaining.</p>
<ul>
<li>Adjust your settings according to your network requirements.</li>
<li>The option domain name is your dns zone name. For example mine is set to techienote.home.</li>
<li>Range should be the range of ip addresses that you want the server to give out to clients.</li>
<p><strong>Step 4:</strong> Restart the DHCP server (it should now start without problems):</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> service isc-dhcp-server restart</pre></td></tr></table></div>

<p>Your DHCP server should be running, however it is best to check. Open up a terminal and type:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-uap</span></pre></td></tr></table></div>

<p>which will show you the following information:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">Active Internet connections <span style="color: #7a0874; font-weight: bold;">&#40;</span>servers and established<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID<span style="color: #000000; font-weight: bold;">/</span>Program name
udp        <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> server.techienot:domain <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span>                                 <span style="color: #000000;">1002</span><span style="color: #000000; font-weight: bold;">/</span>named      
udp        <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> localhost:domain        <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span>                                 <span style="color: #000000;">1002</span><span style="color: #000000; font-weight: bold;">/</span>named      
udp        <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">*</span>:bootps                <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span>                                 <span style="color: #000000;">1020</span><span style="color: #000000; font-weight: bold;">/</span>dhcpd      
udp        <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000;">48749</span>                 <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span>                                 <span style="color: #000000;">547</span><span style="color: #000000; font-weight: bold;">/</span>avahi-daemon: r
udp        <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000;">29300</span>                 <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span>                                 <span style="color: #000000;">1020</span><span style="color: #000000; font-weight: bold;">/</span>dhcpd      
udp        <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">*</span>:mdns                  <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span>                                 <span style="color: #000000;">547</span><span style="color: #000000; font-weight: bold;">/</span>avahi-daemon: r</pre></td></tr></table></div>

<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.techienote.com/2010/06/dynamic-dns-on-centos.html" title="Permanent link to Dynamic DNS on CentOS">Dynamic DNS on CentOS</a>  </li>
<li> <a href="http://www.techienote.com/2010/09/configure-tcpip-from-the-command-prompt-using-netsh.html" title="Permanent link to Configure TCP/IP from the Command Prompt using Netsh">Configure TCP/IP from the Command Prompt using Netsh</a>  </li>
<li> <a href="http://www.techienote.com/2012/10/configure-static-ip-ubuntu-12-10-12-04.html" title="Permanent link to Configure Static IP Ubuntu 12.10, 12.04">Configure Static IP Ubuntu 12.10, 12.04</a>  </li>
<li> <a href="http://www.techienote.com/2010/11/ddns-dhcp-server-on-ubuntu.html" title="Permanent link to DDNS &#038; DHCP server on Ubuntu">DDNS &#038; DHCP server on Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2012/11/install-configure-local-dns-server-ubuntu.html" title="Permanent link to Install Configure local DNS Server Ubuntu 12.10 / 12.04 / 11.10">Install Configure local DNS Server Ubuntu 12.10 / 12.04 / 11.10</a>  </li>
</ol></div><p></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Techienote?a=JLzeWItZOvA:Mvx1UTXhOLo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=JLzeWItZOvA:Mvx1UTXhOLo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Techienote?i=JLzeWItZOvA:Mvx1UTXhOLo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=JLzeWItZOvA:Mvx1UTXhOLo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Techienote?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=JLzeWItZOvA:Mvx1UTXhOLo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Techienote?i=JLzeWItZOvA:Mvx1UTXhOLo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=JLzeWItZOvA:Mvx1UTXhOLo:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/Techienote?i=JLzeWItZOvA:Mvx1UTXhOLo:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=JLzeWItZOvA:Mvx1UTXhOLo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Techienote?i=JLzeWItZOvA:Mvx1UTXhOLo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=JLzeWItZOvA:Mvx1UTXhOLo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=JLzeWItZOvA:Mvx1UTXhOLo:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Techienote?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Techienote/~4/JLzeWItZOvA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techienote.com/2013/01/install-configure-dhcp-server-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techienote.com/2013/01/install-configure-dhcp-server-ubuntu.html</feedburner:origLink></item>
		<item>
		<title>Firefox 17 New Social API | Facebook Messenger | Ubuntu 12.10 | Ubuntu 12.04</title>
		<link>http://feedproxy.google.com/~r/Techienote/~3/Q2HvQC401rM/firefox-17-new-social-api-facebook-messenger-ubuntu-12-10-ubuntu-12-04.html</link>
		<comments>http://www.techienote.com/2012/11/firefox-17-new-social-api-facebook-messenger-ubuntu-12-10-ubuntu-12-04.html#comments</comments>
		<pubDate>Wed, 21 Nov 2012 16:30:12 +0000</pubDate>
		<dc:creator>Vidyadhar</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Facebook messenger]]></category>
		<category><![CDATA[facebook messenger for firefox]]></category>
		<category><![CDATA[firefox 17]]></category>
		<category><![CDATA[firefox 17 release notes]]></category>
		<category><![CDATA[firefox update]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to install latest version of firefox on Ubuntu]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Messenger]]></category>
		<category><![CDATA[Social API]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<category><![CDATA[ubuntu 12.10]]></category>

		<guid isPermaLink="false">http://www.techienote.com/?p=3558</guid>
		<description><![CDATA[As expected Mozilla has released the new version 17 of Firefox that brings several new features and with them new controversy. Mozilla Firefox 17 improves stability and safety thanks to fix several bugs and also adds a new feature click to play going to automatically block all third-party plugins not upgraded. To improve the security [...]]]></description>
				<content:encoded><![CDATA[<p></p><p>As expected Mozilla has released the new version 17 of Firefox that brings several new features and with them new controversy.</p>
<p>Mozilla Firefox 17 improves stability and safety thanks to fix several bugs and also adds a new feature click to play going to automatically block all third-party plugins not upgraded.</p>
<p>To improve the security of the browser Mozilla has decided to introduce a new feature that blocks some Flash plugin, Java, etc. obsolete due to some flaws which can endanger our security and privacy as well as the stability of the browser. </p>
<p>To see the complete release note, <a href="http://www.mozilla.org/en-US/firefox/17.0/releasenotes/buglist.html" title="Firefox 17 complete release notes" target="_blank">click here</a></p>
<p>This version of Firefox is faster, safer and fixes many vulnerabilities that was found in previous releases. </p>
<p>Right now only Facebook is supported with the new social API but Mozilla is said to be in talk with other content provided to take advantage of this feature.</p>
<p>To install Mozilla Firefox 17 in Ubuntu open terminal <strong>(Alt + Ctrl + t)</strong> and type the following commands</p>
<p><strong>Step 1:</strong> Add Firefox repository</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> add-apt-repository ppa:ubuntu-mozilla-security<span style="color: #000000; font-weight: bold;">/</span>ppa</pre></td></tr></table></div>

<p><strong>Step 2:</strong> Update sources.list</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get update</span></pre></td></tr></table></div>

<p><strong>Step 3:</strong> Install Firefox 17</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> firefox</pre></td></tr></table></div>

<p>That&#8217;s it , you have successfully installed Firefox 17. To check Firefox version type following command on terminal</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">firefox <span style="color: #660033;">-v</span></pre></td></tr></table></div>

<p>Output would be as follows</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">Mozilla Firefox <span style="color: #000000;">17.0</span></pre></td></tr></table></div>

<p><a href="http://www.techienote.com/wp-content/uploads/2012/11/firefox17_facebook_messenger_integration3.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/11/firefox17_facebook_messenger_integration3-300x131.png" alt="firefox17_facebook_messenger_integration3" title="firefox17_facebook_messenger_integration3" width="300" height="131" class="lazy aligncenter size-medium wp-image-3560" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/11/firefox17_facebook_messenger_integration3-300x131.png" alt="firefox17_facebook_messenger_integration3" title="firefox17_facebook_messenger_integration3" width="300" height="131" class="aligncenter size-medium wp-image-3560" /></noscript></a></p>
<p>To start using Messenger for Firefox go to <a href="https://www.facebook.com/about/messenger-for-firefox " title="Messenger for Firefox" target="_blank">facebook messenger for firefox page</a></p>
<p><a href="http://www.techienote.com/wp-content/uploads/2012/11/firefox17_facebook_messenger_integration1.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/11/firefox17_facebook_messenger_integration1-300x205.png" alt="firefox17_facebook_messenger_integration1" title="firefox17_facebook_messenger_integration1" width="300" height="205" class="lazy aligncenter size-medium wp-image-3561" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/11/firefox17_facebook_messenger_integration1-300x205.png" alt="firefox17_facebook_messenger_integration1" title="firefox17_facebook_messenger_integration1" width="300" height="205" class="aligncenter size-medium wp-image-3561" /></noscript></a></p>
<p>And click on Turn On Button</p>
<p>When the feature is enabled, you&#8217;ll see Facebook icon and other features added to your menu bar.<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/11/firefox17_facebook_messenger_integration2.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/11/firefox17_facebook_messenger_integration2-300x45.png" alt="firefox17_facebook_messenger_integration2" title="firefox17_facebook_messenger_integration2" width="300" height="45" class="lazy aligncenter size-medium wp-image-3562" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/11/firefox17_facebook_messenger_integration2-300x45.png" alt="firefox17_facebook_messenger_integration2" title="firefox17_facebook_messenger_integration2" width="300" height="45" class="aligncenter size-medium wp-image-3562" /></noscript></a></p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.techienote.com/2012/01/install-firefox-9-on-ubuntu.html" title="Permanent link to Install Firefox 9 on Ubuntu">Install Firefox 9 on Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2011/03/firefox-4-on-ubuntu.html" title="Permanent link to Firefox 4 on Ubuntu">Firefox 4 on Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2011/01/install-firefox-4-beta-on-ubuntu.html" title="Permanent link to Install Firefox 4 Beta on Ubuntu">Install Firefox 4 Beta on Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2011/07/firefox-8-on-ubuntu-11-04.html" title="Permanent link to Firefox 8 on Ubuntu 11.04">Firefox 8 on Ubuntu 11.04</a>  </li>
<li> <a href="http://www.techienote.com/2011/01/firefox-4-beta-released.html" title="Permanent link to Firefox 4 Beta Released">Firefox 4 Beta Released</a>  </li>
</ol></div><p></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Techienote?a=Q2HvQC401rM:LnmxnjCl9QI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Q2HvQC401rM:LnmxnjCl9QI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Techienote?i=Q2HvQC401rM:LnmxnjCl9QI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Q2HvQC401rM:LnmxnjCl9QI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Techienote?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Q2HvQC401rM:LnmxnjCl9QI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Techienote?i=Q2HvQC401rM:LnmxnjCl9QI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Q2HvQC401rM:LnmxnjCl9QI:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/Techienote?i=Q2HvQC401rM:LnmxnjCl9QI:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Q2HvQC401rM:LnmxnjCl9QI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Techienote?i=Q2HvQC401rM:LnmxnjCl9QI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Q2HvQC401rM:LnmxnjCl9QI:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Q2HvQC401rM:LnmxnjCl9QI:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Techienote?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Techienote/~4/Q2HvQC401rM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techienote.com/2012/11/firefox-17-new-social-api-facebook-messenger-ubuntu-12-10-ubuntu-12-04.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techienote.com/2012/11/firefox-17-new-social-api-facebook-messenger-ubuntu-12-10-ubuntu-12-04.html</feedburner:origLink></item>
		<item>
		<title>Step by Step guide to install Skype 4.1 Ubuntu 12.10 / 12.04 / 11.10</title>
		<link>http://feedproxy.google.com/~r/Techienote/~3/E0nH0Wl_N_I/step-by-step-guide-to-install-skype-4-1-ubuntu.html</link>
		<comments>http://www.techienote.com/2012/11/step-by-step-guide-to-install-skype-4-1-ubuntu.html#comments</comments>
		<pubDate>Thu, 15 Nov 2012 07:43:50 +0000</pubDate>
		<dc:creator>Vidyadhar</dc:creator>
				<category><![CDATA[Basic]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[free voip software]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[microsoft windows]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[skype 4.1]]></category>
		<category><![CDATA[Step by Step guide to install Skype 4.1 Ubuntu]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 11.10]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<category><![CDATA[ubuntu 12.10]]></category>
		<category><![CDATA[voip software]]></category>
		<category><![CDATA[Windows Live Messenger]]></category>

		<guid isPermaLink="false">http://www.techienote.com/?p=3537</guid>
		<description><![CDATA[Skype is a software that allows to make free Skype-to-Skype to anyone else, call to landlines and mobiles, group chat with up to 200 people or conference call with up to 25 others. Skype 4.1 has just been released for Linux systems which brings better compatibility for Unity and Gnome Shell. New features and changes [...]]]></description>
				<content:encoded><![CDATA[<p></p><p>Skype is a software that allows to make free Skype-to-Skype to anyone else, call to landlines and mobiles, group chat with up to 200 people or conference call with up to 25 others.</p>
<p>Skype 4.1 has just been released for Linux systems which brings better compatibility for Unity and Gnome Shell.</p>
<p>New features and changes in this release is</p>
<ul>
<li>Chat with your Windows Live Messenger friends on Skype</li>
<li>Sign in using your Microsoft account without the need to create a new Skype account</li>
<li>Better video quality for video chat</li>
</ul>
<p>Currently the newest version isn&#8217;t yet available in Ubuntu Partner&#8217;s repository so you must manually download and install it.</p>
<p>To install Skype 4.1 in Ubuntu 12.10/12.04/11.10 open the terminal and run following commands for 32 bit platforms:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> libxss1 
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>tmp 
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.skype.com<span style="color: #000000; font-weight: bold;">/</span>go<span style="color: #000000; font-weight: bold;">/</span>getskype-linux-ubuntu-<span style="color: #000000;">32</span><span style="color: #000000; font-weight: bold;">/</span>skype-ubuntu-precise_4.1.0.20-<span style="color: #000000;">1</span>_i386.deb
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> skype-ubuntu<span style="color: #000000; font-weight: bold;">*</span>.deb</pre></td></tr></table></div>

<p>To install Skype 4.1 in Ubuntu 12.10/12.04/11.10 open the terminal and run following commands for 64 bit platforms:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> libxss1 
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>tmp 
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.skype.com<span style="color: #000000; font-weight: bold;">/</span>go<span style="color: #000000; font-weight: bold;">/</span>getskype-linux-ubuntu-<span style="color: #000000;">64</span><span style="color: #000000; font-weight: bold;">/</span>skype-ubuntu-precise_4.1.0.20-<span style="color: #000000;">1</span>_i386.deb
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> skype-ubuntu<span style="color: #000000; font-weight: bold;">*</span>.deb</pre></td></tr></table></div>

<p><a href="http://www.techienote.com/wp-content/uploads/2012/11/step_by_step_guid_to_install_skype4-1_ubuntu.jpg"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/11/step_by_step_guid_to_install_skype4-1_ubuntu-300x238.jpg" alt="step_by_step_guid_to_install_skype4-1_ubuntu" title="step_by_step_guid_to_install_skype4-1_ubuntu" width="300" height="238" class="lazy aligncenter size-medium wp-image-3538" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/11/step_by_step_guid_to_install_skype4-1_ubuntu-300x238.jpg" alt="step_by_step_guid_to_install_skype4-1_ubuntu" title="step_by_step_guid_to_install_skype4-1_ubuntu" width="300" height="238" class="aligncenter size-medium wp-image-3538" /></noscript></a></p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.techienote.com/2012/05/how-to-install-virtualbox-4-1-14-on-ubuntu-12-04.html" title="Permanent link to How to Install VirtualBox 4.1.14 on Ubuntu 12.04">How to Install VirtualBox 4.1.14 on Ubuntu 12.04</a>  </li>
<li> <a href="http://www.techienote.com/2012/10/install-the-cinnamon-desktop-on-ubuntu.html" title="Permanent link to Install the Cinnamon Desktop on Ubuntu">Install the Cinnamon Desktop on Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2012/10/virtualbox-free-virtualization-software-on-ubuntu-12-10-12-04-11-10.html" title="Permanent link to VirtualBox free virtualization software on Ubuntu 12.10, 12.04, 11.10">VirtualBox free virtualization software on Ubuntu 12.10, 12.04, 11.10</a>  </li>
<li> <a href="http://www.techienote.com/2012/05/how-to-install-gimp-2-8-on-ubuntu-12-04.html" title="Permanent link to How to install GIMP 2.8 on Ubuntu 12.04">How to install GIMP 2.8 on Ubuntu 12.04</a>  </li>
<li> <a href="http://www.techienote.com/2012/03/free-youtube-download-ubuntu.html" title="Permanent link to Free YouTube Download Ubuntu">Free YouTube Download Ubuntu</a>  </li>
</ol></div><p></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Techienote?a=E0nH0Wl_N_I:WQ1flefcJWo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=E0nH0Wl_N_I:WQ1flefcJWo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Techienote?i=E0nH0Wl_N_I:WQ1flefcJWo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=E0nH0Wl_N_I:WQ1flefcJWo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Techienote?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=E0nH0Wl_N_I:WQ1flefcJWo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Techienote?i=E0nH0Wl_N_I:WQ1flefcJWo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=E0nH0Wl_N_I:WQ1flefcJWo:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/Techienote?i=E0nH0Wl_N_I:WQ1flefcJWo:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=E0nH0Wl_N_I:WQ1flefcJWo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Techienote?i=E0nH0Wl_N_I:WQ1flefcJWo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=E0nH0Wl_N_I:WQ1flefcJWo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=E0nH0Wl_N_I:WQ1flefcJWo:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Techienote?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Techienote/~4/E0nH0Wl_N_I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techienote.com/2012/11/step-by-step-guide-to-install-skype-4-1-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techienote.com/2012/11/step-by-step-guide-to-install-skype-4-1-ubuntu.html</feedburner:origLink></item>
		<item>
		<title>Install Configure local DNS Server Ubuntu 12.10 / 12.04 / 11.10</title>
		<link>http://feedproxy.google.com/~r/Techienote/~3/pKCSU3kAXek/install-configure-local-dns-server-ubuntu.html</link>
		<comments>http://www.techienote.com/2012/11/install-configure-local-dns-server-ubuntu.html#comments</comments>
		<pubDate>Thu, 15 Nov 2012 04:05:18 +0000</pubDate>
		<dc:creator>Vidyadhar</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[alphabetical order server]]></category>
		<category><![CDATA[authoritative name server]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[bind9]]></category>
		<category><![CDATA[Caching Nameserver]]></category>
		<category><![CDATA[caching services]]></category>
		<category><![CDATA[common records type]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[configure caching nameserver]]></category>
		<category><![CDATA[Configure logging for DNS server]]></category>
		<category><![CDATA[Configure logging for named servers]]></category>
		<category><![CDATA[dedicate server for home]]></category>
		<category><![CDATA[DNS basic]]></category>
		<category><![CDATA[dns server]]></category>
		<category><![CDATA[dns-search techienote.home dns-domain]]></category>
		<category><![CDATA[DOMAIN NAME SERVER]]></category>
		<category><![CDATA[DOMAIN NAME SERVICE]]></category>
		<category><![CDATA[Install Configure local DNS Server on Ubuntu]]></category>
		<category><![CDATA[Install Configure local DNS Server Ubuntu 11.10]]></category>
		<category><![CDATA[Install Configure local DNS Server Ubuntu 12.04]]></category>
		<category><![CDATA[Install Configure local DNS Server Ubuntu 12.10]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Internet connections]]></category>
		<category><![CDATA[Internet domains]]></category>
		<category><![CDATA[Internet Service Provider]]></category>
		<category><![CDATA[Internet Works]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[local DNS Server]]></category>
		<category><![CDATA[local network]]></category>
		<category><![CDATA[Primary Master Nameserver]]></category>
		<category><![CDATA[resolver software]]></category>
		<category><![CDATA[search directive]]></category>
		<category><![CDATA[search domain]]></category>
		<category><![CDATA[server software]]></category>
		<category><![CDATA[simple caching nameserver]]></category>
		<category><![CDATA[Testing DNS Server]]></category>
		<category><![CDATA[Testing named server]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[Troubleshooting DNS Server]]></category>
		<category><![CDATA[understand dns server]]></category>
		<category><![CDATA[Web Browser]]></category>
		<category><![CDATA[what are DNS servers]]></category>

		<guid isPermaLink="false">http://www.techienote.com/?p=3529</guid>
		<description><![CDATA[The Domain Name System (DNS) is a standard technology for managing the names of Web sites and other Internet domains. DNS technology allows you to type names into your Web browser like techienote.com and your computer to automatically find that address on the Internet. A key element of the DNS is a worldwide collection of [...]]]></description>
				<content:encoded><![CDATA[<p></p><p><strong>The Domain Name System (DNS)</strong> is a standard technology for managing the names of Web sites and other Internet domains. DNS technology allows you to type names into your Web browser like <a href="http://www.techienote.com`" title="techienote.com" target="_blank">techienote.com</a> and your computer to automatically find that address on the Internet. A key element of the DNS is a worldwide collection of <strong><em>DNS servers</em></strong>.</p>
<p>DNS server is any computer registered to join the Domain Name System. A DNS server runs special-purpose networking software, features a public IP address, and contains a database of network names and addresses for other Internet hosts.</p>
<blockquote><p>For more info see <a href="http://www.onlineschools.org/visual-academy/images/internet_infographic.jpg" title="How Internet Works" target="_blank">How Internet Works</a></p></blockquote>
<p><strong>A local DNS server which performs domain name lookup is usually located on the network to which your computer is attached.</strong> If you are using an Internet Service Provider (ISP), your DNS server is at your ISP. If you are using the network at your college or your office, you probably have a local DNS server somewhere near you at the server room.</p>
<p>Local DNS server is very useful for small offices who use to have multiple internal websites for employees. This is the very cheap dedicated hosting solution, where you can use your <a href="http://www.techienote.com/2012/10/how-to-install-lamp-on-ubuntu-12-04.html" title="How to Install LAMP On Ubuntu" target="_blank">LAMP server</a> to develop websites and local DNS server for managing DNS records.</p>
<p>When you are on your computer, you will at some point type in the name of a computer somewhere on your local network or on the Internet. Your resolver software running on your computer looks in its local cache. If it does not find an answer, it sends that computer name to a DNS server.</p>
<p>Earlier we have seen <a href="http://www.techienote.com/2010/11/ddns-dhcp-server-on-ubuntu.html" title="How to install DNS Server on Ubuntu 10.10" target="_blank">how to install DNS server on Ubuntu 10.10</a>. In this tutorial we will see how to setup Local DNS server on Ubuntu 12.10. We will be using bind9 as a local DNS Server.</p>
<p><strong>Note that this method will also work on Ubuntu 12.04 and 11.10</strong></p>
<p>In this whole Step By Step Guide we will be going to learn cover following topics</p>
<pre>
Installation
Configuration
	Caching Nameserver
	Primary Master
Troubleshooting
	Testing
	Logging
Some common records type
</pre>
<p><strong>Step By Step Guide to Install and Configure Local DNS Server on Ubuntu 12.10</strong><br />
<a href="http://www.techienote.com/wp-content/uploads/2012/11/local-dns-server-ubuntu.jpeg"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/11/local-dns-server-ubuntu-268x300.jpeg" alt="Install Configure local DNS Server ubuntu" title="Install Configure local DNS Server ubuntu" width="268" height="300" class="lazy aligncenter size-medium wp-image-3530" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/11/local-dns-server-ubuntu-268x300.jpeg" alt="Install Configure local DNS Server ubuntu" title="Install Configure local DNS Server ubuntu" width="268" height="300" class="aligncenter size-medium wp-image-3530" /></noscript></a></p>
<p><strong>Step 1:</strong> We are going to use bind as our DNS server software. We will be installing bind9 on our ubuntu system. Open a command prompt and run following command to install bind9 on your system</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> bind9</pre></td></tr></table></div>

<p><strong>Step 2:</strong> The DNS configuration files are stored in the /etc/bind directory. The primary configuration file is /etc/bind/named.conf.</p>
<p>The include line specifies the filename which contains the DNS options. The directory line in the /etc/bind/named.conf.options file tells DNS where to look for files. All files BIND uses will be relative to this directory.</p>
<p>The file named /etc/bind/db.root describes the root nameservers in the world. The servers change over time, so the /etc/bind/db.root file must be maintained now and then. This is usually done as updates to the bind9 package. The zone section defines a master server, and it is stored in a file mentioned in the file option.</p>
<p>It is possible to configure the same server to be a caching name server, primary master, and secondary master. A server can be the Start of Authority (SOA) for one zone, while providing secondary service for another zone. All the while providing caching services for hosts on the local LAN.</p>
<p>To Configure the DNS to cache requests and forward unknown requests to other DNS servers open /etc/bind/named.conf.options file :</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>bind<span style="color: #000000; font-weight: bold;">/</span>named.conf.options</pre></td></tr></table></div>

<p><strong>Step 2.1:</strong> Uncomment or add the forwarders section and replace the x:es with the ip-address to the primary and secondary dns of your isp:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">forwarders <span style="color: #7a0874; font-weight: bold;">&#123;</span>
        x.x.x.x;
        x.x.x.x;
<span style="color: #7a0874; font-weight: bold;">&#125;</span>;</pre></td></tr></table></div>

<p>Replace X.X.X.X with the IP Adresses of actual nameservers. I am using Google Public DNS as my forwarders, currently 8.8.8.8 and 8.8.4.4</p>
<p><Strong>By completing Step 1 to 2.1 your local caching nameserver is ready. </p>
<p>Below steps are for configuring local DNS server for small office, schools</Strong></p>
<p><strong>Step 3:</strong> Make the server use its own DNS for look-ups. I always prefer to assign static ip for our critical server. For detailed explaination see How to Configure Static IP on Ubuntu</p>
<p><strong>Step 3.1:</strong> Edit /etc/network/interfaces</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>interfaces</pre></td></tr></table></div>

<p><strong>Step 3.2:</strong> Change or add the dns-nameserver, dns-search and dns-domain directives:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># The primary network interface</span>
auto eth0
iface eth0 inet static
        address 192.168.1.98
        netmask 255.255.255.0
        gateway 192.168.1.1
        network 192.168.1.0
        broadcast 192.168.1.255
        dns-nameservers 127.0.0.1
        dns-search techienote.home
        dns-domain techienote.home</pre></td></tr></table></div>

<p><strong>Note 1:</strong> <Strong>techienote.home</Strong> is the domain name of our local network in this guide. A DNS search directive is used to eliminate the need of typing the FQDN when looking up local records.</p>
<p><strong>Note 2:</strong> This setup must also be done for other Ubuntu clients that use a static IP. But then it should point to the IP of our DNS server. If you have a DHCP server you should specify your DNS IP in its settings, as well as the search domain.</p>
<p><strong>Step 4:</strong> Now we will configured BIND9 as the Primary Master for the techienote.home. Simply replace techienote.home with your FQDN (Fully Qualified Domain Name).</p>
<p>To add a DNS zone to BIND9, turning BIND9 into a Primary Master server, the first step is to edit /etc/bind/named.conf.local:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>bind<span style="color: #000000; font-weight: bold;">/</span>named.conf.local</pre></td></tr></table></div>

<p><strong>Step 4.1:</strong> Add a zone for the local domain:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">zone <span style="color: #ff0000;">&quot;techienote.home&quot;</span> IN <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    <span style="color: #7a0874; font-weight: bold;">type</span> master;
    <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #ff0000;">&quot;/etc/bind/zones/techienote.home.db&quot;</span>;
<span style="color: #7a0874; font-weight: bold;">&#125;</span>;</pre></td></tr></table></div>

<p><strong>Step 4.2:</strong> Also add a zone for reverse dns lookups for the local network:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">zone <span style="color: #ff0000;">&quot;1.168.192.in-addr.arpa&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    <span style="color: #7a0874; font-weight: bold;">type</span> master;
    <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #ff0000;">&quot;/etc/bind/zones/rev.1.168.192.in-addr.arpa&quot;</span>;
<span style="color: #7a0874; font-weight: bold;">&#125;</span>;</pre></td></tr></table></div>

<p><strong>Note:</strong> Make sure that it’s literal quotes that are used, so that they aren’t converted if you copy and past them to the terminal. You get literal quotes on a Swedish keyboard by pressing “Shif+2″, on an English keybord it might be “Shif+,” ?</p>
<p><strong>Step 5:</strong> Create the zones directory</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>bind<span style="color: #000000; font-weight: bold;">/</span>zones</pre></td></tr></table></div>

<p><strong>Step 6:</strong> Configure the local domain:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>bind<span style="color: #000000; font-weight: bold;">/</span>zones<span style="color: #000000; font-weight: bold;">/</span>techienote.home.db</pre></td></tr></table></div>

<p><strong>Step 6.1:</strong> Example settings, change to match your host names and ip-addresses:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">; Use semicolons to add comments.
; Host-to-IP Address DNS Pointers <span style="color: #000000; font-weight: bold;">for</span> techienote.home
; Note: The extra “.” at the end of the domain names are important.
&nbsp;
; The following parameters <span style="color: #000000; font-weight: bold;">set</span> when DNS records will expire, etc.
; Importantly, the serial number must always be iterated upward to prevent
; undesirable consequences. A good format to use is YYYYMMDDII where
; the II index is <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">case</span> you <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">more</span> that one change <span style="color: #000000; font-weight: bold;">in</span> the same day.
<span style="color: #007800;">$ORIGIN</span> .
<span style="color: #007800;">$TTL</span> <span style="color: #000000;">86400</span>      ; <span style="color: #000000;">1</span> day
techienote.home. IN SOA server.techienote.home. hostmaster.techienote.home. <span style="color: #7a0874; font-weight: bold;">&#40;</span>
    <span style="color: #000000;">2012111302</span> ; serial
    8H ; refresh
    4H ; retry
    4W ; expire
    1D ; minimum
<span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
; NS indicates that server is the name server on techienote.home
techienote.home. IN NS server.techienote.home.
&nbsp;
<span style="color: #007800;">$ORIGIN</span> techienote.home.
&nbsp;
; Set the address <span style="color: #000000; font-weight: bold;">for</span> localhost.techienote.home
localhost    IN A 127.0.0.1
&nbsp;
; Set the hostnames <span style="color: #000000; font-weight: bold;">in</span> alphabetical order
server       IN A 192.168.1.98</pre></td></tr></table></div>

<p><strong>Step 6.2:</strong> Create and edit the reverse lookup configuration file</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>bind<span style="color: #000000; font-weight: bold;">/</span>zones<span style="color: #000000; font-weight: bold;">/</span>rev.1.168.192.in-addr.arpa</pre></td></tr></table></div>

<p>Example settings, reversed of the above:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">; IP Address-to-Host DNS Pointers <span style="color: #000000; font-weight: bold;">for</span> the 192.168.1 subnet
<span style="color: #000000; font-weight: bold;">@</span> IN SOA server.techienote.home. hostmaster.techienote.home. <span style="color: #7a0874; font-weight: bold;">&#40;</span>
    <span style="color: #000000;">2012111302</span> ; serial
    8H ; refresh
    4H ; retry
    4W ; expire
    1D ; minimum
<span style="color: #7a0874; font-weight: bold;">&#41;</span>
; define the authoritative name server
           IN NS server.techienote.home.
; our hosts, <span style="color: #000000; font-weight: bold;">in</span> numeric order
<span style="color: #000000;">98</span>        IN PTR server.techienote.home.</pre></td></tr></table></div>

<p><strong>Note :</strong> You must increment the Serial Number every time you make changes to the zone file. If you make multiple changes before restarting BIND9, simply increment the Serial once. Many admins like to use the last date edited as the serial of a zone, such as 2012010100 which is yyyymmddss (where ss is the Serial Number)</p>
<p><strong>Step 7:</strong> Restart services to use the new settings:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> service bind9 restart</pre></td></tr></table></div>

<p><strong>Step 8:</strong> Restart the network interface that you changed in step 3.2:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">nohup</span> <span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;ifdown eth0 &amp;&amp; ifup eth0&quot;</span></pre></td></tr></table></div>

<p><strong>Note :</strong> that networking restart has been deprecated, see this post for more information.</p>
<p>Your DNS server should be running, however it is best to check. Open up a terminal and type:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-uap</span></pre></td></tr></table></div>

<p>which will show you the following information:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">Active Internet connections <span style="color: #7a0874; font-weight: bold;">&#40;</span>servers and established<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID<span style="color: #000000; font-weight: bold;">/</span>Program name
udp        <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> server.techienot:domain <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span>                                 <span style="color: #000000;">1002</span><span style="color: #000000; font-weight: bold;">/</span>named      
udp        <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> localhost:domain        <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span>                                 <span style="color: #000000;">1002</span><span style="color: #000000; font-weight: bold;">/</span>named      
udp        <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">*</span>:bootps                <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span>                                 <span style="color: #000000;">1020</span><span style="color: #000000; font-weight: bold;">/</span>dhcpd      
udp        <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000;">48749</span>                 <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span>                                 <span style="color: #000000;">547</span><span style="color: #000000; font-weight: bold;">/</span>avahi-daemon: r
udp        <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000;">29300</span>                 <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span>                                 <span style="color: #000000;">1020</span><span style="color: #000000; font-weight: bold;">/</span>dhcpd      
udp        <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">*</span>:mdns                  <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000; font-weight: bold;">*</span>                                 <span style="color: #000000;">547</span><span style="color: #000000; font-weight: bold;">/</span>avahi-daemon: r</pre></td></tr></table></div>

<p><strong>Step 9:</strong> Test that the dns look-ups works with the local server:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">host techienote.com</pre></td></tr></table></div>

<p>The response should be:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">techienote.com has address 174.122.2.251
techienote.com mail is handled by <span style="color: #000000;">0</span> techienote.com.</pre></td></tr></table></div>

<p><strong>Step 10:</strong> Test that all of your computers are listed with the following command:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">host <span style="color: #660033;">-l</span> techienote.home</pre></td></tr></table></div>

<p>The output should list all of your entered hosts:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">techienote.home name server server.techienote.home.
localhost.techienote.home has address 127.0.0.1
server.techienote.home has address 192.168.1.98</pre></td></tr></table></div>

<p><strong>Step 11:</strong> Test that the reverse lookup works:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">host 192.168.1.98</pre></td></tr></table></div>

<p>Response:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">98.1.168.192.in-addr.arpa domain name pointer server.techienote.home.</pre></td></tr></table></div>

<p>Another way to test your zone files is by using the <Strong>named-checkzone</Strong> utility installed with the bind9 package. This utility allows you to make sure the configuration is correct before restarting BIND9 and making the changes live.</p>
<p><strong>Step 12:</strong> To test our techienote Forward zone file enter the following from a command prompt:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">named-checkzone techienote.home <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>bind<span style="color: #000000; font-weight: bold;">/</span>zones<span style="color: #000000; font-weight: bold;">/</span>techienote.home.db</pre></td></tr></table></div>

<p>If everything is configured correctly you should see output similar to:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">zone techienote.home<span style="color: #000000; font-weight: bold;">/</span>IN: loaded serial <span style="color: #000000;">6</span>
OK</pre></td></tr></table></div>

<p><strong>Step 13:</strong> Similarly, to test the Reverse zone file enter the following:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">named-checkzone 1.168.192.in-addr.arpa <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>bind<span style="color: #000000; font-weight: bold;">/</span>zones<span style="color: #000000; font-weight: bold;">/</span>rev.1.168.192.in-addr.arpa</pre></td></tr></table></div>

<p>The output should be similar to:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">zone 1.168.192.in-addr.arpa<span style="color: #000000; font-weight: bold;">/</span>IN: loaded serial <span style="color: #000000;">3</span>
OK</pre></td></tr></table></div>

<p><strong>Note 1 :</strong> The Serial Number of your zone file will probably be different.</p>
<p><strong>Note 2 :</strong> The default directory for non-authoritative zone files is <Strong>/var/cache/bind/</Strong> This directory is also configured in AppArmor to allow the named daemon to write to it</p>
<p><strong>Note 3 :</strong> By default you BIND9 logs will get recored in <Strong>/var/log/syslog</Strong></p>
<p><strong>Step 14:</strong> BIND9 has a wide variety of logging configuration options available. There are two main options. The channel option configures where logs go, and the category option determines what information to log.</p>
<p>If no logging option is configured the default option is:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">logging <span style="color: #7a0874; font-weight: bold;">&#123;</span>
     category default <span style="color: #7a0874; font-weight: bold;">&#123;</span> default_syslog; default_debug; <span style="color: #7a0874; font-weight: bold;">&#125;</span>;
     category unmatched <span style="color: #7a0874; font-weight: bold;">&#123;</span> null; <span style="color: #7a0874; font-weight: bold;">&#125;</span>;
<span style="color: #7a0874; font-weight: bold;">&#125;</span>;</pre></td></tr></table></div>

<p><strong>Step 15:</strong> If you want to send debug messages related to DNS queries to a separate file you need to edit <Strong>/etc/bind/named.conf.local</Strong> and add the following:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">logging <span style="color: #7a0874; font-weight: bold;">&#123;</span>
channel query.log <span style="color: #7a0874; font-weight: bold;">&#123;</span>      
    <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #ff0000;">&quot;/var/log/query.log&quot;</span>;
    severity debug <span style="color: #000000;">3</span>; 
<span style="color: #7a0874; font-weight: bold;">&#125;</span>; 
<span style="color: #7a0874; font-weight: bold;">&#125;</span>;</pre></td></tr></table></div>

<p><strong>Step 16:</strong> Next, configure a category to send all DNS queries to the query file:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">logging <span style="color: #7a0874; font-weight: bold;">&#123;</span>
channel query.log <span style="color: #7a0874; font-weight: bold;">&#123;</span>      
    <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #ff0000;">&quot;/var/log/query.log&quot;</span>; 
    severity debug <span style="color: #000000;">3</span>; 
<span style="color: #7a0874; font-weight: bold;">&#125;</span>; 
category queries <span style="color: #7a0874; font-weight: bold;">&#123;</span> query.log; <span style="color: #7a0874; font-weight: bold;">&#125;</span>; 
<span style="color: #7a0874; font-weight: bold;">&#125;</span>;</pre></td></tr></table></div>

<p><strong>Note:</strong> the debug option can be set from 1 to 3. If a level isn&#8217;t specified level 1 is the default.</p>
<p><strong>Step 17:</strong> Since the named daemon runs as the bind user the <Strong>/var/log/query.log</Strong> file must be created and the ownership changed:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>query.log
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>query.log</pre></td></tr></table></div>

<p><strong>Step 18:</strong> Before named daemon can write to the new log file the AppArmor profile must be updated. First, edit <Strong>/etc/apparmor.d/usr.sbin.named</Strong> and add:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>query.log <span style="color: #c20cb9; font-weight: bold;">w</span>,</pre></td></tr></table></div>

<p><strong>Step 19:</strong> Next, reload the profile:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apparmor.d<span style="color: #000000; font-weight: bold;">/</span>usr.sbin.named <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> apparmor_parser <span style="color: #660033;">-r</span></pre></td></tr></table></div>

<p><strong>Step 20:</strong> Now restart BIND9 for the changes to take effect:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> service bind9 restart</pre></td></tr></table></div>

<p>You should see the file <Strong>/var/log/query.log</Strong> fill with query information. This is a simple example of the BIND9 logging options.</p>
<p><Strong>Common Record Types</Strong></p>
<p>Following are the most common DNS record types you should know.</p>
<p><Strong>A record:</Strong> This record maps an IP Address to a hostname.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">www      IN    A      192.168.1.98</pre></td></tr></table></div>

<p><Strong>CNAME record:</Strong> Used to create an alias to an existing A record. You cannot create a CNAME record pointing to another CNAME record.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">web     IN    CNAME  www</pre></td></tr></table></div>

<p><Strong>MX record:</Strong> Used to define where email should be sent to. Must point to an A record, not a CNAME.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">IN    MX  <span style="color: #000000;">1</span>   mail.techienote.home.
mail    IN    A       192.168.1.98</pre></td></tr></table></div>

<p><Strong>NS record:</Strong> Used to define which servers serve copies of a zone. It must point to an A record, not a CNAME. This is where Primary and Secondary servers are defined.</p>
<p>You should have a firewall between this server and the internet and make sure that the dns port (53) is not forwarded to your Ubuntu server. Otherwise your dns server will be open for anyone in the world to use. With this setup it is only intended to be used within your local network.</p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.techienote.com/2010/11/ddns-dhcp-server-on-ubuntu.html" title="Permanent link to DDNS &#038; DHCP server on Ubuntu">DDNS &#038; DHCP server on Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2010/06/dynamic-dns-on-centos.html" title="Permanent link to Dynamic DNS on CentOS">Dynamic DNS on CentOS</a>  </li>
<li> <a href="http://www.techienote.com/2012/10/configure-static-ip-ubuntu-12-10-12-04.html" title="Permanent link to Configure Static IP Ubuntu 12.10, 12.04">Configure Static IP Ubuntu 12.10, 12.04</a>  </li>
<li> <a href="http://www.techienote.com/2010/09/configure-tcpip-from-the-command-prompt-using-netsh.html" title="Permanent link to Configure TCP/IP from the Command Prompt using Netsh">Configure TCP/IP from the Command Prompt using Netsh</a>  </li>
<li> <a href="http://www.techienote.com/2012/04/how-to-configure-network-ubuntu-12-04.html" title="Permanent link to How to Configure Network Ubuntu 12.10 / 12.04 / 11.10">How to Configure Network Ubuntu 12.10 / 12.04 / 11.10</a>  </li>
</ol></div><p></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Techienote?a=pKCSU3kAXek:_6aA4Pdh4jA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=pKCSU3kAXek:_6aA4Pdh4jA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Techienote?i=pKCSU3kAXek:_6aA4Pdh4jA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=pKCSU3kAXek:_6aA4Pdh4jA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Techienote?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=pKCSU3kAXek:_6aA4Pdh4jA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Techienote?i=pKCSU3kAXek:_6aA4Pdh4jA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=pKCSU3kAXek:_6aA4Pdh4jA:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/Techienote?i=pKCSU3kAXek:_6aA4Pdh4jA:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=pKCSU3kAXek:_6aA4Pdh4jA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Techienote?i=pKCSU3kAXek:_6aA4Pdh4jA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=pKCSU3kAXek:_6aA4Pdh4jA:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=pKCSU3kAXek:_6aA4Pdh4jA:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Techienote?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Techienote/~4/pKCSU3kAXek" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techienote.com/2012/11/install-configure-local-dns-server-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.techienote.com/2012/11/install-configure-local-dns-server-ubuntu.html</feedburner:origLink></item>
		<item>
		<title>Tweak Ubuntu OS with Ubuntu Tweak</title>
		<link>http://feedproxy.google.com/~r/Techienote/~3/uyFO02XGCMM/tweak-ubuntu-os-with-ubuntu-tweak.html</link>
		<comments>http://www.techienote.com/2012/11/tweak-ubuntu-os-with-ubuntu-tweak.html#comments</comments>
		<pubDate>Thu, 08 Nov 2012 03:33:17 +0000</pubDate>
		<dc:creator>Vidyadhar</dc:creator>
				<category><![CDATA[Basic]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[12.10]]></category>
		<category><![CDATA[favourite applications]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Network icon Tweak Metacity Window Manager]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tunning ubuntu]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[tweak]]></category>
		<category><![CDATA[tweak ubuntu]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu tweak]]></category>

		<guid isPermaLink="false">http://www.techienote.com/?p=3522</guid>
		<description><![CDATA[Ubuntu Tweak is an application designed to config Ubuntu easier for everyone. It provides many useful desktop and system options that the default desktop environment does&#8217;t provide. At present, it&#8217;s only designed for the Ubuntu GNOME Desktop, and always follows the newest Ubuntu distribution. With Ubuntu Tweak you can do following things. View of Basic [...]]]></description>
				<content:encoded><![CDATA[<p></p><p>Ubuntu Tweak is an application designed to config Ubuntu easier for everyone. It provides many useful desktop and system options that the default desktop environment does&#8217;t provide. </p>
<p>At present, it&#8217;s only designed for the Ubuntu GNOME Desktop, and always follows the newest Ubuntu distribution.</p>
<p>With Ubuntu Tweak you can do following things.</p>
<ul>
<li>View of Basic System Information(Distribution, Kernel, CPU, Memory, etc.)</li>
<li>GNOME Session Control</li>
<li>Auto Start Program Control</li>
<li>Quick install popular applications</li>
<li>A lot of third-party sources to keep applications up-to-date</li>
<li>Clean unneeded packages or cache to free disk space</li>
<li>Show/Hide and Change Splash screen</li>
<li>Show/Hide desktop icons or Mounted Volumes</li>
<li>Show/Hide/Rename Computer, Home, Trash or Network icon</li>
<li>Tweak Metacity Window Manager&#8217;s style and behaviour</li>
<li>Compiz Fusion settings, Screen Edge Settings, Window Effect Settings, Menu Effect Settings</li>
<li>Set the Shortcuts to archive quicker access your favourite applications</li>
<li>GNOME Panel Settings</li>
<li>Nautilus Settings</li>
<li>Advanced Power Management Settings</li>
<li>System Security Settings</li>
</ul>
<p><a href="http://www.techienote.com/wp-content/uploads/2012/11/install-ubuntu-tweak1.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/11/install-ubuntu-tweak1-300x176.png" alt="install-ubuntu-tweak1" title="install-ubuntu-tweak1" width="300" height="176" class="lazy alignnone size-medium wp-image-3523" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/11/install-ubuntu-tweak1-300x176.png" alt="install-ubuntu-tweak1" title="install-ubuntu-tweak1" width="300" height="176" class="alignnone size-medium wp-image-3523" /></noscript></a></p>
<p><a href="http://www.techienote.com/wp-content/uploads/2012/11/install-ubuntu-tweak2.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/11/install-ubuntu-tweak2-300x176.png" alt="" title="install-ubuntu-tweak2" width="300" height="176" class="lazy alignnone size-medium wp-image-3524" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/11/install-ubuntu-tweak2-300x176.png" alt="" title="install-ubuntu-tweak2" width="300" height="176" class="alignnone size-medium wp-image-3524" /></noscript></a></p>
<p><a href="http://www.techienote.com/wp-content/uploads/2012/11/install-ubuntu-tweak3.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/11/install-ubuntu-tweak3-300x176.png" alt="install-ubuntu-tweak3" title="install-ubuntu-tweak3" width="300" height="176" class="lazy alignnone size-medium wp-image-3525" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/11/install-ubuntu-tweak3-300x176.png" alt="install-ubuntu-tweak3" title="install-ubuntu-tweak3" width="300" height="176" class="alignnone size-medium wp-image-3525" /></noscript></a></p>
<p>In this new version the “Love Wallpaper HD” is officially introduced. You can browser the random wallpapers that fit your screen size in it. By clicking “I’m Feeling Lucky” you can always get new pictures, by double-clicking the picture, Ubuntu Tweak will download and set the wallpaper for you automatically.</p>
<p><a href="http://www.techienote.com/wp-content/uploads/2012/11/install-ubuntu-tweak4.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/11/install-ubuntu-tweak4-300x178.png" alt="install-ubuntu-tweak4" title="install-ubuntu-tweak4" width="300" height="178" class="lazy alignnone size-medium wp-image-3526" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/11/install-ubuntu-tweak4-300x178.png" alt="install-ubuntu-tweak4" title="install-ubuntu-tweak4" width="300" height="178" class="alignnone size-medium wp-image-3526" /></noscript></a></p>
<p>The picture will be saved at ~/.config/ubuntu-tweak/lovewallpaper.jpg, if you like it, you can move it out.</p>
<p>By following below methods you can install Ubuntu Tweak on Ubuntu 12.10, 12.04 and 11.10</p>
<p><strong>Step 1</strong> Open a command prompt</p>
<p><strong>Step 2</strong> Run following commands</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> add-apt-repository ppa:tualatrix<span style="color: #000000; font-weight: bold;">/</span>ppa
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get update</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> ubuntu-tweak</pre></td></tr></table></div>

<p>Ubuntu Tweak debs can also be downloaded via <a href="https://launchpad.net/ubuntu-tweak/+download" title="Download Ubuntu Tweak" target="_blank">Launchpad</a>.</p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.techienote.com/2012/10/install-the-cinnamon-desktop-on-ubuntu.html" title="Permanent link to Install the Cinnamon Desktop on Ubuntu">Install the Cinnamon Desktop on Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2012/05/how-to-install-gnome-classic-desktop-environment-in-ubuntu-12-04.html" title="Permanent link to How to install Gnome Classic Desktop Environment in Ubuntu 12.04">How to install Gnome Classic Desktop Environment in Ubuntu 12.04</a>  </li>
<li> <a href="http://www.techienote.com/2012/04/howto-configure-wallpaper-slideshow-in-ubuntu.html" title="Permanent link to Howto Configure Wallpaper Slideshow in Ubuntu">Howto Configure Wallpaper Slideshow in Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2012/11/step-by-step-guide-to-install-skype-4-1-ubuntu.html" title="Permanent link to Step by Step guide to install Skype 4.1 Ubuntu 12.10 / 12.04 / 11.10">Step by Step guide to install Skype 4.1 Ubuntu 12.10 / 12.04 / 11.10</a>  </li>
<li> <a href="http://www.techienote.com/2011/12/create-hotspot-in-ubuntu-11-10.html" title="Permanent link to Create hotspot in Ubuntu 11.10">Create hotspot in Ubuntu 11.10</a>  </li>
</ol></div><p></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Techienote?a=uyFO02XGCMM:GJD18r8NMp8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=uyFO02XGCMM:GJD18r8NMp8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Techienote?i=uyFO02XGCMM:GJD18r8NMp8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=uyFO02XGCMM:GJD18r8NMp8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Techienote?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=uyFO02XGCMM:GJD18r8NMp8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Techienote?i=uyFO02XGCMM:GJD18r8NMp8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=uyFO02XGCMM:GJD18r8NMp8:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/Techienote?i=uyFO02XGCMM:GJD18r8NMp8:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=uyFO02XGCMM:GJD18r8NMp8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Techienote?i=uyFO02XGCMM:GJD18r8NMp8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=uyFO02XGCMM:GJD18r8NMp8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=uyFO02XGCMM:GJD18r8NMp8:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Techienote?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Techienote/~4/uyFO02XGCMM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techienote.com/2012/11/tweak-ubuntu-os-with-ubuntu-tweak.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techienote.com/2012/11/tweak-ubuntu-os-with-ubuntu-tweak.html</feedburner:origLink></item>
		<item>
		<title>Step By Step Guide to Install Oracle Database Express Edition 11GR2 On Ubuntu 12.10 / 12.04 / 11.10</title>
		<link>http://feedproxy.google.com/~r/Techienote/~3/9uWST1CoFNo/step-by-step-guide-to-install-oracle-database-express-edition-11gr2-on-ubuntu.html</link>
		<comments>http://www.techienote.com/2012/11/step-by-step-guide-to-install-oracle-database-express-edition-11gr2-on-ubuntu.html#comments</comments>
		<pubDate>Mon, 05 Nov 2012 04:22:00 +0000</pubDate>
		<dc:creator>Vidyadhar</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[11gR2 package installer]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[DBMS]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[oracle express edition]]></category>
		<category><![CDATA[software thats]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<category><![CDATA[ubuntu 12.10]]></category>

		<guid isPermaLink="false">http://www.techienote.com/?p=3514</guid>
		<description><![CDATA[Oracle Database Express Edition 11gR2 is free for download and is available for variety of platforms including various distros of Linux and Microsoft Windows without needing a license. in this this guide will show you how to install Oracle Database Express Edition 11gR2 on Ubuntu 12.10. Note that this method will also work on Ubuntu [...]]]></description>
				<content:encoded><![CDATA[<p></p><p>Oracle Database Express Edition 11gR2 is free for download and is available for variety of platforms including various distros of Linux and Microsoft Windows without needing a license. in this this guide will show you how to install Oracle Database Express Edition 11gR2 on Ubuntu 12.10. Note that this method will also work on Ubuntu 12.04 and 11.10</p>
<p>If you want to install Enterprise Edition of Oracle Database on Ubuntu then follow below post<br />
<a href="http://www.techienote.com/2012/06/how-to-install-oracle-database-11g-r2-on-ubuntu-12-04.html" title="How to install Oracle Database 11g R2 on Ubuntu 12.04" target="_blank">How to install Oracle Database 11g R2 on Ubuntu 12.04</a></p>
<p>So lets start now.</p>
<p><strong>Step 1.</strong> Managing Swap partition. Oracle Database Express Edition 11gR2 may require up to a 2GB (2095100 KB) swap partition, Enter the following command in terminal to verify your swap space:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>meminfo <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-i</span> swap</pre></td></tr></table></div>

<p>If you don’t have enough swap space, you can increase available swap space by the following guide to create and enable swap partiton, in this case I’ll create 1 GB swap file and loaded at startup, located in the /home directory</p>
<p>Login as root:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #660033;">-i</span></pre></td></tr></table></div>

<p>Create swap file on /home directory with following commands:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;">if</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>zero <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>swapfile <span style="color: #007800;">bs</span>=<span style="color: #000000;">1024</span> <span style="color: #007800;">count</span>=<span style="color: #000000;">1048576</span>
mkswap <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>swapfile
swapon <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>swapfile
swapon <span style="color: #660033;">-a</span></pre></td></tr></table></div>

<p>Create a backup of the original “fstab” file and add the new swap file:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fstab <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fstab.backup_<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>N<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'/home/swapfile swap swap defaults 0 0'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fstab</pre></td></tr></table></div>

<p>Logout from root and verify the new swap space:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">exit</span>
swapon <span style="color: #660033;">-s</span></pre></td></tr></table></div>

<p><strong>Step 2.</strong> Install additional software thats require Oracle 11g Express Edition</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> alien libaio1</pre></td></tr></table></div>

<p><strong>Step 3.</strong> Download Oracle Database Express Edition 11gR2 via Oracle Official website, it require registration before downloading.</p>
<p><strong>Step 4.</strong> unzip the downloaded file, then convert the Oracle Database Express Edition 11gR2 package installer to debian package</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">unzip</span> oracle-xe-11.2.0.1.0.x86_64.rpm.zip
<span style="color: #7a0874; font-weight: bold;">cd</span> Disk1<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> alien <span style="color: #660033;">--to-deb</span> <span style="color: #660033;">--scripts</span> oracle-xe-11.2.0-<span style="color: #000000;">1.0</span>.x86_64.rpm</pre></td></tr></table></div>

<p><strong>Step 5.</strong> Configure Awk and Chkconfig, The following needs to be set for compatibility:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">awk</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lock<span style="color: #000000; font-weight: bold;">/</span>subsys</pre></td></tr></table></div>

<p>Ubuntu uses different tools to manage services and system startup scripts. The “chkconfig” tool required by the Oracle installer is not available in Ubuntu. The following will create a file to simulate the “chkconfig” tool.</p>
<p>Login as root:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #660033;">-i</span></pre></td></tr></table></div>

<p>Copy and paste the following Script directly into the terminal to create a file chkconfig:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>chkconfig <span style="color: #cc0000; font-style: italic;">&lt;&lt;-EOF
#!/bin/bash
# Oracle 11gR2 XE installer chkconfig, Only run once.
echo &quot;Simulating /sbin/chkconfig...&quot;
if [[ ! `tail -n1 /etc/init.d/oracle-xe | grep INIT` ]]; then
cat &gt;&gt; /etc/init.d/oracle-xe &lt;&lt;-EOM
#
### BEGIN INIT INFO
# Provides: OracleXE
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Oracle 11g Express Edition
### END INIT INFO
EOM
fi
update-rc.d oracle-xe defaults 80 01
EOF</span></pre></td></tr></table></div>

<p>Logout form root:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">exit</span></pre></td></tr></table></div>

<p>Set the file /sbin/chkconfig executable :</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">755</span> <span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>chkconfig</pre></td></tr></table></div>

<p><strong>Step 6.</strong> Install Oracle Database Express Edition 11gR2 with the following commands:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>Downloads<span style="color: #000000; font-weight: bold;">/</span>Disk1
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> oracle-xe-11.2.0-<span style="color: #000000;">1.0</span>.x86_64.deb</pre></td></tr></table></div>

<p>Run the following configuration script to create (clone) the database. Accept the default answers, including “y” to startup the database automatically, or modify as required.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>oracle-xe configure</pre></td></tr></table></div>

<p>To verify success, the procedure should end showing:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="awk" style="font-family:monospace;">Starting Oracle Net Listener...
Done Configuring database...
Done Starting Oracle Database 11g Express Edition instance...
Done Installation completed successfully.</pre></td></tr></table></div>

<p><strong>Step 7.</strong> Set a password for the Oracle account:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">passwd</span> oracle</pre></td></tr></table></div>

<p><strong>Step 8.</strong> Post-Installation, In order to use sqlplus and other tools, the Oracle account requires specific environment variables. The following will set these variables automatically at every Oracle login:</p>
<p>Login as the Oracle user:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">su</span> - oracle</pre></td></tr></table></div>

<p>Copy the default account skeleton files and add the Oracle env script to .profile:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>skel<span style="color: #000000; font-weight: bold;">/</span>.bash_logout .<span style="color: #000000; font-weight: bold;">/</span> 
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>skel<span style="color: #000000; font-weight: bold;">/</span>.bashrc .<span style="color: #000000; font-weight: bold;">/</span> 
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>skel<span style="color: #000000; font-weight: bold;">/</span>.profile .<span style="color: #000000; font-weight: bold;">/</span> 
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span>.<span style="color: #000000; font-weight: bold;">/</span>.profile
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span>.<span style="color: #000000; font-weight: bold;">/</span>.profile</pre></td></tr></table></div>

<p><strong>Step 9.</strong> Configure remote login. By default, the Oracle Database XE graphical user interface is only available at the local server, but not remotely. The following will enable remote logins:</p>
<p>Login as the Oracle user, then login as SYSDBA and run the following commands:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">su</span> - oracle
sqlplus <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #c20cb9; font-weight: bold;">as</span> sysdba
SQL<span style="color: #000000; font-weight: bold;">&gt;</span> EXEC DBMS_XDB.SETLISTENERLOCALACCESS<span style="color: #7a0874; font-weight: bold;">&#40;</span>FALSE<span style="color: #7a0874; font-weight: bold;">&#41;</span>;
<span style="color: #7a0874; font-weight: bold;">exit</span></pre></td></tr></table></div>

<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.techienote.com/2012/06/how-to-install-oracle-database-11g-r2-on-ubuntu-12-04.html" title="Permanent link to How to Install Oracle 11G R2 Enterprise Edition Database Ubuntu 12.10 / 12.04">How to Install Oracle 11G R2 Enterprise Edition Database Ubuntu 12.10 / 12.04</a>  </li>
<li> <a href="http://www.techienote.com/2012/10/how-to-install-mysql-server-ubuntu.html" title="Permanent link to How to Install MySQL Server Ubuntu">How to Install MySQL Server Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2012/10/virtualbox-free-virtualization-software-on-ubuntu-12-10-12-04-11-10.html" title="Permanent link to VirtualBox free virtualization software on Ubuntu 12.10, 12.04, 11.10">VirtualBox free virtualization software on Ubuntu 12.10, 12.04, 11.10</a>  </li>
<li> <a href="http://www.techienote.com/2011/09/oracle-database-11g-r2-on-ubuntu-11-04.html" title="Permanent link to Oracle Database 11g R2 on Ubuntu 11.04">Oracle Database 11g R2 on Ubuntu 11.04</a>  </li>
<li> <a href="http://www.techienote.com/2011/12/how-to-pxeboot-clonezilla.html" title="Permanent link to How to PXEBoot Clonezilla">How to PXEBoot Clonezilla</a>  </li>
</ol></div><p></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Techienote?a=9uWST1CoFNo:esQnYibnb6M:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=9uWST1CoFNo:esQnYibnb6M:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Techienote?i=9uWST1CoFNo:esQnYibnb6M:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=9uWST1CoFNo:esQnYibnb6M:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Techienote?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=9uWST1CoFNo:esQnYibnb6M:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Techienote?i=9uWST1CoFNo:esQnYibnb6M:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=9uWST1CoFNo:esQnYibnb6M:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/Techienote?i=9uWST1CoFNo:esQnYibnb6M:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=9uWST1CoFNo:esQnYibnb6M:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Techienote?i=9uWST1CoFNo:esQnYibnb6M:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=9uWST1CoFNo:esQnYibnb6M:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=9uWST1CoFNo:esQnYibnb6M:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Techienote?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Techienote/~4/9uWST1CoFNo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techienote.com/2012/11/step-by-step-guide-to-install-oracle-database-express-edition-11gr2-on-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techienote.com/2012/11/step-by-step-guide-to-install-oracle-database-express-edition-11gr2-on-ubuntu.html</feedburner:origLink></item>
		<item>
		<title>How to download and install Google Chrome browser on Ubuntu 12.10</title>
		<link>http://feedproxy.google.com/~r/Techienote/~3/akXRsF9hcm0/how-to-download-and-install-google-chrome-browser-on-ubuntu-12-10.html</link>
		<comments>http://www.techienote.com/2012/11/how-to-download-and-install-google-chrome-browser-on-ubuntu-12-10.html#comments</comments>
		<pubDate>Sat, 03 Nov 2012 09:46:25 +0000</pubDate>
		<dc:creator>Vidyadhar</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[12.10]]></category>
		<category><![CDATA[chrome download]]></category>
		<category><![CDATA[descargar google]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[freeware web browser]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[google chrome descargar]]></category>
		<category><![CDATA[google chrome download]]></category>
		<category><![CDATA[google themes]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[secondary web browser]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Web Browser]]></category>
		<category><![CDATA[web browsers]]></category>

		<guid isPermaLink="false">http://www.techienote.com/?p=3506</guid>
		<description><![CDATA[Mozila Firefox comes as default browser in Ubtunu 12.10. As a secondary web browser for testing purpose I used to install Google Chrome. Google Chrome is a freeware web browser developed by Google that uses the WebKit layout engine. Google Chrome had 34% worldwide usage share of web browsers making it the most widely used [...]]]></description>
				<content:encoded><![CDATA[<p></p><p>Mozila Firefox comes as default browser in Ubtunu 12.10. As a secondary web browser for testing purpose I used to install Google Chrome. Google Chrome is a freeware web browser developed by Google that uses the WebKit layout engine. Google Chrome had 34% worldwide usage share of web browsers making it the most widely used web browser. W3Counter indicated that Chrome became the leading browser globally in August 2012 with 28% marketshare.</p>
<p>Here is the simple tutorial to download and install Google Chrome on Ubuntu 12.10, 12.04 and 11.10</p>
<p><strong>Step 1</strong> Open a terminal by pressing <strong>Ctrl + Alt + T</strong> on your keyboard</p>
<p><strong>Step 2</strong> Type in the following commands then hit Enter after each.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-q</span> <span style="color: #660033;">-O</span> - https:<span style="color: #000000; font-weight: bold;">//</span>dl-ssl.google.com<span style="color: #000000; font-weight: bold;">/</span>linux<span style="color: #000000; font-weight: bold;">/</span>linux_signing_key.pub <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-key add</span> -
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'echo &quot;deb http://dl.google.com/linux/chrome/deb/ stable main&quot; &gt;&gt; /etc/apt/sources.list.d/google.list'</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get update</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> google-chrome-stable</pre></td></tr></table></div>

<p>That&#8217;s it. Enjoy your browsing with Google Chrome<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/11/Google-chrome.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/11/Google-chrome-300x162.png" alt="Download and Install Google Chrome Ubuntu" title="Download and Install Google Chrome Ubuntu" width="300" height="162" class="lazy alignnone size-medium wp-image-3511" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/11/Google-chrome-300x162.png" alt="Download and Install Google Chrome Ubuntu" title="Download and Install Google Chrome Ubuntu" width="300" height="162" class="alignnone size-medium wp-image-3511" /></noscript></a></p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.techienote.com/2011/12/how-to-pxeboot-clonezilla.html" title="Permanent link to How to PXEBoot Clonezilla">How to PXEBoot Clonezilla</a>  </li>
<li> <a href="http://www.techienote.com/2012/10/virtualbox-free-virtualization-software-on-ubuntu-12-10-12-04-11-10.html" title="Permanent link to VirtualBox free virtualization software on Ubuntu 12.10, 12.04, 11.10">VirtualBox free virtualization software on Ubuntu 12.10, 12.04, 11.10</a>  </li>
<li> <a href="http://www.techienote.com/2011/12/create-hotspot-in-ubuntu-11-10.html" title="Permanent link to Create hotspot in Ubuntu 11.10">Create hotspot in Ubuntu 11.10</a>  </li>
<li> <a href="http://www.techienote.com/2012/10/install-the-cinnamon-desktop-on-ubuntu.html" title="Permanent link to Install the Cinnamon Desktop on Ubuntu">Install the Cinnamon Desktop on Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2012/02/how-to-find-information-of-all-the-hardware-in-your-pc-ubuntu.html" title="Permanent link to How to find Information of All the Hardware in your PC Ubuntu">How to find Information of All the Hardware in your PC Ubuntu</a>  </li>
</ol></div><p></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Techienote?a=akXRsF9hcm0:5a2M0qjgyRw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=akXRsF9hcm0:5a2M0qjgyRw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Techienote?i=akXRsF9hcm0:5a2M0qjgyRw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=akXRsF9hcm0:5a2M0qjgyRw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Techienote?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=akXRsF9hcm0:5a2M0qjgyRw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Techienote?i=akXRsF9hcm0:5a2M0qjgyRw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=akXRsF9hcm0:5a2M0qjgyRw:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/Techienote?i=akXRsF9hcm0:5a2M0qjgyRw:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=akXRsF9hcm0:5a2M0qjgyRw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Techienote?i=akXRsF9hcm0:5a2M0qjgyRw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=akXRsF9hcm0:5a2M0qjgyRw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=akXRsF9hcm0:5a2M0qjgyRw:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Techienote?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Techienote/~4/akXRsF9hcm0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techienote.com/2012/11/how-to-download-and-install-google-chrome-browser-on-ubuntu-12-10.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techienote.com/2012/11/how-to-download-and-install-google-chrome-browser-on-ubuntu-12-10.html</feedburner:origLink></item>
		<item>
		<title>Install VLC Free Media Player on Ubuntu 12.10, 12.04, 11.10</title>
		<link>http://feedproxy.google.com/~r/Techienote/~3/Y43kJQ1hWt4/install-vlc-free-media-player-on-ubuntu.html</link>
		<comments>http://www.techienote.com/2012/11/install-vlc-free-media-player-on-ubuntu.html#comments</comments>
		<pubDate>Fri, 02 Nov 2012 04:22:53 +0000</pubDate>
		<dc:creator>Vidyadhar</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[12.10]]></category>
		<category><![CDATA[cross-platform multi media player]]></category>
		<category><![CDATA[cross-platform multimedia player]]></category>
		<category><![CDATA[dvd player software]]></category>
		<category><![CDATA[dvd playing program]]></category>
		<category><![CDATA[dvd playing software]]></category>
		<category><![CDATA[free dvd player]]></category>
		<category><![CDATA[free multi media player]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[media conversion]]></category>
		<category><![CDATA[media player]]></category>
		<category><![CDATA[media playing software]]></category>
		<category><![CDATA[multi media player]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[streaming protocols]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[video encoder software]]></category>
		<category><![CDATA[vlc]]></category>

		<guid isPermaLink="false">http://www.techienote.com/?p=3503</guid>
		<description><![CDATA[VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocols. VLC is a simple, fast and powerful dvd playing, media playing software. VLC can play everything i.e. Files, Discs, Webcams, Devices and Streams. VLC can plays most [...]]]></description>
				<content:encoded><![CDATA[<p></p><p>VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocols. VLC is a simple, fast and powerful dvd playing, media playing software. VLC can play everything i.e. Files, Discs, Webcams, Devices and Streams. VLC can plays most codecs with no codec pack needed, MPEG-2, DivX, H.264, MKV, WebM, WMV, MP3.</p>
<p>The main advantage is VLC is cross-platform multi media player. VLC can runs on all platforms: Windows, Linux, Mac OS X, Unix. We can use VLC for media conversion and streaming.</p>
<p>This is the simple howto in which we will see how to install VLC media player on Ubuntu 12.10. Note that this procedure you can also use for Ubuntu 12.04 and 11.10</p>
<p>To install VLC in Ubuntu open Terminal (Press Ctrl+Alt+T) and copy the following commands in the Terminal:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> add-apt-repository ppa:videolan<span style="color: #000000; font-weight: bold;">/</span>stable-daily
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get update</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get install</span> vlc</pre></td></tr></table></div>

<p>That&#8217;s it. Enjoy your free multi media player on ubuntu.</p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.techienote.com/2012/03/free-youtube-download-ubuntu.html" title="Permanent link to Free YouTube Download Ubuntu">Free YouTube Download Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2010/12/spilt-and-join-file-with-lxsplit.html" title="Permanent link to Spilt and Join file with LXSplit">Spilt and Join file with LXSplit</a>  </li>
<li> <a href="http://www.techienote.com/2010/12/youtube-downloader-for-linux.html" title="Permanent link to Youtube Downloader for Linux">Youtube Downloader for Linux</a>  </li>
<li> <a href="http://www.techienote.com/2012/05/how-to-install-gimp-2-8-on-ubuntu-12-04.html" title="Permanent link to How to install GIMP 2.8 on Ubuntu 12.04">How to install GIMP 2.8 on Ubuntu 12.04</a>  </li>
<li> <a href="http://www.techienote.com/2012/10/virtualbox-free-virtualization-software-on-ubuntu-12-10-12-04-11-10.html" title="Permanent link to VirtualBox free virtualization software on Ubuntu 12.10, 12.04, 11.10">VirtualBox free virtualization software on Ubuntu 12.10, 12.04, 11.10</a>  </li>
</ol></div><p></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Techienote?a=Y43kJQ1hWt4:I47vpq_Oiz0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Y43kJQ1hWt4:I47vpq_Oiz0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Techienote?i=Y43kJQ1hWt4:I47vpq_Oiz0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Y43kJQ1hWt4:I47vpq_Oiz0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Techienote?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Y43kJQ1hWt4:I47vpq_Oiz0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Techienote?i=Y43kJQ1hWt4:I47vpq_Oiz0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Y43kJQ1hWt4:I47vpq_Oiz0:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/Techienote?i=Y43kJQ1hWt4:I47vpq_Oiz0:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Y43kJQ1hWt4:I47vpq_Oiz0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Techienote?i=Y43kJQ1hWt4:I47vpq_Oiz0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Y43kJQ1hWt4:I47vpq_Oiz0:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=Y43kJQ1hWt4:I47vpq_Oiz0:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Techienote?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Techienote/~4/Y43kJQ1hWt4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techienote.com/2012/11/install-vlc-free-media-player-on-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techienote.com/2012/11/install-vlc-free-media-player-on-ubuntu.html</feedburner:origLink></item>
		<item>
		<title>How to Download and Install IBM DB2 Database on Ubuntu</title>
		<link>http://feedproxy.google.com/~r/Techienote/~3/MfqmWMSLCWs/how-to-download-and-install-ibm-db2-database-on-ubuntu.html</link>
		<comments>http://www.techienote.com/2012/10/how-to-download-and-install-ibm-db2-database-on-ubuntu.html#comments</comments>
		<pubDate>Tue, 30 Oct 2012 04:04:50 +0000</pubDate>
		<dc:creator>Vidyadhar</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database server]]></category>
		<category><![CDATA[database software offers industry leading performance]]></category>
		<category><![CDATA[database software on ubuntu]]></category>
		<category><![CDATA[db2]]></category>
		<category><![CDATA[db2 download]]></category>
		<category><![CDATA[default web browser]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[download ibm db2]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[free database server]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[ibm database]]></category>
		<category><![CDATA[IBM database server]]></category>
		<category><![CDATA[IBM DB2 Express-C 10.1 on ubuntu 12.04]]></category>
		<category><![CDATA[IBM DB2 Express-C on ubuntu]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[mail server]]></category>
		<category><![CDATA[search localdomain]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<category><![CDATA[ubuntu 12.10]]></category>
		<category><![CDATA[ubuntu database server]]></category>

		<guid isPermaLink="false">http://www.techienote.com/?p=3399</guid>
		<description><![CDATA[IBM DB2 database software offers industry leading performance, scale, and reliability on your choice of platform from Linux, Unix and Windows to z/OS. IBM DB2 database comes in following editions Enterprise Server Edition Advanced Enterprise Server Edition Workgroup Server Edition Express-C Express Edition For this tutorial we are going to install IBM DB2 Express-C 10.1 [...]]]></description>
				<content:encoded><![CDATA[<p></p><p>IBM DB2 database software offers industry leading performance, scale, and reliability on your choice of platform from Linux, Unix and Windows to z/OS.</p>
<p>IBM DB2 database comes in following editions</p>
<ul>
<li>Enterprise Server Edition</li>
<li>Advanced Enterprise Server Edition</li>
<li>Workgroup Server Edition</li>
<li>Express-C</li>
<li>Express Edition</li>
</ul>
<p>For this tutorial we are going to install IBM DB2 Express-C 10.1 edition on Ubuntu 12.04 and Ubuntu 12.10 32 bit OS.</p>
<p>IBM DB2 Express-C is the free edition of the IBM DB2 database server. You can download and install DB2 Express-C on your own machine freely. You can also provision your own DB2 Express-C server in the cloud. Finally, there is a set of free tools for administration and development.</p>
<p>The most important thing about IBM DB2 Express-C is it provides all the core capabilities of DB2 at no charge.</p>
<p>To download IBM DB2 go to http://www-01.ibm.com/software/data/db2/express/download.html</p>
<p><strong>Step 1: Install the base system</strong></p>
<p>Here I am assuming that you are installing IBM DB2 Express-C on fresh Ubuntu 12.04 installation.</p>
<p><strong>Step 1.1</strong> You need to run following commands to upgrade your system as latest stable and other useful packages:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get update</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> tasksel 
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> update
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #660033;">-y</span> full-upgrade
<span style="color: #c20cb9; font-weight: bold;">sudo</span> tasksel <span style="color: #c20cb9; font-weight: bold;">install</span> openssh-server
<span style="color: #c20cb9; font-weight: bold;">sudo</span> tasksel <span style="color: #c20cb9; font-weight: bold;">install</span> server
<span style="color: #c20cb9; font-weight: bold;">sudo</span> tasksel <span style="color: #c20cb9; font-weight: bold;">install</span> mail-server
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> colordiff mlocate ntp pwgen rsync <span style="color: #c20cb9; font-weight: bold;">vim</span></pre></td></tr></table></div>

<p>Also note that you must have X11 server install on the ubuntu box. If you are connecting to the ubuntu box using putty you have to enable X11 forwarding. Refer this <a title="X11 Forwarding on Ubuntu" href="http://www.techienote.com/2010/10/x11-forwarding.html" target="_blank">post</a> to simplify the process.</p>
<p>Run following commands to install X11 server</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> lxde-core xorg</pre></td></tr></table></div>

<p><strong>Step 1.2</strong> Check your /etc/hostname and update as below:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">localhost.localdomain</pre></td></tr></table></div>

<p><strong>Step 1.3</strong> Check your /etc/hosts and update as below:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">127.0.0.1       localhost.localdomain   localhost</pre></td></tr></table></div>

<p><strong>Step 1.4</strong> Check your /etc/resolv.conf and update as below:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">search localdomain</pre></td></tr></table></div>

<p><strong>Step 1.5</strong> Set the timezone properly by running following command</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> dpkg-reconfigure tzdata</pre></td></tr></table></div>

<p>At this point your Ubuntu 12.04 should basically configure for installing DB2 Express-C 10.1. Reboot your machine.</p>
<p><strong>Step 2: Check your hardware setup</strong></p>
<p><strong>Step 2.1</strong> First of all, you need to have AT LEAST 1GB of physical memory (I use 2GB here). Check it with:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">grep</span> MemTotal <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>meminfo</pre></td></tr></table></div>

<p><strong>Step 2.2</strong> On the other hand, it is suggest to have swap with 1.5 time of your physical memory, e.g. around 2GB. Check it with:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">grep</span> SwapTotal <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>meminfo</pre></td></tr></table></div>

<p><strong>Step 2.3</strong> Shared memory is very important, too. Or else you may face the ORA-00845 error message. First check it with:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">df</span> <span style="color: #660033;">-kh</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>shm<span style="color: #000000; font-weight: bold;">/</span></pre></td></tr></table></div>

<p><strong>Step 2.3.1</strong> If you have less than 512MB (I will suggest for 1GB), edit your /etc/fstab and add/modify the following line:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">tmpfs           <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>shm        tmpfs   defaults,<span style="color: #007800;">size</span>=1024M    <span style="color: #000000;">0</span>       <span style="color: #000000;">0</span></pre></td></tr></table></div>

<p><strong>Step 2.3.2</strong> Then remount it and check the size once again:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> remount <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>shm
<span style="color: #c20cb9; font-weight: bold;">df</span> <span style="color: #660033;">-kh</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>shm<span style="color: #000000; font-weight: bold;">/</span></pre></td></tr></table></div>

<p><strong>Step 3: Install dependence packages</strong><br />
As I assume you have Ubuntu 12.04 installed correctly with X11, we just need to install some more packages for IBM DB2 Express-C.<br />
Run following command to install dependencies</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> alien binutils build-essential cpp-<span style="color: #000000;">4.4</span> debhelper g++-<span style="color: #000000;">4.4</span> <span style="color: #c20cb9; font-weight: bold;">gawk</span> gcc-<span style="color: #000000;">4.4</span> gcc-<span style="color: #000000;">4.4</span>-base <span style="color: #c20cb9; font-weight: bold;">gettext</span> html2text ia32-libs intltool-debian ksh lesstif2 lib32bz2-dev lib32z1-dev libaio-dev libaio1 libbeecrypt7 libc6 libc6-dev libc6-dev-i386 libdb4.8 libelf-dev libelf1 libltdl-dev libltdl7 libmotif4 libodbcinstq4-<span style="color: #000000;">1</span> libodbcinstq4-<span style="color: #000000;">1</span>:i386 libqt4-core libqt4-gui libsqlite3-<span style="color: #000000;">0</span> libstdc++<span style="color: #000000;">5</span> libstdc++<span style="color: #000000;">6</span> libstdc++<span style="color: #000000;">6</span>-<span style="color: #000000;">4.4</span>-dev lsb lsb-core lsb-cxx lsb-desktop lsb-graphics lsb-qt4 <span style="color: #c20cb9; font-weight: bold;">make</span> odbcinst openjdk-<span style="color: #000000;">6</span>-jdk pax po-debconf rpm rpm-common sysstat tzdata-java unixodbc unixodbc-dev <span style="color: #c20cb9; font-weight: bold;">unzip</span></pre></td></tr></table></div>

<p><strong>Step 4: Configure kernel parameters</strong><br />
<strong>Step 4.1</strong> We also need to modify the kernel parameter, to do so run following commands as <strong>root</strong></p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;# Oracle 11gR2 entries&quot;</span><span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;fs.aio-max-nr=1048576&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;fs.file-max=6815744&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;kernel.shmall=2097152&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;kernel.shmmni=4096&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;kernel.sem=250 32000 100 128&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;net.ipv4.ip_local_port_range=9000 65500&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;net.core.rmem_default=262144&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;net.core.rmem_max=4194304&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;net.core.wmem_default=262144&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;net.core.wmem_max=1048586&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;kernel.shmmax=1073741824&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysctl.conf</pre></td></tr></table></div>

<p>Note: kernel.shmmax = max possible value, e.g. size of physical memory in bytes. In my case machine is having 2GB so we are specifying 1GB. Adjust the parameter as per your configuration</p>
<p><strong>Step 4.2</strong> Load new kernel parameters, by running following,</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> sysctl <span style="color: #660033;">-p</span></pre></td></tr></table></div>

<p><strong>Step 5: Extracting binaries</strong><br />
<strong>Step 5.1</strong> First of all, login with root, with X enabled.<br />
<strong>Step 5.2</strong> Copy the file db2_v101_linuxx64_expc.tar.gz to temporary directory, then extract it:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> db2_v101_linuxia32_expc.tar.gz <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf db2_v101_linuxia32_expc.tar.gz</pre></td></tr></table></div>

<p>Reboot your machine.</p>
<p><strong>Step 6: Starting Installation</strong><br />
<strong>Step 6.1</strong> First of all login with root and start the X11 with startx, then start the installer with:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>expc<span style="color: #000000; font-weight: bold;">/</span>
.<span style="color: #000000; font-weight: bold;">/</span>db2setup</pre></td></tr></table></div>

<p><strong>Step 6.2</strong> Next we go though the installation:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu1.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu1-300x192.png" alt="db2-on-ubuntu" title="db2-on-ubuntu1" width="300" height="192" class="lazy alignnone size-medium wp-image-3407" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu1-300x192.png" alt="db2-on-ubuntu" title="db2-on-ubuntu1" width="300" height="192" class="alignnone size-medium wp-image-3407" /></noscript></a></p>
<p><strong>Step 6.2</strong> Choose <strong>&#8220;Install a Product&#8221;</strong> then press on <strong>&#8220;Install New&#8221;</strong>:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu2.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu2-300x192.png" alt="db2-on-ubuntu" title="db2-on-ubuntu2" width="300" height="192" class="lazy alignnone size-medium wp-image-3410" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu2-300x192.png" alt="db2-on-ubuntu" title="db2-on-ubuntu2" width="300" height="192" class="alignnone size-medium wp-image-3410" /></noscript></a></p>
<p><strong>Step 6.3</strong> The &#8220;Welcome to the DB2 Setup wizard&#8221; screen will now show up:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu3.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu3-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu3" width="300" height="214" class="lazy alignnone size-medium wp-image-3411" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu3-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu3" width="300" height="214" class="alignnone size-medium wp-image-3411" /></noscript></a></p>
<p><strong>Step 6.3</strong> Accept the &#8220;Software License Agreement&#8221; to go ahead;<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu4.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu4-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu4" width="300" height="214" class="lazy alignnone size-medium wp-image-3412" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu4-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu4" width="300" height="214" class="alignnone size-medium wp-image-3412" /></noscript></a></p>
<p><strong>Step 6.4</strong> During &#8220;Select the installation type&#8221; I would like to use <strong>&#8220;Custom &#8211; 760 MB&#8221;</strong> installation so able to get full control:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu5.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu5-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu5" width="300" height="214" class="lazy alignnone size-medium wp-image-3413" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu5-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu5" width="300" height="214" class="alignnone size-medium wp-image-3413" /></noscript></a></p>
<p><strong>Step 6.5</strong> In &#8220;Select installation, response file creation, or both&#8221; just use default setup:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu6.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu6-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu6" width="300" height="214" class="lazy alignnone size-medium wp-image-3414" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu6-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu6" width="300" height="214" class="alignnone size-medium wp-image-3414" /></noscript></a><br />
<strong>Step 6.6</strong> In &#8220;Select the features to install&#8221; I just click <strong>&#8220;Select all&#8221;</strong> so everything should install correctly:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu7.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu7-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu7" width="300" height="214" class="lazy alignnone size-medium wp-image-3415" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu7-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu7" width="300" height="214" class="alignnone size-medium wp-image-3415" /></noscript></a></p>
<p><strong>Step 6.7</strong> In &#8220;Select the languages to install&#8221; again I choose English:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu8.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu8-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu8" width="300" height="214" class="lazy alignnone size-medium wp-image-3416" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu8-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu8" width="300" height="214" class="alignnone size-medium wp-image-3416" /></noscript></a></p>
<p><strong>Step 6.8</strong> In &#8220;Specify the location of the DB2 Information Center&#8221; I will get information by <strong>&#8220;On the IBM Web site&#8221;</strong>:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu9.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu9-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu9" width="300" height="214" class="lazy alignnone size-medium wp-image-3417" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu9-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu9" width="300" height="214" class="alignnone size-medium wp-image-3417" /></noscript></a></p>
<p><strong>Step 6.9</strong> In &#8220;Set user information for the DB2 Administration Server&#8221;, create the user for DAS<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu10.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu10-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu10" width="300" height="214" class="lazy alignnone size-medium wp-image-3418" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu10-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu10" width="300" height="214" class="alignnone size-medium wp-image-3418" /></noscript></a></p>
<p><strong>Step 6.10</strong> In &#8220;Set up a DB2 instance&#8221;, choose <strong>&#8220;Create a DB2 instance&#8221;</strong>:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu11.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu11-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu11" width="300" height="214" class="lazy alignnone size-medium wp-image-3419" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu11-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu11" width="300" height="214" class="alignnone size-medium wp-image-3419" /></noscript></a></p>
<p><strong>Step 6.11</strong> In &#8220;Set user information for the DB2 instance owner&#8221;, we will create an user account for our new instance<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu12.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu12-300x214.png" alt="" title="db2-on-ubuntu12" width="300" height="214" class="lazy alignnone size-medium wp-image-3420" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu12-300x214.png" alt="" title="db2-on-ubuntu12" width="300" height="214" class="alignnone size-medium wp-image-3420" /></noscript></a></p>
<p><strong>Step 6.12</strong> In &#8220;Set user information for the fenced user&#8221;, create user account as similar as above:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu13.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu13-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu13" width="300" height="214" class="lazy alignnone size-medium wp-image-3421" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu13-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu13" width="300" height="214" class="alignnone size-medium wp-image-3421" /></noscript></a></p>
<p><strong>Step 6.13</strong> In &#8220;Configure instance communication and startup&#8221;, just keep as default:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu14.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu14-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu14" width="300" height="214" class="lazy alignnone size-medium wp-image-3422" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu14-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu14" width="300" height="214" class="alignnone size-medium wp-image-3422" /></noscript></a></p>
<p><strong>Step 6.14</strong> In &#8220;Set up notifications&#8221; I selected <strong>&#8220;Do not set up your DB2 server to send notification at this time&#8221;</strong> as I have not setup the mail server:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu15.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu15-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu15" width="300" height="214" class="lazy alignnone size-medium wp-image-3423" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu15-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu15" width="300" height="214" class="alignnone size-medium wp-image-3423" /></noscript></a><br />
<strong>Step 6.15</strong> In &#8220;Configure the DB2 Text Search service&#8221;, again just keep as default:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu16.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu16-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu16" width="300" height="214" class="lazy alignnone size-medium wp-image-3424" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu16-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu16" width="300" height="214" class="alignnone size-medium wp-image-3424" /></noscript></a></p>
<p><strong>Step 6.16</strong> Ok is time for final confirmation, we also get it done:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu17.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu17-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu17" width="300" height="214" class="lazy alignnone size-medium wp-image-3425" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu17-300x214.png" alt="db2-on-ubuntu" title="db2-on-ubuntu17" width="300" height="214" class="alignnone size-medium wp-image-3425" /></noscript></a></p>
<p>I have copied the configuration details for ref</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="dos" style="font-family:monospace;">Product to install:                        DB2 Express-C 
Installation type:                         Custom 
&nbsp;
Previously Installed Components:        
&nbsp;
Selected Components:                    
    Base client support                    
    Java support                           
    SQL procedures                         
    Base server support                    
    Communication support - TCP/IP         
    DB2 data source support                
    Spatial Extender server support        
    DB2 LDAP support                       
    DB2 Instance Setup wizard              
    Base application development tools     
    DB2 Update Service                     
    First Steps                            
    Sample database source                 
    DB2 Text Search                        
&nbsp;
Languages:                              
    English                                
        All Products                       
&nbsp;
Target directory:                          /app/ibm/db2/V10.1
&nbsp;
Space required:                            751 MB
&nbsp;
New instances:                          
    Instance name:                         db2inst1
        Start instance on reboot:          Yes 
        TCP/IP configuration:              
            Service name:                  db2c_db2inst1
            Port number:                   50000
        Instance user information:         
            User name:                     db2inst1
            Group name:                    db2iadm1
            Home directory:                /home/db2inst1
        Fenced user information:           
            User name:                     db2fenc1
            Group name:                    db2fadm1
            Home directory:                /home/db2fenc1
        DB2 Text Search:                   
            HTTP service name:             db2j_db2inst1
            HTTP service port number:      55000
&nbsp;
DB2 Administration server:              
    Instance user information:             
        User name:                         dasusr1
        Group name:                        dasadm1
        Home directory:                    /home/dasusr1
&nbsp;
Response file name:                        /root/db2expc.rsp</pre></td></tr></table></div>

<p><a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu18.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu18.png" alt="db2-on-ubuntu" title="db2-on-ubuntu18" width="400" height="300" class="lazy alignnone size-full wp-image-3426" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu18.png" alt="db2-on-ubuntu" title="db2-on-ubuntu18" width="400" height="300" class="alignnone size-full wp-image-3426" /></noscript></a></p>
<p><strong>Step 6.17</strong> In case of successful setup you will see following screen<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu19.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu19-300x187.png" alt="db2-on-ubuntu" title="db2-on-ubuntu19" width="300" height="187" class="lazy alignnone size-medium wp-image-3427" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu19-300x187.png" alt="db2-on-ubuntu" title="db2-on-ubuntu19" width="300" height="187" class="alignnone size-medium wp-image-3427" /></noscript></a></p>
<p><strong>Step 7: Post-installation procedure</strong><br />
Before we go to next step, let&#8217;s check the following tasks:</p>
<p><strong>Step 7.1</strong> The default shell for dasuser1, db2instl and db2fencl are sh. Edit /etc/passwd and update them as bash.<br />
<strong>Step 7.2</strong> Kill your X, logout, re-login with db2inst1, then run startx (or directly for db2fs/db2cc if you are using Putty + Xming)<br />
<strong>Step 7.3</strong> Open a terminal and start db2fs:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">db2fs</pre></td></tr></table></div>

<p><strong>Step 7.3</strong> db2fs will ask for your default web browser. Answer /usr/bin/firefox here:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu20.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu20.png" alt="db2-on-ubuntu" title="db2-on-ubuntu20" width="489" height="488" class="lazy alignnone size-full wp-image-3428" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu20.png" alt="db2-on-ubuntu" title="db2-on-ubuntu20" width="489" height="488" class="alignnone size-full wp-image-3428" /></noscript></a></p>
<p><strong>Step 7.4</strong> This will open the &#8220;First Steps for DB2 Database for Linux, UNIX, and Windows&#8221; in Firefox. Now click on <strong>&#8220;Create SAMPLE database&#8221;</strong>:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu21.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu21-300x232.png" alt="db2-on-ubuntu" title="db2-on-ubuntu21" width="300" height="232" class="lazy alignnone size-medium wp-image-3429" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu21-300x232.png" alt="db2-on-ubuntu" title="db2-on-ubuntu21" width="300" height="232" class="alignnone size-medium wp-image-3429" /></noscript></a></p>
<p><strong>Step 7.5</strong> In &#8220;First Steps &#8211; Create SAMPLE Database&#8221;, just keep as default:<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu22.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu22.png" alt="" title="db2-on-ubuntu22" width="435" height="195" class="lazy alignnone size-full wp-image-3430" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu22.png" alt="" title="db2-on-ubuntu22" width="435" height="195" class="alignnone size-full wp-image-3430" /></noscript></a><br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu23.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu23.png" alt="" title="db2-on-ubuntu23" width="294" height="168" class="lazy alignnone size-full wp-image-3431" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu23.png" alt="" title="db2-on-ubuntu23" width="294" height="168" class="alignnone size-full wp-image-3431" /></noscript></a></p>
<p><strong>Step 7.6</strong> In case of successful creation you will see following screen<br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu24.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu24.png" alt="db2-on-ubuntu" title="db2-on-ubuntu24" width="375" height="260" class="lazy alignnone size-full wp-image-3432" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu24.png" alt="db2-on-ubuntu" title="db2-on-ubuntu24" width="375" height="260" class="alignnone size-full wp-image-3432" /></noscript></a><br />
<a href="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu25.png"><img src="http://www.techienote.com/wp-content/plugins/jquery-image-lazy-loading/images/grey.gif" data-original="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu25.png" alt="db2-on-ubuntu" title="db2-on-ubuntu25" width="294" height="168" class="lazy alignnone size-full wp-image-3433" /><noscript><img src="http://www.techienote.com/wp-content/uploads/2012/10/db2-on-ubuntu25.png" alt="db2-on-ubuntu" title="db2-on-ubuntu25" width="294" height="168" class="alignnone size-full wp-image-3433" /></noscript></a></p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.techienote.com/2012/03/sync-bookmarks-across-different-browser-ubuntu.html" title="Permanent link to Sync Bookmarks Across Different Browser Ubuntu">Sync Bookmarks Across Different Browser Ubuntu</a>  </li>
<li> <a href="http://www.techienote.com/2012/08/how-to-triple-boot-ubuntu-fedora-and-windows-7.html" title="Permanent link to How to triple-boot Ubuntu, Fedora and Windows 7">How to triple-boot Ubuntu, Fedora and Windows 7</a>  </li>
<li> <a href="http://www.techienote.com/2012/10/how-to-change-hostname-and-workgroup-in-ubuntu-12-10-12-04.html" title="Permanent link to How to Change hostname and workgroup in Ubuntu 12.10, 12.04">How to Change hostname and workgroup in Ubuntu 12.10, 12.04</a>  </li>
<li> <a href="http://www.techienote.com/2012/10/how-to-install-lamp-on-ubuntu-12-04.html" title="Permanent link to How to Install LAMP on Ubuntu 12.04">How to Install LAMP on Ubuntu 12.04</a>  </li>
<li> <a href="http://www.techienote.com/2012/01/how-to-install-oracle-application-server-10g-release-3-on-windows.html" title="Permanent link to How to install Oracle Application Server 10g Release 3 on Windows">How to install Oracle Application Server 10g Release 3 on Windows</a>  </li>
</ol></div><p></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Techienote?a=MfqmWMSLCWs:q0thDNlN86s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=MfqmWMSLCWs:q0thDNlN86s:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Techienote?i=MfqmWMSLCWs:q0thDNlN86s:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=MfqmWMSLCWs:q0thDNlN86s:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Techienote?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=MfqmWMSLCWs:q0thDNlN86s:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Techienote?i=MfqmWMSLCWs:q0thDNlN86s:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=MfqmWMSLCWs:q0thDNlN86s:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/Techienote?i=MfqmWMSLCWs:q0thDNlN86s:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=MfqmWMSLCWs:q0thDNlN86s:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Techienote?i=MfqmWMSLCWs:q0thDNlN86s:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=MfqmWMSLCWs:q0thDNlN86s:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Techienote?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Techienote?a=MfqmWMSLCWs:q0thDNlN86s:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/Techienote?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Techienote/~4/MfqmWMSLCWs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techienote.com/2012/10/how-to-download-and-install-ibm-db2-database-on-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techienote.com/2012/10/how-to-download-and-install-ibm-db2-database-on-ubuntu.html</feedburner:origLink></item>
	</channel>
</rss>
