centos7如何關(guān)閉網(wǎng)卡驅(qū)動(dòng)

小新
1307
2021-05-12 18:57:01

centos7中關(guān)閉網(wǎng)卡驅(qū)動(dòng)的方法:1、打開(kāi)centos7終端;2、在centos7終端命令行中輸入“service network start”或“”命令關(guān)閉網(wǎng)卡驅(qū)動(dòng)即可。

centos7如何關(guān)閉網(wǎng)卡驅(qū)動(dòng)

具體操作步驟:

1、在centos7系統(tǒng)桌面中使用快捷鍵【Ctrl+Alt+T】打開(kāi)centos7終端命令行模式。

2、在centos7終端命令行中輸入以下命令關(guān)閉網(wǎng)卡驅(qū)動(dòng)即可。

service network stop #關(guān)閉網(wǎng)卡驅(qū)動(dòng)

#或

systemctl stop network.service #關(guān)閉網(wǎng)卡驅(qū)動(dòng)

相關(guān)操作命令:

service network start #開(kāi)啟網(wǎng)卡驅(qū)動(dòng)

systemctl start network.service #開(kāi)啟網(wǎng)卡驅(qū)動(dòng)

service network restart #重啟網(wǎng)卡驅(qū)動(dòng)

systemctl restart network.service #重啟網(wǎng)卡驅(qū)動(dòng)

1