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 Users Found This Useful
Was this answer helpful?

Related Articles

How to Create Sudo User on CentOS

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

How to Use Sudo

This article provides a guide to using a Sudo user on CentOS server. From the command line,...

Set Server Time Zones with Timedatectl

This article provides a guide to setting the server time and server time zone settings using...

htaccess RewriteRule Examples

Here are some useful mod_rewrite RewriteRule redirect examples that you can use in your .htaccess...

Using htaccess File to Block IPs

If your webserver is Apache, you may block access to your website from specific IP addresses...