摘要: 1、打开网络配置文件,如果你的网卡不是 eth0,请相应替换为你的网卡名称。 vim /etc/sysconfig/network-scripts/ifcfg-eth0 2、按照以下内容替换(根据你的网络设置而定)。 DEVICE=eth0 # 网络设备名称 TYPE=Ethernet # 网络类型 阅读全文
posted @ 2023-11-16 15:00 peanut。 阅读(35) 评论(0) 推荐(0)
摘要: 1、编辑 vimrc 文件: vim /etc/vimrc 2、在文件末尾添加 set nu 或 set number set nu 阅读全文
posted @ 2023-11-16 14:51 peanut。 阅读(47) 评论(0) 推荐(0)