How To Confirm if Your CPU is 32bit or 64bit

Posted by suvi under Hardware

I had to download a piece of software today for one of the servers which I haven’t used in a while. A question of confirming the 64bit CPU capability came up, and I realized that I never mentioned it here on Unix Tutorial.
Some of you probably remember the uname command which also shows you similar [...]

No Comments

Prevent Yum Upgrades in Fedora / Red Hat for select packages

Posted by suvi under CentOS, Fedora

Simple enough, add an exclude line to the end of your [main] section in /etc/yum.conf , and you are done. Your yum.conf should look something like this:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
exclude=gdm pidgin
This will prevent upgrades of the gdm package as well as pidgin. The list of apps in the exclude should be space sepeated.

Read more at [...]

No Comments

Redhat/Fedora: Auto Complete for the “service” command

Posted by suvi under CentOS

In Redhat, Fedora, or Centos Linux, you’re required to type command such as “service sshd start” and the main problem is NO auto complete for service command by default. Yes I admitted I’m lazy guy!
So how to set AUTO COMPLETE “service” command on Redhat/Centos? Read Below.
Type:
complete -W “$(ls /etc/init.d/)” service
* complete : the command
Read [...]

No Comments

How to manage services in Fedora/Redhat

Posted by suvi under CentOS, Fedora

A “service” is a program that starts automatically when you start your computer, and runs in the background. For example, the “network” service sets up your connection to the Internet and keeps it running correctly.
There are two ways to manage services in Fedora, one using the graphical tools, and one using
Read [...]

No Comments

Setting up 2 IP address on “One” NIC

Posted by suvi under Fedora, Hardware, Networking

So say that you are running out of resources and can’t buy a new Ethernet card for the system, or there’s not enough slots for another one. No problem, whatever the reason, we can assign two or more IP addresses to our linux box using only one NIC.
Read more at Tux Training

No Comments