Thursday Aug 20, 2009

I have a RHEL5 DVD but it is difficult to install a package using rpm because I need to manually add all dependent packages. Here is now I create a Yum reposiroty so that I can use yum to install these packages. Note that the DVD is automatically mounted as /media/RHEL_5.1 x86_64 DVD.

> cd /media/RHEL5_5.1\ x86_64\ DVD/Client
> rpm -ihv createrepo-0.4.4-2.fc6.noarch.rpm
> cd /home/blah/some_dir
> createrepo -vpo /home/blah/some_dir /media/RHEL5_5.1\ x86_64\ DVD
> cd /home/blah/some_dir
> ln -s /media/RHEL5_5.1\ x86_64\ DVD/Client Client
> ln -s /media/RHEL5_5.1\ x86_64\ DVD/Workstation Workstation

Then create a file /etc/yum.repos.d/DVD.repo with the following content

[dvd]
name=RHEL4 DVD
baseurl=file:///home/blah/some_dir
enabled=1
gpgcheck=0

Run
> yum update

and you are done.

Friday May 15, 2009

Yesterday I needed to access a web-based application requiring JRE Plugin.
Guess what the web-page told me, there is no Java plugin installed.
The very first thing I did was to type about:plugins in the address-bar.
Sure enough there was no mention of the java plugin. Then I checked to see if JRE was installed - which was, by the way.
The very next thing was to see if there was link for the plugin in the ~/.mozilla/plugins directory.
There was no libjavaplugin_oji.so. So creating the link finally solved the issue for me.

In short, if you don't see Java plugin, do the following:
ln -s /usr/lib/jvm/java-6-sun-1.6.0.13/jre/plugin/i386/ns7/libjavaplugin_oji.so /home/murlee/.mozilla/plugins/

This blog copyright 2009 by murlee