April 23, 2017

CentOS Change Timezone

After installing CentOS we sometimes see that the date is not in our desired timezone, instead it defaulted to the PST timezone.

Correcting your timezone is an easy operation, so here is a quick guide to change your CentOS timezone configuration file.

Firstly you’ll need to know your timezone and/or country, a list can be found in /usr/share/zoneinfo/

The more generic procedure to change the timezone is to create a symlink to file /etc/localtime

OR you can copy and replace the current localtime setting

To verify that your timezone is changed use the date command:

Remove all i386 packages from CentOS 5 x86_64

A quick solution to duplicate packet installation. This tutorial will show you how to remove all i386 packages from CentOS 5 x86_64 server

BIOS and Firmware Updates Using Dell Linux Repository

You can update your CentOS 6 system to the latest version or to a specific version of the BIOS and firmware available in the Dell Linux online repository. You can inventory your CentOS 6 system, scan the repository for matching firmware with newer version using repository management software such as yum.

Firmware-tools are used to update BIOS and firmware on your system. Using a repository management software, you can easily update your BIOS and firmware to the latest or specific versions on your system.

Setting Up/Bootstrapping the Repository

To setup/bootstrap the Dell Linux online repository on your CentOS 6 sever, run the following command at the command prompt:

The system is configured to access the Dell Linux online repository using supported repository management software. The Dell GPG keys and libsmbios (BIOS library) are also installed.

Installing Firmware Tools

Downloading Applicable Firmware

You can also inventory your system for the list of existing versions of BIOS and firmware using the following command:

Updating BIOS and Firmware Using CLI

Run the following command to inventory the system and scan the repository for new versions of components:

This command provides information about the existing versions of components on your system and the list of component versions that are available to be installed.

To install all applicable BIOS and firmware updates on your system, run the following command:

Once the devices are updated, the “Execution Success” message is displayed.

Automatically Update Firmware

By default, installing a BIOS or firmware RPM does not apply the update to the hardware. The update is manually applied using the update_firmware command. However, you can automatically update the hardware during RPM installation by configuring the /etc/firmware/firmware.conf file.

To automatically install BIOS and firmware updates, ensure that rpm_mode is set to auto in the firmware.conf file as shown:

Viewing Log Information

CentOS 6 Channel Bonding

centosCentOS 6 Channel Bonding allows administrators to bind multiple network interfaces together into a single channel using the bonding kernel module and a special network interface called a channel bonding interface. Channel bonding enables two or more network interfaces to act as one, simultaneously increasing the bandwidth and providing redundancy.

CentOS 6 Channel Bonding

Channel bonding (also known as “Ethernet bonding”) is a computer networking arrangement in which two or more network interfaces on a host computer are combined for redundancy or increased throughput.

mode=0 (Balance-rr) – This mode provides load balancing and fault tolerance.
mode=1 (active-backup) – This mode provides fault tolerance.
mode=2 (balance-xor) – This mode provides load balancing and fault tolerance.
mode=3 (broadcast) – This mode provides fault tolerance.
mode=4 (802.3ad) – This mode provides load balancing and fault tolerance.
mode=5 (balance-tlb) – Prerequisite: Ethtool support in the base drivers for retrieving the speed of each slave.
mode=6 (balance-alb) – Prerequisite: Ethtool support in the base drivers for retrieving the speed of each slave.
[Read more…]