Linux命令行配置静态IP地址,报错:warning:changing a readonly file?
先查看IP地址,找到需要修改的网络接口名
ifconfig
cd /etc/sysconfig/network-scripts
找到需要修改的网络接口
vim ifcfg-ens192
![在这里插入图片描述](https://img-blog.csdnimg.cn/20191030153338799.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4Mzg0MDI1,size_16,color_FFFFFF,t_70
咦,发现只读权限~~