<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Projects on Amit Agarwal Linux Blog</title>
    <link>/tags/projects/</link>
    <description>Recent content in Projects on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Thu, 09 Feb 2012 05:47:04 +0000</lastBuildDate>
    
	<atom:link href="/tags/projects/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Tora installation on Fedora 16 with rpm</title>
      <link>/2012/02/09/tora-installation-fedora-16-rpm/</link>
      <pubDate>Thu, 09 Feb 2012 05:47:04 +0000</pubDate>
      
      <guid>/2012/02/09/tora-installation-fedora-16-rpm/</guid>
      <description>&lt;figure style=&#34;width: 128px&#34; class=&#34;wp-caption alignright&#34;&gt;[&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;TOra&#34; src=&#34;http://upload.wikimedia.org/wikipedia/en/a/a9/TOra.png&#34; alt=&#34;TOra&#34; width=&#34;128&#34; height=&#34;128&#34; /&gt;][1]&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image via Wikipedia&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;Last article I talked about tora installation from the sources, but if that is too much for you then you can use this one liner:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;rpm -ivh &#34;http://amit-agarwal.co.in/mystuff/tora-2.1.3-1.fc16.i686.rpm&#34;&lt;/pre&gt;
&lt;p&gt;But if you like the hard way out, then you can always try &lt;a href=&#34;http://blog.amit-agarwal.com/2012/02/06/tora-fedora-16-mysql-oracle/&#34;&gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;https://gryphon143.wordpress.com/2011/06/30/test/&#34;&gt;Unrar in Fedora&amp;#8230;&lt;/a&gt; (gryphon143.wordpress.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://funsurf.wordpress.com/2011/09/26/fedora-utils-just-got-easier/&#34;&gt;Fedora Utils just got easier&lt;/a&gt; (funsurf.wordpress.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2011/12/07/rpmorphan-deborphan-rpm-based-distros/&#34;&gt;rpmorphan &amp;#8211; deborphan for the rpm based distros.&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>Color disk usage on Fedora</title>
      <link>/2012/01/21/color-disk-usage-fedora/</link>
      <pubDate>Sat, 21 Jan 2012 12:43:40 +0000</pubDate>
      
      <guid>/2012/01/21/color-disk-usage-fedora/</guid>
      <description>&lt;p&gt;For this tip, you would need to setup the rpm-shere repository. You can get the information &lt;a href=&#34;http://blog.amit-agarwal.com/2012/01/18/interesting-repository-fedora/&#34;&gt;here&lt;/a&gt;. Once you have done that you need to install the cdu package with the following command:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install cdu&lt;/pre&gt;
&lt;p&gt;And then you can use “cdu” to view the disk usage in all beautiful colors with the command:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;cdu&lt;/pre&gt;
&lt;p&gt;and the output looks like this:&lt;/p&gt;
&lt;figure id=&#34;attachment_3140&#34; aria-describedby=&#34;caption-attachment-3140&#34; style=&#34;width: 300px&#34; class=&#34;wp-caption aligncenter&#34;&gt;[&lt;img class=&#34;size-medium wp-image-3140&#34; title=&#34;cdu screenshot&#34; src=&#34;https://i1.wp.com/blog.amit-agarwal.com/wp-content/uploads/2012/01/test-300x129.jpg?resize=300%2C129&#34; alt=&#34;cdu screenshot&#34; width=&#34;300&#34; height=&#34;129&#34; data-recalc-dims=&#34;1&#34; /&gt;][2]&lt;figcaption id=&#34;caption-attachment-3140&#34; class=&#34;wp-caption-text&#34;&gt;cdu screenshot&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2011/10/30/quickly-install-fedora/&#34;&gt;Quickly install most of the things that you need on Fedora.&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://fedoraproject.org/wiki/YumUpgradeFaq&#34;&gt;Upgrading Fedora using yum &amp;#8211; FedoraProject&lt;/a&gt; (fedoraproject.org)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2011/12/13/consistent-ethernet-device-names-verne/&#34;&gt;Consistent ethernet device names in Verne&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>rpmorphan – deborphan for the rpm based distros.</title>
      <link>/2011/12/07/rpmorphan-deborphan-rpm-based-distros/</link>
      <pubDate>Wed, 07 Dec 2011 11:02:15 +0000</pubDate>
      
      <guid>/2011/12/07/rpmorphan-deborphan-rpm-based-distros/</guid>
      <description>&lt;div&gt;
  Lets first install the rpmorphan package:
&lt;/div&gt;
&lt;div&gt;
  &lt;div class=&#34;codecolorer-container bash solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
    &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
      &lt;tr&gt;
        &lt;td class=&#34;line-numbers&#34;&gt;
          &lt;div&gt;
            1&lt;br /&gt;
          &lt;/div&gt;
        &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;    &amp;lt;td&amp;gt;
      &amp;lt;div class=&amp;quot;bash codecolorer&amp;quot;&amp;gt;
        &amp;amp;nbsp;&amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;sudo&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;kw2&amp;quot;&amp;gt;yum install&amp;lt;/span&amp;gt; rpmorphan
      &amp;lt;/div&amp;gt;
    &amp;lt;/td&amp;gt;
  &amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
  and here is the description of the package:
