Search Suggest

Bài đăng

How to Disable/Enable NetworkMager service in CnetOS 7

In this tutorial i will explain, How we can start, stop NetworkManager service in CentOS/RHEL 7 and also how we can permanently on /off service at boot/startup time.
first run command to check service status, you can can service status using systemctl command .

Check service status
You can check any of service status with below command

# systemctl status NetworkManager
How to stop service in RHEL/CentOS 7
# systemctl stop NetworkManager

Again check status
 As above marked service is showing inactive. It means service service is not running currently.

How to permanently Off/Disable service at boot/Startup 
# systemctl disable NetworkManager

Start service if again require
Start service
# systemctl start NetworkManager

Restart service
# systemctl restart NetworkManager

How to enable service at boot/Startup 
# systemctl enable NetworkManager

# systemctl status NetworkManager
 

Đăng nhận xét