Sometimes it is easy to use the passwordless SSH authentication against the remotes hosts. I wrote a script that can push your public key to remote hosts in a batch. The script can be downloaded from here
Fix duplicated package ID in red hat satellite
Our red hat satellite stops to sync from the subscribed red hat channel. We turned the debug on and found out it is caused by the duplicated package ID in the self-managed oracle database. Here is how to fix it: 1) Turn on debug to find out the duplicated package ID. echo "debug=7" >> /etc/rhn/rhn.conf … Continue reading Fix duplicated package ID in red hat satellite
Apache Rewrite Rule Flags – NE
I was working on an Apache URL redirection request this morning. The task is to redirect the URL ‘^/example/1’ to ‘/#example1’. My first configuration is something like below. When I test it, the redirected URL becomes …/%23example1 instead of …/#example1. RewriteRule ^/example/1(/)?$ %{HTTP_HOST}/#example1 [R,L,NC] As you see the problem is that the redirection automatically convert … Continue reading Apache Rewrite Rule Flags – NE
Update Emulex 10G NIC driver (be2net) in ESXi 5.X
We have a IBM HX5 with ESXi 5.0 update 3 installed. The blade frequently encounters the purple screen issue. For most time, it is PF relevant errors, but Today it has some new - Spin count exceeded. I have run the hardware diagnostic tool multiple times, but caught nothing. But I still think it is … Continue reading Update Emulex 10G NIC driver (be2net) in ESXi 5.X
DNF – The New YUM
It is said that DNF will replace YUM as the default package manager in Fedora 22. I have been using YUM since Fedora 9, it may be the time to learn something different now. I am using Fedora 20 which has DNF installed by default. If you don't have DNF installed, simply use yum to … Continue reading DNF – The New YUM