about cenntOS Network Card Config
Welcome to my blog. This is anartice about the network card configuration of the centos .
欢迎来到我的博客。这是一篇关于centos网卡配置的文章。
Operations you must know
你必须知道的事情
How to check the network card name
如何查看网卡名
1 | $ ip a |
Open the centos network card path
打开centos网卡路径
1 | $ /etc/sysconfig/network-scripts/ifcfg-xxx |
Restart the network card
重启网卡
1 | /etc/init.d/network resrtart |
Use vi or nano editor to edit network card configuration file
使用vi或
1 | vi /etc/sysconfig/network-scripts/ifcfg-xxx |
Format
1 | BOOTPROTO=static |
Thanks for reading. I don’t know if it was helpful.
More info: Deployment
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 手捧夕阳~blog!