≡ Menu

red hat enterprise

Red Hat / CentOS Install mod_security Apache Intrusion Detection And Prevention Engine

How do I install ModSecurity - an open source intrusion detection and prevention engine for web applications under CentOS / RHEL / Red Hat Enterprise Linux 5.x server?
[click to continue…]

CentOS Add Route Command

How do I add route (router IP 192.168.1.254) to my Centos Linux systems from the command line?
[click to continue…]

CentOS or Redhat Enterprise Linux

Can you explains the basic difference between CentOS and RHEL?
[click to continue…]

yum Download All Source Packages (SRPM) From RedHat / CentOS WebSite

How can I use yum to download source packages instead of manually downloading every single package from RHN / CentOS / RedHat Ftp website?
[click to continue…]

MySQL: Change Default Port Under Linux / UNIX

Q.I'm using MySQL 5 under Red Hat Enterprise Linux 5. How do I change default mysql server port (tcp port 3306) under Linux or UNIX operating systems?
[click to continue…]

psql: FATAL: Ident authentication failed for user "username" Error and Solution

Q. I've installed Postgresql under Red Hat Enterprise Linux 5.x server. I've created username / password and database. But when I try to connect it via PHP or psql using following syntax:

psql -d myDb -U username -W

It gives me an error that read as follows:

psql: FATAL: Ident authentication failed for user "username"

How do I fix this error?
[click to continue…]

View Installation / Uninstallation Script Inside The RPM File

Q. How do I view the pre / post installation or uninstallation script inside the RPM file called foo.rpm under Red Hat Enterprise Linux / RHEL / CentOS / Fedora / Suse Linux? How do I list the package specific scriptlet(s) that are used as part of the installation and uninstallation processes?
[click to continue…]

Linux: pathmunge Command in Shell Script

Q. I see pathmunge used in few scripts under Red Hat Enterprise Linux. Can you explain the use of pathmunge under RHEL / CentOS / Fedora Linux?
[click to continue…]

Linux Error: curses.h: No such file or directory Problem Solution

I see the following error when I run make command to install specific software:

curses.h: No such file or directory Problem Solution

How do I fix this error under Red Hat Enterprise Linux (RHEL) or CentOS / Fedora Linux?
[click to continue…]

Red Hat / CentOS Linux: Explain Use of Network Interface virbr0

Q. I've installed Red Hat Enterprise Linux 5.2 and I see virbr0 network interface along with my eth0 interface? What it is? How do I disable or remove virbr0?
[click to continue…]