Tora installation on Fedora 16 with rpm

2012-02-09 1 min read Database Fedora
[TOra][1]
Image via Wikipedia

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:

rpm -ivh "http://amit-agarwal.co.in/mystuff/tora-2.1.3-1.fc16.i686.rpm"

But if you like the hard way out, then you can always try this.

Enhanced by Zemanta

Color disk usage on Fedora

2012-01-21 1 min read Fedora

For this tip, you would need to setup the rpm-shere repository. You can get the information here. Once you have done that you need to install the cdu package with the following command:

sudo yum install cdu

And then you can use “cdu” to view the disk usage in all beautiful colors with the command:

cdu

and the output looks like this:

[cdu screenshot][2]
cdu screenshot
Enhanced by Zemanta

rpmorphan – deborphan for the rpm based distros.

2011-12-07 2 min read Fedora
Lets first install the rpmorphan package:
    <td>
      <div class="bash codecolorer">
        &nbsp;<span class="kw2">sudo</span> <span class="kw2">yum install</span> rpmorphan
      </div>
    </td>
  </tr>
</table>
and here is the description of the package:
rpmorphan finds "orphaned"[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 Debian tools for rpm packages.

It will try to help you to remove unused packages, for example:

Continue reading

Creating a chroot environment in Fedora with bash and other utils.

2011-09-19 2 min read Bash Fedora Learning Linux

[ad#ad-2]

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 VPN) just to test some very simple things.

Continue reading

10 Useful Sar (Sysstat) Examples for UNIX / Linux Performance Monitoring

2011-04-22 3 min read Learning Linux

10 Useful Sar (Sysstat) Examples for UNIX / Linux Performance Monitoring

by Ramesh Natarajan on March 29, 2011

Using sar you can monitor performance of various Linux subsystems (CPU, Memory, I/O..) in real time.

Using sar, you can also collect all performance data on an on-going basis, store them, and do historical analysis to identify bottlenecks.

Sar is part of the sysstat package.

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.

Continue reading
1
  <td>
    <div class="text codecolorer">
      &nbsp;rpm -q --queryformat "%10{SIZE}\t%{NAME}\n"
    </div>
  </td>
</tr>
1

And if you use this command very regularly then you can create an alias like

  <td>
    <div class="text codecolorer">
      &nbsp;alias rpm_size='rpm -q --queryformat "%10{SIZE}\t%{NAME}\n" '
    </div>
  </td>
</tr>
1

and use it like

Continue reading