≡ Menu

red hat enterprise

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…]

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…]

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…]

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…]