Archive for July, 2009

Cool “OLD” Way to Restart RSyslog – Fedora 11

July 23, 2009

#kill -HUP `cat /var/run/`

Its the same as

#service rsyslog restart

But in a different way

There are another signals, each one can be represented by a number, here is a small list of signals available:

  • HUP = 1
  • KILL = 9
  • TERM = 15

I realized that it did not change the PID of the process and I got an interesting comment about that saying that rsyslog v5 does not support HUP anymore.



Compiling the Linux Kernel – CentOS 5.3

July 21, 2009


#yum -y  install kernel-devel kernel-headers

#yum -y groupinstall “Development-Tools”

#cd /usr/src


#tar -jxvf linux-

#cd /usr/src/linux-

#make menuconfig

#make clean

*#make dep (is no more necessary)

#make bzImage

#make modules

#make modules_install

#make install

*make install will copy the files:, vmlinuz and the initial ram disk initrd- to /boot. It will also add the lines you will need on grub, now just restart your computer and choose the new kernel on the grub screen.

Have Fun !!!


Installing Microsoft Fonts on Fedora 11 x64

July 10, 2009

Follow the steps:

1) Install some dependencies using yum

#yum -y install rpm-build cabextract ttmkfdir xorg-x11-xfs

Paul Frields comment that he made a better spec, available here which does no require the chkfontpath dependence.

2) Installing the last dependence not available by yum

#rpm -ivh

3) Making the msttcorefonts rpm

  • Download the file to the folder ~/rpmbuild/SPECS/
  • cd ~/rpmbuild/SPECS/
  • rpmbuild -bb msttcorefonts-2.0-1.spec
  • rpm -ivh ~/rpmbuild/SRPMS/msttcorefonts-2.0-1.src.rpm
  • rpm -ivh ~/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm

Now just open your openoffice the have fun with the new fonts(TImes new roman, verdana, etc …)