30 FAQ tagged "rhel"
Viewing 21-30 of 30 FAQ -- Linux taskset to retrieve or set a processess CPU affinity
Q. How do I use Linux (RHEL) taskset command to set or get the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affinity?
A. You need to use taskset command. CPU affinity is a scheduler property that “bonds” a process to a given set of [...] - Block ip address of spammers with iptables under Linux
Q. How do I block ip address of spammers with iptables based firewall under CentOS Linux 5?
A. You can simply block IP address of spammers by editing /etc/sysconfig/iptables file under:
a) CentOS Linux
b) Fedora Linux
c) RHEL 4.x/5.x etc
Open file /etc/sysconfig/iptables:
# vi /etc/sysconfig/iptables
Append ip address of spammers as follows:
-A RH-Firewall-1-INPUT -s SPAMMER-IP -j DROP
-A RH-Firewall-1-INPUT -s SPAMMER-SUBNET-BLOCK [...] - Linux disable unneeded modules in Apache to save memory
Q. How do I disable unneeded Apache modules under Debian Linux?
A. You can disable all unneeded modules in Apache to save memory and improve performance. This may also result into improved security. Different Linux distribution follows different methods for disabling modules.
Debian / Ubuntu Linux disable a module
Debian / Ubuntu Linux comes with two scripts:
(a) a2enmod [...] - Redhat / CentOS Linux list all packages available for installation
Q. How do I list all packages available for installation from Internet using Red Hat Enterprise Linux or CentOS 5?
A. You can yum command and it has option to show a list of all packages that are not presently installed and can be installed via RHN or Internet.
yum list available
yum list available [...] - Redhat Enterprise Linux 5 / CentOS 5 monitor and track TCP connections on the network (eth0)
Q. How do I track and monitor connection for eth1 public network interface under Redhat Enterprise Linux (RHEL) 5 server?
A.You can use netstat command or tcptrack command. Both command can show established TCP connection and provides the ability to monitor the same.
netstat command
netstat command prints information about the Linux networking subsystem. It also works [...] - Buffer I/O error on device fd0, logical block 0 error and simply soultion
Q. I’ve CentOS 5 server running on Dell hardware. I’m getting following error message in my /var/log/message file (some time message is also shown on console):
Jul 05 12:04:05 dell01 kernel: end_request: I/O error, dev fd0, sector 0
Jul 05 12:04:05 dell01 kernel: Buffer I/O error on device fd0, logical block 0
Jul 05 12:04:18 dell01 kernel: end_request: [...] - Howto install duplicity rpm under RedHat / CentOS / Fedora Core Linux
Q. I would like to use duplicity package to automatically encrypting and storing remote backups in a bandwidth efficient manner in our backup server. The server is already configured and I’d like to install the same under RedHat Enterprise Linux. How do I install duplicity w/o compiling from source code?
A. Duplicity is a piece of [...] - Howto Red hat enterprise Linux 5 configure the network card
Q. I’ve installed Red Hat enterprise Linux 5 and now added one more LAN card (NIC). How do I configure the network card from the command line? I can see 2nd my network card detected while booting the IBM server.
A. Red hat Linux provides following tools to make changes to Network configuration such as [...] - Can I run fsck or e2fsck when Linux file system is mounted?
Q. Can I run fsck or e2fsck command when Linux file system is mounted? Do you advice to run fsck on a live file system? I am using Cent OS.
A. No. Do not run fsck on a live or mounted file system. fsck is used to check and optionally repair one or more [...] - Where do I download Red Hat Enterprise Linux?
Q. Where do I download Red Hat Enterprise Linux?
A. Red Hat Enterprise Linux is not available for download. It is a commercial and supported Linux distribution.
Red Hat Network (RHN) (free registration required) has the trial version or demo version and you can download ISO images for Red Hat Enterprise Linux. After evaluation period you [...]
« Previous Page
Viewing 21-30 of 30 FAQ - ( see all popular tags )


Recent Comments
Today ~ 2 Comments
Today ~ 1 Comment
Today ~ 7 Comments
Yesterday ~ 77 Comments
Yesterday ~ 2 Comments