Disable Network Manager on CentOS 7

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

The following guide requires root user access.

  1. Disable the Network Manager by running these commands:
    service NetworkManager stop
    chkconfig NetworkManager off
  2.  Change to the /etc/sysconfig/network-scripts directory.
  3. 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
  4. Run the following commands to restart the network:
    systemctl enable network.service
    systemctl start network.service

Was this answer helpful?

 Print this Article

Also Read

Clearing DNS Cache for Mac or Windows

Your DNS cache stores the locations (IP addresses) of web servers that contain web pages which...

Do You Offer a Hardware Firewall Solution?

Yes, we have Cisco ASA 55XX serviWith the Cisco ASA firewalls, multiple services can be...

Getting Started with Reseller Hosting

This articles discusses some of the properties related to Reseller Hosting accounts.  What...

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...

Removing cPanel Accounts with /scripts/removeacct Script

The /usr/local/cpanel/scripts/removeacct script terminates cPanel accounts from the command line....