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:
- From the command line, login as root user.
- Run the commands:
service NetworkManager stop chkconfig NetworkManager off
- Change to the
/etc/sysconfig/network-scripts
directory. - Open the
ifcfg-eth0
andifcfg-lo
files with your preferred text editor and, if they exist, set the following keys' values:
NM_CONTROLLED=no ONBOOT=yes
- 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:
- From the command line, login as root user.
- 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