Disable Network Manager on CentOS 6


This article will provide the steps to disable Network Manager in CentOS 6. Network Manager is not compatible with some 3rd party software, such as cPanel, and must be disabled prior to installing the conflicting programs.

The following guide requires root user access.

Disable Network Manager

To disable the Network Manager, perform the following steps:

  1. From the command line, login as root user.
  2. Run the commands:
    service NetworkManager stop
    chkconfig NetworkManager off
  3. Change to the /etc/sysconfig/network-scripts directory.
  4. Open the ifcfg-eth0 and ifcfg-lo files with your preferred text editor and, if they exist, set the following keys' values:
    NM_CONTROLLED=no
    ONBOOT=yes
  5. Run the following commands to restart the network:
    chkconfig network on
    service network start

Network Manager is now disabled and the network has been restarted.

Uninstall Network Manager

To uninstall the Network Manager, perform the following steps:

  1. From the command line, login as root user.
  2. Run the command:
    yum remove NetworkManager -y

Network Manager is now uninstalled.

RELATED: Disable Network Manager in CentOS 7

RELATED: Disable Network Manager in CentOS 8

  • network manager, disable network manager, cpanel network manager, centos 6
  • 1 Els usuaris han Trobat Això Útil
Ha estat útil la resposta?

Related Articles

Remove a Service from ChkServd Monitoring for cPanel Servers

This guide requires root user account in server. In some circumstances, ChkservD cPanel...

Assigning a Dedicated IP Address to a Subdomain using WHM

To assign a dedicated IP address to a subdomain, perform the following steps: Step 1: Add the...

View Server PHP Environment with phpinfo.php

The phpinfo() function outputs a huge amount of information about the system you're using, such...

How to Change Root Password Using SSH

This article explains the method of changing the root password on a Linux Server using SSH....

How to Create Sudo User on CentOS

This article provides step-by-step setup guide for adding Sudo user to CentOS system. The sudo...