Page tree
Skip to end of metadata
Go to start of metadata

Overview

This document describes how to disable the Network Manager service. You must  disable the Network Manager service  before you install cPanel & WHM, or the installation will fail.

For more information about how to disable this service, read RedHat's Disabling Network Manager documentation.

Warnings:

  • cPanel, Inc. does not support the Network Manager service.
  • Exercise extreme caution when you disable the Network Manager. Your server may lose its network services if you do not disable Network Manager correctly.

Disable the Network Manager service

To disable the Network Manager service, perform the following steps:

Important:

Perform these steps from the server's console to prevent any interruption to network connectivity.

  1. Disable Network Manager. To do this, run the following commands:

     Disable NetworkManager on CentOS 6, CloudLinux 6, Red Hat Enterprise Linux 6 (RHEL), or Amazon Linux...
    service NetworkManager stop
    chkconfig NetworkManager off
     Disable NetworkManager on CentOS 7, CloudLinux 7, or RHEL 7...
    systemctl stop NetworkManager.service
    systemctl disable NetworkManager.service
  2. Change to the /etc/sysconfig/network-scripts directory.

  3. Open each configuration file with a text editor and set the following keys' values:

    NM_CONTROLLED=no
    ONBOOT=yes
  4. Run the following commands to restart the network:

     Restart the network on CentOS 6, CloudLinux 6, RHEL 6, or Amazon Linux...
    chkconfig network on
    service network start
     Restart the network on CentOS 7, CloudLinux 7, or RHEL 7...
    systemctl enable network.service
    systemctl start network.service