![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
技术-操作系统-Linux
junefsh
这个作者很懒,什么都没留下…
展开
-
linux-ubuntu命令汇总
设置静态IP 1)编辑/etc/network/interfaces配置文件 auto eth0 iface eth0 inet static address 192.168.226.128 netmask 255.255.255.0 network 192.168.226.0 broadcast 192.168.226.255 gateway 192.168.226.2 dns-name原创 2014-01-10 12:10:13 · 485 阅读 · 0 评论 -
linux-centos常用命令
设置静态IP 1)编辑配置文件:/etc/sysconfig/network-scripts/ifcfg-eth0(默认是dhcp) # Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) DEVICE=eth0 BOOTPROTO=static IPADDR=192.168.177.128 NETMASK=原创 2014-01-12 14:24:31 · 487 阅读 · 0 评论