groupinstall

Use yum or up2date to install an entire block of software all at once. Some examples:

# yum groupinstall “X Window System”
# yum groupinstall “XFCE-4.2”
# yum groupinstall “KDE (K Desktop Environment)”

Use curl to fetch HTTP headers

# curl -i www.mylendlease.com

HTTP/1.1 200 OK
Date: Thu, 11 May 2006 21:27:23 GMT
Server: Oracle-Application-Server-10g/9.0.4.0.0 Oracle-HTTP-Server OracleAS-Web-Cache-10g/9.0.4.0.0 (G;max-age=428975992+0;age=0)
ETag: “f718-17d-422e135b”
Content-Length: 381
Content-Type: text/html
Last-Modified: Tue, 08 Mar 2005 21:04:27 GMT
Accept-Ranges: bytes
Vary: Accept-Encoding
Expires: Fri, 05 May 2006 21:48:36 GMT

Tell Anaconda to ignore storage

Red Hat’s anaconda installer can be passed the “nostorage” command-line attribute at boot time, which tells it to not auto-probe storage adapters. This can save headaches when RHEL tries to install to a SAN disk rather than a local disk.

Bind an IP Address Range

Marius Ducea’s blog has a great post about how to quickly setup a range of IP addresses in Linux:

Create a file /etc/sysconfig/network-scripts/ifcfg-eth0-range0 if this doesn’t exist, or just add to it if you already have it, the following lines:

/etc/sysconfig/network-scripts/ifcfg-eth0-range0
IPADDR_START=192.168.0.100
IPADDR_END=192.168.0.200
CLONENUM_START=0

where: IPADDR_START is the first IP and IPADDR_END is the last IP in the range. CLONENUM_START is the number that will be assigned to the first IP alias interface (eth0:0 in this example).

If you need to add more ranges of IPs then just use a different file for ex. ifcfg-eth0-range1, for each one of the ranges.