&lt;/div&gt;
&lt;div&gt;
  &lt;pre class=&#34;brush: text; gutter: true; first-line: 1&#34;&gt;rpmorphan finds &#34;&lt;a class=&#34;zem_slink&#34; title=&#34;Orphan&#34; href=&#34;http://en.wikipedia.org/wiki/Orphan&#34; rel=&#34;wikipedia&#34;&gt;orphaned&lt;/a&gt;&#34;[1] packages on your system. It determines
which packages have no other packages depending on their installation,
and shows you a list of these packages.  It intends to be clone of
deborphan &lt;a class=&#34;zem_slink&#34; title=&#34;Debian&#34; href=&#34;http://www.debian.org/&#34; rel=&#34;homepage&#34;&gt;Debian&lt;/a&gt; tools for rpm packages.
&lt;p&gt;It will try to help you to remove unused packages, for example:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Creating a chroot environment in Fedora with bash and other utils.</title>
      <link>/2011/09/19/creating-chroot-environment-fedora-bash-utils/</link>
      <pubDate>Mon, 19 Sep 2011 14:59:23 +0000</pubDate>
      
      <guid>/2011/09/19/creating-chroot-environment-fedora-bash-utils/</guid>
      <description>&lt;p&gt;[ad#ad-2]&lt;/p&gt;
&lt;p&gt;I am testing some of my scripts to work on a very old system and there the versions of the most popular applications are very old, real old :(. So, some of things that I am very used to since last couple of years, do not seem to work as expected and I need to keep verifying a lot of things on the server, very inconvinient to keep testing the script on the server (need to connect on &lt;a class=&#34;zem_slink&#34; title=&#34;Virtual private network&#34; href=&#34;http://en.wikipedia.org/wiki/Virtual_private_network&#34; rel=&#34;wikipedia&#34;&gt;VPN&lt;/a&gt;) just to test some very simple things.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>10 Useful Sar (Sysstat) Examples for UNIX / Linux Performance Monitoring</title>
      <link>/2011/04/22/10-sar-sysstat-examples-unix-linux-performance-monitoring/</link>
      <pubDate>Fri, 22 Apr 2011 02:20:48 +0000</pubDate>
      
      <guid>/2011/04/22/10-sar-sysstat-examples-unix-linux-performance-monitoring/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;h1 id=&#34;span-stylefont-size-x-large10-a-classzem_slink-titleutility-relwikipedia-hrefhttpenwikipediaorgwikiutilityusefula-a-classzem_slink-titlesar-in-unix-relwikipedia-hrefhttpenwikipediaorgwikisar_in_unixsara-sysstat-examples-for-unix--a-classzem_slink-titlelinux-relhomepage-hrefhttpwwwkernelorglinuxa-performance-monitoringspan&#34;&gt;&lt;strong&gt;&lt;span style=&#34;font-size: x-large;&#34;&gt;10 &lt;a class=&#34;zem_slink&#34; title=&#34;Utility&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Utility&#34;&gt;Useful&lt;/a&gt; &lt;a class=&#34;zem_slink&#34; title=&#34;Sar in UNIX&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Sar_in_UNIX&#34;&gt;Sar&lt;/a&gt; (Sysstat) Examples for UNIX / &lt;a class=&#34;zem_slink&#34; title=&#34;Linux&#34; rel=&#34;homepage&#34; href=&#34;http://www.kernel.org/&#34;&gt;Linux&lt;/a&gt; Performance Monitoring&lt;/span&gt;&lt;/strong&gt;&lt;/h1&gt;
&lt;p&gt;by Ramesh Natarajan on March 29, 2011&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://i2.wp.com/www.thegeekstuff.com/wp-content/uploads/2011/12/sar-tutorial-300x176.png?resize=300%2C176&#34; border=&#34;0&#34; alt=&#34;&#34; width=&#34;300&#34; height=&#34;176&#34; align=&#34;bottom&#34; data-recalc-dims=&#34;1&#34; /&gt; Using sar you can monitor performance of various Linux subsystems (&lt;a class=&#34;zem_slink&#34; title=&#34;Central processing unit&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Central_processing_unit&#34;&gt;CPU&lt;/a&gt;, Memory, I/O..) in real time.&lt;/p&gt;
&lt;p&gt;Using sar, you can also collect all performance data on an on-going basis, store them, and do historical analysis to identify bottlenecks.&lt;/p&gt;
&lt;p&gt;Sar is part of the sysstat package.&lt;/p&gt;
&lt;p&gt;This article explains how to install and configure sysstat package (which contains sar utility) and explains how to monitor the following Linux performance statistics using sar.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>List all installed rpm packages and it’s size</title>
      <link>/2010/12/09/list-all-installed-rpm-packages-and-it%E2%80%99s-size/</link>
      <pubDate>Thu, 09 Dec 2010 03:12:44 +0000</pubDate>
      
      <guid>/2010/12/09/list-all-installed-rpm-packages-and-it%E2%80%99s-size/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you are looking for a command to see the disk usage by each of the &lt;a class=&#34;zem_slink&#34; title=&#34;Revolutions per minute&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Revolutions_per_minute&#34;&gt;rpm&lt;/a&gt;‘s then you can use this command:&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      &amp;amp;nbsp;rpm -q --queryformat &amp;quot;%10{SIZE}\t%{NAME}\n&amp;quot;
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;And if you use this command very regularly then you can create an alias like&lt;/p&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      &amp;amp;nbsp;alias rpm_size=&#39;rpm -q --queryformat &amp;quot;%10{SIZE}\t%{NAME}\n&amp;quot; &#39;
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;and use it like&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
