Sumber : https://docs.cpanel.net/knowledge-base/general-systems-administration/how-to-disable-network-manager/
To disable the Network Manager service, perform the following steps:
Disable Network Manager with the following commands:
CentOS 6, CloudLinux 6, Red Hat Enterprise Linux 6 (RHEL), or Amazon Linux:
1 2
service NetworkManager stop chkconfig NetworkManager off
CentOS 7, CloudLinux 7, or RHEL 7:
1 2
systemctl stop NetworkManager systemctl disable NetworkManager
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:1 2
NM_CONTROLLED=no ONBOOT=yes
Important:If either of these keys does not exist in yourifcfg-eth0
andifcfg-lo
files, do not add it. Instead, proceed to Step 4.Run the following commands to restart the network:
CentOS 6, CloudLinux 6, RHEL 6, or Amazon Linux:
1 2
chkconfig network on service network start
CentOS 7, CloudLinux 7, or RHEL 7:
1 2
systemctl enable network.service systemctl start network.service
![How to Disable Network Manager](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSLrvOsPX_8cYe8ZTvWu4Uw9-VT5mi_ZS-NJgDZD4SJE8k5Br8CxczcO62t7xnajUOTHz2yCJRtMRVfmlK3nhI261HA5RbgtMRO-YBweiAsYs-0gg24MmJdTTNzz8eo1N9nqp6-p2LqSE/s72-w640-c-h190/Disable-Network-Manager-Service.png)
No comments: