Linux Find Out GNU gcc Compiler Version Used To Compile Running Kernel

Posted on in Categories last updated February 23, 2012

I‘ve multiple version of gcc installed on my systems as follows:

ls -l /usr/bin/gcc*
lrwxrwxrwx 1 root root 7 Jan 11 05:20 /usr/bin/gcc -> gcc-4.4
-rwxr-xr-x 1 root root 239528 Sep 21 2010 /usr/bin/gcc-4.3
-rwxr-xr-x 1 root root 255536 Nov 15 2010 /usr/bin/gcc-4.4

I need to build a nvidia device driver using the same version of GNU compiler as was used to compile the currently running kernel. How do I find out the version of my GNU gcc compiler that was used by upstream Linux distribution to compile and pack my binary Linux kernel?

Linux /boot: Out of Disk Space While Installing Package kernel-2.6.32-131.2.1.el6.x86_64

Posted on in Categories last updated June 8, 2011

I‘m trying to install RHEL 6 kernel updates and patches using the yum command and getting the following error:

Transaction Check Error:
  installing package kernel-2.6.32-131.2.1.el6.x86_64 needs 8MB on the /boot filesystem

Error Summary
-------------
Disk Requirements:
  At least 8MB more space needed on the /boot filesystem.

How do I fix this error and install RHEL kernel without increasing /boot size or reinstalling the operating system?

Linux Iptables Open LDAP Server TCP Ports 389 and 636

Posted on in Categories , , , , , , , last updated August 16, 2009

The default Iptables configuration under CentOS / Red Hat / RHEL / Fedora Linux does not allow inbound access to LDAP service. How do I update iptables settings to allow access to the LDAP primary TCP #389 and encrypted-only TCP # 636 ports, while keeping all other ports on the server in their default protected state?