Ubuntu Network Bonding

Network bonding refers to the combination of network interfaces on one host for redundancy and/or increased throughput. Redundancy is the key factor: we want to protect our virtualized environment from loss of service due to failure of a single physical link.

We will configure our network cards in “active/backup” configuration. This is a network bonding fallback configuration which means if one of your network cards fails all of the traffic will be instantly switched to the other, still working network card.

1. Install required packages

root@foo1:~# apt-get update
root@foo1:~# apt-get install ifenslave

2. Edit /etc/modules file

Edit /etc/modules file and add “bonding” at the end of it.

root@foo1:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.

loop
lp
bonding

3. Stop networking

root@foo1:~# /etc/init.d/networking stop
Continue reading “Ubuntu Network Bonding”

What is EasyApache & How to Install or Uninstall EasyApache 4

EasyApache is a software that installs, modifies, and validates your Apache web server, PHP, Tomcat, and other components of your web server.

imagesEasyApache 4 supports the following operating systems:

  1. CentOS 6 or 7.
  2. CloudLinux 6 or 7 (cPanel & WHM version 56 or later only).
  3. Red Hat Enterprise Linux 6 or 7.
  4. EasyApache 4 supports PHP versions 5.4, 5.5, 5.6, 7.0, and 7.1.
  5. EasyApache 4 only supports Apache version 2.4

How to install EasyApache 4

  • To install EasyApache 4, perform the following steps on the command line as the root user:

/scripts/migrate_ea3_to_ea4 –run

How to uninstall EasyApache 4

  • To uninstall EasyApache 4, perform the following steps on the command line as the root user:

/scripts/migrate_ea3_to_ea4 –revert –run