Archive for October, 2009

Q. How do I add or remove hardware device driver from running Linux kernel?

A. Linux comes with modprobe command to add and remove modules from the Linux Kernel. Read the rest of this entry

When trying to bring up the interface I get the following error messages:

Reconfiguring network interfaces…SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
done.
Read the rest of this entry

The ss command is used to dump socket statistics. It allows showing information similar to netstat command. It can display more TCP and state information than other tools. It is a new, incredibly useful and faster (as compare to netstat) tool for tracking TCP connections and sockets. SS can provide information about:

  • All TCP sockets.
  • All UDP sockets.
  • All established ssh / ftp / http / https connections.
  • All local processes connected to X server.
  • All the tcp sockets in state FIN-WAIT-1 and much more.

Read the rest of this entry

How do I upgrade CentOS Linux from version 5.3 to latest version 5.4 over the Internet?

CentOS Linux v5.4 has been released and available via mirrors for immediate update. The new version includes the kernel-based virtual machine (KVM) virtualization, next generation of developer features and tools including GCC 4.4, a new malloc(). Also included clustered, high-availability filesystem to support Microsoft Windows storage needs on CentOS Linux.
Fig.01: CentOS running GNOME Desktop (credit wikipedia)
Read the rest of this entry

Q. How do I upgrade my CentOS Linux 5.0 dedicated server to WHM / cPanel edge release?

A. You can upgrade to EDGE release from WHM manager. Please note that Edge is the bleeding edge tree. While it has the newest features; It has undergone the least amount of testing (if any). You generally shouldn’t run this build unless you need a bug fix or feature in it. Once an equivalent CURRENT or RELEASE build has been released, you should switch away from this.
Read the rest of this entry