systemctl yyy.service SUCKS

March 6, 2012

I really didn’t like to don’t find the service commands on my Fedora 16 !

Service blablabla status/start/stop/restart; now I was FORCED to use systemctl yyy something.service. The ntsysv doesn’t work because of this systemctl; I think that the effort made to change this stuff could be better used in another projects more important for the project.

New Release Fedora 15 :-)

May 30, 2011

I can’t wait for the release of the upgrade package to upgrade my Fedora 14 to 15 :-). During the last two releases I used the upgrade method to keep my box updated and it worked very well. I didn’t have any problem, it just work perfectly !!! Congratulations for the guys whom made this tool.

Fedora project: http://fedoraproject.org/

 

Cool “OLD” Way to Restart RSyslog – Fedora 11

July 23, 2009

#kill -HUP `cat /var/run/syslogd.pid`

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.

sangoku

Compiling the Linux Kernel – CentOS 5.3

July 21, 2009

Steps:

#yum -y  install kernel-devel kernel-headers

#yum -y groupinstall “Development-Tools”

#cd /usr/src

#wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.2.tar.bz2

#tar -jxvf linux-2.6.30.2.tar.bz2

#cd /usr/src/linux-2.6.30.2/

#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: System.map, vmlinuz and the initial ram disk initrd-2.6.30.2.img 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 !!!

centos

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 http://dl.atrpms.net/all/chkfontpath-1.10.1-2.fc9.i386.rpm

3) Making the msttcorefonts rpm

  • Download the file http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec 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 …)

[1] http://corefonts.sourceforge.net/

logo_fedoralogo

Vista SP1 32 bits = Nightmare

June 25, 2009

Last week I got a new hard drive, bigger faster, until this point everything was ok. I backup all of my data on an external drive. Then I decided to install everything (Vista and Fedora) again in my dual boot system.

I installed both operational systems, restored  my backup, installed all the programs I like to use until Vista asked me to install the update “Vista Service Pack 1 – SP1″, bad decision :-( Thinking in security I accepted the update, then I got the first error. Looks not usual, then Vista asked me “try again?”  Then mistakenly I clicked in this button :-( bad for me. After this update my windows stop working and did not allowed me even to start my system.

Then I got the recovery disks that come with my laptop, bad disks these ones. They erased all of my partitions erasing the bugged Windows Vista, but as a bonus erasing my Linux system that until this moment has worked with perfection in my system.

Now time to install everything again and again and disabled the automatic updates from Vista, from now all Vista updates will be verified one by one before I install then again.

vista-logo

Fedora 11 x64 – Flash Plugin for Firefox 3.5

June 17, 2009

Installing flash plugin for firefox in a x64 bits system

1) Go to the adobe website:

http://labs.adobe.com/downloads/flashplayer10.html

2) Download the tar ball  libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz

3) Uncompress the tar ball

$ tar  -zxvf   libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz

4) Copy the file libflashplayer.so in to the folder /usr/lib64/mozilla/plugins/

5) Restart you firefox and enjoy

*If you still have some questions about the flash install on FC11, go to the fedora project website http://fedoraproject.org/wiki/Flash

logo_fedoralogo1

Fedora 11 Guides

June 17, 2009

Two interesting links about post installations of FC11:

http://www.fedoraguide.info/

http://www.my-guides.net/en/content/view/161/26/

logo_fedoralogo

Func Verification Method – Release 1.0

April 24, 2009

Release 1.0 is done

  • Submitted to the mailing list
  • Accept and pushed in to the Func Project

At now, preparing for the tomorrow’s presentation  :-)

Thanks Professor Chris Tyler for the supervision and all the help in the whole process.

In my opinion this project was good and very challenging, but it was not as big as I would like it to be :-(.    I will try to think this was the first step in the open source world and the first steps are always the hardest ones. Its like a baby, that first learn how to crawl and later on how to walk. At this point I am taking my first steps.

Project Page

http://zenit.senecac.on.ca/wiki/index.php/Func/Rpms_Module_-_Function_Verify

func-logo-small1

DHCP Server – Fedora 10

April 20, 2009

Configuration file: /etc/dhcpd.conf

#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample
#   see ‘man 5 dhcpd.conf’
#
#
ddns-update-style interim;
ignore client-updates;

subnet 192.168.100.0 netmask 255.255.255.0 {

# — default gateway
option routers            192.168.100.1;
option subnet-mask        255.255.255.0;

option domain-name        “milton.ca”;
option domain-name-servers    192.168.100.1;

#option ntp-servers        192.168.1.1;

range dynamic-bootp 192.168.100.10 192.168.100.20;
default-lease-time 7200;
max-lease-time 56800;
}

host freebsd2 {
hardware ethernet 08:00:27:9E:66:67;
fixed-address 192.168.100.252;
}

Set up the dhcpd for auto start on boot time

#chkconfig dhcpd on

You could also set up in which interface will dhcp server run in the file:

/etc/sysconfig/dhcpd


Follow

Get every new post delivered to your Inbox.

Join 93 other followers