Install java plugin for firefox

You are running firefox and noticed that in a website there’s requirement of java runtime environment for proper viewing of site. Now firefox tries to install but in vain. Here are quick steps to install and configure java plugin for Firefox 3. These steps are tested in CentOS 5:

1. Download Java from here I have downloaded rpm in bin format.

2. Extract rpm from binary and then install it:

# ./jre-6u5-linux-i586-rpm.bin
# rpm -ivh jre-6u5-linux-i586.rpm

Missing Dependency: libFLAC.so.4 is needed by package libsndfile

In mood to listen some music on my CentOS 5 system, I found that mplayer is not installed.
I’ve followed instructions from http://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS
but stuck with error:

Error: Missing Dependency: libFLAC.so.4 is needed by package libsndfile

I have then forcebly removed following:
# rpm -e --nodeps flac-1.1.2-27

and installed:
# wget ftp://rpmfind.net/linux/dag/redhat/el3/en/i386/dag/RPMS/flac-1.1.0-4.rhel3.dag.i386.rpm
# rpm -ivh flac-1.1.0-4.rhel3.dag.i386.rpm

This resolved the error and system is now happily playing music.

How to change Date, Time and Time Zone in Linux

In Redhat based distro, here’s a quick solution to change your time zone to PST/PDT:

# mv /etc/localtime /etc/localtime.Old && ln -s /usr/share/zoneinfo/PST8PDT /etc/localtime

Other commands:

Change Time zone to IST:

# mv /etc/localtime /etc/localtime.Old && ln -s /usr/share/zoneinfo/Asia/Calcutta /etc/localtime

Set the TZ environment variable for quick display time according to preferred Time Zone:

# export TZ=America/Los_Angeles
# date

If you have the utility rdate, update the current system time by executing

# rdate -s pool.ntp.org

You can execute ‘system-config-date’ for setting up date/time and time zone

# system-config-date

Get Adobe Flash playerPlugin by wpburn.com wordpress themes