<?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/" version="2.0">

<channel>
	<title>Distro Tips - Land of Linux and Unix</title>
	
	<link>http://www.distrotips.com</link>
	<description>Ubuntu, Fedora, OpenSUSE, Mint, Mandriva, Debian, CentOS, FreeBSD and more...</description>
	<lastBuildDate>Sat, 26 Nov 2011 16:41:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/distrotips" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="distrotips" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">distrotips</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Linux Mint 12 System Requirements</title>
		<link>http://www.distrotips.com/linux-mint/linux-mint-12-system-requirements.html</link>
		<comments>http://www.distrotips.com/linux-mint/linux-mint-12-system-requirements.html#comments</comments>
		<pubDate>Sat, 26 Nov 2011 16:41:00 +0000</pubDate>
		<dc:creator>Distro Tips</dc:creator>
				<category><![CDATA[Linux Mint]]></category>

		<guid isPermaLink="false">http://www.distrotips.com/linux-mint/linux-mint-12-system-requirements.html</guid>
		<description><![CDATA[Linux Mint 12 codenamed Lisa is now available for download. Following are the minimal system requirements for installing and running Linux Mint 12 (Lisa), Minimum System Requirements for Linux Mint 12 x86 or amd64 processor. The ISO you need to download depends on the processor you have. Currently Linux Mint 12 is not available for [...]]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Linux Mint Logo" border="0" alt="Linux Mint Logo" align="right" src="http://www.distrotips.com/wp-content/uploads/2011/11/image31.png" width="175" height="159" />Linux Mint 12 codenamed Lisa is now available for download. Following are the minimal system requirements for installing and running Linux Mint 12 (Lisa),</p>
<h2>Minimum System Requirements for Linux Mint 12</h2>
<ul>
<li>x86 or amd64 processor. The ISO you need to download depends on the processor you have. Currently Linux Mint 12 is not available for ia64. </li>
<li>512MB of RAM </li>
<li>5GB of hard disk space </li>
<li>Graphics card capable of 800&#215;600 resolution </li>
<li>CD/DVD or USB support </li>
</ul>
<p>However the above minimum system configuration is not good enough for a good experience with Linux Mint 12. For example, to get GNOME 3 running in full power, you need a 3D capable video card. Following is the recommended base configuration for Linux Mint 12,</p>
<h2>Recommended System Requirements for Linux Mint 12</h2>
<ul>
<li>x86 or amd64 dual core processor (Phenom X2 or Intel E5700 or above) with a clock speed of 2GHZ and above </li>
<li>2GB of RAM </li>
<li>10GB of hard disk space </li>
<li>A 3D capable graphics card (NVidia GeForce or ATI cards) </li>
<li>CD/DVD or USB support </li>
</ul>
<h2>Ideal System Configuration for Linux Mint 12</h2>
<p>Lisa is lightning fast on my system. Here are my machine specs,</p>
<ul>
<li>Intel Core i5-2500K &#8211; 3.3GHz </li>
<li>4GB RAM </li>
<li>512GB Seagate hard drive </li>
<li>AMD Radeon HD 6800 with 1GB RAM </li>
</ul>
<p>If you have older system which is slow while running GNOME 3, you can switch to GNOME classic (without effects) desktop during login (Click on the wheel icon shown in the login screen).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.distrotips.com/linux-mint/linux-mint-12-system-requirements.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing Default Search Engine to Google in Linux Mint 12</title>
		<link>http://www.distrotips.com/linux-mint/changing-default-search-engine-to-google-in-linux-mint-12.html</link>
		<comments>http://www.distrotips.com/linux-mint/changing-default-search-engine-to-google-in-linux-mint-12.html#comments</comments>
		<pubDate>Fri, 25 Nov 2011 17:40:00 +0000</pubDate>
		<dc:creator>Distro Tips</dc:creator>
				<category><![CDATA[Linux Mint]]></category>

		<guid isPermaLink="false">http://www.distrotips.com/linux-mint/changing-default-search-engine-to-google-in-linux-mint-12.html</guid>
		<description><![CDATA[How to Change Linux Mint 12 Duck Duck Go Search Engine to Google Search Engine? Linux Mint 12 comes with Duck duck go as the default search engine. When you use Mozilla Firefox, the default search engine is shown as DuckDuckGo. Duck duck go project claims that they don&#8217;t personalize search results and no type [...]]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top: 0px; border-right: 0px; padding-top: 0px" title="DuckDuckGo Search Engine in Firefox" border="0" alt="DuckDuckGo Search Engine in Firefox" align="right" src="http://www.distrotips.com/wp-content/uploads/2011/11/image27.png" width="228" height="93" /></p>
<h2>How to Change Linux Mint 12 Duck Duck Go Search Engine to Google Search Engine?</h2>
<p>Linux Mint 12 comes with Duck duck go as the default search engine. When you use Mozilla Firefox, the default search engine is shown as DuckDuckGo. Duck duck go project claims that they don&#8217;t personalize search results and no type of user tracking is done. If if you are paranoiac about privacy, Duck duck go is the search engine to use.</p>
<p>However I prefer Google search engine and it is easy to change DuckDuckGo to Google search engine. Click on the duck icon inside the search box and select &quot;Manage Search Engines&quot;,</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Changing duck duck go to google - Linux Mint 12" border="0" alt="Changing duck duck go to google - Linux Mint 12" src="http://www.distrotips.com/wp-content/uploads/2011/11/image28.png" width="518" height="386" /></p>
<p>Click on the bottom link &#8211; &quot;Get more search engines&quot;. Firefox will open the search engine list page at <a title="http://www.linuxmint.com/searchengines.php" href="http://www.linuxmint.com/searchengines.php">http://www.linuxmint.com/searchengines.php</a>. At the bottom of the page you have a tiny list of icons representing other search engines,</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Selecting google search engine - Linux Mint 12" border="0" alt="Selecting google search engine - Linux Mint 12" src="http://www.distrotips.com/wp-content/uploads/2011/11/image29.png" width="586" height="154" /></p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top: 0px; border-right: 0px; padding-top: 0px" title="Adding Google Search Engine to Firefox in Linux Mint 12" border="0" alt="Adding Google Search Engine to Firefox in Linux Mint 12" align="right" src="http://www.distrotips.com/wp-content/uploads/2011/11/image30.png" width="146" height="108" />Click on the Google icon in the other engines list.</p>
<p>Now again click on the duck icon in the search field located at the top of Firefox. You will see a new option named Add &quot;Google&quot;. Click on &quot;Add Google&quot; option. This will change the default search engine in Linux Mint 12&#160; to Google.</p>
<p>After installing Google engine, you can use the Firefox URL field for entering search keywords. If you enter a web address you are taken to the address else you are taken to the Google search results for the text you entered. This feature is not available in Duck Duck Go engine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.distrotips.com/linux-mint/changing-default-search-engine-to-google-in-linux-mint-12.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Mint 12 Installation Guide</title>
		<link>http://www.distrotips.com/linux-mint/how-to-install-linux-mint-12.html</link>
		<comments>http://www.distrotips.com/linux-mint/how-to-install-linux-mint-12.html#comments</comments>
		<pubDate>Thu, 24 Nov 2011 17:10:32 +0000</pubDate>
		<dc:creator>Distro Tips</dc:creator>
				<category><![CDATA[Linux Mint]]></category>

		<guid isPermaLink="false">http://www.distrotips.com/linux-mint/how-to-install-linux-mint-12.html</guid>
		<description><![CDATA[Linux Mint is a simple, elegant distribution which aims to be very user friendly. Linux Mint is based on Ubuntu and is derived from the Ubuntu repository. The latest version is Linux Mint 12 (code named Lisa) and ships with a brand new GNOME 3 desktop and Linux Kernel 3.0. Downloading Linux Mint 12 Linux [...]]]></description>
			<content:encoded><![CDATA[<p>Linux Mint is a simple, elegant distribution which aims to be very user friendly. Linux Mint is based on Ubuntu and is derived from the Ubuntu repository. The latest version is Linux Mint 12 (code named Lisa) and ships with a brand new GNOME 3 desktop and Linux Kernel 3.0. </p>
<h2>Downloading Linux Mint 12</h2>
<p>Linux Mint 12 is available as a 32-bit or 64-bit edition. In each edition, you have two options, you can either download the CD version which doesn&#8217;t contain codecs/MATE or download the DVD version which contains both. The recommended download is the 32-bit DVD which contains Gnome and MATE. You can <a href="http://www.linuxmint.com/release.php?id=17" target="_blank">download Linux Mint 12 from here</a>.</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Downloading Linux Mint 12" border="0" alt="Downloading Linux Mint 12" src="http://www.distrotips.com/wp-content/uploads/2011/11/image22.png" width="620" height="262" /></p>
<p>Boot your machine with the DVD created from the downloaded ISO file.</p>
<h2>Installing Linux Mint 12</h2>
<p>The DVD is a live DVD and immediately after booting you can start using Linux Mint 12. To install Lisa to your hard drive click on &quot;Install Linux Mint&quot; shortcut.</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="How to install Linux Mint 12" border="0" alt="How to install Linux Mint 12" src="http://www.distrotips.com/wp-content/uploads/2011/11/image23.png" width="604" height="452" /></p>
<p>Select your preferred language and click on continue. Lisa tells you that for best results, you need the following,</p>
<ul>
<li>At least 5.6GB of hard drive space </li>
<li>An active connection to internet </li>
</ul>
<p>Note that 5.6GB is the absolute minimum you need and if you have large swap partition this is not enough. I suggest you install Linux Mint 12 to a partition which has at least 10GB free space.</p>
<p>If you don&#8217;t have any other operating system on your hard drive you will get the following options.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Installation types in Linux Mint 12" border="0" alt="Installation types in Linux Mint 12" src="http://www.distrotips.com/wp-content/uploads/2011/11/image41.png" width="604" height="369" /> </p>
<p>You can either let Linux Mint 12 to partition your disk automatically or you can partition manually. If you selected automatic partition, Mint will create a primary partition and a swap partition.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Linux Mint 12 Installation" border="0" alt="Linux Mint 12 Installation" src="http://www.distrotips.com/wp-content/uploads/2011/11/image81.png" width="604" height="372" /></p>
<p>Alternatively you can create partitions manually. For example, I selected the following options for a 500GB hard disk with 2GB RAM,</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Manual partition - Linux Mint 12" border="0" alt="Manual partition - Linux Mint 12" src="http://www.distrotips.com/wp-content/uploads/2011/11/image24.png" width="604" height="369" /></p>
<p>Give a swap space which is at least twice the size of your system&#8217;s RAM. Also you can create additional partitions for boot and home mount points if you want them to be logically separated.</p>
<p>Click on &quot;Install Now&quot; to begin installation. During installation, you are prompted to select your location, keyboard layout and username/password. You can choose between automatic login or manual login. Select &quot;encrypt my home folder&quot; option if you need high security of your data.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Installing Linux Mint 12 - user creation" border="0" alt="Installing Linux Mint 12 - user creation" src="http://www.distrotips.com/wp-content/uploads/2011/11/image25.png" width="604" height="429" /></p>
<p>Click on continue. Linux Mint 12 will download language packs from internet if an active connection is available. During installation, a slide show of Linux Mint 12 features are shown. In my Intel i5 system with 4GB RAM, it took less than 5 minutes for Linux Mint 12 installation.</p>
<p>After installation, remove the DVD from drive and restart the system. You should see the new GNOME 3 based login screen. During login you can select one of the GNOME desktop types. Select GNOME to login with GNOME 3.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Linux Mint 12 Login Screen" border="0" alt="Linux Mint 12 Login Screen" src="http://www.distrotips.com/wp-content/uploads/2011/11/image37.png" width="604" height="332" /></p>
<h2>Keeping Linux Mint 12 Secure and Stable</h2>
<p>Once you login to GNOME, you are shown a welcome screen which lists various resources available for Linux Mint 12. On the top menu bar you will see a flashing shield icon which indicates that you have various patches available for download. Click on the icon to download and install all pending patches. These are updates to the system after the last DVD release. Updating the patches keeps your system secure and stable. It took me about half an hour to apply all the updates.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="After Linux Mint Install" border="0" alt="After Linux Mint Install" src="http://www.distrotips.com/wp-content/uploads/2011/11/image411.png" width="604" height="454" /></p>
<p>The DVD 32 bit installer comes with a good set of applications focusing mainly on Internet and Media players. Following is the complete list of applications under each category,</p>
<ul>
<li><strong>Graphics</strong>&#160; &#8211; Gimp, LibreOffice Draw, gThumb Image Viewer, Simple Scan, Image Viewer and Document Viewer </li>
<li><strong>Internet</strong> &#8211; Firefox, Pidgin, Thunderbird Emails, XChat IRC, Transmission BitTorrent client, Sun Java 6 Web Start </li>
<li><strong>Office</strong> &#8211; LibreOffice Suite </li>
<li><strong>Media Players</strong> &#8211; Brasero, Banshee, GNOME MPlayer, VLC media player, Movie Player and Sound recorder </li>
<li><strong>Others</strong> &#8211; Sun Java 6, Standard Linux Tools </li>
</ul>
<p>The centralized Linux Mint 12 repository has over 35,000 applications. Use the Software manager application to find and install these packages. The packages are well organized and are listed based on its popularity. Ratings and user reviews of the applications are useful in deciding on a download.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Adding software in Linux Mint 12" border="0" alt="Adding software in Linux Mint 12" src="http://www.distrotips.com/wp-content/uploads/2011/11/image46.png" width="604" height="554" /></p>
<p>For example, the Eclipse IDE is available for download under the programming category,</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Installing Eclipse IDE Linux Mint 12" border="0" alt="Installing Eclipse IDE Linux Mint 12" src="http://www.distrotips.com/wp-content/uploads/2011/11/image26.png" width="604" height="494" /></p>
<p>If you are not able to login to GNOME 3 desktop, check whether your system has 3D acceleration turned on. This is common problem if you are installing Lisa on VMware or VirtualBox virtual machines.</p>
<p>Even after turning on 3D acceleration, sometimes the system booted to MATE desktop even when I selected GNOME 3 during login. It seems there are still some open issues with GNOME 3 integration.</p>
<p>The key new features in Linux Mint 12 include, </p>
<ul>
<li>GNOME 3 with MGSE (Mint Gnome Shell Extensions)</li>
<li>MATE a fork of GNOME 2 which is compatible with GNOME 3</li>
<li>Improvements in visual interface</li>
<li>Linux 3.0 kernel </li>
<li>Ubuntu 11.10 updates</li>
<li>Duck duck go search engine</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.distrotips.com/linux-mint/how-to-install-linux-mint-12.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Tomcat 7 with OpenJDK on Tiny Core Linux</title>
		<link>http://www.distrotips.com/tiny-core-linux/installing-tomcat-7-with-openjdk-on-tiny-core-linux.html</link>
		<comments>http://www.distrotips.com/tiny-core-linux/installing-tomcat-7-with-openjdk-on-tiny-core-linux.html#comments</comments>
		<pubDate>Tue, 22 Nov 2011 17:56:20 +0000</pubDate>
		<dc:creator>Distro Tips</dc:creator>
				<category><![CDATA[Tiny Core Linux]]></category>

		<guid isPermaLink="false">http://www.distrotips.com/tiny-core-linux/installing-tomcat-7-with-openjdk-on-tiny-core-linux.html</guid>
		<description><![CDATA[Pre-requisites for Installing Tomcat 7 Follow my earlier tutorials for installing Tiny Core Linux and Java, Install Tiny Core Linux on hard drive Install OpenJDK on Tiny Core Linux This tutorial uses Tiny Core Linux 4.1 and OpenJDK6. However the steps are similar if you use Java 7 or Oracle binaries for Java. Installing Tomcat [...]]]></description>
			<content:encoded><![CDATA[<h2>Pre-requisites for Installing Tomcat 7</h2>
<p>Follow my earlier tutorials for installing Tiny Core Linux and Java,</p>
<ul>
<li><a href="http://www.distrotips.com/tiny-core-linux/installing-tiny-core-linux-on-virtualbox.html" target="_blank">Install Tiny Core Linux on hard drive</a> </li>
<li><a href="http://www.distrotips.com/tiny-core-linux/installing-java-in-tiny-core-linux.html" target="_blank">Install OpenJDK on Tiny Core Linux</a> </li>
</ul>
<p>This tutorial uses Tiny Core Linux 4.1 and OpenJDK6. However the steps are similar if you use Java 7 or Oracle binaries for Java.</p>
<h2>Installing Tomcat 7 with OpenJDK on Tiny Core Linux</h2>
<p>Go to Tomcat 7 download page and note down a mirror URL for the tomcat-7.0.22.tar.gz file. From the Tiny Core Linux terminal download the file using wget (depending on the mirror the URL may be different),</p>
<div class="terminal">
<p>wget http://apache.petsads.us/tomcat/tomcat-7/v7.0.22/bin/apache-tomcat-7.0.22.tar.gz</p>
</p></div>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="downloading tomcat 7 tiny core linux" border="0" alt="downloading tomcat 7 tiny core linux" src="http://www.distrotips.com/wp-content/uploads/2011/11/image21.png" width="634" height="148" /></p>
<p>Since I have already configured /opt as a persistent folder in the hard drive, I decided to install tomcat in /opt. Copy the downloaded tomcat zip file to /opt.</p>
<div class="terminal">
<p>mv apache-tomcat-7.0.22.tar.gz /opt</p>
</p></div>
<p>Extract the tomcat binaries using the tar command,</p>
<div class="terminal">
<p>cd /opt</p>
</p></div>
<div class="terminal">
<p>tar -xzf apache-tomcat-7.0.22.tar.gz</p>
</p></div>
<p>Now we have tomcat 7 installed in /opt/apache-tomcat-7.0.22. To start tomcat, change to the bin folder and invoke the startup script,</p>
<div class="terminal">
<p>cd /opt/apache-tomcat-7.0.22/bin</p>
</p></div>
<div class="terminal">
<p>./startup.sh</p>
</p></div>
<p>You can verify whether tomcat is running by accessing the default URL using wget,</p>
<div class="terminal">
<p>wget http://localhost:8080</p>
</p></div>
<h2>How to Start Tomcat on Tiny Core Linux Startup (Boot) ?</h2>
<p>You can configure Tomcat to start automatically whenever Tiny Core Linux is booted. Any command added to /opt/bootlocal.sh in Tiny Core Linux is invoked during system startup. Add the following lines to bootlocal.sh to start Tomcat on system startup,</p>
<blockquote><p>export CATALINA_HOME=/opt/apache-tomcat-7.0.22     <br />export JAVA_HOME=/usr/local/openjdk-6      <br />/opt/apache-tomcat-7.0.22/bin/startup.sh</p>
</blockquote>
<p>Note that the environment variables are required since they may not be set properly when bootlocal.sh commands are invoked.</p>
<p>When Tiny Core Linux was installed with Tomcat 7 and OpenJDK on VirtualBox, the size of the virtual disk created was under 150MB. So this combination is an ideal portable OS for testing your Java web applications on Linux!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.distrotips.com/tiny-core-linux/installing-tomcat-7-with-openjdk-on-tiny-core-linux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Java in Tiny Core Linux</title>
		<link>http://www.distrotips.com/tiny-core-linux/installing-java-in-tiny-core-linux.html</link>
		<comments>http://www.distrotips.com/tiny-core-linux/installing-java-in-tiny-core-linux.html#comments</comments>
		<pubDate>Mon, 21 Nov 2011 19:26:37 +0000</pubDate>
		<dc:creator>Distro Tips</dc:creator>
				<category><![CDATA[Tiny Core Linux]]></category>

		<guid isPermaLink="false">http://www.distrotips.com/tiny-core-linux/installing-java-in-tiny-core-linux.html</guid>
		<description><![CDATA[When it comes to installing Java in Tiny Core Linux, there are two options. You can either install the open source implementation of Java(OpenJDK) or install the official Java binary from Oracle. In this article I will show how to install any of these Java flavors in your Tiny Core Linux installation. For the example [...]]]></description>
			<content:encoded><![CDATA[<p>When it comes to installing Java in Tiny Core Linux, there are two options. You can either install the open source implementation of Java(OpenJDK) or install the official Java binary from Oracle. In this article I will show how to install any of these Java flavors in your Tiny Core Linux installation. For the example below I use Tiny Core Linux 4.1 and Java 1.6. The steps are similar for other versions. </p>
<p><a href="http://www.distrotips.com/tiny-core-linux/installing-tiny-core-linux-on-virtualbox.html" target="_blank">Click here for the detailed tutorial on installing Tiny Core Linux in a hard disk</a>. This tutorial also sets the hard disk partition as the location for downloaded extensions. Please note that for Oracle Java installation, hard disk partition requires over 500MB of free space.</p>
<h2>Installing OpenJDK in Tiny Core Linux</h2>
<p>Installing OpenJDK 6 in Tiny Core Linux is easy since OpenJDK is part of the Tiny Core Linux extension repository. From the bottom menu bar, click on AppBrowser. This opens up the extension manager for Tiny Core Linux. </p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Installing extensions in Tiny Core Linux" border="0" alt="Installing extensions in Tiny Core Linux" src="http://www.distrotips.com/wp-content/uploads/2011/11/image17.png" width="634" height="138" /></p>
<p>Click on connect and then search for openjdk. Select <strong>openjdk-6-jdk.tcz </strong>and then click on the Go button on bottom left. It will take a while to install openjdk since the download size of the package is around 55MB. Note the location of the downloaded extension (/mnt/sda1/tce/optional). It points to the partition <a href="http://www.distrotips.com/tiny-core-linux/installing-tiny-core-linux-on-virtualbox.html" target="_blank">assigned for the tce boot code</a>.</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Installing OpenJDK in Tiny Core Linux" border="0" alt="Installing OpenJDK in Tiny Core Linux" src="http://www.distrotips.com/wp-content/uploads/2011/11/image18.png" width="634" height="303" /></p>
<p>Restart Tiny Core Linux and run the following command to verify that Java is installed on TCL,</p>
<div class="terminal">
<p>java -version </p>
</p></div>
<h2><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Finding Java Version" border="0" alt="Finding Java Version" src="http://www.distrotips.com/wp-content/uploads/2011/11/image19.png" width="634" height="93" /></h2>
<h2>&#160;</h2>
<h2>Installing Oracle Java 6 in Tiny Core Linux</h2>
<p>Some people prefer to install Oracle Java since it is usually more stable and well tested with Java programs than OpenJDK. Also some of the applications only work with Oracle JDK.</p>
<p>Download Oracle Java binary file using wget command (from the home folder),</p>
<div class="terminal">
<p>wget http://download.oracle.com/otn-pub/java/jdk/6u29-b11/jdk-6u29-linux-i586.bin</p>
</p></div>
<p>Now you may be wondering how I got the URL for the Java binary. Visit <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Oracle JDK download site</a> and then click on download link for JDK 6. Accept the license agreement on the next page and then right click and copy the URL for the Linux x86.</p>
<p>Change the type of the downloaded file to an executable file,</p>
<div class="terminal">
<p>chmod +x jdk-6u29-linux-i586.bin</p>
</p></div>
<p>Now extract the contents of the binary by running the binary file,</p>
<div class="terminal">
<p>./jdk-6u29-linux-i586.bin</p>
</p></div>
<p>The Java files are extracted to the folder jdk1.6.0_29. During Tiny Core Linux installation, we had configured /opt and /home as persistent folders. Hence we will copy the JDK to /opt folder.</p>
<p>Create java folder,</p>
<div class="terminal">
<p>cd /opt</p>
</p></div>
<div class="terminal">
<p>mkdir /java</p>
</p></div>
<p>Go back to home folder and then move the JDK files extracted earlier to /opt/java,</p>
<div class="terminal">
<p>cd</p>
</p></div>
<div class="terminal">
<p>mv jdk1.6.0_29 /opt/java/</p>
</p></div>
<p>You can set the JAVA_HOME and path to Java binary permanently in the .ashrc file in the home folder (/home/tc),</p>
<div class="terminal">
<p>cd</p>
</p></div>
<div class="terminal">
<p>vi .ashrc</p>
</p></div>
<p>Add the following content to .ashrc,</p>
<blockquote><p>export JAVA_HOME=/opt/java/jdk1.6.0_29      <br />export PATH=$PATH:$JAVA_HOME/bin</p>
</blockquote>
<p>Restart Tiny Core Linux. Run the following command to verify that Oracle Java is installed correctly on Tiny Core Linux.</p>
<div class="terminal">
<p>java -version</p>
</p></div>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Oracle Java in Tiny Core Linux" border="0" alt="Oracle Java in Tiny Core Linux" src="http://www.distrotips.com/wp-content/uploads/2011/11/image20.png" width="634" height="130" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.distrotips.com/tiny-core-linux/installing-java-in-tiny-core-linux.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 0.487 seconds -->

