Archive for March, 2012

Yum and RPM install history

By jbayer - Last updated: Friday, March 30, 2012

Sometimes I need to find out when something was installed.  The following two commands will show the history for yum and rpm, respectively To get a history of all the yum installs, look at: /var/log/yum.log   Rpm package installation history If you need when the packages installed in Red Hat or Fedora rpm -qa –queryformat […]

11,706 views

Installing latest virt-manager on RHEL6/CentOS6

By jbayer - Last updated: Monday, March 5, 2012

The virt-manager which comes with RHEL6/CentOS6 is somewhat old, being version 0.8.6, which was released on 1/14/2011.  The attached script will take a basic system and download/install all necessary RPMs, and then download and install the latest virt-manager, version 0.9.1 released 1/31/2012 There are a lot of nice improvements which make this a very worthwhile […]

1,579 views

Using Partitioning on Zabbix DB tables to improve performance

By jbayer - Last updated: Monday, March 5, 2012

This script will partition your zabbix database to improve the efficiency. It will also create stored procedures to do the necessary housekeeping, and create a cronjob to do this on a daily basis. This script was inspired by the following: http://zabbixzone.com/zabbix/partitioning-tables/ While the basic SQL is from the above page, this script both creates the necessary SQL for the […]

6,343 views

Adding a bridge interface to Linux

By jbayer - Last updated: Thursday, March 1, 2012

A bridge is a way to connect two Ethernet segments together in a protocol independent way. Packets are forwarded based on Ethernet address, rather than IP address (like a router). Since forwarding is done at Layer 2, all protocols can go transparently through a bridge. Among other reasons, if you are running KVM or Xen, and you […]

717 views
asd