Red Hat 6 or CentOS 6: Yum Tips – Lock Package Versions and Only Apply Security Updates | In Red Hat 6 or CentOS 6, it is possible to selectively pin or mask a particular package version to keep it from updating. It is also possible to list and apply pending security updates as opposed to security and bug fixes. This is ideal for environments that only want to push out security fixes
Logwatch How-To for CentOS or Red Hat | Logwatch is the classic log file email utility that emails a daily status of activity from Linux logs. On CentOS, the default install of logwatch does not have many fancy features enabled. I’ll show you how to configure logwatch! First, install logwatch: $ sudo yum install logwatch Next, navigate to the logwatch services directory which
CentOS 6 or Red Hat 6 | Install DHCP Server | On CentOS 6 or Red Hat 6, installing a DHCP server is not too difficult. I’ll show you how it works! First, install the DHCP server: $ sudo yum install dhcp The configuration file (blank) is located here: /etc/dhcp/dhcpd.conf To copy a sample configuration file over for the production file, use the following command: $
Install BIND in Red Hat 6 or CentOS 6 | As of Red Hat 6 and CentOS 6, the DNS server bind is super easy to get up and running. Here’s how it works! Install bind: $ sudo yum install bind Start bind – the service is called named $ sudo /etc/init.d/named start Generating /etc/rndc.key: [ OK ] Starting named: [ OK ] Done. If
Install EPEL Repository for CentOS 6 | The Fedora EPEL Repository provides many additional packages that are for use with either Red Hat or CentOS. I’ll show you how to add this repository for CentOS 6! Run the following command (you do use sudo, right?!): 32bit: $ sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm 64bit: $ sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Now enjoy 7674 additional packages
Start eth0 at boot Red Hat | CentOS | To have eth0 start at boot, edit the following file: $ sudo nano /etc/sysconfig/network-scripts/ifcfg-eth0 Change ONBOOT to “yes” DEVICE=”eth0″ BOOTPROTO=”dhcp” HWADDR=”08:00:27:CE:54:D9″ NM_CONTROLLED=”yes” ONBOOT=”yes” Done!
RHCE Exam – Now 400 Bucks | As of Red Hat 6, the RHCE exam price has dropped in half. What was $800 is now $400. It is also now only a 2 hour exam. Has anyone taken the RHCE exam for Red Hat 6 yet? How did it go? Also note that the RHCT has been replaced by the new RHCSA.
CentOS 6 netinstall URL | The netinstall method has changed for CentOS 6. Use the following URLs to install via the netinstall iso: 32 bit: http://mirror.centos.org/centos/6/os/i386/ 64 bit: http://mirror.centos.org/centos/6/os/x86_64/
Upgrade Red Hat / CentOS 5 Password Hashing | By default, Red Hat / CentOS 5 uses the largely less desirable md5 algorithm for local account password hashing. Bah! Debian / Ubuntu : you are already using SHA-512 – yay! Be sure to mock your fellow Red Hat friends on this topic. (Note: the new Red Hat / CentOS 6 is now SHA-512 by
CentOS 5.6 Released | CentOS 5.6 is here! Edit: Official Announcement is up! Use torrents listed: http://lists.centos.org/pipermail/centos-announce/2011-April/017282.html